Skip to content

v0.1.0: Initial Server Release

Compare
Choose a tag to compare
@hhhapz hhhapz released this 01 Nov 14:59
· 25 commits to main since this release
b9ac6df

v0.1.0 is the first release since the hard fork from
oapi-codegen!

This change has a number of changes that were made, designed to improve the
core quality of life.

Note: The client is still largely unchanged, and plans to be majorly
refactored in the future. Please use with caution!

Release notes:

Features:

Feature list is sorted in order of importance.

  • Remove echo output target (#14).

  • Implement Bind and Render (#47). This change uses
    go-chi/render.

  • Move to struct-based enum types (#50).

  • Move x-goapi-* to x-go (#40).

  • Fix binding for DeepObject (#28).

  • Add panics for incorrect handlers on handler creation, instead of silently
    failing (#46).

  • Implement proper PascalCase and CamelCase for types with initialisms (#27).

  • Generate Response types for each response method type and version (#47).

  • Add --initialisms. (#54).

  • Don't make optional array types pointers to arrays. (#56).

  • Give better error messages when an unsupported OAPI Spec version is
    encountered.

  • Migrate from flag package to urfav/cli (#32).

Of course, there are numerous other things that were also changed between the
latest version of oapi-codegen (as of speaking) and this release. This is
just the important bits :).