Skip to content

Releases: oapi-codegen/runtime

Parameter binding extensions, bug fixes, dependency updates

26 Feb 20:14
b76a24f

Choose a tag to compare

Notable Changes

The main change in this release is the addition of new Parameter binding and styling functions, which allow the code generator to pass in the type and format from the spec. Previously, we inferred what we wanted to do based on the destination type, however, it's not always possible to decide this without information about the specification.

🚀 New features and improvements

  • feat: add BindRawQueryParameter for correct comma handling (#92) @mromaszewicz
  • fix: add TypeHint-aware parameter binding and styling for []byte (#97) (#98) @mromaszewicz
  • Support array of objects parameters (#40) @danicc097
  • Allow BindStyledParameterWithOptions to fill maps (#72) @JoZie

🐛 Bug fixes

👻 Maintenance

📦 Dependency updates

  • chore(deps): update release-drafter/release-drafter action to v6 (#31) @renovate[bot]

Sponsors

We would like to thank our sponsors for their support during this release.

DevZero logo

Cybozu logo

v1.1.2: fixes for `map`s and `x-go-type-skip-optional-pointer`

15 Jul 10:17
0f4916e

Choose a tag to compare

🐛 Bug fixes

  • Fix #70: Use %w formatting directives when fmt.Error'ing an error. (#71) @constantoine
  • Fix BindQueryParameter for optional parameters (#48) @TelpeNight
  • fix: make BindQueryParameter play along with x-go-type-skip-optional-pointer (#47) @swistakm
  • fix: correctly handle maps with different value types when binding (#38) @andnow873

👻 Maintenance

📦 Dependency updates

Sponsors

We would like to thank our sponsors for their support during this release.

DevZero logo

Speakeasy logo

Elastic logo

Cybozu logo

Livepeer logo

v1.1.1: Dependency updates

04 Jan 09:18
35e8035

Choose a tag to compare

📦 Dependency updates

  • Update module github.com/labstack/echo/v4 to v4.11.4 (#25) renovate
  • Update module github.com/google/uuid to v1.5.0 (#24) renovate
  • Update actions/setup-go action to v5 (#23) renovate
  • Update transitive markdown parser dependency (#12) @NuVivo314

🔐 Security

v1.1.0: Make it possible to configure whether a parameter is required for `BindStyledParameterWithLocation`

14 Nov 16:07
53c0dbc

Choose a tag to compare

🚀 New features and improvements

  • Make it possible to configure whether a parameter is required for BindStyledParameterWithLocation

👻 Maintenance

📦 Dependency updates

7 changes
  • Update module github.com/golangci/golangci-lint to v1.55.2 (#15) @renovate
  • Update module github.com/google/uuid to v1.4.0 (#17) @renovate
  • Update module github.com/labstack/echo/v4 to v4.11.3 (#13) @renovate
  • Update module github.com/golangci/golangci-lint to v1.54.2 (#4) @renovate
  • Update actions/checkout action to v4 (#6) @renovate
  • Update actions/setup-go action to v4 (#2) @renovate
  • Bump Iris (#8) @jamietanna

v1.0.0: Initial release

06 Nov 16:03
2b4757a

Choose a tag to compare

What's Changed

We migrated from deepmap/oapi-codegen's monorepo to a multirepo setup.

Full Changelog: https://github.com/oapi-codegen/runtime/commits/v1.0.0