Skip to content

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 24 Aug 10:55
· 22 commits to master since this release
v0.0.1

0.0.1 - 2026-08-24

326 commits in this release.


Implemented enhancements

  • feat(genapp): add WithRoot to confine written files to a directory by @fredbi ...
  • feat(formatting): add WithSimplifiedImportAliases for redundant aliases by @fredbi ...
  • feat(formatting): add resolve.Names to read package names via go list by @fredbi ...
  • feat(formatting): prune only the imports whose package name is known by @fredbi ...
  • feat(formatting): add ImportedPackageName for a path's canonical name by @fredbi ...
  • feat(formatting): sort and dedup the whole import block by @fredbi ...
  • feat(genapp): render, format and lay out a generated Go tree by @fredbi ...
  • feat(funcmaps/golang): drop sprig and split the Go funcmap by topic by @fredbi ...
  • feat(templates-repo): rebuild the repository as an immutable value by @fredbi ...
  • feat(funcmaps): add Merge, Coalesce and Pick for template.FuncMap by @fredbi ...
  • feat(mangling): add WithExtraTokenSeparator to extend the separator set by @fredbi ...
  • feat: new name mangler, supersedes swag/mangling by @fredbi ...
  • Feat/conv package: refactored conversions with generics (#108) by @fredbi ...
  • feat: improve split performance by @orisano ...
  • feat(gen client): added support to work with multiple mimes (#3042) by @fredbi ...
  • feat(validation): added --rooted-error-path to generate models by @fredbi ...

Fixed bugs

  • fix(formatting): keep every gofumpt rule named in one WithExtraRules call by @fredbi ...
  • fix: pass the test suites on a Windows runner by @fredbi ...
  • fix(formatting): stop the standard library table test asserting a count by @fredbi ...
  • fix(formatting): carry the go list reason into a resolve.Names error by @fredbi ...
  • fix: package mangler should repair conflicts on keywords & builtins too by @fredbi ...
  • fix(mangling): overlapping pluralized initialisms trigger panic by @fredbi ...
  • fix(mangler): name mangler panics on trailing pluralized initialisms by @fredbi ...
  • check for nil pointers before calling IsZero. (#67) by @mszczygiel ...
  • fix new split function for go 1.12 by @casualjim ...
  • fix camelize by @n-inja ...
  • fix varname start by @casualjim ...
  • fixes #257 name generation accounts for special chars by @casualjim ...
  • fixes some issues with name conversion for API etc by @casualjim ...
  • fix(generator): use .GoName for ExtraSchema doc lead (follow-up to #3319) by @fredbi ...
  • fix(client): added operation with context to client interface. (#3348) by @fredbi ...
  • fix: handle operator characters in enum constants (fixes #1047) (#3330) by @Abzaek ...
  • fix(codegen): fixed regression from v0.34.0 : initialisms skipped (#3360) by @fredbi ...
  • fix(codegen): fixed import conflict when tag is "client" by @fredbi ...
  • fix(codegen): fixed regression from v0.34.0 : initialisms skipped (#3360) by @fredbi ...
  • fix(cli): deconflicted names for variables and funcs by @fredbi ...
  • fix(markdown): handled multi-lines blocks in descriptions by @fredbi ...
  • fix(mangling): fixes name mangling in the presence of a special character by @fredbi ...
  • fixed numerical validations for integer types (#2453) by @fredbi ...
  • Unified CLI for go swagger. (#612) by @vburenin ...
  • fixes #319 detect if map property is base type by @casualjim ...
  • fixes #278 adds support for unix domain sockets by @casualjim ...

Refactor

  • refact(options): chain the templates-repo options by value by @fredbi ...
  • refact(options): chain the gofumpt options by value by @fredbi ...
  • refact(options): chain options by value in formatting, genapp and gentesting by @fredbi ...
  • refact: refactored the package into multiple specialized sub-packages by @fredbi ...
  • refactored mangling utilities by @fredbi ...
  • refactor: move globals by @orisano ...
  • refact(generator): split template repository, funcmaps and langage (#3316) by @fredbi ...
  • refact(generator): split template repository, funcmaps and langage (#3316) by @fredbi ...
  • refactored code generator (#2177) by @fredbi ...
  • refact(generator): split template repository, funcmaps and langage (#3316) by @fredbi ...
  • refactor CLI generate, support datetime, support multi success resp by @youyuanwu ...
  • refactored code generator (#2177) by @fredbi ...
  • Support multiple mime type specifications, with parameters by @fredbi ...
  • Gen layout configfile (#658) by @casualjim ...
  • package refactor (#486) by @casualjim ...
  • template repository rework by @pieter-lazzaro ...

Documentation

Code quality

  • feat(formatting): replace goimports with a toolchain-free formatter by @fredbi ...
  • doc: updated docs, links (#180) by @fredbi ...
  • chore(ci): setup monorepo linting and fixed automerge by @fredbi ...
  • Relint by @fredbi ...
  • chore(lint): relinted by @fredbi ...
  • updated & relinted (#70) by @fredbi ...
  • Updated doc by @fredbi ...
  • added test to assert ReadJSON/WriteJSON works by @fredbi ...
  • Fixed a few linting issues by @fredbi ...
  • Added ContainsString() [symmetric to ContainStringCI()] by @fredbi ...
  • update initialisms to match current golint by @casualjim ...
  • chore: wrapped up linting rules, temporary modules layout & import paths by @fredbi ...
  • test: migrated from stretchr/testify to go-openapi/testify/v2 (#3285) by @fredbi ...
  • chore(lint): relinted the generator package (#3259) by @fredbi ...
  • chore: updated linting config & relinted (partially) by @fredbi ...
  • fix: generated code linting by @fredbi ...
  • chore(generator): migrated to the new go-openapi/swag api. (#3335) by @fredbi ...
  • chore(lint): relint code base (pass 1) (#3331) by @fredbi ...
  • test: migrated from stretchr/testify to go-openapi/testify/v2 (#3285) by @fredbi ...
  • chore(lint): relinted the generator package (#3259) by @fredbi ...
  • refactor(generator): simplify GenOpts construction and lifecycle (#3365) by @fredbi ...
  • chore(generator): migrated to the new go-openapi/swag api. (#3335) by @fredbi ...
  • test: migrated from stretchr/testify to go-openapi/testify/v2 (#3285) by @fredbi ...
  • chore(lint): relinted the generator package (#3259) by @fredbi ...
  • Own code format for concurrent safety (#3195) by @seiyab ...
  • chore: updated linting config & relinted (partially) by @fredbi ...
  • fix: generated code linting by @fredbi ...
  • lint: adopt new grouping rules for imports by @fredbi ...
  • chore: relinted all go-swagger but examples by @fredbi ...
  • fix linter issues & upd linter settings/action by @nikolaiianchuk ...
  • golangci-lint: enable testifylint linter by @mmorel-35 ...
  • enable misspell linter and fix linters by @mmorel-35 ...
  • relinted all packages (#2481) by @fredbi ...
  • Review of codegen imports and package name mangling (#2181) by @fredbi ...
  • refactor(generator): simplify GenOpts construction and lifecycle (#3365) by @fredbi ...
  • chore(generator): migrated to the new go-openapi/swag api. (#3335) by @fredbi ...
  • test: migrated from stretchr/testify to go-openapi/testify/v2 (#3285) by @fredbi ...
  • chore(lint): relinted the generator package (#3259) by @fredbi ...
  • chore: updated linting config & relinted (partially) by @fredbi ...
  • fix: generated code linting by @fredbi ...
  • lint: adopt new grouping rules for imports by @fredbi ...
  • chore: relinted all go-swagger but examples by @fredbi ...
  • fix: fix memory pools & race issues in go-openapi/validate (#3073) by @fredbi ...
  • golangci-lint: enable testifylint linter by @mmorel-35 ...
  • fix(cli codegen): fixed missing imports by @fredbi ...
  • enable misspell linter and fix linters by @mmorel-35 ...
  • fix linter errors by @casualjim ...
  • relinted all packages (#2481) by @fredbi ...
  • Fix linting again (#2329) by @fredbi ...
  • Review of codegen imports and package name mangling (#2181) by @fredbi ...
  • revert some linter fixes by @casualjim ...
  • update appveyor config by @casualjim ...
  • Fix some linting and mispelling issues by @fredbi ...
  • Integration for minimal flatten mode by @fredbi ...
  • Changed Copyright comment style by @EleanorRigby ...
  • Task: Add Makefile and scripts by @kenjones-cisco ...
  • fixes a number of issues with allOf (#760) by @casualjim ...
  • Add go-openapi monorepo infrastructure (golangci, SECURITY.md, README, CI workflows, go.mod) by @Copilot ...

Testing

  • test(genapp): shorten the socket path to fit darwin's sun_path limit by @fredbi ...
  • test: upgraded tests to use generics (#176) by @fredbi ...
  • test: add BenchmarkToGoName by @orisano ...
  • test: model tests go parallel (#2450) by @fredbi ...

Miscellaneous tasks

  • chore: prepare release v0.0.1 by @bot-go-openapi[bot] in #37 ...
  • chore(dependabot): fix invalid timezone by @fredbi ...
  • ci: pin the shared go-openapi workflows to v0.6.1 by @fredbi ...
  • fix(ci): check text files out with LF on every platform by @fredbi ...
  • chore: run dependabot twice a week on a cron schedule by @fredbi ...
  • chore: update go dependencies by @fredbi in #29 ...
  • chore: adapt formatting to the new mangler by @fredbi ...
  • chore: adapted templates-repo and funcmaps to mangling by @fredbi ...
  • chore(ci): run contributors workflow monthly instead of weekly by @fredbi in #10 ...
  • chore: fix go.mod version by @fredbi ...
  • chore: fix go.work version by @fredbi ...
  • chore: mods & imports by @fredbi ...
  • chore: removed most remaining external dependencies by @fredbi ...
  • chore(go): go-openapi requires go.1.20 across the board by @fredbi ...
  • perf(mangling): optimized the processing of initialisms by @fredbi ...
  • fix(mangling): fixed name mangling when special chars are substituted by @fredbi ...
  • Migrate from Travis CI to GitHub Actions (#61) by @kzys ...
  • chore erase self-assignment by @n-inja ...
  • adds license header by @casualjim ...
  • chore: updated license marks in source files (#3260) by @fredbi ...
  • chore(test): reduced the verbosity of tests (#3037) by @fredbi ...
  • chore: fixed import paths cross-packages by @fredbi ...
  • chore: updated license marks in source files (#3260) by @fredbi ...
  • chore: deps by @fredbi ...
  • chore: updated license marks in source files (#3260) by @fredbi ...
  • Model templates refactoring for readability -- NO CHANGE IN FUNCTIONALITY by @fredbi ...
  • test: fix fake flaky test reporting (#3350) by @fredbi ...
  • chore: updated license marks in source files (#3260) by @fredbi ...
  • chore(test): reduced the verbosity of tests (#3037) by @fredbi ...
  • Model templates refactoring for readability -- NO CHANGE IN FUNCTIONALITY by @fredbi ...
  • Add contributed template option and stratoscale's templates (#1626) by @michaelf-stratoscale ...
  • Fix issues on simple params (#1394) by @fredbi ...
  • chore: prepare modules layout by @fredbi ...

Security

  • doc: removed examples (moved their own repo) (#3303) by @fredbi ...
  • fix(generator): harden generated code against untrusted-spec injection by @fredbi ...

Reverted changes

  • Revert tests back to using global template variables. remove some logging from template repo tests by @pieter-lazzaro ...

Updates

  • chore(deps): Bump the development-dependencies group with 9 updates by @dependabot[bot] in #30 ...
  • chore(deps): Bump the development-dependencies group across 1 directory with 9 updates by @dependabot[bot] in #28 ...
  • chore(deps): Bump golang.org/x/mod from 0.38.0 to 0.39.0 in the golang-org-dependencies group across 1 directory by @dependabot[bot] in #27 ...
  • chore(deps): Bump the development-dependencies group with 9 updates by @dependabot[bot] in #25 ...
  • chore(deps): Bump the go-openapi-dependencies group across 1 directory with 5 updates by @dependabot[bot] in #23 ...
  • chore(deps): Bump github.com/oklog/ulid/v2 from 2.1.1 to 2.1.2 in the other-dependencies group across 1 directory by @dependabot[bot] in #21 ...
  • chore(deps): Bump the go-openapi-dependencies group across 2 directories with 8 updates by @dependabot[bot] in #22 ...
  • chore(deps): Bump the development-dependencies group with 9 updates by @dependabot[bot] in #19 ...
  • chore(deps): Bump the go-openapi-dependencies group across 1 directory with 2 updates by @dependabot[bot] in #18 ...
  • chore(deps): Bump the golang-org-dependencies group across 1 directory with 6 updates by @dependabot[bot] in #16 ...
  • chore(deps): Bump the go-openapi-dependencies group across 1 directory with 6 updates by @dependabot[bot] in #15 ...
  • chore(deps): Bump the go-openapi-dependencies group across 2 directories with 2 updates by @dependabot[bot] in #13 ...
  • chore(deps): Bump golang.org/x/tools from 0.46.0 to 0.47.0 in the golang-org-dependencies group across 1 directory by @dependabot[bot] in #12 ...
  • chore(deps): Bump go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml from 93b16765c4045dbd4dac2372803294298aa7592a to 2e57e83146e049b5dfb8116ba16a09b2da27b3c5 in the development-dependencies group by @dependabot[bot] in #9 ...
  • chore(deps): Bump the go-openapi-dependencies group across 1 directory with 6 updates by @dependabot[bot] in #7 ...
  • chore(deps): Bump the golang-org-dependencies group across 1 directory with 6 updates by @dependabot[bot] in #5 ...
  • chore(deps): Bump go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml from 4d6159bf7589b6ae0483155550f89805700de8a9 to 93b16765c4045dbd4dac2372803294298aa7592a in the development-dependencies group by @dependabot[bot] in #6 ...
  • Bump the development-dependencies group with 8 updates by @dependabot[bot] in #2 ...

Other (technical)

Other (technical) conflict

  • support to auto generate markdown (#3258) by @fredbi ...

Other (technical) conflict conflict

  • Fix #1274 - add a new template variable in GenCommon. (#1275) by @fredbi ...

People who contributed to this release


New Contributors


codegen license terms

License

Per-module changes


formatting/enable/gofumpt (0.0.1)

Implemented enhancements

  • feat(formatting): prune only the imports whose package name is known by @fredbi ...

Fixed bugs

  • fix(formatting): keep every gofumpt rule named in one WithExtraRules call by @fredbi ...

Refactor

  • refact(options): chain the gofumpt options by value by @fredbi ...

Code quality

  • feat(formatting): replace goimports with a toolchain-free formatter by @fredbi ...

Miscellaneous tasks

Other (technical)


formatting/testdata/corpus (0.0.1)

Implemented enhancements

  • feat(formatting): prune only the imports whose package name is known by @fredbi ...
  • feat(formatting): sort and dedup the whole import block by @fredbi ...

Code quality

  • feat(formatting): replace goimports with a toolchain-free formatter by @fredbi ...

Other (technical)


mangling/ucd (0.0.1)

Implemented enhancements

  • feat: new name mangler, supersedes swag/mangling by @fredbi ...

Other (technical)


mangling (0.0.1)

Implemented enhancements

  • feat(mangling): add WithExtraTokenSeparator to extend the separator set by @fredbi ...
  • feat: new name mangler, supersedes swag/mangling by @fredbi ...
  • Feat/conv package: refactored conversions with generics (#108) by @fredbi ...
  • feat: improve split performance by @orisano ...

Fixed bugs

  • fix: package mangler should repair conflicts on keywords & builtins too by @fredbi ...
  • fix(mangling): overlapping pluralized initialisms trigger panic by @fredbi ...
  • fix(mangler): name mangler panics on trailing pluralized initialisms by @fredbi ...
  • check for nil pointers before calling IsZero. (#67) by @mszczygiel ...
  • fix new split function for go 1.12 by @casualjim ...
  • fix camelize by @n-inja ...
  • fix varname start by @casualjim ...
  • fixes #257 name generation accounts for special chars by @casualjim ...
  • fixes some issues with name conversion for API etc by @casualjim ...

Refactor

  • refact: refactored the package into multiple specialized sub-packages by @fredbi ...
  • refactored mangling utilities by @fredbi ...
  • refactor: move globals by @orisano ...

Documentation

  • licensing: modernized the licensing of source code. by @fredbi ...
  • doc: documented the limitations of AddInitialism by @fredbi ...
  • More UTs on name mangling by @fredbi ...

Code quality

Testing

Miscellaneous tasks

  • chore: run dependabot twice a week on a cron schedule by @fredbi ...
  • chore: fix go.mod version by @fredbi ...
  • chore: mods & imports by @fredbi ...
  • chore: removed most remaining external dependencies by @fredbi ...
  • chore(go): go-openapi requires go.1.20 across the board by @fredbi ...
  • perf(mangling): optimized the processing of initialisms by @fredbi ...
  • fix(mangling): fixed name mangling when special chars are substituted by @fredbi ...
  • Migrate from Travis CI to GitHub Actions (#61) by @kzys ...
  • chore erase self-assignment by @n-inja ...
  • adds license header by @casualjim ...
  • chore: prepare modules layout by @fredbi ...

Updates

  • chore(deps): Bump the go-openapi-dependencies group across 2 directories with 8 updates by @dependabot[bot] in #22 ...
  • chore(deps): Bump the go-openapi-dependencies group across 2 directories with 2 updates by @dependabot[bot] in #13 ...

Other (technical)