Skip to content

Releases: oapi-codegen/oapi-codegen

Roll back v1.10.0 Gin changes

19 Apr 20:16
Compare
Choose a tag to compare

PR #530 was a breaking change I should not have merged.

Some new features and many bug fixes

19 Apr 15:44
Compare
Choose a tag to compare

Thank you everyone for your PR's. I'm incrementing the minor version because some new functionality was added:

  • x-go-type (#517)
  • UUID formatted strings (#546)
  • readOnly/writeOnly properties (#547)

I've also merged numerous bug fixes.

Sorry for the long delay in releases, I've been extremely busy, and it takes time to go over PR's to make sure they don't break something.

Bug fixes, go embed for templates

21 Jan 19:09
Compare
Choose a tag to compare
  • Update Echo to fix security issues and baseurl handling
  • Internally, use go:embed instead of third party embedding tools for templates.

Gin support, auth example, bug fixes

02 Nov 23:43
32316b9
Compare
Choose a tag to compare

We're increasing the minor version to 1.9.0 since there's new support for Gin and some new libraries in pkg/runtime.

Thanks for all the contributions.

Bug fixes

04 Oct 22:53
Compare
Choose a tag to compare
  • Merged a number of PR's fixing various bugs in code generation. Thank you all.

Many bug fixes

23 Jul 17:45
5f43277
Compare
Choose a tag to compare

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

Revert a breaking change

18 Jun 20:42
Compare
Choose a tag to compare
  • 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

18 Jun 20:31
Compare
Choose a tag to compare
  • 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

02 Jun 18:59
d860c63
Compare
Choose a tag to compare
  • 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

22 May 21:36
Compare
Choose a tag to compare

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.