revali_server 1.12.1
revali_server: ^1.12.1 copied to clipboard
A Revali Server Construct to generate server code using `revali_router`
CHANGELOG #
1.12.0 | 04.07.25 #
1.11.2 | 03.27.25 #
Fixes #
- Issue where arguments were not passed properly to class from type references
1.11.1 | 03.27.25 #
1.11.0 | 03.26.25 #
Features #
- Support empty paths for
Controllers - Support
fromJsonresolution for static methods within return types - Create
CloseWebSocketclass to manually close aWebSocket
Fixes #
- Prepend (generated) route & file name with
r+ index when theController's path is empty - Type resolution when converting dynamic types to
Mapwithin afromJsoncall
Enhancements #
- Create
ServerFromJsonclass to match change fromrevali_construct
1.10.1 | 03.24.25 #
Features #
- Support for
Cookieparam - Support for generic types in
LifecycleComponent - Support
Injecttypes in annotations- Allows for constant resolution of annotations that require dependency injection and need arguments
- Support record types
1.10.0 | 03.24.25 #
Features #
- Support for
Cookieparam - Support for generic types in
LifecycleComponent - Support
Injecttypes in annotations- Allows for constant resolution of annotations that require dependency injection and need arguments
- Support record types
1.9.2 | 02.08.25 #
1.9.0 | 02.08.25 #
1.9.1 | 02.07.25 #
1.6.0 | 01.27.25 #
Enhancements #
- Remove use of deprecated apis
- Create extensions to get fromJson constructor and import paths
(Future) Breaking Changes #
- Deprecate
ServerParam.typeImportin favor ofServerParam.type.importPath
Features #
- Create new factory constructors for
ServerImportsto better handle extracting import paths - Create
ServerTypeclass to reflectMetaTypefor method parameter types - Leverage
hasFromJsonConstructorto convert body/header/param/query request values
1.5.1 | 01.22.25 #
1.5.0 | 01.20.25 #
Features #
- Add support for Cookies access
MutableCookiesReadOnlyCookiesMutableSetCookiesReadOnlySetCookies
1.4.0 | 01.18.25 #
Enhancements #
- Support new requirement for
DIregistrations to be of typeObject - Wrap
DIwith handler after configuration is complete
1.3.0 | 12.11.24 #
Features #
- Create Lifecycle Components using classes to support use of binding logic
- Support
initializeDImethod to create own instances ofDI
1.2.0 | 11.21.24 #
Features #
- Support
expectedHeadersargument - Allow multiple
AllowedHeaders,AllowedOriginsandExpectedHeadersto be provided on a single route/controller
1.1.0 | 11.18.24 #
1.0.0 | 11.14.24 #
- Initial Release