- 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.
- Using Typescript 5 decorators, which means
experimentalDecorators
(the old-style decorators) are no longer needed. If you are upgrading from an older version, you should removeexperimentalDecorators
. - Decorators/Annotations for which the method can not be determined (either
because the method is not a well-known http method and there is no
@method
annotation), we will now only warn and not crash.
- 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
.
- Releasing on Github packages.
- Updated lint rules
- Updated dependencies
- No functional changes
- WebSocket support. If you create a function named
webSocket
in your controller, it will be automatically called when a websocket connection is opened. - Typescript target is now
es2019
instead ofesnext
to ensure that older Node.js versions are supported.
- Allow installation on Curveball 0.10.
- @curveball/core got an update, so this updates all dependencies.
- Added support for
@method
and@accept
annotations for automated content negotiation. - Automatically throw
406 Not Acceptable
when there was no matchingAccept
header.
- First public version.
- Updated dependencies.
- Updated dependencies. Fixed bugs
- First version