This release contains multiple new features and fixes as we continue optimizing the core software on the road toward a stable version.

🔔 What's New

In this version, we focused on improving the Flarum experience, bringing a better experience to both the excellent developers in our community and administrators of Flarum websites.

  • 🔒️ Fixed an issue where users could restore discussions deleted by administrators #2037
  • 🌏️ Only enabled extensions will enable translation functionality #2020
  • 📦️ Composer v2 compatibility
  • 🙈 Fixed styling issues with nested spoilers #14
  • ⬆️ Pusher now places new posts below unread pinned posts #1868
  • 🗺️ Changed the CDN providers for Pusher and Emoji (improving access/load times for users in China) #24, #20
  • 🎨 Improved the switch loading indicator #2039
  • 🐛 Fixed a bug in the tag modal #2080
  • 📧 Moved emails to the queue #2096
  • 📬 Moved notifications to the queue #1931
  • 💭 The Start a Discussion button is now only displayed when the user has permission #74
  • ⚠️ Internet Explorer is no longer supported
  • 🚧 More extenders! #2012, #2100, #2097, #2095, #2012

And much more! If you're interested, check out our changelog and releases on GitHub.

👨‍💻 Developer Notes

If you're a developer, please read the following carefully, as there are several major changes in this release!

  • PHP 7.1 is no longer supported
  • The Zend library has been completely removed; upgrade to the Laminas package
  • The Flarum\UtilStr class has been removed
  • Some events have been removed; use the new extenders instead
  • The language pack extender now only adds translation keys for enabled extensions. If the language pack fails to load translations for all extensions, language pack authors should check whether the correct extension ID is used in the yaml file (replace / with - and remove flarum-ext- or flarum-; for example, fancy/flarum-ext-boo should be changed to fancy-boo)
  • For other changes, please refer to the Beta 13 upgrade guide

Developers are advised to check the changelog of the relevant package when they encounter problems. You can consult the Beta 13 upgrade guide to ensure that your extension is up to date.

If you have any questions or encounter any obstacles during the upgrade, start a new discussion in the Dev tag, or find us in #extend in the discussion forum.

⤴️ Upgrade Guide

Before running the upgrade, make sure to back up the public/assets directory, the composer.json file, and the database!

  1. Step 1: Make sure your admin dashboard version is 0.1.0-beta.12, or run php flarum info (if upgrading from an earlier version, refer to the previous release notes)
  2. Step 2: Disable all third-party extensions
  3. Step 3: Run the following commands

Composer v1

composer update --prefer-dist --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear

Composer v2

Warning: Composer 2 may cause issues during installation/update. If you encounter problems, start a new discussion under the Support tag.

composer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear
  1. Step 4: Enjoy your newly upgraded Flarum website!

If you encounter any problems, start a new discussion in the Support tag. There may be discussions about similar issues, but please start a new discussion anyway; this will help us resolve your specific issue more quickly.

If the problem persists, we will help you. Be sure to include the Flarum version you are using or the output of php flarum info. Also include the output of composer why-not flarum/core v0.1.0-beta.13.

🙇‍♀️ Thanks

The release of Flarum would not have been possible without the support of numerous contributors. We extend our heartfelt thanks to everyone! Special thanks to:

  • Everyone who contributed code to this release, especially @rob006, @SychO, @Kylo, oddjob79, @Littlegolden, @IanM, andreasjacobsen93, w-4, and anyone else we may have missed;
  • Our vigilant bug reporters, especially @Littlegolden, @matteocontrini, davwheat, markiemm, and anyone else we may have missed;
  • The outstanding team behind Flarum, including @Franz, @luceos, @jordanjay29, @datitisev, @clarkwinkelmann, @tankerkiller125, @askvortsov, @Prosperous, @Digital, @Pollux, @katos, @Kyrne, and @Ralkage;
  • Every Open Collective supporter and GitHub sponsor, especially Glowing Blue AG and @QuiteNicely, as well as @IanM, @danielunited, @deleted, Jian Gong, Donald Broussard, Timotheus Pokorra, Shridhar Kamma, Ken Lam, Guitar, @BartVB, Patrik Kernstock, @tankerkiller125, @demianh, @Edmilerad, Andrei Telteu, @tlingc, @malago, @hrvoje_hr, and @cubixel;

Your continued support is vital to us and is the cornerstone of Flarum's stable development! Support us on Open Collective or GitHub to help us become a sustainable project!

Finally, thank you for your continued support and enthusiasm. They are what keep us moving forward!

Original article: https://discuss.flarum.org/d/23666-flarum-010-beta13-released