Releases: samchungy/zod-openapi
Releases · samchungy/zod-openapi
Release list
v2.0.0
What's Changed
Breaking Changes 🛠
-
Remove All Dependencies by @samchungy in #47
- In response to the recent Snyk vulnerability on the
yamllibrary and to keep this library as lean and vulnerability free the decision was made to removeyamland subsequently theopenapi3-tslibrary which also has a dependency onyaml. The types of theopenapi3-tsare still used and re-exported by this library albeit without the explicit dependency declaration. This means that thecreateDocumentYamlandcreateDocumentJsonmethods have been removed. These can be easily replicated in your projects.
- In response to the recent Snyk vulnerability on the
Full Changelog: v1.0.2...v2.0.0
v2.0.0-beta.1
What's Changed
Breaking Changes 🛠
-
Remove All Dependencies by @samchungy in #47
- In response to the recent Snyk vulnerability on the
yamllibrary and to keep this library as lean and vulnerability free the decision was made to removeyamland subsequently theopenapi3-tslibrary which also has a dependency onyaml. The types of theopenapi3-tsare still used albeit without the explicit dependency declaration. This means that thecreateDocumentYamlandcreateDocumentJsonmethods have been removed. These can be easily replicated in your projects.
- In response to the recent Snyk vulnerability on the
Full Changelog: v1.0.2...v2.0.0-beta.1
v1.0.2
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
What's Changed
Other Changes
- Unpin
openapi3-tsandyamlversions by @samchungy in #43
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
Other Changes
- Add support for response components by @samchungy in #38
- Add support for request bodies components by @samchungy in #39
- Bump
openapi3-tsfrom 4.0.4 to 4.1.2 by @dependabot in #40 - Bump
yamlto 2.2.2 by @samchungy in #41
Full Changelog: v0.9.0...v1.0.0
v0.9.0
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
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
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
What's Changed
New Features 🎉
-
Support manual registering schema by @samchungy in #24
You can now register schema using two methods. With a
reffield in the.openapi()section of theZodSchemaor directly in the
components.
Other Changes
- Omit
effectTypefrom rendered schema by @samchungy in #23
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
New Features 🎉
- Add
ZodUnknownsupport by @samchungy in #21
Full Changelog: v0.5.2...v0.6.0