Skip to content

fix(deps): update module github.com/oapi-codegen/runtime to v1.9.1 - #25

Merged
subpathdev merged 1 commit into
mainfrom
renovate/go-modules-(patch)
Nov 28, 2026
Merged

subpathdev merged 1 commit into
mainfrom
renovate/go-modules-(patch)

Conversation

@renovate

@renovate renovate Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/oapi-codegen/runtime v1.9.0 → v1.9.1 age confidence

Release Notes

oapi-codegen/runtime (github.com/oapi-codegen/runtime)

v1.9.1: : Bugfix update

Compare Source

This is a bugfix release. MarshalForm now honors the style and explode of a form property's encoding, and deepObject binding 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

MarshalForm honors style and explode

MarshalForm only read ContentType from a property's RequestBodyEncoding, so an array was always written with indexed keys, topic[0]=a&topic[1]=b, even when the encoding declared style: form, explode: true, which serializes as repeated keys, topic=a&topic=b. A property whose encoding sets Style or Explode is now serialized as a query parameter of that style would be: form, spaceDelimited and pipeDelimited repeat the key when exploded and write one delimited value otherwise, and deepObject is the existing bracketed form. Explode defaults to true for form and 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/json content type branch, which returned unsupported encoding for every content type including JSON, now works too (#​187, closes #​186).

deepObject integers that overflow are rejected

UnmarshalDeepObject parsed integer fields as 64-bit and assigned them without checking that the value fit, so ?filter[count]=4294967297 bound into an int32 as 1 with no error. Out-of-range values now fail with an overflows destination error, 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.

DevZero logo

Cybozu logo

  • No new contributors

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • Between 12:00 AM and 07:59 AM, only on Saturday (* 0-7 * * 6)
  • Automerge
    • Between 09:00 AM and 06:59 PM (* 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@subpathdev
subpathdev merged commit c5bed7b into main Nov 28, 2026
7 checks passed
@renovate
renovate Bot deleted the renovate/go-modules-(patch) branch November 28, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant