Releases: go-chi/chi
Releases · go-chi/chi
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)
v3.3.3
Minor release.
Changelog: v3.3.2...v3.3.3
v3.3.2
v3.3.1
v3.3.0
- New
chi.RegisterMethod(method)to add support for custom HTTP methods, see _examples/custom-method for usage - Deprecated LINK and UNLINK methods from the default list, please use
chi.RegisterMethod("LINK")andchi.RegisterMethod("UNLINK")in aninit()function
Router tree Walker, an analogy to filepath.Walk
func Walk(r Routes, walkFn WalkFunc) error
type WalkFunc func(method string, route string, handler http.Handler, middlewares ...func(http.Handler) http.Handler) errorv3.1.0
- Fix a few minor issues after v3 release
- Move
docgensub-pkg to https://github.com/go-chi/docgen - Move
rendersub-pkg to https://github.com/go-chi/render - Add new
URLFormathandler to chi/middleware sub-pkg to make working with url mime
suffixes easier, ie. parsing/articles/1.jsonand/articles/1.xml. See comments in
https://github.com/go-chi/chi/blob/master/middleware/url_format.go for example usage.