Skip to content

Releases: arthurfiorette/prisma-json-types-generator

v3.0.4

17 Feb 14:45
3ae66f2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.3...v3.0.4

v3.0.3

01 Nov 18:44
5e5b3e7
Compare
Choose a tag to compare

Important Changes

  • updated dependencies
  • fix: allow to push single items in arrays by @Yarmeli in #182

New Contributors

Full Changelog: v3.0.2...v3.0.3

v3.0.2

09 Oct 13:56
532f2a9
Compare
Choose a tag to compare

Important Changes

  • Correct generation when dealing with dots in the path in #166.

Full Changelog: v3.0.1...v3.0.2

v3.0.1

08 Sep 05:28
Compare
Choose a tag to compare

Important changes

  • More descriptive namespace generation. (#143)

Full Changelog: v3.0.0...v3.0.1

v3.0.0

02 Sep 21:08
Compare
Choose a tag to compare

Breaking changes!

  • Removed support for prisma v4 and added support for prisma v5. (#131)

Important changes

  • Added typescript to peer dependencies. (#106) Thanks @thibaultleouay
  • Prisma V5 support (#131) Thanks @janpio, @cpojer, @stonexer, @elijaholmos and @OmarBish
  • Added multiple test suites to catch multiple edge cases
  • Added allowAny to convert untyped json from any to unknown.
  • Added literal type annotations with /// ![T] syntax
  • Migrated to partial generation to keep this generator useful even if some types errors out.
  • Oficial support to all databases.

v3.0.0-beta.1

13 Aug 00:19
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Tracking: #131

  • Better testing with tsd
  • #103
    • Normal usage
    • Preview features
    • Strings for type literals
    • Enum support
    • More types?
  • #112
    • Added allowAny option
  • #117
    • Support with ![<literal>] syntax
    • Testing with Json? and Json[] types.
  • Removed unused async code.
  • Better error handling & support to partial generation.
  • README rewrite (Help wanted here 😅)
    • Normal usage
    • Arrays and optional
    • Literal types
    • Configuration example
    • Fix types

v2.5.0

20 Jun 19:00
Compare
Choose a tag to compare

Important Changes

  • Add docs to clarify usage and monorepo setup (#72). Thanks @AndrewSouthpaw
  • Added prisma-json-types-generator: prefix to all errors to clarify where the error happened. (177a4f0)
  • Added prisma to peer dependencies to prevent unwanted versions being used. (c737349)
  • Fixed type reference errors (#75).
  • Native support to clientExtensions and Prisma 4.16.0. (#91)
  • Added ts-ignore to supress warnings when types aren't used. (7c01c36)

New Contributors

Full Changelog: v2.4.0...v2.5.0

v2.4.0

04 May 00:58
Compare
Choose a tag to compare

Features

  • Added useType (#64)

What's Changed

  • build(deps-dev): bump @types/node from 18.15.11 to 18.15.13 by @dependabot in #56
  • build(deps-dev): bump typescript from 4.9.5 to 5.0.4 by @dependabot in #52
  • build(deps-dev): bump prettier from 2.8.7 to 2.8.8 by @dependabot in #57
  • build(deps-dev): bump @types/node from 18.15.13 to 18.16.2 by @dependabot in #61
  • build(deps-dev): bump @types/node from 18.16.2 to 18.16.3 by @dependabot in #63

Full Changelog: v2.3.1...v2.4.0

v2.3.1

30 Mar 18:25
Compare
Choose a tag to compare

What's Changed

  • fix: support deeper relative paths by @jackall3n in #46
  • build(deps-dev): bump prettier from 2.8.4 to 2.8.7 by @dependabot in #48
  • build(deps-dev): bump @types/node from 18.15.3 to 18.15.11 by @dependabot in #50

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

20 Mar 12:55
Compare
Choose a tag to compare

Important Changes

  • Support for converting string fields to discriminated unions/enums (#34) (Suuuper thanks @noahsark769)

What's Changed

  • build(deps-dev): bump @types/node from 18.13.0 to 18.15.1 by @dependabot in #33
  • build(deps-dev): bump @types/node from 18.15.1 to 18.15.3 by @dependabot in #35

Full Changelog: v2.2.3...v2.3.0