Skip to content
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

build(deps): bump github.com/deepmap/oapi-codegen from 1.3.12 to 1.8.2 #6

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 26, 2021

Bumps github.com/deepmap/oapi-codegen from 1.3.12 to 1.8.2.

Release notes

Sourced from github.com/deepmap/oapi-codegen's releases.

Many bug fixes

I merged quite a few formatting and bug fixes, thanks everyone.

Revert a breaking change

  • I reverted the fix for #380 because it changes behavior in a very fragile area. I will revisit this in the future. This fixes the build, for tooling that requires our tests to pass.

Add custom extra tags on Go fields

  • Please see the README, but you can now specify additional Go field tags via the x-oapi-codegen-extra-tags extension property. I bumped minor version to 1.8.0 on account of this new functionality.
  • Bug fixes merged, thanks for all the PR's

Minor updates and build fix

  • v1.7.0 had failing unit tests, these are now fixed.
  • The format for schemas of type number can now be any go type. This isn't spec compliant, but easier to work with

Add a version flag

The oapi-codegen command now accepts a --version command line option, which will use the debug.BuildInfo to print out the version of the oapi-codegen module which produced it.

The version number will look the same as what you'd see in your go.mod file when importing oapi-codegen.

Update kin-openapi and fix bugs

  • Updated kin-openapi to 0.61.0
  • Use the correct header parsing strategy (#351)

Fix to comments and enum generation

  • Multi line comments are now propagated to generated code correctly (deepmap/oapi-codegen#334)
  • Enum generation wasn't working very well, so I merged a new PR which fixes it (deepmap/oapi-codegen#241), but this is a breaking change. Your enum names may change if you use special characters in them which require renaming into valid Go identifiers.

Sorry about the breaking change, we're going to make a /v2 of this library soon which has versioned codegen.

x-omitempty, bug fixes

  • x-omitempty is now supported
  • $ now works as a property name, it will create a Go variable named DollarSign
  • fix #329
  • Descriptions not propagate into model comments

More consistent parameter escaping, use older kin-openapi

  • Some recent bugs have exposed lots of issues around inconsistent encoding and decoding of parameters. With this version, all path parameter values will be url.ParamEscaped and all query parameters will be url.QueryEscaped. The server binding methods perform the inverse operation on all parameters. This changes existing behavior, but parameters with reserved characters were outright broken, so I hope this is ok.
  • We went back to kin-openapi v0.47.0, since more recent versions create a dependency on Go 1.16, and broke our build. We're not ready to be on the bleeding edge, as lots fo code using this library is using older go versions
  • Bumped Go requirement to 1.14, as that's what kin-openapi v0.47.0 requires.

ClientWithResponses update, bug fixes

  • ClientWithResponses API grew out of sync with the Client, so added RequestEditorFn parameters to ClientWithResponses. This might break your code if you pass around function pointers, as the signatures changed by adding variadic args. It shouldn't affect most people.
  • SecurityDefinitions were non-deterministic in ordering, resulting in random permutations of generated code if you had multiple definitions.

Fix bug in escaping and unescaping query arguments

This release fixes #312 properly, without sending unescaped values to server handlers.

Reverting a recent path handling change in the client

  • A recent change in path concatenation in generated clients did more harm than it helped, so I'm reverting it until this fragile code can be tested thoroughly and fixed in a better way.

... (truncated)

Commits

Dependabot compatibility score

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 26, 2021
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/deepmap/oapi-codegen-1.8.2 branch 2 times, most recently from c8ab791 to 2878977 Compare September 6, 2021 22:22
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/deepmap/oapi-codegen-1.8.2 branch from 2878977 to 58a5cb6 Compare September 10, 2021 04:40

Verified

This commit was signed with the committer’s verified signature.
mcollina Matteo Collina
Bumps [github.com/deepmap/oapi-codegen](https://github.com/deepmap/oapi-codegen) from 1.3.12 to 1.8.2.
- [Release notes](https://github.com/deepmap/oapi-codegen/releases)
- [Commits](oapi-codegen/oapi-codegen@v1.3.12...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/deepmap/oapi-codegen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/deepmap/oapi-codegen-1.8.2 branch from 58a5cb6 to 926310a Compare September 28, 2021 04:30
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 5, 2021

Superseded by #35.

@dependabot dependabot bot closed this Oct 5, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/deepmap/oapi-codegen-1.8.2 branch October 5, 2021 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants