Releases: chrishoermann/zod-prisma-types
Releases · chrishoermann/zod-prisma-types
3.1.6
What's changed
- fixed missing check for Decimal in decimal js fields - see #212
Full Changelog: v3.1.5...v3.1.6
3.1.5
What's changed
- fixed wrong prisma import when Decimal is used in singleFileMode - issue #211
Full Changelog: v3.1.4...v3.1.5
3.1.4
What's Changed
- Add back missing conditional for “input type” barrel exports by @controversial in #209
Full Changelog: v3.1.3...v3.1.4
3.1.3
What's changed
- changed generation of imports in barrel files to use Set instead of array to prevent duplicate imports.
Full Changelog: v3.1.2...v3.1.3
3.1.2
What's Changed
- Fix hardcoded prisma client imports by @controversial in #207
New Contributors
- @controversial made their first contribution in #207
Full Changelog: v3.1.1...v3.1.2
3.1.1
What's changed
- updated docs with info about the necessity of 'strictNullChecks: true' in tsconfig to address latest bug reports
Full Changelog: v3.1.0...v3.1.1
3.1.0
##What's changed
- added
useTypeAssertion
to override type system in input and output types. This enables use of zod > 3.21.1. Use at your own risk.
Full Changelog: v3.0.0...v3.1.0
3.0.0
What's Changed
- MAYBE BREAKING: Revamped behavior of Json fields so it exactly matches prisma's types
- MAYBE BREAKING: Moved imports to the field level to prevent unused imports when using
validateWhereUniqueInputs
- MAYBE BREAKING:
validateWhereUniqueInputs
is nowtrue
by default - Fixed decimal issue - #116
- Fixed issue when using nested structures containing .array() in a
.custom.use()
block - #199 - Fixed Typos and Grammatical error in Readme.md by @JanumalaAkhilendra in #198
- Fixed Typos in Readme.md by @JanumalaAkhilendra in #201
New Contributors
- @JanumalaAkhilendra made their first contribution in #198
Full Changelog: v2.8.1...v3.0.0
2.8.1
What's changed
- fixed problem with omit and comment as stated in #185
Full Changelog: v2.8.0...v2.8.1
2.8.0
What's Changed
- Added support for custom error messages on model schema
- Added support for schema and object validators on model schemas
- Remove typo by @omimakhare in #194
New Contributors
- @omimakhare made their first contribution in #194
Full Changelog: v2.7.13...v2.8.0