Releases: samchungy/zod-openapi
Releases · samchungy/zod-openapi
v2.1.0
What's Changed
Other Changes
- Use
headers
key for response headers by @samchungy in #53
Full Changelog: v2.0.0...v2.1.0
v2.0.0
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 removeyaml
and subsequently theopenapi3-ts
library which also has a dependency onyaml
. The types of theopenapi3-ts
are still used and re-exported by this library albeit without the explicit dependency declaration. This means that thecreateDocumentYaml
andcreateDocumentJson
methods 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
yaml
library and to keep this library as lean and vulnerability free the decision was made to removeyaml
and subsequently theopenapi3-ts
library which also has a dependency onyaml
. The types of theopenapi3-ts
are still used albeit without the explicit dependency declaration. This means that thecreateDocumentYaml
andcreateDocumentJson
methods 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-ts
andyaml
versions 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-ts
from 4.0.4 to 4.1.2 by @dependabot in #40 - Bump
yaml
to 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
ref
field in the.openapi()
section of theZodSchema
or directly in the
components.
Other Changes
- Omit
effectType
from rendered schema by @samchungy in #23
Full Changelog: v0.6.0...v0.7.0