Skip to content

Releases: curveball/http-errors

v1.0.1

Choose a tag to compare

@evert evert released this 20 Jan 06:52
6fc273b
  • Remove dependency on @curveball/kernel

v1.0.0

Choose a tag to compare

@evert evert released this 15 Jan 23:24
df13679
  • Finally! Curveball v1. Only took 6 years.
  • CommonJS support has been dropped. The previous version of this library supported both CommonJS and ESM. The effort of this no longer feels worth it. ESM is the future, so we're dropping CommonJS.
  • Now requires Node 18.
  • Upgraded to Typescript 5.3.
  • To match RFC9110, UnprocessableEntity is now UnprocessableContent, and PayloadToolarge is now ContentTooLarge. The old classes still exist and have been marked as deprecated.
  • Updated references from RFC7807 to RFC9457.

v0.5.0

Choose a tag to compare

@evert evert released this 14 Feb 02:27
31a58a2
  • This package now supports ESM and CommonJS modules.
  • No longer supports Node 14.

v0.4.1

Choose a tag to compare

@evert evert released this 15 Jan 21:59
516e158
  • isHttpError and isHttpProblem can now take any (unknown) type as arguments, making it easier to use these functions without casting.
  • Forbiddden -> Forbidden.
  • Update everything to latest curveball defaults.
  • Update all dependencies.

v0.4.0

Choose a tag to compare

@evert evert released this 18 Feb 23:33
6b1117b
  • Update everything to latest curveball standards.
  • Publish on github packages