- Chore: Update pothos packages of peerDependencies to v4
- Upgrade: Support to new versions of Pothos and Pothos Prisma Plugin (v4+) Thanks to hayes
- Chore: Update prisma to latest version 5.17.0
- Fix: Enables multiline comments and quotes in comments. It fixes: #69 and fixes #70.
- Chore: Update prisma to latest version 5.15.1
- Chore: remove global.builderImporter config from types and docs due to global.builderLocation. Fixes #68
- Feature: From now: new generations uses new version of @pothos/core to disable input normalization: hayes/pothos#1111. It fixes: #57.
- Chore/Example-Update: Update Pothos/Prisma/Others to latest versions
- Chore/Peer-deps: Remove @pothos/core exact version restriction
- Chore/Deps: Removing useless deps
- Upgrade: Update prisma to latest version
- Remove distinct from count prisma/prisma#4228
- Improve: Remove tokenizr dep
- Add tests for comments parser
- Upgrade: Update dependancies and peerDependancies
- Improve: Update prettier and eslint (to remove some conflicts)
- Chore: Eslint remove semicolon
- Feature: New option
config.crud.underscoreBetweenObjectVariableNames
change the generated variables from object.base.ts from something likeUserName
toUser_Name
. This avoids generated duplicated names in some cases. Fixes #58
- Fix: The builder path is incorrect in Windows #55
- Upgrade: Expand supports to new Prisma Version 5.1.1. Fixes #53 -Ignore fieldRefTypes at "generate inputs" to enable support of new prisma version
- Fix: Fix Typescript errors for non Pothos exposable fields ('String', 'Int', 'Float', 'Boolean'), like "BigInt" used as @id. Fixes: #45
- Replace exposes in generated object.base files with unified t.field
- Feature(Breaking Change): It is no longer necessary to define multiple "builderImporter". Now define in config.global.builderLocation the location of the builder, and all imports will be defined automatically.
- Feature: Break args apart to make code spliting better. Fixes #49
- Improve: Add config config.crud.mapIdFieldsToGraphqlId to allow disable Objects ID fields from being parsed to Graphql ID scalar.
- Improve: Add config config.inputs.mapIdFieldsToGraphqlId to allow parsing WhereUniqueInput ID fields to Graphql ID scalar.
- Improve: Input scalar some improves at parseValue
- Docs: Some docs improves based on #45
- Fix: correctly priorize list on inputs (generated again, code changes serves as an example)
- Fix: autocrud generating buggy updateMany mutations #37
- Added: Add simple mode to input generator #30
- Changed: Add modify permission step after build #34
- Changed: Objects now exports everything from CRUD, optionally disable on crud options.
- Changed: Augment/derive generated input types
- Changed: Fixed autocrud generating buggy deleteOne mutations #24
- Added: Global handle resolvers generated by crud. Wrap all queries/mutations to override args, run extra code in resolve function (ie: throw errors, logs), apply plugins, etc. #17 #18
- Added: Delete Output Dir Before Generate option to crud
- Added: Before/After option to global. Handle DMMF before and after generation.
- Changed: (Crud) possibility to exclude some files from generation #14
- Changed: (Autocrud) now can only run generated files (before can run not generated files)
- Changed: (Autocrud) now works by running only generated files (i.e. files excluded from generation don't need to be excluded from autocrud)
- Changed: (Crud) Named exports in all indexes (Support for Nextjs) #15
- Changed: (Crud) objects.ts no longer exports everything from within models. This will avoid growing the object file too much when changing to export variables named in model indexes.
- Changed: Support newer version of @pothos/plugin-prisma and add disclaimer. Thanks to saphewilliam
- Changed: Object field scalar array as pothos array #12
- Changed: Distinct at queries is always uppercase #11
- Changed: Now writing files is asynchronous
- Changed: Now TS compiler uses
"newLine": "lf"