Skip to content

Releases: arthurfiorette/prisma-json-types-generator

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

v2.2.3

19 Feb 22:08
Compare
Choose a tag to compare

Important Changes:

Full Changelog: v2.2.2...v2.2.3

v2.2.2

17 Feb 02:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.2

v2.2.0

30 Jan 13:06
Compare
Choose a tag to compare

Important changes

  • Support for client extensions (#12)

Full Changelog: v2.1.0...v2.2.0

v2.1.0

21 Jan 17:40
Compare
Choose a tag to compare

Important changes

  • Support for arrays and optional values
  • Fixed logs and removed @prisma/sdk deprecated package
  • Avoids global scope pollution

Full Changelog: v2.0.0...v2.1.0

v2.0.0

21 Jan 13:16
Compare
Choose a tag to compare

Important changes

  • PNPM support!
  • Migrated regex from /// @json("name") to /// [name].

What's Changed

  • build(deps): bump node-fetch and @prisma/sdk by @dependabot in #1
  • Add nullable case by @emroot in #3
  • build(deps-dev): bump prettier from 2.8.1 to 2.8.2 by @dependabot in #4
  • fix: wrong configuration for ´output´ target by @413n in #5
  • build(deps-dev): bump prettier from 2.8.2 to 2.8.3 by @dependabot in #9
  • build(deps): bump @prisma/generator-helper from 4.8.1 to 4.9.0 by @dependabot in #11
  • build(deps-dev): bump prisma from 4.8.1 to 4.9.0 by @dependabot in #10

New Contributors

Full Changelog: https://github.com/arthurfiorette/prisma-json-types-generator/commits/v2.0.0