返回介绍

Updating For Beta 13

发布于 2024-06-22 20:04:58 字数 3587 浏览 0 评论 0 收藏 0

Beta 13 ships with several new extenders to simplify building and maintaining extensions. We do our best to create backward compatibility changes. We recommend changing to new Extenders as soon as they are available.

提示

If you need help applying these changes or using new features, please start a discussion on the community forum or Discord chat.

Breaking Changes

  • Dropped support for PHP 7.1.
  • Classes from the Zend namespace are now removed. Use the Laminas namespace instead. See PR #1963.
  • The Flarum\Util\Str::slug() method has been removed including the class. Use Illuminate\Support\Str::slug() instead.
  • The Flarum\Event\ConfigureMiddleware has been removed. Use the proper replacement.
  • Several events used in Event Listeners have been removed, use their replacement extender instead.
  • The LanguagePack extender only loads keys from extensions that are enabled. The translations loaded are based on the yaml files matching the i18n namespace.
  • All notifications are now sent through the queue; without a queue driver they will run as usual.
  • The implementation of avatar upload changed, we're no longer storing files temporarily on disk.
  • The SES mail driver has been removed.
  • Mail driver backward compatibility from beta 12 has been removed, use the new Mail extender or implement the modified interface.

Recommendations

  • Beta 14 will ship with a rewrite in the frontend (javascript). If you're building for that release, make sure to follow our progress.

New Features

Deprecations

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文