Skip to content

Releases: curveball/http-errors

v1.0.1

20 Jan 06:52
6fc273b
Compare
Choose a tag to compare
  • Remove dependency on @curveball/kernel

v1.0.0

15 Jan 23:24
df13679
Compare
Choose a tag to compare
  • 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

14 Feb 02:27
31a58a2
Compare
Choose a tag to compare
  • This package now supports ESM and CommonJS modules.
  • No longer supports Node 14.

v0.4.1

15 Jan 21:59
516e158
Compare
Choose a tag to compare
  • 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

18 Feb 23:33
6b1117b
Compare
Choose a tag to compare
  • Update everything to latest curveball standards.
  • Publish on github packages