go-swagger release 0.35.0
Released on 2026 Jun 26
0.35.0 - 2026-06-23
spec generation: bug-bashing release with 200+ issues fixed, following the upgrade to go-openapi/codescan@v0.35.0. More to come...
code generation: additional guards in templates to avoid comments or
tags to generate unintended or malicious code.
This pairs with a new warning on swagger validate when multiple origin
hosts, or absolute local paths are detected in 's.
Full Changelog: v0.34.1...v0.35.0
18 commits in this release.
Fixed bugs
- fix(codescan): upgrade go-openapi/codescan to v0.35.0 (generate spec) by @fredbi in #3376 ...
- fix(generator): use .GoName for ExtraSchema doc lead (follow-up to #3319) by @fredbi ...
- fix(generator): fixed initialism issue (#3319) by @uddeshsingh in #3357 ...
Documentation
- docs: add generate troubleshooting checklist by @dashitongzhi in #3375 ...
- ci: fix typo by @fredbi in #3379 ...
- doc: announce content of forthcoming releases by @fredbi in #3378 ...
Code quality
Miscellaneous tasks
- Remove shells by @fredbi in #3366 ...
- ci: hardening workflows by @fredbi in #3363 ...
- ci: guard close examples PR workflow (input as env, not expansion) by @fredbi in #3362 ...
Security
- fix(generator): harden generated code against untrusted-spec injection by @fredbi ...
- ci(security): fixed examples PR workflow to sanitize artifacts retrieval by @fredbi in #3361 ...
Updates
- chore(deps): bump the development-dependencies group with 2 updates by @dependabot[bot] in #3374 ...
- chore(deps): bump golang from
a6a091eto3ad5730in the development-dependencies group across 1 directory by @dependabot[bot] in #3373 ... - chore(deps): bump the development-dependencies group with 3 updates by @dependabot[bot] in #3368 ...
- chore(deps): bump golang from
f23e8b2toa6a091ein the development-dependencies group across 1 directory by @dependabot[bot] in #3367 ...
Other (technical)
- Add opt-in --with-stringer to generate model String() methods by @youdie006 in #3377 ...
- Fix/sanitize gen code by @fredbi in #3364 ...
People who contributed to this release
New Contributors
- @youdie006 made their first contribution
in #3377 - @uddeshsingh made their first contribution
in #3357
go-swagger license terms
Released by GoReleaser.