Releases: curveball/cors
Releases · curveball/cors
v1.0.0
- 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
- This package now supports ESM and CommonJS modules.
- No longer supports Node 14. Please use Node 16 or higher.
v0.2.0
- Upgraded from
@curveball/core
to @curveball/kernel
.
v0.1.7
- 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.5
- #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
- #16: Warn in console if an origin passed in allowOrigin is invalid and ignored due to ending with a slash.
- Updated dependencies