1.0.0 Breaking Changes
-
- For group chat changes see this.
- The hook
action:user.loggedOut
is now deprecated (but still usable), please usestatic:user.loggedOut
instead - A new hook
filter:popular.build
has been added usersController.getUsers
signature changedfilter:controllers.topic.get
parameters changedtopics.getTopicWithPosts
signature changed see
-
filter:admin.scripts.get
no longer prepends the site URL. This makes it possible to link scripts from an external CDN for example without modifying theheader.tpl
filter:scripts.get
is no longer handled similarly as thescripts
array inplugin.json
and now mirrors the exact functionality offilter:admin.scripts.get
In summary...
In your
plugin.json
, use thescripts
(example) oracpScripts
array to add JS files to either client side or ACP side. Use the above filter hooks to add external files or dynamically generated files. -
Removed some properties from the global config object. Most of these properties were only used in 1 or 2 routes so they are moved to their respective pages now.
https://github.com/NodeBB/NodeBB/commit/d7df6c0b061cb27b0753dc7ef4a034a54caf6c83
Important theme changes
https://github.com/NodeBB/nodebb-theme-persona/commit/0e71131a1b85d1f3361c309b476f6d7a43b7f6ce
Copyright © 2024 NodeBB | Contributors