Skip to content

Releases: chrishoermann/zod-prisma-types

3.1.6

15 Nov 09:21
Compare
Choose a tag to compare

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

14 Nov 07:40
Compare
Choose a tag to compare

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

11 Nov 09:12
66b86f9
Compare
Choose a tag to compare

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

10 Nov 21:08
Compare
Choose a tag to compare

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

10 Nov 20:30
6d6a98d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.1...v3.1.2

3.1.1

10 Nov 15:22
Compare
Choose a tag to compare

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

08 Nov 08:23
Compare
Choose a tag to compare

##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

07 Nov 20:15
Compare
Choose a tag to compare

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 now true 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

Full Changelog: v2.8.1...v3.0.0

2.8.1

21 Oct 14:51
Compare
Choose a tag to compare

What's changed

  • fixed problem with omit and comment as stated in #185

Full Changelog: v2.8.0...v2.8.1

2.8.0

21 Oct 14:27
Compare
Choose a tag to compare

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

Full Changelog: v2.7.13...v2.8.0