Releases: PurpleSec/RouteX
Releases · PurpleSec/RouteX
v1.2.5: Logging Fixes
Full Changelog: v1.2.4...v1.2.5
v1.2.4: Improvements to the Bytes options
Added 'BytesEmpty'
v.1.2.3: Bytes Fixes and Wording
Added 'BytesDefault' and Fixed wording on some comments.
v1.2.2: Small Update, Bytes Support!
Added support for the Content.Bytes function, which decodes strings into byte slices from Base64.
v1.2.1: Spelling Fixes
Full Changelog: v1.2.0...v1.2.1
Generics Support
Small Update to support generics for Marshalers and version bump (go1.18)
v1.1.1: Reverted a Breaking Change
Accidentally invalidated the 'Set' struct.
v1.1.0: Fixes!
Fixes
Release v1.0.2!
Quality of Life Improvements
- Added Middleware
- Middleware can be per route or globally
- Renamed and changed some function signatures
- Methods are not specified after the function Handler as a vardict
- Removed Mux.Close()
- Added automatic OPTIONS handeling
- Only takes effect if the OPTIONS method is NOT specified
- Updated the Request.Values objects to allow for default values (like Contents)
- Reworked the Wrapper and Marshaler handlers
- Removed the error handler option
- Fixed the 'Converter' Handler function (it works now!)
- Added the 'JSON' function for easy Marshaling
- Fixed a lock bug when a 405 was hit
- Added 404/405/500 specific error handlers to the Mux that override if non-nil
- Added license header to val/* files
Update #1: Added Boolean Values to Content/Request
v1.0.1 Added Bool values and new Default options for Content