v4.1.0
Release build (minor) of NodeBB @ 2025-02-27T18:59:18.531Z
v4.1.0 (2025-02-27)
New Features
- support remote "Video" type objects in note assertion, #13120 (95f2c4e)
- 1b12 compatibility (7dc1e8a)
- remove activities older than a week (d9e86c7)
- federate out Announce of a tid's mainPid if the tid is moved out of cid -1 (b7f9983)
- syncUserInboxes to take into account remote topic tags, closes #13074 (637addc)
- allow search bar to load remote 7888 Conversations, aka nodebb topics (7687da0)
- introduce new 'markdown' post parsing type, closes #13077 (b386e4a)
- #13066, report canonical URL in user agent for outgoing requests (c3e9cb6)
- changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888 (4fd7a9d)
- changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888 (adeaff4)
Bug Fixes
- scheduled topics and posts should return 404 on AP request (428300d)
- tag handling when remote objects contain tags without leading # symbol (5c3f1cf)
- handle multiple types in remote actor payload (6589565)
- missing db (058befb)
- remove handle on category purge (adb430f)
- restrict feps methods to real cids (8b717d5)
- restore old behaviour of 1b12 federating both object and activity (f0ee43d)
- send
actor
with 1b12 announce, fixes #13072 again (86b0e59) - isArray check (5f3ed76)
- delete from payload instead of setting null (489c5ce)
- send
actor
with 1b12 announce, fixes #13072 (3cd87f1) - #13139, payload.version can be null (be1598d)
- tidChanged (bfd4e68)
- bad logic that invisibly broke outgoing user follows completely (334be72)
- #13076, allow pulling in of topics by their topic URL fix: reapply fixes that were part of since-reverted 4fd7a9d (c6e6ab4)
- call relativeToAbsolute helper when generating markdown source content in mocks.notes.public/private (02fb99e)
- extend remoteAnchorToLocalProfile ap helper to handle markdown content (db1f895)
- incorrect
posts
url in topic posts collection (812ec73) - incorrect
posts
url in topic posts collection (b2530e6) - deps:
- update dependency sass to v1.85.1 (#13209) (386ab89)
- update dependency bcryptjs to v3 (#13160) (6ea6567)
- update dependency cron to v4 (#13184) (41eec8d)
- update dependency xregexp to v5.1.2 (#13195) (23621ec)
- update dependency ace-builds to v1.39.0 (#13197) (a3f5721)
- update dependency chart.js to v4.4.8 (#13182) (474d267)
- update dependency postcss to v8.5.3 (#13183) (5fc4c80)
- update dependency mongodb to v6.13.1 (#13187) (77b0160)
- update dependency nodebb-plugin-web-push to v0.7.3 (#13178) (000ceee)
- update dependency sass to v1.85.0 (#13163) (75a7188)
- update dependency pg to v8.13.3 (#13157) (f3c156e)
- update dependency pg-cursor to v2.12.3 (#13158) (6b8e4b3)
- update dependency webpack to v5.98.0 (#13159) (db74c1e)
- update dependency nodebb-widget-essentials to v7.0.33 (#13156) (af7f424)
- update dependency pg-cursor to v2.12.2 (#13150) (b5ce9e1)
- update dependency compression to v1.8.0 (#13152) (1e52cf3)
- update dependency ace-builds to v1.38.0 (#13151) (db0b816)
- update dependency pg to v8.13.2 (#13149) (bea1367)
- update dependency postcss to v8.5.2 (#13144) (3449e76)
- update dependency benchpressjs to v2.5.3 (#13098) (6688edd)
- update dependency esbuild to v0.25.0 (#13141) (d7fdd80)
- update dependency tough-cookie to v5.1.1 (#13140) (33ce723)
- update dependency ioredis to v5.5.0 (#13138) (b337e99)
- update dependency sass to v1.84.0 (#13128) (f872a76)
- update dependency semver to v7.7.1 (#13122) (5f3c5a5)
- update dependency mongodb to v6.13.0 (#13106) (31ff6c2)
- update dependency semver to v7.7.0 (#13099) (a348e80)
- update dependency nodemailer to v6.10.0 (#13073) (8ab71e4)
- update dependency nodebb-theme-persona to v14.0.2 (#13064) (8ec3cea)
- update dependency nodebb-theme-harmony to v2.0.3 (#13063) (b98d047)
Other Changes
Performance Improvements
Refactors
- remove cid:-1:tids (and variants) from intersection in /world, fixes #13125 (d0561a6)
- single remove (0784e11)
- move 1b12 announce logic out of inbox and into separate feps module (9fd6ac6)
- acceptable types in context.js to index.js, allow searching for remote topis by topic url (d644c0f)
- Posts.relativeToAbsolute so that the regexes passed to it no longer need a pre-defined length, it is now calculated from the match result, added new regex for markdown image/anchors (f64e6f0)
Tests
- moved AP actor tests to separate actors.js file, added failing test for scheduled topics (01be4d7)
- update test to assert the note assertion itself (c6ba56a)
- update bcrypt hash for 3.x (bfffbfb)
- update pwd test for bcrypt3.x (ca0fa1d)
- add sourceContent to spec (d1d5546)
- adjust webfinger test for updated 404 status code (59afd19)