Sourced from github.com/go-chi/chi/v5's releases.
v5.2.2
What's Changed
- Use strings.Cut in a few places by
@JRaspass
in go-chi/chi#971- Fix non-constant format strings in t.Fatalf by
@JRaspass
in go-chi/chi#972- Apply fieldalignment fixes to optimize struct memory layout by
@pixel365
in go-chi/chi#974- go 1.24 by
@pkieltyka
in go-chi/chi#977- chore: delint ioutil usage by
@costela
in go-chi/chi#962- Fixed typo in Router interface definition by
@mithileshgupta12
in go-chi/chi#958- Add support for TinyGo by
@efraimbart
in go-chi/chi#978- Exclude middleware/profiler.go in TinyGo, as there's no net/http/pprof pkg by
@cxjava
in go-chi/chi#982- Make use of strings.Cut by
@scop
in go-chi/chi#1005- Change install command format to code block by
@sglkc
in go-chi/chi#1001- Correct documentation by
@mrdomino
in go-chi/chi#992Security fix
- Fixes GHSA-vrw8-fxc6-2r93 - "Host Header Injection Leads to Open Redirect in RedirectSlashes" commit
- a lower-severity Open Redirect that can't be exploited in browser or email client, as it requires manipulation of a Host header
- reported by Anuraag Baishya,
@anuraagbaishya
. Thank you!New Contributors
@pixel365
made their first contribution in go-chi/chi#974@mithileshgupta12
made their first contribution in go-chi/chi#958@efraimbart
made their first contribution in go-chi/chi#978@cxjava
made their first contribution in go-chi/chi#982@sglkc
made their first contribution in go-chi/chi#1001@mrdomino
made their first contribution in go-chi/chi#992Full Changelog: https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2
23c395f
Correct documentation (#992)5516d14
docs: change install code to code block (#1001)e235052
Make use of strings.Cut (#1005)1be7ad9
Merge commit from forkd7034fd
Exclude profiler when use tinygo (#982)d047034
support tinygo (#978)fe2c065
Fixed the typo (#958)1aae5b2
chore: delint ioutil usage (#962)c6225e3
go 1.24 (#977)e846b83
Apply fieldalignment fixes to optimize struct memory layout (#974)