Skip to content

v5.12.0 – Docker on Node 26, clearer REST errors

Choose a tag to compare

@bartholomej bartholomej released this 10 Oct 07:26
· 26 commits to master since this release
v5.12.0
38b2ffb

✨ Changes

  • The REST server returns meaningful status codes. You get 404 when a movie, creator or user doesn't exist, 502 when ČSFD is unreachable and 503 when ČSFD declines the request, instead of 500 for everything. The JSON error body stays the same.
  • The Docker image runs on Node 26 (the upcoming LTS) and as the unprivileged node user instead of root.

🐛 Fixes

  • Docker images build reliably for both amd64 and arm64 again.
  • API documentation is published again.

📦 Maintenance

  • All dependencies updated.

⚠️ Heads-up

  • If you check for 500 responses from the REST server, handle 404 / 502 / 503 as well.
  • The container no longer runs as root. If you write files inside it (e.g. CLI exports), mount a writable volume.

The library API is unchanged, so updating is all you need to do.

Changelog

  • Fix Docker arm64 build, update deps, REST status codes by @bartholomej in #225

Full Changelog: v5.11.2...v5.12.0