v2.19.0
What's Changed
New Features 🎉
-
This release addresses ESM/CJS and subpath type issues for this library but as a side-effect also contains some minor BREAKING CHANGES to the types. If you were previously importing types directly from a subpath, you will now need to import them directly from the lib. There should be effect on the runtime functionality of the library.
- import { ServerObject } from 'zod-openapi/lib-types/openapi3-ts/dist/oas31'; - declare const server: ServerObject; + import { oas31 } from 'zod-openapi + declare const server: oas31.ServerObject;
This change also omits some extraneous class and function types from the
openapi3-ts
types that this library re-exports.
Other Changes
- Publish with Crackle by @samchungy in #287
- Bump openapi3-ts from 4.3.2 to 4.3.3 by @dependabot in #284
- Optimise Types by @samchungy in #288
Full Changelog: v2.18.0...v2.19.0