Releases: go-pkgz/rest
Releases · go-pkgz/rest
Version 1.9.0
- add url and from ip to recoverer print
- add cache control with dynamic version
- fix gzip content match with suffixes
Version 1.8.0
Version 1.7.0
- add FileServer
- add CacheControl middleware
Version 1.6.0
- add deprecation middleware
- add rewrite middleware
Version 1.5.0
- switch to github action
- remove local cache implementation
- add logger struct wrapper
- switch to go 1.14
Version 1.4.0
- treat X-Forwarded-For as remote ip if present
- simplify logger flags
- add middleware for body size limiting
- prevent OOM abuse with an enormous body in the logger
Version 1.3.0
- add "subject" field passed as a func
- add functional param for blocked words
- add the new
Trace
middleware populating and passingX-Request-ID
Version 1.2.0
- Logger dependency replace by an interface
SendErrorJSON
receives logger as a parameter
Version 1.1.0
- support for go modules
- add loading cache with scoped invalidation and limits. See [cache readme]I(https://github.com/go-pkgz/rest/blob/master/cache/README.md) for details.
- add blackwords middleware
- add metrics middleware
- add onlyfrom middleware
- add
RenderJSON
for interface{} - remove dependencies on chi
- remove sensitive info (like passwords) from url logs
initial release
v1.0.0 remove user info func, convert to separate logger mw