指南
- 介绍
- Contribute
- 部署
- 管理
- Advanced
进阶
- Main 核心概念
- 高级指引
- Advanced Guides
- Update Guides
- Extending Flarum
- Internal Team Docs
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
Updating For Beta 13
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.
tip
If you need help applying these changes or using new features, please start a discussion on the community forum or Discord chat.
- Dropped support for PHP 7.1.
- Classes from the
Zend
namespace are now removed. Use theLaminas
namespace instead. See PR #1963. - The
Flarum\Util\Str::slug()
method has been removed including the class. UseIlluminate\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.
- Beta 14 will ship with a rewrite in the frontend (javascript). If you're building for that release, make sure to follow our progress.
- A ton of new extenders:
- Several events have been marked deprecated to be removed in beta 14.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论