mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 16:10:56 +08:00
20 lines
618 B
Markdown
20 lines
618 B
Markdown
![]() |
### Changes
|
||
|
|
||
|
* Mithril
|
||
|
- See changes from v0.2.x @ https://mithril.js.org/migration-v02x.html
|
||
|
- Kept `m.prop` and `m.withAttr`
|
||
|
- Actual Promises are used now instead of `m.deferred`
|
||
|
* Component
|
||
|
- Use new Mithril lifecycle hooks (`component.config` is gone)
|
||
|
- `component.render` is gone
|
||
|
* Application
|
||
|
- New different methods
|
||
|
- `app.bus` for some event hooking
|
||
|
* Translator
|
||
|
- Added `app.translator.transText`, automatically extracts text from `translator.trans` output
|
||
|
|
||
|
#### Forum
|
||
|
* Forum Application
|
||
|
- Renamed to `Forum`
|
||
|
- `app.search` is no longer global, extend using `extend`
|