Skip to content

Releases: samchungy/zod-openapi

v2.0.0

Choose a tag to compare

@samchungy samchungy released this 30 Apr 11:34
96279b1

What's Changed

Breaking Changes 🛠

  • Remove All Dependencies by @samchungy in #47

    • In response to the recent Snyk vulnerability on the yaml library and to keep this library as lean and vulnerability free the decision was made to remove yaml and subsequently the openapi3-ts library which also has a dependency on yaml. The types of the openapi3-ts are still used and re-exported by this library albeit without the explicit dependency declaration. This means that the createDocumentYaml and createDocumentJson methods have been removed. These can be easily replicated in your projects.

Full Changelog: v1.0.2...v2.0.0

v2.0.0-beta.1

v2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@samchungy samchungy released this 30 Apr 11:16
f990714

What's Changed

Breaking Changes 🛠

  • Remove All Dependencies by @samchungy in #47

    • In response to the recent Snyk vulnerability on the yaml library and to keep this library as lean and vulnerability free the decision was made to remove yaml and subsequently the openapi3-ts library which also has a dependency on yaml. The types of the openapi3-ts are still used albeit without the explicit dependency declaration. This means that the createDocumentYaml and createDocumentJson methods have been removed. These can be easily replicated in your projects.

Full Changelog: v1.0.2...v2.0.0-beta.1

v1.0.2

Choose a tag to compare

@samchungy samchungy released this 29 Apr 04:40
9ef51ea

What's Changed

Other Changes

  • Allow discriminator mapping with manually registered components by @samchungy in #45

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@samchungy samchungy released this 26 Apr 00:47
003a0bc

What's Changed

Other Changes

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@samchungy samchungy released this 25 Apr 14:03
380fbfd

What's Changed

Other Changes

Full Changelog: v0.9.0...v1.0.0

v0.9.0

Choose a tag to compare

@samchungy samchungy released this 22 Apr 03:24
6c70cae

What's Changed

New Features 🎉

  • Allow manual parameters component registration by @samchungy in #33
  • Allow manual response header components registration by @samchungy in #34

Full Changelog: v0.8.0...v0.9.0

v0.8.0

Choose a tag to compare

@samchungy samchungy released this 21 Apr 11:56
f1b0058

What's Changed

New Features 🎉

  • Allow registering manual schema in any order by @samchungy in #31

Other Changes

  • Fix error handling with effectType across unions by @samchungy in #30

Full Changelog: v0.7.1...v0.8.0

v0.7.1

Choose a tag to compare

@samchungy samchungy released this 19 Apr 12:01
9dcd431

What's Changed

Other Changes

  • Preserves existing manually declared components by @samchungy in #26

Full Changelog: v0.7.0...v0.7.1

v0.7.0

Choose a tag to compare

@samchungy samchungy released this 19 Apr 11:37
8e7efc7

What's Changed

New Features 🎉

  • Support manual registering schema by @samchungy in #24

    You can now register schema using two methods. With a ref field in the .openapi() section of the ZodSchema or directly in the
    components.

Other Changes

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@samchungy samchungy released this 18 Apr 10:29
ea9bd44

What's Changed

New Features 🎉

Full Changelog: v0.5.2...v0.6.0