Skip to content

Releases: go-pkgz/rest

Version 1.21.0

08 Jan 09:05

Choose a tag to compare

  • #43 Add security middlewares: Secure, CORS, CSRF, CleanPath, StripSlashes

Version 1.20.7

08 Jan 05:23

Choose a tag to compare

  • #42 Add HEAD method support to Ping middleware

Version 1.20.6

22 Dec 21:53
b8cec47

Choose a tag to compare

  • #41 Make RealIP middleware compatible with Cloudflare/CDN setups

Version 1.20.5

16 Dec 18:34

Choose a tag to compare

What's Changed

  • Bump golang.org/x/crypto from 0.37.0 to 0.45.0 in the go_modules group across 1 directory by @dependabot[bot] in #36
  • fix CI workflow caching by reordering checkout and setup-go steps by @paskal in #37
  • fix Content-Type header being ignored when WriteHeader called before RenderJSON by @paskal in #39

Full Changelog: v1.20.4...v1.20.5

Version 1.20.0

09 Dec 20:24
3c3ee31

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

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

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

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

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

Choose a tag to compare

What's Changed

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