- 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.
- This package now supports ESM and CommonJS modules.
- No longer supports Node 14. Please use Node 16 or higher.
- Upgraded from
@curveball/core
to@curveball/kernel
.
- 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)
- Updated for
@curveball/core
0.17
- #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.
- Warn in console if an origin passed in allowOrigin is invalid and ignored due to ending with a slash.
- Updating dependencies
- Updating dependencies
- Updating dependencies
- Releasing on Github packages
- Updated lint rules
- Make file update
- Updated dependencies
- It is now optional now to not provided any options, it will pick good default options.
- First version