• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Which breaking change broke post messages API?

Scheduled Pinned Locked Moved Unsolved Technical Support
4 Posts 2 Posters 301 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • djensen47D Offline
    djensen47D Offline
    Dave Jensen
    wrote on last edited by
    #1

    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...

    favicon

    GitHub (github.com)

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by PitaJ
    #2

    Looks like an API changed from returning a list to returning a map.

    https://github.com/triplea-game/triplea/blob/85a52f8c238ab02adc6177a8adc5a7eea6a25c69/game-app/game-core/src/main/java/games/strategy/engine/posted/game/pbf/NodeBbForumPoster.java#L144

    /api/v2/util/upload

    1 Reply Last reply
    1
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #3

    Found your breaking change:

    https://github.com/NodeBB/NodeBB/blob/master/CHANGELOG.md#breaking-changes-3

    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

    favicon

    GitHub (github.com)

    Here are @julian's notes on the matter: https://community.nodebb.org/post/81238

    djensen47D 1 Reply Last reply
    3
  • djensen47D Offline
    djensen47D Offline
    Dave Jensen
    replied to PitaJ on last edited by
    #4

    @pitaj Awesome, thank you!

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development