v5.1.0
·
88 commits
to refs/heads/main
since this release
I'm excited to release nestjs-zod v5.1.0, which comes with several new features, including support for zod codecs. It also fixes several long-standing bugs.
This release is also sponsored by apisandbox.dev
If you sponsor @BenLorantfy (that's me) on GitHub for even $1 / month, you'll get a free subscription to apisandbox.dev, and support an aspiring independent open source developer. If you or your organization uses nestjs-zod, please consider sponsoring me to ensure your critical dependency continues to remain professionally maintained 🙏 ❤️
🚀 New Features
- ⭐ Add support for codecs #209 ⭐ (@BenLorantfy)
- Add
strictSchemaDeclarationoption tocreateZodValidationPipe#162 (@Simon-Hayden-Dev) - Add
createZodSerializerInterceptorfunction and allow passingreportInputto parse params #225 (@BenLorantfy) - Add support for
titlemetadata #217 (@rodrigowbazevedo)
🐛 Bug fixes
- Add ESM entry point to resolve globalRegistry mismatch #210 (@Duske)
- Fix optional nested query params #228 (@BenLorantfy)
- Use deepObject style by default for object query params #226 (@BenLorantfy)
- Fix issue #220 regarding errors with nested named schemas #219 (@BenLorantfy)
- Use
enuminstead ofconstfor OpenAPI 3.0 #199 (@BenLorantfy) - Fix issue where serialization was skipped when a primitive was returned #198 (@BenLorantfy)