Skip to content

Releases: discord-gophers/goapi-gen

v0.3.0

12 Jun 10:51
f399b26
Compare
Choose a tag to compare

What's Changed

  • change enum MarshalJSON() method to not be called on ptr by @tiehm in #101
  • Generate middlewares as fields by @Karitham in #98

Full Changelog: v0.2.2...v0.3.0

v0.2.2

28 Jul 17:46
074e08f
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @tiehm made their first contribution in #94

Full Changelog: v0.2.1...v0.2.2

v0.2.1

25 Jul 15:11
9494cfa
Compare
Choose a tag to compare

You can now reference external types (like github.com/google/uuid.UUID extremely simply within x-go-type, and also alias those!)

Excellent work @tiehm, sorry for the git mess 💀

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

23 Jul 16:05
e7fa6cd
Compare
Choose a tag to compare

Huge thanks to all new contributors (and existing ones too 👀).

Notable change are the generated handler's signature, which now return a *Response directly, better error handling on our part, and default errors respecting content-type!

What's Changed

New Contributors

Full Changelog: v0.1.1...v0.2.0

v0.1.0: Initial Server Release

01 Nov 14:59
b9ac6df
Compare
Choose a tag to compare

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 :).