Skip to content

Latest commit

 

History

History
447 lines (200 loc) · 17.2 KB

CHANGELOG.md

File metadata and controls

447 lines (200 loc) · 17.2 KB

11.2.0 (2021-04-16)

Features

  • Alternative default import configuration (4ae1b82)
  • Apply custom decorators on models (34196b3)

11.1.0 (2021-04-07)

Features

Bug Fixes

  • Custom type for output types (c9ae9e9)

11.0.3 (2021-04-01)

Bug Fixes

11.0.2 (2021-03-31)

Bug Fixes

  • Emit metadata and enabled emitSingle cause TDZ issue (0d89d81), closes #16

11.0.1 (2021-03-31)

Bug Fixes

  • Source file already exists error (121a486)

11.0.0 (2021-03-31)

⚠ BREAKING CHANGES

  • Adapted to Prisma 2.20

Bug Fixes

10.3.0 (2021-03-29)

Features

  • Allow generate compiled files or merged to single file (095f975), closes #15

10.2.0 (2021-03-19)

Features

10.1.3 (2021-03-19)

Bug Fixes

  • Hide field for model type (54571d2)

10.1.2 (2021-03-17)

Bug Fixes

  • Re-export iteration process fail (bad1034)

10.1.1 (2021-03-17)

Bug Fixes

  • Added more keywords for detection model name (51c836e)

10.1.0 (2021-03-13)

Features

  • Allow to configure path to tsconfig.json (ead4411)
  • Validate outputFilePattern (3240a73)

Bug Fixes

  • Save files without intermediate layer (4a07bea)

Performance Improvements

  • Generation of inputs/outputs (4604160)

10.0.2 (2021-03-13)

Bug Fixes

  • Added more keywords for detection model name (51c836e)

10.0.1 (2021-03-04)

Bug Fixes

  • BigInt property type in lower (19ace4e)
  • Conflict with models ending with Output (a08d4c4), closes #10

10.0.0 (2021-03-01)

Bug Fixes

  • Generate correct json graphql type (c6d8d46)

  • Json type changed to Record<string, any> (2877be7)

  • Renamed config option (d989cfe)

  • refactor!: Renamed token in outputFilePattern template (95d4629)

  • refactor!: Removed renameZooTypes config option (71bfb68)

  • chore!: Renamed config option atomicNumberOperation to noAtomicOperations (6078eb9)

Code Refactoring

Features

  • Ability to hide field in schema (a222955), closes #8

Performance Improvements

BREAKING CHANGES

  • Renamed token {feature} to {model} in outputFilePattern template pattern
  • Removed renameZooTypes config option
  • Config option combineScalarFilters is false by default
  • Made all options which mutates/renames types are false
  • Inverted config option atomicNumberOperations to noAtomicNumberOperations Replace atomicNumberOperations = false by noAtomicNumberOperations = true

9.0.0 (2021-02-06)

Features

  • New option rename zoo types (04cb5af)

BREAKING CHANGES

  • Adapt generator to Prisma 2.16

8.0.0 (2021-01-27)

Bug Fixes

  • Typescript property type now same as graphql type (151d380)

BREAKING CHANGES

  • Typescript property type now same as graphql type

7.2.0 (2021-01-22)

Features

  • Adapted generator to Prisma 2.15 (77b87a6)

7.1.0 (2021-01-07)

Features

  • Adapted generator to Prisma 2.14 (26a23c4)
  • Export all classes from one file (92ca651), closes #5

7.0.0 (2021-01-04)

Bug Fixes

  • Type mismatch between prisma types (b5587cd), closes #4

BREAKING CHANGES

  • Generated types tries to be compatible with Prisma types, nullability (optional/required) changed for input types

6.0.2 (2020-12-23)

Bug Fixes

  • Custom field types array (ead56a4)
  • Generate another commented class (cc08dee)

6.0.1 (2020-12-12)

Bug Fixes

  • Remove unused imports in generated files (96ef374)

6.0.0 (2020-12-12)

Bug Fixes

  • prisma: Adapt generator to Prisma v2.13 (d1ae8b1)

BREAKING CHANGES

  • prisma: Adapt generator to Prisma v2.13

5.1.1 (2020-12-07)

Bug Fixes

  • Remove duplicated input types (53d5721)

5.1.0 (2020-12-03)

Features

  • Generate commented class if re-export found (dc3e268)

5.0.1 (2020-12-01)

Bug Fixes

  • Scalar filters compatibility (02acba8)

5.0.0 (2020-12-01)

Bug Fixes

  • Switched to replace mode (d04c3ef)

BREAKING CHANGES

  • Switched to replace mode generation of files, all extra field which are not exists in model will be removed

4.0.1 (2020-11-27)

Bug Fixes

  • Do not generate undefined properties (c7127a4)

Performance Improvements

4.0.0 (2020-11-27)

Bug Fixes

  • Generator options: dasherizedName renamed to name (c537340)

Features

  • New token {plural.type} for outputFilePattern generator options (51cc938)

BREAKING CHANGES

  • Generator options: dasherizedName renamed to name

3.0.0 (2020-11-26)

Bug Fixes

BREAKING CHANGES

  • Adapted to prisma 2.12

2.1.0 (2020-11-20)

Bug Fixes

Features

  • Custom graphql field mapping (10fb039)
  • Custom property mapping (f8cc54d)

Performance Improvements

2.0.2 (2020-11-14)

Bug Fixes

  • Enum atomic operation are not processed (43a2506)

2.0.1 (2020-11-13)

Bug Fixes

  • Missing enum import type with enum filter object (a5356c3), closes #3

2.0.0 (2020-10-04)

Bug Fixes

  • Adapted generator to Prisma 2.8 (4ac4779)

BREAKING CHANGES

  • Adapted generator to Prisma 2.8

1.6.0 (2020-09-08)

Features

  • Generate other output types (55e5cd5)

1.5.0 (2020-09-07)

Features

1.4.0 (2020-09-04)

Features

  • Option to disable atomic number operations (3319ff9)

1.3.1 (2020-09-03)

Bug Fixes

1.3.0 (2020-08-30)

Features

  • Generate aggregate input types (66239bb)

1.2.0 (2020-08-29)

Bug Fixes

  • Detection property nullable type (2121885)

Features

  • Combine zoo of nested/nullable filters (20f965b)

1.1.4 (2020-08-22)

Bug Fixes

  • Generate enumerable filters (9f35c9a)

1.1.3 (2020-08-21)

Bug Fixes

  • Added new feature split keywords (e780043)

1.1.2 (2020-08-16)

Bug Fixes

  • Corrected scalar property type for where type (b9e5937)

1.1.1 (2020-08-16)

Bug Fixes

  • Generate distinct related enums with bound feature (d055e3b)
  • Removed unnecessary create enum from input type (e6774ab)

1.1.0 (2020-08-15)

Features

  • Generate JSON scalar type (82007d7)
  • Skip write stage for files with no changes (ecc2fb8)

1.0.0 (2020-08-10)

Features