From c8f1bc530bdcb868562fef108af6258b2bf814cf Mon Sep 17 00:00:00 2001 From: "Misty (Bot)" Date: Thu, 13 Jan 2022 18:51:22 +0000 Subject: [PATCH] chore: update changelog for v1.19.0 --- CHANGELOG.md | 351 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 351 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a3b14d286..912eb3b51e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,354 @@ +#### v1.19.0 (2022-01-13) + +##### Breaking Changes + +* `GET /chats/:roomId/users` [breaking] (6eea6451) +* remove socket.emit('user.exists') (1f063058) +* remove socket.emit('user.changeUsernameEmail') (6b45dee9) +* #10077, store nav items in objects (69c96078) +* remove socket.emit('topics.follow') (f918a381) +* remove socket.emit('topics.post') (6ad04721) +* remove socket.emit('user.banUsers'); (49641a32) +* remove socket.emit('posts.reply') (4604a572) +* remove socket.emit('user.changePicture') (6d95684b) +* remove socket.emit('user.search') (0d694c78) +* remove socketHelpers.setDefaultPostData (99f865c6) +* remove deprecated groups socket calls (02ea17ea) +* remove deprecated methods (0d1e57dc) +* remove socket.emit('posts.delete') (bd1cb2d4) +* remove socket.emit('posts.upvote') (ec1d5e38) +* remove socket.emit('posts.move') (8427c5d9) +* remove socket.emit('posts.edit') (4247f624) +* remove socket.emit('posts.bookmark/unbookmark') (f7418ccd) +* remove deprecated admin.groups methods (07e2741e) +* remove socket.emit('categories.getCategory') (45d755b6) +* remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings') (cc3f82bc) +* remove deprecated socket.emit('admin.categories.update') (0b9c01f9) +* remove deprecated socket.emit('admin.categories.purge') (ba5d2e7b) +* remove deprecated socket.emit('admin.categories.create') (b3353723) +* remove deprecated socket.emit('admin.categories.getAll') (10c19af2) +* remove getTopicPosts(tid, ...) usage (170e5dd9) +* remove deprecated post diff socket calls (8117b7f2) +* remove deprecated user middlewares (1a7fffc7) +* remove action:category.loaded, use action:topics.loading (36aa6034) +* remove setTopicSort/setCategorySort (6dcdf1d3) +* remove deprecated socket user create/delete functions (a7d1dfb6) +* remove deprecated uploads.delete (c93d7fdb) +* remove deprecated methods (79de48c5) +* remove socket.io/flags.js (c5f08fdc) + +##### Chores + +* org; merge consecutive await calls into one Promise.all (be4dbe34) +* fix #9213 (0a5420ed) +* revert engines change in install/package.json (487f25ba) +* update renovate config (f95acce3) +* update renovate range strategy... (bc0f33df) +* remove debug logs in test/api.js (82768fcf) +* use apiv3 for room rename tests (e745e212) +* trigger lang (540eeae9) +* up themes (71fa8175) +* right dropdown (7aa85882) +* right dropdown (a998cc1c) +* update readme mongodb version (af5393ec) +* incrementing version number - v1.18.6 (3a78a151) +* update changelog for v1.18.6 (3c8109e2) +* **deps:** + * update commitlint monorepo (56d134c3) + * update dependency lint-staged to v12.1.7 (40e7007f) + * update dependency lint-staged to v12.1.6 (f78108ac) + * update dependency eslint-plugin-import to v2.25.4 (a69afdb6) + * update dependency lint-staged to v12.1.5 (12038039) + * update dependency eslint to v8.6.0 (b546ff4e) + * update dependency lint-staged to v12.1.4 (87779fc8) + * update dependency jsdom to v19 (#10053) (ee05b762) + * update dependency lint-staged to v12.1.3 (c0dd8dcb) + * update dependency eslint to v8.5.0 (55b9fab1) + * update dependency eslint to v8.4.1 (ba02f015) + * update dependency eslint to v8.4.0 (4b113715) + * update dependency lint-staged to v12 (b3423389) + * update dependency eslint to v8 (e9aadde1) + * update commitlint monorepo to v15 (f6c6425d) + * update dependency jsdom to v18.1.1 (87433b79) + * bump compare-versions from 3.6.0 to 4.1.1 in /install (ea9f2c73) + * update dependency jsdom to v18.1.0 (d7c2a311) +* **i18n:** + * fallback strings for new resources: nodebb.user (d79d7e80) + * fallback strings for new resources: nodebb.admin-settings-uploads (e6a46ef6) + * fallback strings for new resources: nodebb.error (207ae8cd) + * fallback strings for new resources: nodebb.post-queue (edba10e2) + * fallback strings for new resources: nodebb.modules, nodebb.notifications (fd939f8b) + * fallback strings for new resources: nodebb.admin-admin (4a53adf6) + * fallback strings for new resources: nodebb.admin-admin (b052a8e7) + * fallback strings for new resources: nodebb.topic (23c915ba) + * fallback strings for new resources: nodebb.admin-settings-user, nodebb.login (eecd02fb) + * fallback strings for new resources: nodebb.admin-settings-email (72e1c281) + +##### Documentation Changes + +* comment hint :shipit: (ffdf26af) +* fix description for route (47ab9526) +* roomId is number (0aa25f20) +* openAPI documentation for routes (55e68e2f) +* use social media card in readme header (33c8b197) +* add social media card (f7b3f69f) +* add docs link higher up (1a85aaad) +* update readme blurb (e325aa93) + +##### New Features + +* bundling nodebb-plugin-2factor with all NodeBB installations, v1.19.0 onwards :tada: (31b4b8fd) +* revoke user sessions on successful password reset (6ca216ab) +* allow % in tags, #10135 (a75a043b) +* allow isCluster, isPrimary, and jobsDisabled to be passed in as numbers in addition to string/bool (b5b188fd) +* `GET /api/v3/chats/:roomId/messages` (2fe53cf8) +* `DELETE /api/v3/chats/:roomId/users` and `DELETE /api/v3/chats/:roomId/users/:uid` (fe17c94c) +* `POST /chats/:roomId/users` (d62ee846) +* `POST /chats/:roomId/:mid` and `DELETE /chats/:roomId/:mid` (d5fd098e) +* middleware.assert.message (90fcbe44) +* `GET /chats/:roomId/:mid` (b2929605) +* `PUT /chats/:roomId/:mid` (f48ed365) +* allow API checkRequired middleware error to be internationalized (74f1905e) +* `PUT /api/v3/chats/:roomId` (9a4fd5dc) +* `POST /api/v3/chats/:roomId` (eeffb9d9) +* `GET /api/v3/chats/:roomId` (09cf9c77) +* `POST /api/v3/chats`, chat room creation, plus openAPI docs update (40b4544e) +* `GET /api/v3/chats` (94bead71) +* stub code for v3 chats api (02e878be) +* #9506, allow seeing and editing your queued posts (c4042c70) +* pass in all query params to category search filter (599bffd8) +* add data param to filter:categories.search (c4156bdd) +* ensure that all requests handled by NodeBB fall under the relative_path as configured (a3bdb706) +* show 10 members (d9c42c00) +* closes #10018 (1e535528) +* #10018 add href (06bfec88) +* #10018 , wip (0f14f23b) +* autocomplete for activate/reset (f0d192fb) +* #10008, add history entry for note deletion (c26870d2) +* #9957, don't remove existing fields form config.json (0532c1b2) +* add feature flag to disable verification emails, closes #9996 (09e0c6d5) + +##### Bug Fixes + +* **deps:** + * update dependency nodebb-plugin-markdown to v8.14.6 (ad6f6051) + * update dependency winston to v3.4.0 (#10150) (2fee1d07) + * update dependency ioredis to v4.28.3 (#10151) (bfad04ab) + * pin dependencies (da2bb340) + * pin dependency socket.io-adapter-cluster to 1.0.1 (#10146) (15bf3db2) + * update dependency nodebb-theme-vanilla to v12.1.15 (#10149) (2fa3cd0d) + * update dependency nodebb-theme-slick to v1.4.23 (#10148) (762de2d8) + * update dependency nodebb-theme-persona to v11.3.13 (#10147) (385d4c71) + * update dependency winston to v3.3.4 (4bada01b) + * update dependency autoprefixer to v10.4.2 (a47883e8) + * update dependency mongodb to v4.3.0 (50eb4556) + * update socket.io packages to v4.4.1 (9eb00cb2) + * update dependency nodebb-rewards-essentials to v0.2.1 (0a15c99e) + * update dependency autoprefixer to v10.4.1 (f1aa5f7d) + * update dependency yargs to v17.3.1 (5c3335b7) + * update dependency nodebb-theme-vanilla to v12.1.14 (#10102) (dd8b1f75) + * update dependency nodebb-theme-slick to v1.4.22 (#10101) (dd1633ff) + * update dependency nodebb-theme-lavender to v5.3.2 (#10099) (eccdfc9d) + * update dependency nodebb-theme-persona to v11.3.12 (#10100) (4f6fc10b) + * update dependency nodebb-theme-persona to v11.3.11 (32cbf760) + * update dependency nodebb-theme-slick to v1.4.21 (9253519c) + * update dependency nodebb-theme-slick to v1.4.20 (#10084) (019804e1) + * update dependency nodebb-theme-vanilla to v12.1.13 (#10085) (66c759ed) + * update dependency nodebb-theme-persona to v11.3.10 (#10083) (d276c9cd) + * update dependency nodebb-plugin-composer-default to v7.0.17 (#10082) (0ef9c7ab) + * update dependency nodebb-theme-vanilla to v12.1.12 (dda7c075) + * update dependency nodebb-theme-slick to v1.4.19 (4577600e) + * update dependency nodebb-theme-persona to v11.3.8 (5e2281c3) + * update dependency mongodb to v4.2.2 (0551a19e) + * update dependency postcss to v8.4.5 (16398dd9) + * update dependency compare-versions to v4.1.2 (de1ed01d) + * bump persona (16c88a97) + * bump persona (c90a8926) + * update dependency nodebb-plugin-mentions to v3.0.4 (#10063) (07217762) + * update dependency nodebb-plugin-spam-be-gone to v0.7.12 (#10064) (a5840c5a) + * update dependency nodebb-theme-slick to v1.4.18 (#10065) (5477cf32) + * update dependency nodebb-plugin-markdown to v8.14.5 (#10062) (60d778f0) + * update dependency nodebb-theme-persona to v11.3.5 (#10059) (8695d370) + * update dependency nodebb-plugin-dbsearch to v5.1.1 (70068d6c) + * update dependency nodebb-plugin-composer-default to v7.0.15 (84b03a34) + * update dependency nodebb-theme-persona to v11.3.3 (8cbe0df2) + * bump emoji plugin (14e35247) + * update dependency ioredis to v4.28.2 (597d826b) + * update dependency yargs to v17.3.0 (115de4e5) + * update dependency mime to v3 (#9963) (49813cce) + * update dependency mongodb to v4.2.1 (f72af319) + * update dependency @socket.io/redis-adapter to v7.1.0 (ed4b0cf7) + * update dependency postcss to v8.4.4 (b34b8aa9) + * update dependency postcss to v8.4.3 (2dadf786) + * update dependency postcss to v8.4.1 (6a273798) + * update dependency postcss to v8.4.0 (29345275) + * update dependency ioredis to v4.28.1 (9966a00f) + * update dependency nodebb-theme-persona to v11.3.1 (fdae6991) + * update socket.io packages to v4.4.0 (f05d308a) + * update dependency nodebb-theme-vanilla to v12.1.10 (68dddbd9) + * update dependency nodebb-theme-persona to v11.2.22 (3eb91a20) + * update dependency nodebb-plugin-mentions to v3.0.3 (5ec32c31) + * update dependency mongodb to v4.2.0 (#10011) (2378fc84) + * update dependency @socket.io/redis-adapter to v7.0.1 (aae7be02) + * update dependency sharp to v0.29.3 (46162537) +* lint (c9592e17) +* icon alignment issue that was also bugging me :shipit: (37a71291) +* #10143, add back ace editor searchbox (42caef7f) +* #10095, add login info to email interstitial (5eb02f59) +* #10121, fix error messages in user creation (8ad64ec0) +* #10115, fix chat autocomplete hook (69a7634a) +* notice links in subfolder installs (cc27a324) +* move authenticateRequest before interstitial and maintenance mode middlewares, allowed plugins to disable authentication on certain routes (d89fc44c) +* retry incrObjtFieldBy (07232a8c) +* use component instead of class name (b179f0fc) +* assertion check to ensure messages are in the room when editing/deleting, etc (d95b4ee2) +* rename language key for incorrect parameter type error (aeb43b9b) +* deprecate chats.leave (16ba16cd) +* re-allow kicking of the other party in a 1-to-1 chat (6294beea) +* isFinite check for room assertion, more test migrating (140f9d24) +* #10096, don't display preview for links if hostname doesnt match (a115b771) +* only render preview on topic page (a9f81215) +* don't crash server if analytics fails to save (8fb89d76) +* upgrade script to handle strings as well (e332acf3) +* #10090, remove left over necro posts messages (fdaf8274) +* #10086, if pidfile is empty delete (59214ca2) +* utils method (91e21ecc) +* prevent crash if groups is not valid json (cc0a087a) +* upgrade script (968d4616) +* delete left over nav items after removal of some (737e1c19) +* targetBlank/dropdown not getting cleared (10e890e4) +* prettier bulk method usage (3b0c42a5) +* bug where groupChat property was not set for chat rooms (42959df0) +* #9484 show user history only to admins and gmods (bc7707aa) +* no need to pass 'img' to teaser tags stripping as images are already converted to alt text (45c9dde3) +* #10069, don't modify fields array (a8afdc60) +* #10068, update data-index values after sort (236d4e80) +* #10068, baseIndex should be read before sort update fix off by one error (9af23351) +* tests (45d8157f) +* #10067, count posts instead of incr/decr (830166d1) +* handle start=0 stop=0 for topics.getTopicPosts (906dc567) +* wrong usage of is ACP (4f423610) +* don't throw on invalid session, just return early so socket is not opened. (fa01801f) +* #10052, dont use spaces in tag class name (a2953583) +* don't crash if tid is falsy (1cdb0b1e) +* regression from https://github.com/NodeBB/NodeBB/commit/27c05448e1532ce466658513af0e2ff65576b410 (50063fe2) +* keep query params on /me redirects (941ecaf8) +* 403/400/500 page not generating csrf_token (65c55041) +* error pages dont have config.csrf_token (3dd681eb) +* quote button staying on screen on slow computers (d378bf4c) +* removed unused var (e0caa5e0) +* #10027, properly auto confirm first user (2473d5d8) +* cli password reset (71e34be5) +* #10023, bump persona (a10ea03c) +* #10020, /api/post/upload returns v3 style response (242f8e95) +* consolidate plugin reset logic (449366ca) +* search crash (9245f71a) +* #10010, handle reverse sorting for topic events (d5bfd512) +* #10006, dont allow new rooms or adding to a room if target is blocked (047f031d) + +##### Other Changes + +* remove unused (afc75ba4) +* fix (682f6089) +* missing ; (20e76699) +* remove unused (cbf198fe) +* remove unused (a20abdce) +* fix (0a6eeb93) +* remove unused utils (82b72f7e) +* fix (fa1ac04d) + +##### Performance Improvements + +* only add middleware if relativePath is set (41db9436) +* don't load all set members to get count (0414356c) +* create user tooltips on demand (23147235) +* closes #9994, bulk methods for settings (d412ba44) +* remove createUserTooltips (facc10e4) + +##### Refactors + +* remove unused language key (5278b11a) +* put message api calls behind `/messages` prefix, #10097 (aaa6f752) +* rewrite messaging tests to use API v3 calls when available, rewrote a bunch of tests to async..await (c990211c) +* only write analytics data on nbb that has runJobs=true (35fea58a) +* remove knonwOwner param (42781467) +* remove console.log (a7644466) +* remove unused validator (4e1d4217) +* only pass qs (b8896d13) +* change error message (1e60ae87) +* use hasOwnProperty (9f1b8a3b) +* remove object.create (dbba0c39) +* remove unused args (3d3ae82f) +* remove comment (633061f4) +* use .map to return promises (d4f3ee67) +* async (cfd47448) +* async (f0394c49) +* use async (8491f67d) +* remove unused (e3c0f0be) +* always returns array (9627fa90) +* use async/await (f4aa249d) +* change var name (36eb47d9) +* alerts (621c142f) +* use alerts.error/success (cba78aee) +* use lang keys, fix typo (dd02c49f) +* use alerts module (1980feed) +* dont need local function (2bb0828a) +* DRY (324262cb) +* use routePrefixMap instead of routeRegexpMap, +tests (#10035) (6c07433d) +* use hasOwnProprety (daf385cd) +* tab rules (fb363957) +* change category feed so it is not updated on every reply (697dd376) +* dont expost entire res._locals to client side (e368feef) +* shorter meta.settings.get (190532b3) +* clone settings before returning (51cbeccb) +* remove another async.series (27c05448) +* remove tabs after declaration (4359e5c9) +* update dates (6d38eab6) +* clone before returning (f729e519) +* add filter:topic.getPosts (258f368e) +* setObjectBulk to match sortedSetAddBulk (8379c11b) +* remove more async.eachSeries/mapSeries (d1964095) +* make a single call to set widgets per template (8750ee04) +* remove jshint, remove async.parallel (80f9963b) + +##### Code Style Changes + +* eslint (d960f601) + +##### Tests + +* fix util test (6c1e184c) +* update tag tests, fix linux symlink error (9b75b1ed) +* fix restore test (0d9ec9d3) +* fix user tests calling deprecated socket methods (e747998c) +* add email interstitial tests (1264dcb5) +* don't use csrf_token for get,head, options (5e08f7e6) +* fix tests (0e273ab2) +* remove old test (68fd0875) +* make it async (5c3d5f1f) +* fix (26f00ffb) +* one more getTopicPosts test (f8f0a83b) +* utils.params (7b99dc46) +* regular user shouldn't see admin:privileges (cd2040ac) +* add missing tests (58431221) +* add api token tests (7434cbf6) +* add missing tests (404a8774) +* upgrade.runParticular (2bdb4906) +* add missing acp root category test (c17ec996) +* cache dump test (217aae4c) +* add missing controllers (bc120dba) +* fix tpl name (edf7c647) +* add mising email.test tpls (6d186ff1) +* debug routes in dev (754cdab8) +* add digest route test (1280d9ae) +* digest (f11bc33a) +* fix function name (0e725125) +* submitUsage (d375dcb8) +* remove log (d7c32ccb) +* middleware/expose.js (29b3587d) +* up mongodb version (500cad78) +* mainPost removed from inf scroll (aac0792a) + #### v1.18.6 (2021-11-10) ##### Chores