21.1.0 (2025-01-25)
- Add generator option for custom import for
emitSingle
(46fed69)
21.0.2 (2025-01-19)
- Change generated enum type to ticked style (2a0fe84)
21.0.1 (2025-01-18)
- New names when
combineScalarFilters
enabled (88862bd)
21.0.0 (2025-01-18)
- Prisma 6
- Cannot find model by name (c69a10b), closes #228
- Change
Bytes
generated type toUint8Array
(de3f17c)
- Update dependencies (87cabfd)
20.1.0 (2025-01-18)
- Support @Field() option 'complexity' through comment line (ef8c327)
20.0.3 (2024-05-19)
20.0.2 (2023-12-17)
20.0.1 (2023-12-17)
- Dummy bump (a161650)
20.0.0 (2023-12-15)
- Bump version
- Bump version (3267147)
19.3.1 (2023-12-15)
- Re-release 1.9.3 (a52f31d)
19.3.1 (2023-12-15)
- Re-release 1.9.3 (a52f31d)
19.3.0 (2023-11-25)
- add the prisma client import option (00c81d5)
19.2.0 (2023-09-23)
19.1.0 (2023-09-19)
- Add options to generate only selected blocks (cabe9bd)
19.0.1 (2023-08-04)
19.0.0 (2023-07-24)
- Update packages
- Update packages (7e640a7)
18.1.2 (2023-07-24)
- Combine scalars option with nullable relation filter (471c405)
- Compatibility Issues with Prisma 5 (1e1bee3), closes #179
- Emit single with Prisma type (94df9cf)
- More precise get model name (96323c1)
18.1.1 (2023-07-21)
- Fix in getModelName helper (190ab33)
18.1.0 (2023-07-04)
18.0.2 (2023-05-09)
18.0.1 (2023-05-09)
- Select input type from multiple options (81aeb02)
18.0.0 (2023-04-02)
- Require
@prisma/client
v4.12+ - Must be used with optional dependency
prisma-graphql-type-decimal
v3.0.0+
17.1.0 (2022-12-31)
- Allow hide property using decorate in config (b83beeb)
17.0.3 (2022-12-14)
- Combine scalar filters with
fieldReference
(1f1ef9c), closes #148 - combine scalars: Bytes filter (6b0a156)
- Detect graphql type (89a59cc), closes #148
17.0.2 (2022-11-20)
- Fix: Handle
FindUniq/First..OrThrowArgs
name (0419d0d) - Pin
ts-morph
to specific range (d076fe9), closes #146
17.0.1 (2022-08-29)
17.0.0 (2022-06-30)
- Update library to support to Prisma v4
16.0.1 (2022-05-23)
16.0.0 (2022-05-22)
- @Type decorator will be added to some input classes
- Create decimal value object (f368231), closes #113
- No atomic operations for scalar input list (e55767b)
15.3.3 (2022-05-22)
- No atomic operations for scalar input list (e55767b)
15.3.2 (2022-05-22)
- No atomic operations for scalar input list (d32b03c)
15.3.1 (2022-05-10)
15.3.0 (2022-05-06)
15.2.6 (2022-05-03)
15.2.5 (2022-05-02)
15.2.4 (2022-05-02)
- mongodb: Get matching input type from Json (e16cad0)
15.2.3 (2022-05-02)
15.2.2 (2022-04-12)
15.2.1 (2022-04-03)
15.2.0 (2022-03-26)
- Support reexport with custom output pattern (2786894)
15.1.1 (2022-03-21)
15.1.0 (2022-03-16)
- Use Prisma.Decimal typescript type (0395e5f)
15.0.0 (2022-03-15)
- other: defaults
input
andoutput
in PropertyType to false
- other: Makes proptype resolution behave like fieldtype (850018a)
14.7.1 (2022-03-12)
14.7.0 (2022-03-08)
14.6.2 (2022-02-20)
- Make fields in count output undefinable (8e3d85c)
14.6.1 (2021-11-25)
14.6.0 (2021-10-16)
- custom decorators: Allow attach
@Directive()
(d6faef0)
14.5.0 (2021-10-12)
14.4.1 (2021-10-05)
14.4.0 (2021-09-30)
14.3.0 (2021-09-28)
- require single uniq filter: New
requireSingleFieldsInWhereUniqueInput
generator setting (7ee73eb), closes #58
14.2.2 (2021-09-27)
14.2.1 (2021-09-24)
14.2.0 (2021-09-23)
- custom decorators: Abstract and rename type (eb68ca6), closes #40
- custom decorators: New
decorate
generator setting (c5e14b7), closes #48
14.0.1 (2021-09-07)
- Getting json nullable enum (d001714)
14.0.0 (2021-09-06)
- Configuration
useInputType
changed underlying library for pattern matching https://github.com/axtgr/outmatch, prefix renamed tomatch:
- Replace
matcher
byoutmatch
(fa7c003)
13.0.0 (2021-08-28)
- Removed deprecated setting
types_*
- Model is regenerating ignoring existing data, any manual changes will be discarded
- Enum is regerating now, any manual changes will be discarded
- Regenerate enum ignoring existing values (c581bc7), closes #45
- Regenerate model ignoring existing data (62ffd83), closes #45
- Removed deprecated setting
types_*
(3491398)
12.2.1 (2021-07-23)
- compatibility: Make model types compatible from both sides Prisma and GraphQL (c015f12), closes #41
- Get model name from
{Model}AggregateArgs
type (0703f7e)
12.2.0 (2021-07-06)
12.1.0 (2021-07-02)
12.0.3 (2021-06-05)
12.0.2 (2021-06-05)
12.0.1 (2021-05-22)
12.0.0 (2021-05-20)
- compatibility: Possible breaking change aggregation keywords use underscore as prefix to prevent field clashes
useInputType
config option allow to choose input type (54eeb1c)
11.4.5 (2021-05-13)
- Combine scalar filters on nullable list (8f306e8)
- Get graphql type for scalar list (97a1ae4), closes #30
11.4.4 (2021-05-11)
- custom decorators: Prevent applying on aggregate inputs (9b21970)
11.4.3 (2021-05-11)
11.4.2 (2021-05-11)
11.4.1 (2021-05-09)
11.4.0 (2021-04-28)
11.3.1 (2021-04-25)
11.3.0 (2021-04-25)
- @PropertyType() to replace types_ configuration (4a7313d)
- Model types mismatch (ffe70b6), closes #21
- Prisma client generator is optional (4ce28f1), closes #25
11.2.0 (2021-04-16)
11.1.0 (2021-04-07)
- Custom decorators (b14f0fe)
- Custom type for output types (c9ae9e9)
11.0.3 (2021-04-01)
11.0.2 (2021-03-31)
11.0.1 (2021-03-31)
- Source file already exists error (121a486)
11.0.0 (2021-03-31)
- Adapted to Prisma 2.20
10.3.0 (2021-03-29)
10.2.0 (2021-03-19)
- Extend
reExport
option (3d5475b)
10.1.3 (2021-03-19)
- Hide field for model type (54571d2)
10.1.2 (2021-03-17)
- Re-export iteration process fail (bad1034)
10.1.1 (2021-03-17)
- Added more keywords for detection model name (51c836e)
10.1.0 (2021-03-13)
- Save files without intermediate layer (4a07bea)
- Generation of inputs/outputs (4604160)
10.0.2 (2021-03-13)
- Added more keywords for detection model name (51c836e)
10.0.1 (2021-03-04)
- BigInt property type in lower (19ace4e)
- Conflict with models ending with
Output
(a08d4c4), closes #10
10.0.0 (2021-03-01)
-
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
tonoAtomicOperations
(6078eb9)
- Combine scalar filters (789cfeb)
- Slightly improved (fd88dc9)
- Renamed token
{feature}
to{model}
inoutputFilePattern
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
tonoAtomicNumberOperations
ReplaceatomicNumberOperations = false
bynoAtomicNumberOperations = true
9.0.0 (2021-02-06)
- New option rename zoo types (04cb5af)
- Adapt generator to Prisma 2.16
8.0.0 (2021-01-27)
- Typescript property type now same as graphql type (151d380)
- Typescript property type now same as graphql type
7.2.0 (2021-01-22)
- Adapted generator to Prisma 2.15 (77b87a6)
7.1.0 (2021-01-07)
7.0.0 (2021-01-04)
- Generated types tries to be compatible with Prisma types, nullability (optional/required) changed for input types
6.0.2 (2020-12-23)
6.0.1 (2020-12-12)
- Remove unused imports in generated files (96ef374)
6.0.0 (2020-12-12)
- prisma: Adapt generator to Prisma v2.13 (d1ae8b1)
- prisma: Adapt generator to Prisma v2.13
5.1.1 (2020-12-07)
- Remove duplicated input types (53d5721)
5.1.0 (2020-12-03)
- Generate commented class if re-export found (dc3e268)
5.0.1 (2020-12-01)
- Scalar filters compatibility (02acba8)
5.0.0 (2020-12-01)
- Switched to replace mode (d04c3ef)
- 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)
- Do not generate undefined properties (c7127a4)
- Removed unused code (da6dbc0)
4.0.0 (2020-11-27)
- Generator options: dasherizedName renamed to name (c537340)
- New token
{plural.type}
for outputFilePattern generator options (51cc938)
- Generator options: dasherizedName renamed to name
3.0.0 (2020-11-26)
- Adapted to prisma 2.12 (7e0ab3f)
- Adapted to prisma 2.12
2.1.0 (2020-11-20)
- Adapt new native types (f1ba6bc)
- Removed unused code (28f8784)
2.0.2 (2020-11-14)
- Enum atomic operation are not processed (43a2506)
2.0.1 (2020-11-13)
2.0.0 (2020-10-04)
- Adapted generator to Prisma 2.8 (4ac4779)
- Adapted generator to Prisma 2.8
1.6.0 (2020-09-08)
- Generate other output types (55e5cd5)
1.5.0 (2020-09-07)
- Generate args types (5015de7)
1.4.0 (2020-09-04)
- Option to disable atomic number operations (3319ff9)
1.3.1 (2020-09-03)
- Loading existing file (fc19a03)
1.3.0 (2020-08-30)
- Generate aggregate input types (66239bb)
1.2.0 (2020-08-29)
- Detection property nullable type (2121885)
- Combine zoo of nested/nullable filters (20f965b)
1.1.4 (2020-08-22)
- Generate enumerable filters (9f35c9a)
1.1.3 (2020-08-21)
- Added new feature split keywords (e780043)
1.1.2 (2020-08-16)
- Corrected scalar property type for where type (b9e5937)
1.1.1 (2020-08-16)
- Generate distinct related enums with bound feature (d055e3b)
- Removed unnecessary create enum from input type (e6774ab)
1.1.0 (2020-08-15)
- First release (340a105)