Skip to content

Releases: go-chi/chi

v1.5.0 - now with go.mod support

06 Dec 18:55
Compare
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/chi@v1.5.0, 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
Compare
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
Compare
Choose a tag to compare

v4.1.0

01 Apr 19:43
Compare
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
Compare
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
Compare
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

v4.0.2

26 Feb 16:21
Compare
Choose a tag to compare

minor fixes. see v4.0.1...v4.0.2

v4.0.1

21 Jan 17:12
Compare
Choose a tag to compare

Fixes issue with compress middleware: #382 #385

v4.0.0

10 Jan 18:42
Compare
Choose a tag to compare
  • chi v4 requires Go 1.10.3+ (or Go 1.9.7+) - we have deprecated support for Go 1.7 and 1.8
  • router: respond with 404 on router with no routes (#362)
  • router: additional check to ensure wildcard is at the end of a url pattern (#333)
  • middleware: deprecate use of http.CloseNotifier (#347)
  • middleware: fix RedirectSlashes to include query params on redirect (#334)
  • History of changes: see v3.3.4...v4.0.0

v3.3.4

08 Jan 01:25
Compare
Choose a tag to compare

Minor middleware improvements. No changes to core library/router. Moving v3 into its own branch as a version of chi for Go 1.7, 1.8, 1.9, 1.10, 1.11

History of changes: v3.3.3...v3.3.4

Master will switch into v4, where we will only support Go versions inline with Go's own policy, https://golang.org/doc/devel/release.html#policy (aka, last 2 versions)