v2.6.0: 7th anniversary release 🎂 #2258
jamietanna
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
v2.6.0: 7th anniversary release 🎂
For those that aren't aware, 7 years ago to the day,
oapi-codegenwas born!(Well, technically it's tonight at midnight UTC, but who's splitting hairs?)
There's nothing too special planned for today, but we thought it'd be the perfect time to cut
a slice of cakea release!🎉 Notable changes
New generated code requires
oapi-codegen/runtimev1.2.0+As part of #2256,
github.com/oapi-codegen/runtimev1.2.0 is needed alongsidegithub.com/oapi-codegen/oapi-codegen, for new generated code.This is providing a more future-proofed means to bind parameters.
See the release notes for the runtime package, and #2256 for more information.
oapi-codegenwas part of the GitHub Secure Open Source Fundoapi-codegenwas one of the projects taking part in the third GitHub Secure Open Source Fund session.We've written up more about what we've learned, and have some more things to share with you over the coming months about lessons we've learned and improvements we've taken that we can share.
We were pretty chuffed to be selected, and it's already helped improve our security posture as a project, which is also very important for the wider ecosystem!
godirective bump in next releaseLong-time users will be aware that we work very hard to try and keep our requirement for Go source compatibility, through the
godirective, especially as we recommend folks useoapi-codegenas a source-tracked dependency.For more details about this, see our Support Model docs.
In the next minor release, we'll be setting our minimum
godirective to Go 1.24 (End-of-Life on 2026-02-11), as it's required for a number of dependencies of ours to be updated any higher, and a change to the module import path for Speakeasy's OpenAPI Overlay library requires us fix this centrally for our users to be able to continue updating their libraries.Note
Nothing is changing as part of v2.6.0, this is a pre-announcement for v2.7.0.
Behind the scenes cleanup
There's also been some work behind-the-scenes to try and clean up outstanding issues (of which we know there are many!) that have been fixed, as well as Marcin's work on trying to do some more significant rework of the internals with help from Claude.
There's still, as ever, work to go with this - as we've mentioned before, sponsoring our work would be greatly appreciated, so we can continue to put in the work, considering this is a widely used and depended on project.
🚀 New features and improvements
resolve-type-name-collisionsto avoid name collisions (feat(output-options): addresolve-type-name-collisionsto avoid name collisions #200) @mgurevin🐛 Bug fixes
nullable.Nullablein arrays (fix(codegen): generatenullable.Nullablein arrays #2242) @jamietannax-oapi-codegen-extra-tagsdo not work for query params #2232) (fix: support x-oapi-codegen-extra-tags on parameter schemas (#2232) #2235) @mromaszewiczdescriptionis empty (fix(server-urls): use URL in GoDoc ifdescriptionis empty #2226) @jamietanna$reftext responses (fix(strict-server): generate correct type for$reftext responses #2225) @mromaszewicz📝 Documentation updates
👻 Maintenance
go fix(style(gofix): Applygo fix#2229) @gaiaz-iusipovmake tidyafter Go module updates (fix(renovate): only runmake tidyafter Go module updates #2159) @jamietannamake tidyafter dependency updates togo.mod(chore(renovate): runmake tidyafter dependency updates togo.mod#2150) @jamietanna📦 Dependency updates
8 changes
Sponsors
We would like to thank our sponsors for their support during this release.
This discussion was created from the release.
Beta Was this translation helpful? Give feedback.
All reactions