Releases: go-pkgz/rest
Releases Β· go-pkgz/rest
Version 1.18.1
- support ipv6 for realip and onlyfrom middleware
- explicit error handling for realip
Full Changelog: v1.18.0...v1.18.1
Version 1.18.0
- switch to go 1.21
- omprove accuracy of real-ip detection for onlyfrom middleware
- allow real-ip to be local, if no public IP is present
Full Changelog: v1.17.0...v1.18.0
v1.17.0
- extend basic auth with simplified version and keep authorized status in ctx
Full Changelog: v1.16.0...v1.17.0
Version 1.16.0
What's Changed
- Health middleware by @umputun in #23
- Add the ability to set a custom max time range for benchmarks
- Add reject middleware
Full Changelog: v1.15.6...v1.16.0
Version 1.5.0
Version 1.14.0
- add the
AnonymizeIP
func to hide the last part of ip. Can be passed asipFn
to thelogger.Middleware
- add from/to extractor from the request's query params.
Full Changelog: v1.13.0...v1.14.0
Version 1.13.0
Version 1.12.0
- important: go version changed from 1.15 to 1.16
- add Maybe middleware
- make file server with options (#18)
- add profiler subrouter
Version 1.11.0
Add throttle middleware (#17)
Version 1.10.0
- support spa mode in fs, serving root index if no found
- fix lack of body close in size limiter #16
- support custom 404 reader for file server