-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update all non-major dependencies for go #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
8776367
to
75fae42
Compare
75fae42
to
3865000
Compare
7391cc6
to
d92f15e
Compare
d92f15e
to
e3e8613
Compare
ℹ Artifact update noticeFile name: backend/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
e3e8613
to
9a87079
Compare
3eba11e
to
5379b69
Compare
5379b69
to
40201fc
Compare
0ece8eb
to
035e241
Compare
035e241
to
05afe4b
Compare
2a5fd69
to
ef0b93b
Compare
f06756a
to
7822e73
Compare
|
a205899
to
1e73f70
Compare
3641805
to
58b6173
Compare
58b6173
to
dfd8863
Compare
2cdcf41
to
ec67a2c
Compare
ffaef58
to
a359baa
Compare
a359baa
to
60e9795
Compare
0266cd7
to
537b568
Compare
537b568
to
ddfc341
Compare
ddfc341
to
3a77328
Compare
c456903
to
a24319a
Compare
6fb5a06
to
bb52a76
Compare
12cade9
to
220cd18
Compare
220cd18
to
fc2c156
Compare
fc2c156
to
2c67640
Compare
2c67640
to
56788f6
Compare
This PR contains the following updates:
v0.128.0
->v0.133.0
v5.1.0
->v5.2.3
v1.2.1
->v1.2.2
v1.0.5
->v1.1.2
v0.1.13
->v0.1.14
v1.0.2
->v1.1.2
v2.4.1
->v2.5.0
v1.1.1
->v1.1.2
v1.9.0
->v1.11.1
v0.5.0
->v0.6.0
v1.33.1
->v1.39.1
Release Notes
getkin/kin-openapi (github.com/getkin/kin-openapi)
v0.133.0
Compare Source
What's Changed
New Contributors
Full Changelog: getkin/kin-openapi@v0.132.0...v0.133.0
v0.132.0
Compare Source
What's Changed
AuthenticatorFunc
by @jamietanna in #1064New Contributors
Full Changelog: getkin/kin-openapi@v0.131.0...v0.132.0
v0.131.0
Compare Source
What's Changed
Full Changelog: getkin/kin-openapi@v0.130.0...v0.131.0
v0.130.0
Compare Source
What's Changed
New Contributors
Full Changelog: getkin/kin-openapi@v0.129.0...v0.130.0
v0.129.0
Compare Source
What's Changed
x-www-form-urlencoded
with arbitrary nested allOf by @mikhalytch in #1046New Contributors
Full Changelog: getkin/kin-openapi@v0.128.0...v0.129.0
go-chi/chi (github.com/go-chi/chi/v5)
v5.2.3
Compare Source
What's Changed
New Contributors
Full Changelog: go-chi/chi@v5.2.2...v5.2.3
v5.2.2
Compare Source
What's Changed
Security fix
New Contributors
Full Changelog: go-chi/chi@v5.2.1...v5.2.2
v5.2.1
Compare Source
Starting this release, we will now support the four most recent major versions of Go. See #963 for related discussion.
What's Changed
Full Changelog: go-chi/chi@v5.2.0...v5.2.1
v5.2.0
Compare Source
What's Changed
Find
toRoutes
interface by @joeriddles in #872feat(): add CF-Connecting-IP by @n33pm in #908Revert "feat(): add CF-Connecting-IP" by @VojtechVitek in #966_examples/versions
by @hongkuancn in #948Mux.Find
not correctly handling nested routes by @joeriddles in #954New Contributors
Full Changelog: go-chi/chi@v5.1.0...v5.2.0
go-chi/cors (github.com/go-chi/cors)
v1.2.2
Compare Source
What's Changed
New Contributors
Full Changelog: go-chi/cors@v1.2.1...v1.2.2
lmittmann/tint (github.com/lmittmann/tint)
v1.1.2
Compare Source
What's Changed
New Contributors
Full Changelog: lmittmann/tint@v1.1.1...v1.1.2
v1.1.1
Compare Source
Bug-fix release with performance improvements for time value handling.
What's Changed
slog.TextHandler
by @lmittmann in #94Options
storage in handler by @lmittmann in #95tint.Attr
whenReplaceAttr
is present by @lmittmann in #96Full Changelog: lmittmann/tint@v1.1.0...v1.1.1
v1.1.0
Compare Source
This release adds a much-requested feature: function
tint.Attr(color uint8, attr slog.Attr)
writes colored attributes. Liketint.Err
, which writes red-colored errors,tint.Attr
can be used with other slog handlers (e.g. slog.JSONHandler) and does not emit raw ANSI codes.What's Changed
tint.Attr(color, attr)
by @lmittmann in #93Full Changelog: lmittmann/tint@v1.0.7...v1.1.0
v1.0.7
Compare Source
What's Changed
<nil>
values by @lmittmann in #88Full Changelog: lmittmann/tint@v1.0.6...v1.0.7
v1.0.6
Compare Source
What's Changed
any
onKindAny
values by @database64128 in #83TestReplaceAttr
without faketime by @database64128 in #84tintError
twice by @database64128 in #82New Contributors
Full Changelog: lmittmann/tint@v1.0.5...v1.0.6
mattn/go-colorable (github.com/mattn/go-colorable)
v0.1.14
Compare Source
oapi-codegen/nethttp-middleware (github.com/oapi-codegen/nethttp-middleware)
v1.1.2
: : Request bodies can now be re-used, after being read in anAuthenticationFunc
and Go 1.22+-onlyCompare Source
🔊 Notable features
Go 1.22+ requirement
This module now requires Go 1.22 to build (previously we supported Go 1.20+).
Go 1.22 is still fairly old, and was marked as unsupported by the Go team in 2025-02-11, and is a new requirement as part of a dependency bump from kin-openapi.
This shouldn't technically be a breaking change given the age of the Go version used and it being unsupported - so ideally isn't being used heavily - but we wanted to flag it as such in case this came as a surprise.
Request body can now be re-used, after being read in an
AuthenticationFunc
A longstanding issue with the
openapi3filter
from kin-openapi, that we build on top of for this middleware, resulted in cases where the request body could not be re-parsed after being consumed in a middleware'sAuthenticationFunc
.This could lead to errors such as:
Or:
This has now been fixed upstream, and therefore fixed for users of this middleware as part of this release.
👻 Maintenance
📦 Dependency updates
Sponsors
We would like to thank our sponsors for their support during this release.
v1.1.1
: : fix an incorrect HTTP status code (in an unlikely failure case)Compare Source
🐛 Bug fixes
📦 Dependency updates
Sponsors
We would like to thank our sponsors for their support during this release.
v1.1.0
: : Better error handling, allow not validatingServers
(by configuration) and return an HTTP 405 Method Not Allowed where appropriateCompare Source
🔊 Notable features
Error handling is now significantly better
As part of #35, we have introduced a much more powerful means to handle the errors returned by the OpenAPI Validation middleware.
This has been a long-standing issue, and we appreciate the community's patience as well as different proposals over time.
Previously, when creating an error handler, the method signature was fairly lacking:
This didn't give much information around what had happened - or in which route/endpoint - and not having the raw
error
made observability and additional steps to respond appropriately more difficult.With this release, it's now possible to have the raw
error
, information about the current request + itscontext.Context
, as well as some additional pieces of metadata inside theErrorHandlerWithOpts
:There is a full example of usage in the Go doc for this project.
Note that the old method,
ErrorHandler
has been marked as deprecated - there is no planned removal date, and this is largely as a way to "nudge" folks to using the new, more powerful, method.🚀 New features and improvements
error
to a method parameter, not part ofErrorHandlerOpts
(#43) @jamietannaServers
at all (#37) @jamietanna🐛 Bug fixes
📝 Documentation updates
FUNDING.yml
(#20) @jamietanna👻 Maintenance
testutil
(#33) @jamietanna📦 Dependency updates
Sponsors
We would like to thank our sponsors for their support during this release.
oapi-codegen/oapi-codegen (github.com/oapi-codegen/oapi-codegen/v2)
v2.5.0
: : No more optional pointers (optionally),omitzero
, better control over initialisms, and so much more!Compare Source
v2.5.0: No more optional pointers (optionally)!
🎉 Notable changes
Begone optional pointers! (optionally)
One of the key things
oapi-codegen
does is to use an "optional pointer", following idiomatic Go practices, to indicate that a field/type is optional.This can be tuned on a per-field basis, using the
x-go-type-skip-optional-pointer
extension, but it can be a bit repetitive, or can be more complex when using an OpenAPI Overlay.As of
oapi-codegen
v2.5.0, this can be tuned in two specific ways, via the following Output Options:prefer-skip-optional-pointer
: a global default that you do not want the "optional pointer" generated. Optional fields will not have an "optional pointer", and will have anomitempty
JSON tagprefer-skip-optional-pointer-with-omitzero
: when used in conjunction withprefer-skip-optional-pointer
, any optional fields are generated with anomitzero
JSON tag. Requires Go 1.24+In both cases, there is control on a per-field level to set
x-go-type-skip-optional-pointer: false
orx-omitzero: false
to undo these to field(s).See Globally skipping the "optional pointer" for more details.
Generating
omitzero
JSON tags, withx-omitzero
Related to the above functionality, it is possible to define the OpenAPI extension
x-omitzero
on fields to generate theomitzero
JSON tag, based on the (now not-so-new) Go 1.24 release.Thanks to @lzap for the contribution 🚀
Using OpenAPI 3.1 w
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.