revali_router 1.7.0
revali_router: ^1.7.0 copied to clipboard
Feature rich http router for Revali
CHANGELOG #
1.7.0 | 03.24.25 #
Features #
- Add support for primitive body types
int,double,bool
Enhancements #
- Clean up resources after request is complete
Fixes #
- Issue where streamed responses were not encoded correctly
- Issue where body could throw exception during
setting- Now catches and sets status code to 500
- Issue where on connect was not being called for
WebSocket
1.6.0 | 02.07.25 #
Features #
- Use
.thensyntax instead of await to handle request operation- This allows for faster request handling
1.5.0 | 01.27.25 #
1.4.1 | 01.27.25 #
1.4.0 | 01.20.25 #
1.3.0 | 12.11.24 #
1.2.0 | 11.21.24 #
Features #
- Create
ExpectedHeadersas non-optional headers to be passed into the request - Add
ExpectedHeadersto access control headers
Enhancements #
- Re-order the pre-request checks to
- CORs Origins Validation
- CORs Headers Validation
- (CORs) Expected Headers Validation
- Options Request Handling
- Redirect Handling
- Return actual response in the
OPTIONSrequest instead of a canned response - Handle internal root errors with the response handler instead of deprecated
sendmethod
Fix #
- Add
routesparam toSseRouteconstructor
1.1.0 | 11.18.24 #
Features #
- Support advanced
ResponseHandlerper route- If a response needs to be handled differently for a specific route, a
ResponseHandlercan be provided to the route to send the response to the client
- If a response needs to be handled differently for a specific route, a
- Create default response handler for
Router - Create
SseRoutefor Server-Sent Events - Create
SseResponseHandlerfor Server-Sent Events
Enhancements #
- Improve how streams are prepared for sending to the client
Chores #
- Upgrade dependencies
1.0.0 | 11.14.24 #
- Initial Release