Which breaking change broke post messages API?
-
I was running NodeBB 16.x and recently updated to 17.x → 18.x → 19.x and somewhere along the way the API that TripleA (board game software that posts to my forum) uses had a breaking change. Looking through the changelog, I can't figure out which change it was.
For reference here's the issue on TripleA. The stack trace may not be useful here but just in case..
2.5.22294: NodeBbForumPoster#uploadSaveGame:163 - java.lang.ClassCastException · Issue #10032 · triplea-game/triplea
Map ww2_path_to_victory Log Message Failed to post game to forum TripleA Version 2.5.22294 Java Version 11.0.6 Operating System Mac OS X Memory Heap utilization statistics [MB] Used Memory: 754 Free memory: 1293 Total memory: 2048 Max me...
GitHub (github.com)
-
Looks like an API changed from returning a list to returning a map.
triplea/game-app/game-core/src/main/java/games/strategy/engine/posted/game/pbf/NodeBbForumPoster.java at 85a52f8c238ab02adc6177a8adc5a7eea6a25c69 · triplea-game/triplea
TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk. - triplea/game-app/game-core/src/main/java/games/strategy/engine/posted/game/pbf/NodeBbForumPoster.java at 85a52f8c238ab02adc6177a8adc5a7eea6a25c69 · triplea-game/triplea
GitHub (github.com)
/api/v2/util/upload
-
Found your breaking change:
NodeBB/CHANGELOG.md at master · NodeBB/NodeBB
Node.js based forum software built for the modern web - NodeBB/CHANGELOG.md at master · NodeBB/NodeBB
GitHub (github.com)
remove deprecated v2 style responses for thumbs upload route [breaking] (84dfdfe6)
chore: remove deprecated v2 style responses for thumbs upload route [… · NodeBB/NodeBB@84dfdfe
Node.js based forum software built for the modern web - chore: remove deprecated v2 style responses for thumbs upload route [… · NodeBB/NodeBB@84dfdfe
GitHub (github.com)
Here are @julian's notes on the matter: https://community.nodebb.org/post/81238