1.11.0 Breaking Changes
-
remove filter:post.getPostData and filter:post.getPostsData · Issue #6850 · NodeBB/NodeBB
use filter:post.getFields instead
GitHub (github.com)
-
-
Hi guys. What do I need to upgrade my NodeJS to before upgrading NodeBB? Sorry, kind of a noob.
-
@Michael-Pfaff you need at least Node 8, but I recommend Node 10, as it's the latest LTS
-
@PitaJ said in 1.11.0 Breaking Changes:
@Michael-Pfaff you need at least Node 8, but I recommend Node 10, as it's the latest LTS
Great, thanks. I feel like last time I upgraded Node it broke NodeBB, so it's been a while. I'll upgrade to 10.
-
Sorry for post here. We have a lot of plugins that now are breaked in v1.11.0. Because plugins authors delay to fix them, can help me to do a dirty fix to these? I knows JS and nodeJS. But no knows internals of NodeBB plugins architecture. These are the errors
2018-12-04T07:23:19.503Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './topics', please update your plugin! 2018-12-04T07:23:19.503Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './topics', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-highlights/library.js:7:29 at /opt/vapor/nodebb/node_modules/nodebb-plugin-highlights/library.js:7:29 2018-12-04T07:23:19.503Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './user', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-highlights/library.js:8:25 2018-12-04T07:23:19.504Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './user', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-highlights/library.js:8:25 2018-12-04T07:23:19.589Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './settings', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-imgbed/library.js:9:32 2018-12-04T07:23:19.589Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './posts/cache', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-imgbed/library.js:10:29 2018-12-04T07:23:19.590Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './socket.io/admin', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-imgbed/library.js:11:35 2018-12-04T07:23:19.598Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './settings', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-imgbed/library.js:9:32 2018-12-04T07:23:19.598Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './posts/cache', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-imgbed/library.js:10:29 2018-12-04T07:23:19.599Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './socket.io/admin', please update your plugin! at /opt/vapor/nodebb/node_modules/nodebb-plugin-imgbed/library.js:11:35 2018-12-04T07:23:19.621Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './posts/cache', please update your plugin! 2018-12-04T07:23:19.621Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './posts/cache', please update your plugin! at Object.<anonymous> (/opt/vapor/nodebb/node_modules/nodebb-plugin-iframely/library.js:11:31) at Object.<anonymous> (/opt/vapor/nodebb/node_modules/nodebb-plugin-iframely/library.js:11:31) 2018-12-04T07:23:20.177Z [8888] - [33mwarn[39m: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it. [33m * [39mnodebb-theme-va 2018-12-04T07:23:20.232Z [8888] - [33mwarn[39m: [plugins/require] Cannot find module './database', please update your plugin! at Object.YoutubeLite.init [as method] (/opt/vapor/nodebb/node_modules/nodebb-plugin-youtube-embed/library.js:20:22) 2018-12-04T07:23:20.232Z [8889] - [33mwarn[39m: [plugins/require] Cannot find module './database', please update your plugin! at Object.YoutubeLite.init [as method] (/opt/vapor/nodebb/node_modules/nodebb-plugin-youtube-embed/library.js:20:22)
Thank you so much. Really we need these plugins.
-
@faizanzahid the current version of NodeBB still has compatibility with those plugins. Future version will not.