Releases: chrishoermann/zod-prisma-types
Releases · chrishoermann/zod-prisma-types
3.1.8
What's Changed
- Fix template string not valid in
VALIDATOR_TYPE_REGEX
by @lambertkevin in #232 - Add export line inside code block by @martinc1991 in #220
- fix(generator): Nullability of JSON field is reversed by @nordowl in #240
New Contributors
- @lambertkevin made their first contribution in #232
- @martinc1991 made their first contribution in #220
- @nordowl made their first contribution in #240
Full Changelog: v3.1.7...v3.1.8
3.1.7
What's changed
- added support for prismas
createManyAndReturn
function that caused the error mentioned in #252
Full Changelog: v3.1.6...v3.1.7
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