It’s a big week at NodeBB. For one, we are moving from the office on King Street in Toronto where we have been for the last 5 years… okay yes, we’re only moving to another floor of the same building due to renovations, but it’s still fairly big deal.
But in even bigger news…
…NodeBB version 2 is here!
What’s New in NodeBB v2.0.0?
The focus of the version 2 release work has been the elimination of “technical debt.” If you are not familiar with the term, technical debt is essentially the build up of small changes in various pieces of code over time that can eventual cause a variety of issues, such as performance problems or challenges to future development.
The biggest change is the move to Webpack version 5.0 as the module bundler for NodeBB, which will align us with the current prevailing standard of web development. Prior to this, we were using a hand-written module bundler—which worked well for many years—but had some rough edges when integrating with third-party libraries. The key benefit to upgrading to Webpack is a reduction in client-side payloads which will give faster initial load times, and will also simplify things for developers.
While this change won’t have much direct impact on forum users or admins, we believe that making things easier for developers will more easily allow new features and customizations to be added to NodeBB via plugins and other development, ultimately benefiting everyone in the ecosystem.
Other changes in v2.0.0
(Note that a few of these are actually changes from various 1.19.x releases that we hadn’t got around to blogging about.)
- Now easier for plugin developers to add their own privileges to NodeBB
- Devs used to have to hook into 4 different calls, but now only 1 is needed
- Better support for multiple nav bars in a theme
- Theme developers often had issues adding multiple nav bars to a theme, as pages within NodeBB expected a single nav bar — the underlying logic has been rewritten to handle multiple nav bars and react appropriately
- Muting users
- This allows admins to “silence” user, meaning they cannot post but can still login
- Changed recent online users
- Going to the “users” page and selecting “online” will now show users who have been active in the last 24 hours
- Automatic flagging of downvoted posts
- In the admin control panel under “Reputation & Flags > Flag Settings”, admins can now optionally set a threshold number of downvotes to automatically flag that post for moderation
- Controversial posts
- User profiles now contain a “controversial post” page, which lists an individuals most downvoted posts
- Upvote/downvote visual indicators for colour blind persons
- A box will now appear when you upvote or downvote a post — previously this was represented only by a colour change
- Mobile menu reconfiguration
- Notifications and chats have been merged to the right to more closely align with the desktop view
- Minimum reputation for chats
- This can be set in the admin control panel under “Settings > Reputation”
- Drag/drop images in chats
Upgrading to NodeBB v2.0
If you are hosting your own forum and are moving up to the new version, be sure to check out our Migration Guide for v2. And if you are hosted client with us, please contact firstname.lastname@example.org to discuss upgrading your forum.