v1.8.0 - Quoll


📣 The Release


We are delighted to announce the release of the final scheduled installment in the 1.x series, marking the culmination of an extensive period of development and refinement. This release is primarily dedicated to addressing various bugs and bolstering performance, ensuring a smoother and more reliable experience for our users. As we bid farewell to the 1.x series, we would like to express our gratitude to our loyal users for their invaluable support and collaboration. Now, let's delve into the key highlights of this release:

This release closes the successfully funded bounty for mentioning tags, as well as a high-voted proposal for the new permission added in this release. We want to highlight this to make you consider posting your idea in depth inProposals so it maybe gets picked up either as aBounty or as a high-voted proposal - you can see this here: https://discuss.flarum.org/t/proposals?sort=votes

👨‍💻 For Developers


Extensions compatible with 1.7 should still operate on Flarum 1.8 without any changes. However, depending on what JavaScript changes your extension makes and how it makes them, we recommend looking through some of the frontend facing changes made: https://github.com/flarum/framework/issues?q=is%3Aopen+is%3Aissue+label%3Ajavascript.

Additionally, this release introduces conditional extenders, which allow you to add extenders based on a condition, such as whether an extension is enabled: flarum/framework3759.

Checkout the full upgrade guide. Feel free to provide feedback or report any encountered issues!

⤴️ Upgrading


Before you upgrade, make sure to create a backup of your public/assets directory, your composer.json and your database!

Before starting the upgrade process, ensure you are on Flarum 1.0.0 or above in your Admin Dashboard or by typing php flarum info. If you're not, use the previous release announcement for upgrading from an earlier version.

To upgrade from 1.0 or 1.7 to 1.8, take a look at our upgrade guide documentation. The process should be much easier compared to previous major version upgrades, due to the lack of breaking changes.

If you run into any issues, please open a new discussion under the tagUpgrading. Ignore similar discussions and open a new one anyhow. Make sure to mention the output of php flarum info, composer why-not flarum/core v1.8.0, and any errors to their fullest.

😇 Thanks to our Sponsors


Financial donations keep Flarum alive and kicking. The following companies and people deserve credit for making Flarum sustainable:

  • Glowing Blue AG.
  • Sridhar Kamma.
  • Lincoln Russell.
  • Bart van Bragt.
  • Circuit Dojo.
  • David Wheatley.
  • Rad Web Hosting.
  • Seaborn.
  • Timotheus Pokorra.
  • JrdnHnz.
  • Jai Gupta.
  • Guoqing Zou.
  • Miguel A. Lago.
  • Alexander Skvortsov.
  • Jeannes Bryan.

Thank you to all the Supporters, backing us through Discuss:
@v17development and @waca !

Thanks for being awesome 😍 !

🙇‍♀️ Acknowledgements


Flarum wouldn't be the same without our over one hundred contributors, along with their generous time commitments! For this release we specifically thank these wonderful people:

🆘 Support the Project


We need your support to:

  • Guarantee continued development on the software.
  • Create a valuable ecosystem around the project.
  • Ensure healthy extensions are available.

You can support us:

