Repository navigation
fix(deps): update module github.com/oapi-codegen/runtime to v1.9.1 - #25
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.9.0→v1.9.1Release Notes
oapi-codegen/runtime (github.com/oapi-codegen/runtime)
v1.9.1: : Bugfix updateCompare Source
This is a bugfix release.
MarshalFormnow honors thestyleandexplodeof a form property's encoding, anddeepObjectbinding rejects integers that overflow their destination instead of wrapping them. There are no API changes, and code generated by current oapi-codegen releases behaves as before.Notable Changes
MarshalFormhonorsstyleandexplodeMarshalFormonly readContentTypefrom a property'sRequestBodyEncoding, so an array was always written with indexed keys,topic[0]=a&topic[1]=b, even when the encoding declaredstyle: form, explode: true, which serializes as repeated keys,topic=a&topic=b. A property whose encoding setsStyleorExplodeis now serialized as a query parameter of that style would be:form,spaceDelimitedandpipeDelimitedrepeat the key when exploded and write one delimited value otherwise, anddeepObjectis the existing bracketed form.Explodedefaults to true forformand false for the other styles, as in the specification.Properties with no encoding, or with one that sets neither field, are unchanged. Generated clients pass no encodings today, so their output is the same; a future oapi-codegen release will pass the spec's encodings through (oapi-codegen/oapi-codegen#2604). The
application/jsoncontent type branch, which returnedunsupported encodingfor every content type including JSON, now works too (#187, closes #186).deepObjectintegers that overflow are rejectedUnmarshalDeepObjectparsed integer fields as 64-bit and assigned them without checking that the value fit, so?filter[count]=4294967297bound into anint32as1with no error. Out-of-range values now fail with anoverflows destinationerror, as they already did for the form style and the JSON binders. Thanks to @youdie006 (#185).🐛 Bug fixes
📦 Dependency updates
Sponsors
We would like to thank our sponsors for their support during this release.
Configuration
📅 Schedule: (in timezone Europe/Berlin)
* 0-7 * * 6)* 9-18 * * *)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.