Skip to content

Releases: spuxx1701/potber-api

v3.1.0

28 Apr 18:47
Compare
Choose a tag to compare

Changed

  • User accounts that have been locked permanently are no longer allowed to log into potber-api. User accounts that have been locked temporarily are not affected.
  • Outgoing http requests now provide the User-Agent: potber-api http header.

v3.0.0

05 Apr 10:22
Compare
Choose a tag to compare

Changed

  • 💥 Breaking: POST '/threads route now uses a different payload format.

Fixed

  • Fixed some more encoding issues only affecting private messages.

Chores

  • Bumped Dockerfile node version to 18.

v2.3.2

15 Jan 23:32
Compare
Choose a tag to compare

Fixed

  • Fixed a critical bug that would prevent logins.

v2.3.1

15 Jan 22:59
Compare
Choose a tag to compare

Chores

  • Improved how metrics are being handled and added the http_requests_total metric.

v2.3.0

15 Jan 15:55
Compare
Choose a tag to compare

Added

  • Implemented metrics endpoint for prometheus.

Changed

  • Request/response logging now utilizes both middlewares and interceptors to also log requests that were turned down (e.g. due to CORS).
  • Increased the timeout value for outgoing requests to 30 seconds.

Fixed

  • Fixed some exceptions in /threads/:id not being documented properly.

Chores

  • CORS origins are now being logged on startup.

v2.2.4

21 Dec 15:33
Compare
Choose a tag to compare

Changed

  • Updated OpenAPI docs to better document certain fields of UserResource.

Fixed

  • Fixed typing of SessionResource.

Chores

  • Added support for nvm.

v2.2.3

29 Oct 13:28
Compare
Choose a tag to compare

Fixed

  • Fixed an issue that would lead to boolean string to not be cast properly by TransformBooleanString.

v2.2.2

29 Oct 13:09
Compare
Choose a tag to compare

Changed

  • When decoding a response, the decoder now attempts to automatically determine the encoding via the Content-Type header.

Fixed

  • Fixed an issue where the application would get confused about the session state if the user logs out globally via the forum's logout functionality.

v2.2.1

27 Oct 13:56
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where boolean string would not be transformed properly with implicit transformation enabled.

v2.2.0

27 Oct 13:34
Compare
Choose a tag to compare

Added

  • Author profiles now include information about whether the author's account has been locked.
  • Implemented GET /usernames endpoint. This endpoint returns filterable lists of usernames.
  • Implemented POST /threads endpoint.
  • Implemented POST /privateMessages endpoint.
  • Implemented GET /privateMessages/:id/reply endpoint.
  • Implemented GET /privateMessages/:id/forward endpoint.