Skip to content

Releases: go-chi/chi

v1.5.4

27 Feb 20:54
c9e87ef

Choose a tag to compare

  • Undo prior retraction in v1.5.3 as we prepare for v5.0.0 release
  • History of changes: see v1.5.3...v1.5.4

v1.5.3

21 Feb 20:29

Choose a tag to compare

  • Update go.mod to go 1.16 with new retract directive marking all versions without prior go.mod support
  • History of changes: see v1.5.2...v1.5.3

v1.5.2

10 Feb 19:46

Choose a tag to compare

  • Reverting allocation optimization as a precaution as go test -race fails.
  • Minor improvements, see history below
  • History of changes: see v1.5.1...v1.5.2

v1.5.1

06 Dec 18:55
f61ec8c

Choose a tag to compare

  • Performance improvement: removing 1 allocation by foregoing context.WithValue, thank you @bouk for
    your contribution (#555). Note: new benchmarks posted in README.
  • middleware.CleanPath: new middleware that clean's request path of double slashes
  • deprecate & remove chi.ServerBaseContext in favour of stdlib http.Server#BaseContext
  • plus other tiny improvements, see full commit history below
  • History of changes: see v4.1.2...v1.5.1

v1.5.0 - now with go.mod support

06 Dec 18:55

Choose a tag to compare

  • go.mod release and testing with Go's toolchain to ensure backwards-compatibility. See https://github.com/go-chi/chi/blob/master/CHANGELOG.md#v150-2020-11-12---now-with-gomod-support for full details. Thank you.
  • For existing projects who want to upgrade to the latest go.mod version, run: go get -u github.com/go-chi/[email protected], which will get you on the go.mod version line (as Go's mod cache may still remember v4.x).
  • Brand new systems can run go get -u github.com/go-chi/chi or go get -u github.com/go-chi/chi@latest to install chi, which will install v1.x+ built with go.mod support.

v4.1.2

02 Jun 19:03

Choose a tag to compare

  • fix that handles MethodNotAllowed with path variables, thank you @caseyhadden for your contribution
  • fix to replace nested wildcards correctly in RoutePattern, thank you @@unmultimedio for your contribution
  • History of changes: see v4.1.1...v4.1.2

v4.1.1

16 Apr 12:18

Choose a tag to compare

v4.1.0

01 Apr 19:43

Choose a tag to compare

  • middleware.LogEntry: Write method on interface now passes the response header
    and an extra interface type useful for custom logger implementations.
  • middleware.WrapResponseWriter: minor fix
  • middleware.Recoverer: a bit prettier
  • History of changes: see v4.0.4...v4.1.0

v4.0.4

24 Mar 15:12

Choose a tag to compare

  • middleware.Recoverer: new pretty stack trace printing (#496)
  • a few minor improvements and fixes
  • History of changes: see v4.0.3...v4.0.4

v4.0.3

09 Jan 22:15

Choose a tag to compare

  • core: fix regexp routing to include default value when param is not matched
  • middleware: rewrite of middleware.Compress
  • middleware: suppress http.ErrAbortHandler in middleware.Recoverer
  • History of changes: see v4.0.2...v4.0.3