v0.22.0-alpha.0
Pre-release
Pre-release
What's Changed
This is a pretty significant release, with two larger features:
- Support for Zod V4, whilst retaining support for Zod V3
- Support for projects using ESM, and use
import typewhere possible
As such it's being made available as an alpha release for further regression testing: https://www.npmjs.com/package/@nahkies/openapi-code-generator/v/0.22.0-alpha.0
Aside from this, we've made efforts to improve supply chain security 🔒
- Adopted trusted publishers / Github Actions to publish releases
- Added a minimum release age of 7 days for dependencies
- Removed unmaintained dependency
As well as improving the CI setup to run integration and e2e tests across more variants to reduce risk of regressions.
⚠️ Breaking Changes
--schema-builderdefaults tozod-v4--schema-builderno longer acceptszod, you must specify eitherzod-v3orzod-v4as required for your project
Full details:
- feat: set minimumReleaseAge of 7 days by @mnahkies in #363
- chore: update biome by @mnahkies in #364
- chore: upgrade documentation related dependencies by @mnahkies in #365
- refactor: avoid dependency on concrete schema builders by @mnahkies in #367
- fix: integration tests pass with joi schema builder by @mnahkies in #368
- test: run integration for all schema builders by @mnahkies in #369
- fix: use nodejs built-in sourcemap support by @mnahkies in #370
- chore: update deps by @mnahkies in #371
- refactor: rename zod.ts -> zod-v3.ts by @mnahkies in #372
- feat!: support both zod v3 and zod v4 by @mnahkies in #366
- docs: fix example commands by @mnahkies in #373
- fix: use import type when possible by @mnahkies in #374
- fix: consistently use json5 by @mnahkies in #376
- fix: replace markdown-toc with remark-toc by @mnahkies in #377
- feat: support esm projects by @mnahkies in #375
- feat: adopt trusted publishers by @mnahkies in #378
- fix: avoid lerna reformatting lockfile by @mnahkies in #379
Full Changelog: v0.21.1...v0.22.0-alpha.0