Skip to content

Releases: curveball/cors

v1.0.0

20 Jan 06:46
8032715
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.

v0.3.0

04 Apr 21:21
a2d7f37
Compare
Choose a tag to compare
  • This package now supports ESM and CommonJS modules.
  • No longer supports Node 14. Please use Node 16 or higher.

v0.2.0

03 Sep 23:34
7b145f1
Compare
Choose a tag to compare
  • Upgraded from @curveball/core to @curveball/kernel.

v0.1.7

11 May 19:42
816849e
Compare
Choose a tag to compare
  • Support for the Access-Control-Allow-Credentials header. (@defrex)
  • Now emits a warning when an Origin is set that ends with a slash. This is a common mistake and always wrong. (@BeckyPollard)

v0.1.6

22 Feb 05:35
2a09ed7
Compare
Choose a tag to compare
  • Dependency updates

v0.1.5

14 Dec 20:11
4711344
Compare
Choose a tag to compare
  • #20: When OPTIONS requests are made, and they are not CORS pre-flight
    requests this middleware did not pass the request through for other
    middlewares to handle.

v0.1.4

29 Oct 16:56
Compare
Choose a tag to compare
  • #16: Warn in console if an origin passed in allowOrigin is invalid and ignored due to ending with a slash.
  • Updated dependencies