Releases: go-chi/chi
Releases · go-chi/chi
v5.0.2
- fix previous regression
- History of changes: see v5.0.1...v5.0.2
v5.0.1
- Small improvements
- History of changes: see v5.0.0...v5.0.1
v5.0.0
- chi v5,
github.com/go-chi/chi/v5
introduces the adoption of Go's SIV to adhere to the current state-of-the-tools in Go. - chi v1.5.x did not work out as planned, as the Go tooling is too powerful and chi's adoption is too wide.
The most responsible thing to do for everyone's benefit is to just release v5 with SIV, so I present to you all,
chi v5 atgithub.com/go-chi/chi/v5
. I hope someday the developer experience and ergonomics I've been seeking
will still come to fruition in some form, see golang/go#44550 - History of changes: see v1.5.4...v5.0.0
v1.5.4
- 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
- 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
- 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
- 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 stdlibhttp.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
- 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