Releases: tigerwill90/fox
Releases · tigerwill90/fox
v0.19.0
What's Changed
- Various optimization and API polishing by @tigerwill90 in #51
- Various security hardening
Full Changelog: v0.18.1...v0.19.0
v0.18.1
What's Changed
- Add global route validation option by @tigerwill90 in #50
Full Changelog: v0.18.0...v0.18.1
v0.18.0
What's Changed
- Add support for infix wildcard by @tigerwill90 in #46
- Add support for informational headers by @tigerwill90 in #47
- Add support for hostname routing by @tigerwill90 in #48
- Add support for ACID transaction by @tigerwill90 in #49
Full Changelog: v0.17.1...v0.18.0
v0.17.1
What's Changed
- Add a basic race detector to detect invalid usage of the tree. by @tigerwill90 in #44
- Feat/remove tree middleware by @tigerwill90 in #45
Full Changelog: v0.17.0...v0.17.1
v0.17.0
What's Changed
- Allow scope access in handler by @tigerwill90 in #40
- Route Annotations for Dynamic Middleware Behavior by @tigerwill90 in #41
- Polishing API by @tigerwill90 in #42
- Fix delete : invalid exact match on wilcard node by @tigerwill90 in #43
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- Introducing per route options by @tigerwill90 in #37
- Expose writer deadline as part of the ResponseWriter interface by @tigerwill90 in #39
- Rework on iterator using go 1.23 range over function by @tigerwill90 in #38
Full Changelog: v0.15.0...v0.16.0
v0.15.0
What's Changed
- Quality update of strategy subpackage by @tigerwill90 in #35
- Wildcard lookup optimization by @tigerwill90 in #36
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
- Ignore trailing slash by @tigerwill90 in #32
- Default logger middleware by @tigerwill90 in #33
- Real Client IP derivation by @tigerwill90 in #33
- Fix : invalid params when using ignore trailing slash by @tigerwill90 in #34
- Improved recovery middleware by @tigerwill90 in #33
Non-Breaking Change
- Add
Context.RemoteIP
method to theContext
interface. - Add
Context.ClientIP
method to theContext
interface. - Add
Router.MethodNotAllowedEnabled
method to theRouter
struct. - Add
Router.AutoOptionsEnabled
method to theRouter
struct. - Add
Router.RedirectTrailingSlashEnabled
method to theRouter
struct. - Add
Router.IgnoreTrailingSlashEnabled
method to theRouter
struct. - Add
Router.ClientIPStrategyEnabled
method to theRouter
struct. - Add
Tree.Lookup
method to theTree
struct. - Add
WithIgnoreTrailingSlash
option. - Add
WithClientIPStrategy
option. DefaultOptions
now register a default logger middleware for the scopeAllHandler
.- Add
CustomRecovery
andCustomRecoveryWithLogHandler
function to create a recovery middleware. - Add
strategy
subpackge for creating strategy that implement theClientIPStrategy
interface.
And probably more...
Breaking Change
- Delete
Context.Ctx
method of theContext
interface. - Update
Context.Reset
method of theContext
inteface. It take now afox.ResponseWriter
instead of ahttp.ResponseWriter
and don't require anymore to pass the current router instance. - Update
Router.Lookup
method of theRouter
struct. It take now afox.ResponseWriter
instead of a `http.ResponseWriter.
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- Remove TeeWriter by @tigerwill90 in #28
- Improve response writer safety by @tigerwill90 in #30
- API : polishing and refactoring by @tigerwill90 in #31
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
- Remove deprectaed WrapM function by @tigerwill90 in #27
Full Changelog: v0.11.0...v0.12.0