Skip to content

Releases: samchungy/zod-openapi

v2.1.0

01 May 09:32
3a07822
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v2.0.0...v2.1.0

v2.0.0

30 Apr 11:34
96279b1
Compare
Choose a tag to compare

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

30 Apr 11:16
f990714
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

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

29 Apr 04:40
9ef51ea
Compare
Choose a tag to compare

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

26 Apr 00:47
003a0bc
Compare
Choose a tag to compare

What's Changed

Other Changes

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

v1.0.0

25 Apr 14:03
380fbfd
Compare
Choose a tag to compare

What's Changed

Other Changes

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

v0.9.0

22 Apr 03:24
6c70cae
Compare
Choose a tag to compare

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

21 Apr 11:56
f1b0058
Compare
Choose a tag to compare

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

19 Apr 12:01
9dcd431
Compare
Choose a tag to compare

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

19 Apr 11:37
8e7efc7
Compare
Choose a tag to compare

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