github NodeBB/NodeBB v1.18.0

latest releases: v3.8.1, v3.8.0, v3.7.5...
2 years ago

Release build (minor) of NodeBB @ 2021-08-25T20:29:55.886Z

v1.18.0 (2021-08-25)

Breaking Changes
  • emails: restore ability for admins to edit a user's email address [breaking] (c4e3362)
  • #9670 return 4xx errors instead of 5xx on flag routes, when unauthenticated or not privileged [breaking] (d1959a2)
  • made TopicList.onTopicsLoaded private [breaking] (07f25d8)
  • return proper API-style response if exception caught by error handler on v3 routes [breaking] (a54a3ee)
Chores
  • deps:
    • update dependency husky to v7.0.2 (324c7d4)
    • update dependency eslint-plugin-import to v2.24.2 (9a34fe1)
    • update dependency eslint-config-nodebb to v0.0.2 (cd85a55)
    • update dependency mocha to v9.1.0 (c5a4227)
    • update dependency eslint-plugin-import to v2.24.1 (daca09d)
    • update dependency @apidevtools/swagger-parser to v10.0.3 (ffdf61b)
    • update dependency jsdom to v17 (#9700) (4185537)
    • update dependency eslint-plugin-import to v2.24.0 (23dafa2)
    • update dependency lint-staged to v11.1.2 (d47bdde)
    • update dependency jsdom to v16.7.0 (9db28b4)
    • update dependency eslint to v7.32.0 (03a98f4)
    • update dependency mocha to v9.0.3 (40384fc)
    • update dependency lint-staged to v11.1.1 (7588aae)
    • update dependency lint-staged to v11.1.0 (cb5fe27)
    • update dependency mocha to v9 (f43291f)
    • update dependency husky to v7 (702290c)
    • update dependency eslint to v7.31.0 (f5a53b7)
    • update dependency lint-staged to v11.0.1 (0210131)
  • up markdown/composer-default, fixes: #9708 (b74eefa)
  • incrementing version number - v1.17.2 (46be204)
  • update changelog for v1.17.2 (5c9c060)
Documentation Changes
  • some hook deprecation notices (6bc090f)
New Features
  • add confirmation modal to topic event deletion (e803737)
  • allow changing default search in (794bf01)
  • #9705, use radio buttons for flag reasons (382a4c2)
  • Client-side hooks - replace window.trigger (#9679) (342503e)
  • closes #9684, allow event deletion (358ad74)
  • replace eslint configs on server and client side to inherit rules from eslint-config-nodebb (f653a6f)
  • re-add FontAwesome font for compatibility (a370c26)
  • update to FontAwesome 5.15, resolve #6976 (41762e6)
  • removed registerAndLoginUserCallback local helper, added handling if a bad interstitial doesn't go away nor throw errors (70a04bc)
  • updated email confirmation alert to more closely reflect email usage, remembering dismissal (bbbacd8)
  • allow requirejs modules to be awaited (58adb76)
  • show instructional modal after email change request (0e05cbe)
  • return back to profile after editing email (324a12b)
  • allow registration interstitial abort to also follow returnTo (b3c9164)
  • plumb current session id into email removal/confirmation flow, so all other sessions are revoked except for the current session (96398fa)
  • allow revokeAllSessions method to revoke all sessions except that which is passed in (new arg) (b0a4a1d)
  • return generic 404 on invalid confirm code (f53fc1a)
  • invites no longer require email (a917210)
  • show different registration intersitial lead text on new account vs. existing (74aaa0a)
  • removal of emailExists socket listener (12b2a97)
  • add loggedin/guest class to body (04b1f70)
  • convert _fireStaticHook to async function (auto-refactor by vscode) (21359ea)
  • store topic tags in topic hash (#9656) (4a56388)
  • new hook action:topics.loading (in the same format as action:posts.loading) (e0db904)
  • schedule deprecation for action:category.loaded and action:category.loading. Use action:topics.loaded/ing instead (8ae4c30)
  • internationalize API error messages (7036c37)
  • #9651, change category desc to multiline (5fd190f)
  • emails:
    • pass req in to filter:registration.interstitial (afd2d8d)
    • display current email in interstitial form (f529199)
    • upgrade script for includeUnverifiedEmails (5051702)
    • +includeUnverifiedEmails ACP setting (be97aa6)
Bug Fixes
  • lint (55693ec)
  • topic event deletion (1ee92c2)
  • pluginPaths (0743554)
  • #9730, show warning if plugin is active but not installed (13878e9)
  • #9729, insert new posts after topic events (60bf564)
  • #9719, only apply to non https (c354cde)
  • #9727, addHandlers after hooks (77c3085)
  • allow smaller than 5mins for admin relogin duration (a288f51)
  • taskbar icon not pushed via composer/persona (3a81c8f)
  • #9698, pass along query params in redirect (9de64bf)
  • lint (8bf2896)
  • remove unnecessary quote (093ac1c)
  • parseInt tids (162ebac)
  • #9681, update posts in queue if target tid is merged (0c81642)
  • email update interstitial to not error on empty email field (on new registration) (4a521ea)
  • updated ACP > Manage > Users to handle users with no email address (824a72b)
  • allowed reset and reset_notify emails to go out to unconfirmed email addresses (d5b5b7d)
  • bug where confirmation email was sent to the old email address, not the new one (414d733)
  • email validation flow, so that it actually works, fixed event logging bug, new email verification template (3bcd1f1)
  • accidental early return in confirmByCode, tests, race condition (caf8968)
  • test (2c06ac9)
  • failing test from d1959a2 (f71f295)
  • #9668, add raw info to psql database page (6c47a06)
  • use hooks module instead of window trigger (acb11cc)
  • tests (0960a81)
  • translate language keys if passed in to formatApiResponse (415416d)
  • lint (ff78969)
  • tests (55d7e55)
  • keep query string on redirects (47c8c69)
  • deps:
    • bump persona (12e7f8d)
    • update dependency nodebb-theme-persona to v11.2.1 (#9734) (2e1562b)
    • update dependency nodebb-theme-vanilla to v12.1.2 (#9735) (4bd66a7)
    • update dependency nodebb-theme-slick to v1.4.8 (#9732) (096c5a5)
    • update dependency autoprefixer to v10.3.2 (d44e3a8)
    • update dependency nodebb-theme-persona to v11.2.0 (116f9cb)
    • update dependency ioredis to v4.27.8 (8461791)
    • update dependency nodebb-theme-persona to v11.1.3 (ec103ce)
    • update dependency sharp to v0.29.0 (626d556)
    • update dependency connect-mongo to v4.5.0 (ce6039f)
    • update dependency nodebb-theme-vanilla to v12.1.1 (de83f82)
    • update dependency nodebb-theme-persona to v11.1.2 (ee10ae0)
    • update dependency yargs to v17.1.1 (38e3858)
    • update dependency nodebb-theme-persona to v11.1.1 (4794141)
    • update dependency mongodb to v3.6.11 (a0fd026)
    • update dependency yargs to v17.1.0 (181c20b)
    • update dependency ioredis to v4.27.7 (4c9d6b6)
    • update theme versions for #9607 (3b34571)
    • update dependency postcss to v8.3.6 (ebdba8f)
    • update dependency html-to-text to v8 (3f24746)
    • update dependency yargs to v17 (1b6b1fe)
    • bump composer-default to v7 (51458c7)
    • update dependency autoprefixer to v10.3.1 (0d3f74b)
    • update dependency nodebb-plugin-markdown to v8.14.2 (b6a8471)
    • update dependency autoprefixer to v10.3.0 (72c9650)
    • update socket.io packages to v4.1.3 (f14df0d)
    • update dependency nodebb-plugin-composer-default to v6.5.34 (31dae04)
    • update dependency nodebb-theme-persona to v11.0.26 (ae14016)
    • update dependency nodebb-plugin-markdown to v8.14.1 (8b41684)
  • emails:
    • broken test for api/user/email/:email (81611ae)
    • dont allow retrieving user data if showemail is false @julianlam (7d115c8)
    • registration tests, email no longer passed-in, API tests (confirm email for test accounts) (6694bdd)
    • don't automatically associate email during user creation if passed in at registration (e726048)
    • remove debug log (b4b65ec)
    • broken test due to sticky registration interstitial (ab9b671)
Refactors
  • remove promisify from redis, ioredis supports promises nati… (#9728) (6659e95)
  • get rid of async.waterfall/each (8fb5325)
  • remove unused async (42dbd40)
  • remove waterfall (6b6a7d4)
  • move interstitials into its own file in src/user/ (e95df2f)
  • added user.email.remove method, updated email interstitial to handle email removal (ccf004f)
  • client-side to use flag notes API (ef4e74b)
  • fix wording (6ed7e93)
  • email: validation checking methods, +tests fix (087e602)
  • emails:
    • more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation (69c96dd)
    • interstitial for adding/updating email (f365bc4)
    • remove email validation on client and server side (7c1d1c7)
Code Style Changes
Tests

Don't miss a new NodeBB release

NewReleases is sending notifications on new releases.