For installation instructions check our installation documentation. If you are interested in developing extensions for Flarum, check the extend section there.

    SychO stickied the discussion .

    That's awesome, I'm really excited to see these new developments, and looking forward to the future of flarum.

    Unexpectedly found the reply box in the mobile view has an offset, is this a style bug? Or is it intentionally designed to be like this?
    (Sorry for the second post here)

      Congrats for the 1.8 release. I have not installed it yet but as reported by Burial0268 here on Discuss I notice that when you scroll down to the bottom of any discussion, the reply rectangle is not centered but shifted left so much that its left side is offscreen. That’s on iPhone but j guess might apply also to any other mobile platform.

        CyberGene
        CSS bug I think.

        .ReplyPlaceholder {
            margin: 20px auto;
        }

        thanks about the new version.
        I want to know about this: is it possible to install without composer?

        Every time there's an upgrade, being in the Asian region, I have to change "e.format("D MMM")" to "e.format("ll")" to make the dates conform to our conventions.
        Just curious, is there a way in Flarum to recognize "Do" so that it can display the day format used in non-English countries?

          rob006
          Yep. However, when you modify it to "Do" in forum.js, FLARUM doesn't recognize it correctly. It interprets it as "D" followed by the letter "o."
          Or are you saying that FLARUM doesn't recognize it because "Do" is not defined in zh-tw.js?

            Away visiting family this week. Can't wait to upgrade when I get home!

            👍🔥

            If my php is 7.4, will I be able to upgrade to v 1.8?

            I see that on composer.json, it says:

            '''
            "require": {
            "php": ">=7.3",
            '''

            However, when I upgrade to v 1.8, it says,

            '''
            Problem 2
            - symfony/css-selector[v6.0.0, ..., v6.0.19] require php >=8.0.2 -> your php version (7.4.33) does not satisfy that requirement.
            - symfony/css-selector[v6.1.0, ..., v6.2.7] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.
            '''

            I don't know if symfony/css-selector is a must, or I need to disable some extension(s) to avoid this warning.

            I have installed a lot of extensions on my site. Just wondering if anyone know this, then I won't need to turn off each extension to test it out.

            Here are the extensions I installed on my site:

               "acpl/my-tags": "*",
                "afrux/forum-stats-widget": "^0.1.0",
                "afrux/forum-widgets-core": "^0.1.5",
                "afrux/news-widget": "*",
                "afrux/online-users-widget": "^0.1.5",
                "afrux/top-posters-widget": "*",
                "antoinefr/flarum-ext-bbcode-fa": "^1.0",
                "askvortsov/flarum-discussion-templates": "^0.8.1",
                "askvortsov/flarum-help-tags": "^1.1",
                "askvortsov/flarum-markdown-tables": "*",
                "askvortsov/flarum-moderator-warnings": "^0.6.1",
                "askvortsov/flarum-pwa": "^3.0",
                "aurorum/flarum-better-iframe": "^2.0",
                "blomstra/flag-duplicates": "*",
                "blomstra/spam-prevention": "^1.3",
                "blomstra/turnstile": "*",
                "clarkwinkelmann/flarum-ext-author-change": "^1.0",
                "clarkwinkelmann/flarum-ext-discussion-lists": "^1.0",
                "clarkwinkelmann/flarum-ext-formatted-banner": "^1.0",
                "clarkwinkelmann/flarum-ext-group-invitation": "^1.0",
                "clarkwinkelmann/flarum-ext-likes-received": "^1.0",
                "clarkwinkelmann/flarum-ext-mailing": "^1.0",
                "clarkwinkelmann/flarum-ext-post-bookmarks": "^1.0",
                "clarkwinkelmann/flarum-ext-status": "^1.0",
                "darkle/fancybox": "^0.2.0",
                "datitisev/flarum-post-galleries": "*",
                "datlechin/flarum-add-like-controls": "*",
                "datlechin/flarum-more-discussions": "*",
                "datlechin/flarum-scroll-buttons": "*",
                "davwheat/flarum-ext-ads": "*",
                "davwheat/flarum-ext-share": "*",
                "davwheat/hide-empty-welcomehero": "*",
                "davwheat/session-keepalive": "*",
                "ecnu-im/sticky-sidenav": "^1.1",
                "extiverse/mercury": "*",
                "flarum-lang/chinese-simplified": "^1.0",
                "flarum/approval": "*",
                "flarum/bbcode": "*",
                "flarum/core": "1.7",
                "flarum/emoji": "*",
                "flarum/flags": "*",
                "flarum/lang-english": "*",
                "flarum/likes": "*",
                "flarum/lock": "*",
                "flarum/markdown": "*",
                "flarum/mentions": "*",
                "flarum/nicknames": "*",
                "flarum/pusher": "*",
                "flarum/statistics": "*",
                "flarum/sticky": "*",
                "flarum/subscriptions": "*",
                "flarum/suspend": "*",
                "flarum/tags": "*",
                "flarumite/simple-discussion-views": "*",
                "flarumite/simple-spoilers": "*",
                "flarumtr/flarum-ext-mobile-search": "^1.2",
                "fof/analytics": "*",
                "fof/ban-ips": "*",
                "fof/bbcode-details": "*",
                "fof/bbcode-tabs": "*",
                "fof/best-answer": "*",
                "fof/byobu": "*@beta",
                "fof/cookie-consent": "^1.0",
                "fof/discussion-thumbnail": "*",
                "fof/disposable-emails": "*",
                "fof/doorman": "*",
                "fof/drafts": "*",
                "fof/filter": "*",
                "fof/follow-tags": "*",
                "fof/formatting": "^1.0",
                "fof/geoip": "*",
                "fof/html-errors": "^1.0",
                "fof/ignore-users": "^1.0",
                "fof/impersonate": "^1.0",
                "fof/linguist": "^1.0",
                "fof/links": "*",
                "fof/masquerade": "^1.0",
                "fof/merge-discussions": "*",
                "fof/moderator-notes": "^1.0",
                "fof/oauth": "*",
                "fof/pages": "^1.0",
                "fof/polls": "*",
                "fof/pretty-mail": "*",
                "fof/prevent-necrobumping": "^1.0",
                "fof/profile-image-crop": "*",
                "fof/share-social": "*",
                "fof/sitemap": "^1.0",
                "fof/socialprofile": "^1.1",
                "fof/spamblock": "*",
                "fof/split": "*",
                "fof/stopforumspam": "*",
                "fof/terms": "^1.0",
                "fof/upload": "^1.0",
                "hamzone/flarum-ext-auth-wechat": "^1.0",
                "ianm/follow-users": "*",
                "ianm/no-meta-title": "*",
                "ianm/synopsis": "^1.0",
                "imshuzai/flarum-right-and-center-bbcode": "^1.0",
                "imshuzai/phonetic-bbcode": "^1.0",
                "itnt/flarum-uitab": "^0.4.0",
                "justoverclock/auto-post-count-badge": "*",
                "justoverclock/flarum-ext-guestengagement": "^1.0",
                "justoverclock/flarum-ext-hashtag": "^1.0",
                "justoverclock/flarum-ext-keywords": "^1.9",
                "justoverclock/flarum-ext-purify": "*",
                "justoverclock/flarum-ext-welcomebox": "^1.3",
                "justoverclock/header-slideshow": "*",
                "katosdev/signature": "^1.2",
                "nearata/flarum-ext-copy-code-to-clipboard": "^2.0",
                "nearata/flarum-ext-embed-video": "^3.0",
                "nearata/flarum-ext-internal-links-noreload": "*",
                "nearata/flarum-ext-related-discussions": "*",
                "noriods/auto-more": "^1.0",
                "ralkage/flarum-hcaptcha": "*",
                "ramesh-dada/bbcode-alerts": "^6.21",
                "sycho/discussion-canonical-url": "*",
                "sycho/flarum-lite-youtube": "*",
                "the-turk/flarum-flamoji": "^1.0",
                "the-turk/flarum-nodp": "^1.0",
                "the-turk/flarum-quiet-edits": "^0.1.3",
                "the-turk/flarum-stickiest": "^2.0.1",
                "v17development/flarum-seo": "^1.8",
                "v17development/flarum-user-badges": "^1.0",
                "zequeen/acgembed-remastered": "^1.1",
                "zerosonesfun/collection": "*",
                "zerosonesfun/flarum-bbcode-advanced-image": "*",
                "zerosonesfun/flarum-bbcode-audio": "*",
                "zerosonesfun/flarum-bbcode-button": "*",
                "zerosonesfun/flarum-bbcode-iframe": "^1.0",
                "zerosonesfun/flarum-bbcode-space": "*",
                "zerosonesfun/flarum-featured-card": "^1.0",
                "zerosonesfun/flarum-google-fonts": "^1.3",
                "zerosonesfun/flarum-member": "^1.2"

              ash3T What is the result of composer why symfony/css-selector command?

                rob006 Yes.

                katosdev/signature 1.2   requires symfony/css-selector (^6.0.2)                               
                tijsverkoyen/css-to-inline-styles 2.2.6 requires symfony/css-selector (^2.7  ||  ^ 3.0  ||  ^ 4.0  ||  ^ 5.0  ||  ^ 6.0 ) 

                I guess this means katosdev/signature used symfony/css-selector then.

                By the way, I also encounter these two error:

                firstly, in the log

                [2023-05-24 07:24:10] flarum.ERROR: TypeError: Nearata\EmbedVideo\Formatter\Render::__invoke(): Argument #4 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /mnt/BLOCKSTORAGE/home/899574.cloudwaysapps.com/qvgqduqjst/public_html/flarum/vendor/flarum/core/src/Foundation/ContainerUtil.php on line 30 and defined in /mnt/BLOCKSTORAGE/home/899574.cloudwaysapps.com/qvgqduqjst/public_html/flarum/vendor/nearata/flarum-ext-embed-video/src/Formatter/Render.php:13

                secondly, also in the logs

                flarum.WARNING: Cannot use file cache because storage/cache is not writable, this will affect the software.

                I tried to change the file permission through FTP

                public_html/flarum/storage/cache/92/89 /applications/qvgqduqjst/public_html/flarum/storage/cache/92/891: permission denied

                Then I resolve this by deleting the folder and files in the cache folder.

                thirdly, I cannot log in with the admin account when I installed flarum but can only use another account to log into the system before cleaning the cache.

                fourthly, when I tried to removed Nearata\EmbedVideo

                  Problem 1
                    - blomstra/spam-prevention is locked to version 1.3.1 and an update of this package was not requested.
                    - blomstra/spam-prevention 1.3.1 requires php >= 8.0 -> your php version (7.4.33) does not satisfy that requirement.
                  Problem 2
                    - clarkwinkelmann/flarum-ext-mailing is locked to version 1.1.0 and an update of this package was not requested.
                    - clarkwinkelmann/flarum-ext-mailing 1.1.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
                  Problem 3
                    - fof/geoip is locked to version 1.1.0 and an update of this package was not requested.
                    - fof/geoip 1.1.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
                  Problem 4
                    - nearata/flarum-ext-related-discussions is locked to version 1.4.0 and an update of this package was not requested.
                    - nearata/flarum-ext-related-discussions 1.4.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
                  Problem 5
                    - laminas/laminas-diactoros 2.25.2 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
                    - flarum/core v1.7.0 requires laminas/laminas-diactoros ^2.4.1 -> satisfiable by laminas/laminas-diactoros[2.25.2].
                    - flarum/core is locked to version v1.7.0 and an update of this package was not requested.