links
links copied to clipboard
chore(deps): bump github.com/go-chi/chi/v5 from 5.0.10 to 5.0.12
Bumps github.com/go-chi/chi/v5 from 5.0.10 to 5.0.12.
Release notes
Sourced from github.com/go-chi/chi/v5's releases.
v5.0.12
Hi everyone, thank you to all contributors + reviewers.
We present chi v5.0.12 which includes support for the new Go 1.22 mux routing features :)
Specifically, this release adds support for:
- Routing methods
r.Handle("GET /users/{userID}", handler)
and similarly inr.HandlerFunc
with a very simple addition to chi, thank you@Spartan09
and@angelofallars
for their work on the PRs to add support (go-chi/chi#897, go-chi/chi#901)- Access url path parameters via
request.PathValue("xyz")
andrequest.PathValue("*")
on*http.Request
when using the chi router in Go 1.22+. Of course you may also usechi.URLParam(r, "xyz")
andchi.URLParam(r, "*")
– these are all equivalent now in Go 1.22+. Thank you@angelofallars
for the PR (go-chi/chi#901)- For full list of changes, see https://github.com/go-chi/chi/compare/v5.0.11...v5.0.12
v5.0.11
Thank you again to all contributors and reviewers :)
- docs updates
- go 1.21 in ci
- typos in comments
- middleware: Sunset, middleware which can be used to deprecate an endpoint (go-chi/chi#844)
- middleware: use original expvar handler for profiler middleware (go-chi/chi#848)
- updated _examples/httplog to use "log/slog" in go 1.21+
- middleware: new SuppressNotFound
- ensure to reset methodsAllowed between requests (https://github.com/go-chi/chi/commit/9dd8b4a7b5930c86ac2ecfdb55467112cc223518)
- History of changes, see https://github.com/go-chi/chi/compare/v5.0.10...v5.0.11
Changelog
Sourced from github.com/go-chi/chi/v5's changelog.
v5.0.12 (2024-02-16)
- History of changes: see https://github.com/go-chi/chi/compare/v5.0.11...v5.0.12
v5.0.11 (2023-12-19)
- History of changes: see https://github.com/go-chi/chi/compare/v5.0.10...v5.0.11
Commits
1191921
v5.0.12ec67a86
go 1.22, PathValue wildcard testfd0ff0e
feat(mux): add 1.22-style path value support (#901)60b4f5f
feat: update HTTP method parsing in patterns forHandle
andHandleFunc
(#...9436cc8
go 1.22 ci (#898)bec368a
Fix a typo in maybe middleware doc (#889)7446950
Extend Handle method to parse HTTP method in pattern (#897)f6b97ed
doc: add Sunset middleware in readme (#893)fcdb132
v5.0.1187caec0
Create SECURITY.md- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)