revali_router_core 2.0.0-dev
revali_router_core: ^2.0.0-dev copied to clipboard
Shared classes between revali_router and revali_router_annotations
CHANGELOG #
2.0.0-dev | 09.19.25 #
Breaking Changes #
- Drop
DataHandler
andMetaHandler
classes- Replaced with
Data
andMeta
/MetaScope
- Replaced with
- Drop
ReadOnly
,WriteOnly
, andMutable
types- Replaced with general types
1.9.0 | 05.08.25 #
Features #
- Change
queryParameters
&queryParametersAll
to returnMap<String, dynamic>
- Allows for better type coercion
- Update
Binary
type toList<int>
1.8.1 | 04.15.25 #
Enhancements #
- Wrap clean up functions in
try/catch
to avoid unhandled exceptions
1.8.0 | 04.07.25 #
1.7.0 | 03.26.25 #
Features #
- Create
CloseWebSocket
class to manually close aWebSocket
- Create
WebSocketContext
class for context management ofWebSocket
connections - Add
code
andreason
params toMutableWebSocketRequest.close
1.6.0 | 03.24.25 #
1.5.0 | 01.27.25 #
Features #
- Create
CleanUp
class to handle cleanup of resources after request handling - Add
cleanUp
method toBodyData
to handle cleanup
1.4.0 | 01.20.25 #
Features #
- Create cookie interfaces for managing cookies
MutableCookies
ReadOnlyCookies
MutableSetCookies
ReadOnlySetCookies
1.3.0 | 12.11.24 #
Features #
- Create
BaseContext
to merge contexts between all components - Create Result type for:
- Interceptor (pre and post)
- Use new
Meta
types
Enhancements #
- Simplify Results for:
- Exception Catcher
- Guard
- Require type argument on
ExceptionCatcher
andExceptionCatcherResult
- Rename Guard Result constructors to
pass
andblock
- Rename Exception Catcher Result constructors to
handled
andunhandled
1.2.0 | 11.21.24 #
Features #
- Create
ExpectedHeaders
as non-optional headers to be passed into the request - Add
ExpectedHeaders
to lifecycle components
1.1.0 | 11.18.24 #
1.0.0 | 11.14.24 #
- Initial Release