v3.5.0
版本发布时间: 2023-10-25 22:34:05
NodeBB/NodeBB最新发布版本:v3.8.4(2024-08-01 22:17:50)
Release build (minor) of NodeBB @ 2023-10-25T14:34:02.715Z
v3.5.0 (2023-10-25)
New Features
- show # of widgets on templates (2ca5192b)
- #12101, dont return rssFeedUrl if feeds are disabled (2955fdb5)
- add sidebar setting lang key (97a86ba4)
- award notif filter (9e9046bf)
- update to mongodb 6.1 (#12087) (e542b27d)
- add category canonical url (f96b0b7a)
- update error handler to check for pseudo-standard no-* prefix and route to 404 handler instead (db5b0f47)
- flag rescinding logic + api method (e012edea)
- backend methods for rescinding a report, supplemental adds and removing a report now adds to the flag history (bc0f362c)
- use homePageTitle in breadcrumbs if its set (1a745201)
- 3 column layout for widgets (db9279eb)
- update all language keys to use - instead of _ (#12059) (844cb91b)
- closes #12052, ability to disable stale topic warning (f8a3aceb)
- add .has() method in cache/ttl lib (d478de16)
- upgrade chartjs to 4.x (fe192b92)
- closes #11553, add forked from message like merged into (be14f6cc)
- add workerpool for password, closes #10326 (#12038) (8b25aff7)
- add new hook action:chat.onMessagesAddedToDom (a7517d88)
- add composerActions for chat rooms (d906097a)
- add heading strings (8c977f4c)
- introduce new ACP setting for newbie chat message delay, defaults to 2 minutes (223e7656)
Bug Fixes
-
deps:
- update dependency cron to v3.1.4 (#12117) (3e45788f)
- update dependency ace-builds to v1.31.0 (#12113) (aba7eb0f)
- update dependency nconf to v0.12.1 (#12111) (91d00979)
- update dependency @fontsource/inter to v5.0.15 (#12108) (99c3c874)
- update dependency nodemailer to v6.9.7 (#12109) (e546adaa)
- update dependency mongodb to v6.2.0 (#11965) (7302e769)
- update dependency @fontsource/inter to v5.0.14 (#12103) (c9c6175a)
- update dependency cron to v3.1.3 (#12100) (bad9198e)
- update dependency sass to v1.69.4 (#12094) (2adc96c2)
- update dependency esbuild to v0.19.5 (#12091) (94434125)
- update dependency webpack-merge to v5.10.0 (#12088) (d45f506f)
- update dependency webpack to v5.89.0 (#12083) (1ebdfaea)
- update dependency connect-mongo to v5.1.0 (#12085) (212a3415)
- update dependency ace-builds to v1.30.0 (#12082) (8456682c)
- update dependency cron to v3.1.1 (#12078) (24d6b73f)
- update dependency commander to v11.1.0 (#12079) (7d38e9ed)
- update dependency sass to v1.69.3 (#12076) (193e54e2)
- update dependency workerpool to v6.5.1 (#12077) (14eede15)
- update dependency sass to v1.69.2 (#12074) (0dd4cedf)
- update dependency nodemailer to v6.9.6 (#12068) (6c59d72a)
- update dependency winston to v3.11.0 (#12064) (fdf279a3)
- update dependency cron to v3 (#12049) (f2fad2d3)
- update dependency @fontsource/inter to v5.0.13 (#12065) (512ac525)
- update dependency ace-builds to v1.29.0 (#12067) (b04fbf89)
- update dependency sass to v1.69.1 (#12070) (a5d2871c)
- update dependency @fontsource/inter to v5.0.12 (#12053) (1033218c)
- update dependency sass to v1.69.0 (#12060) (ecb847fc)
- update dependency nodebb-plugin-2factor to v7.4.0 (6c5c1afd)
- update dependency nodebb-plugin-ntfy to v1.7.3 (98e58252)
- update dependency postcss to v8.4.31 (#12048) (eaa7aff3)
- update dependency esbuild to v0.19.4 (#12046) (4289230f)
- update dependency rimraf to v5.0.5 (#12036) (3549fbdd)
- update dependency nodebb-theme-persona to v13.2.34 (#12043) (339481ca)
- update dependency nodebb-plugin-spam-be-gone to v2.2.0 (#12039) (84648db2)
- update dependency cron to v2.4.4 (#12033) (c1f873b3)
- update dependency ace-builds to v1.28.0 (#12028) (3262923a)
- update dependency nodebb-plugin-2factor to v7.3.1 (#12026) (d29ea026)
- update dependency nodebb-plugin-ntfy to v1.7.2 (#12024) (360d3257)
- update dependency sass to v1.68.0 (#12023) (be600a84)
- update dependency autoprefixer to v10.4.16 (#12022) (f6b6e6c7)
- update dependency nodebb-plugin-2factor to v7.3.0 (#12021) (639fb33f)
- update dependency bootswatch to v5.3.2 (#12020) (5dc368a9)
- update dependency ace-builds to v1.27.0 (#12019) (f73ed6dd)
- update dependency nodebb-plugin-emoji to v5.1.10 (#12018) (16fe4fde)
- update dependency sharp to v0.32.6 (#12016) (f838498b)
- update dependency postcss to v8.4.30 (#12015) (7dbc6668)
- update dependency rtlcss to v4.1.1 (#12014) (ba894a04)
- update dependency nodebb-plugin-ntfy to v1.7.1 (#12011) (4e834a2e)
- update dependency ace-builds to v1.26.0 (#12010) (5a003acb)
- update dependency mongodb to v5.9.0 (#12008) (5bfcd34c)
- update dependency cropperjs to v1.6.1 (#12013) (9f5362c8)
- update dependency ace-builds to v1.25.1 (#12006) (1558d7a2)
- update dependency bootstrap to v5.3.2 (#12005) (44d120df)
- update dependency esbuild to v0.19.3 (#12002) (ef41b8bc)
- update dependency sass to v1.67.0 (#12004) (d2e49472)
- update dependency ace-builds to v1.24.2 (#11991) (447b7954)
- closes #12115 , toggle hasmore as well (728d63f9)
- #10276, only move widgets if area doesn't exist (1739f5a9)
- #12090, dont award disabled rewards (c1ae879d)
- rewards fixes (347a43f4)
- use template name instead of component (f6120ebb)
- incorrect data passed to api.flags.get (cc8fe435)
- missing body classes on error pages (54a810dd)
- edit notification key (bda37ac2)
- lang key (bffa7880)
- #12062, relax blockquote selector (99bdad80)
- allowing forward slash in language keys, temporarily allowing upper case characters (d25a24fc)
- rename filter-perPage to filter-per-page (872ddc26)
- upgrade script date (6f5a965a)
- add upgrade script for notifications (6c3ff86b)
- lang key, type has _, lang keys changed to use - (1072b38b)
- #12017, unreliable forum updated messaging (715bdac3)
- #12057, allow gmods to change user email (344ece8d)
- only show emailChanged alert for self (56794cf8)
- closes #12054 handle negative start/stop in psql (0f4e6648)
- make socket errors and static hook errors less noisy (2a1be01a)
- restore notificationSendDelay back to 60 (5fe1ad95)
- breaking tests (857433d1)
- #12044, only load notifications when opening dropdown (dbd0a715)
- change
notificationSendDelay
to default to 10 seconds instead of 60, #11445 (cf50b0fe) - clear interstitial data if there are no additional interstitials on abort (bdc221eb)
- #11808, reduce zeal of middleware.registrationComplete (74902e4a)
- pass in missing uid (d50473df)
- #12025, validity checking on user-provided toPid value (fe42fd4e)
- #12032, truncate long category names (b518e036)
- field name importance (8041f4d1)
- closes #12007, parseInt notification fields (b8e43143)
- on shutdown clear locks (615b2f0f)
- remaining text, when sending with send button (6553e454)
- nodebb/nodebb-plugin-link-preview#18, remove sup from allowedTags, add source + source attributes (f09f4105)
- use isPrivileged instead of isAdmin (b9c3cdb6)
- failing test due to increased chat message delay (ff07fc44)
- better labels in ACP chat settings, #11983 (88dd21e2)
- bump chat message delay by 10x to 2000ms, re: #11983 (9b0b33cc)
- #11981, post immediately when canceling scheduling (aa797f23)
-
i18n:
- added rewards resource and fallbacks (47910d70)
- fallbacks for new language keys (2b3d2055)
- push fallbacks for modules resource (9b384b98)
Other Changes
- fix quotes (b8705380)
- fix lint (3b46ad42)
Performance Improvements
- no need to count on every call (130815c7)
Refactors
- get rid of util.promisify on async function (b1ff93f8)
- fix comment (ff6bfeb8)
- get rid of async.series (c7c6e8ff)
- shorter timeago (6149252b)
- shorter code for pinned topics (ff952e59)
- change private message email subject (f9fb3c3a)
- use helpers.isAllowedTo (47c16e90)
- add email notification delay to chat message notifications (a47b4805)
- remove chat message notification queue, implement merge IDs for chat message notifications, so they can be grouped together (3ba371f6)
- update buildCategoryLabel (82ea9192)
- use esm only import used chart types/plugins (56b31674)
- get rid of exists db call, use promise.parallel (8895b152)
- get rid of some async.waterfall/series/parallel calls (e452c097)
- get rid of async.waterfall/series (8bc2ef22)
- reduce socket.emits for typing (4d1b8e76)
Tests
- add spec for new notif type (90e10b9c)
- worked with chatgpt to restrict the i18n test a bit to match requirements (99364427)
- fix flag tests (6606d96a)
- added test cases for .addReport and .rescindReport() (da239059)
- added i18n test to enforce kebab casing (69dde2b9)
- add reverse list test (66be9826)
- additional tests for #12034 (d7e9f324)
- added tests for new logic paths (toPid validation on post creation) (ce740301)
- 💥 i18n tests (8202c555)