Skip to content

Releases: go-pkgz/rest

Version 1.9.0

12 Apr 16:37
Compare
Choose a tag to compare
  • add url and from ip to recoverer print
  • add cache control with dynamic version
  • fix gzip content match with suffixes

Version 1.8.0

02 Apr 18:10
Compare
Choose a tag to compare
  • add basic auth middleware a141cdd
  • add Wrap to apply a list of middlewares on a handler f64a20f
  • add nocache middleware 706cc03
  • add Headers middleware 6c5c846
  • add Gzip middleware 6c5c846

Version 1.7.0

20 Mar 07:16
Compare
Choose a tag to compare
  • add FileServer
  • add CacheControl middleware

Version 1.6.0

16 Mar 03:55
Compare
Choose a tag to compare
  • add deprecation middleware
  • add rewrite middleware

Version 1.5.0

06 Apr 08:19
Compare
Choose a tag to compare
  • switch to github action
  • remove local cache implementation
  • add logger struct wrapper
  • switch to go 1.14

Version 1.4.0

01 Mar 21:32
Compare
Choose a tag to compare
  • 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

04 Feb 21:39
Compare
Choose a tag to compare
  • add "subject" field passed as a func
  • add functional param for blocked words
  • add the new Trace middleware populating and passing X-Request-ID

Version 1.2.0

14 Jan 05:00
Compare
Choose a tag to compare
  • Logger dependency replace by an interface
  • SendErrorJSON receives logger as a parameter

Version 1.1.0

24 Dec 05:54
Compare
Choose a tag to compare
  • 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

07 Oct 20:07
Compare
Choose a tag to compare
v1.0.0

remove user info func, convert to separate logger mw