Skip to content

Releases: go-pkgz/rest

Version 1.20.0

09 Dec 20:24
3c3ee31
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.19.0...v1.20.0

Version 1.18.1

23 Oct 22:13
Compare
Choose a tag to compare
  • support ipv6 for realip and onlyfrom middleware
  • explicit error handling for realip

Full Changelog: v1.18.0...v1.18.1

Version 1.18.0

23 Oct 19:02
Compare
Choose a tag to compare
  • 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

16 Jan 00:49
Compare
Choose a tag to compare
  • extend basic auth with simplified version and keep authorized status in ctx

Full Changelog: v1.16.0...v1.17.0

Version 1.16.0

02 Oct 23:18
Compare
Choose a tag to compare

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

15 May 23:23
99f8598
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.14.0...v1.15.0

Version 1.14.0

06 Apr 06:32
Compare
Choose a tag to compare
  • add the AnonymizeIP func to hide the last part of ip. Can be passed as ipFn to the logger.Middleware
  • add from/to extractor from the request's query params.

Full Changelog: v1.13.0...v1.14.0

Version 1.13.0

12 Feb 10:19
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.2...v1.13.0

Version 1.12.0

17 Nov 09:18
Compare
Choose a tag to compare
  • 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

13 Jun 03:56
Compare
Choose a tag to compare

Add throttle middleware (#17)