Releases: go-chi/chi
Releases · go-chi/chi
v1.5.0 - now with go.mod support
- 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
orgo get -u github.com/go-chi/chi@latest
to install chi, which will install v1.x+ built with go.mod support.
v4.1.2
- 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
- fix for issue #411 which allows for overlapping regexp
route to the correct handler through a recursive tree search, thanks to @Jahaja for the PR/fix! - new middleware.RouteHeaders as a simple router for request headers with wildcard support
- updated the FileServer example to a much better implementation, see https://github.com/go-chi/chi/blob/master/_examples/fileserver/main.go
- History of changes: see v4.1.0...v4.1.1
v4.1.0
- 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
v4.0.3
- 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
minor fixes. see v4.0.1...v4.0.2
v4.0.1
v4.0.0
- 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
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)