Skip to content

Releases: Cauen/prisma-generator-pothos-codegen

v0.7.1

08 Oct 12:26
Compare
Choose a tag to compare

0.7.1

  • Chore: Update pothos packages of peerDependencies to v4

v0.7.0

17 Jul 18:06
Compare
Choose a tag to compare

0.7.0

  • Upgrade: Support to new versions of Pothos and Pothos Prisma Plugin (v4+) Thanks to hayes
  • Chore: Update prisma to latest version 5.17.0

v0.6.5

21 Jun 23:52
Compare
Choose a tag to compare

0.6.5

  • 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

v0.6.4

22 Dec 22:46
Compare
Choose a tag to compare
  • 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

v0.6.3

09 Nov 19:48
Compare
Choose a tag to compare

0.6.3

  • 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 like UserName to User_Name. This avoids generated duplicated names in some cases. Fixes #58

v0.6.2

26 Sep 13:58
Compare
Choose a tag to compare

0.6.2

  • Fix: The builder path is incorrect in Windows #55

v0.6.1

26 Sep 13:58
Compare
Choose a tag to compare

0.6.1

  • Upgrade: Expand supports to new Prisma Version 5.1.1. Fixes #53
    -Ignore fieldRefTypes at "generate inputs" to enable support of new prisma version

v0.6.0

20 Aug 20:06
Compare
Choose a tag to compare

0.6.0

  • Fix: Fix Typescript errors for non Pothos exposable fields ('String', 'Int', 'Float', 'Boolean'), like "BigInt" used as "prisma 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

v0.5.9

20 Aug 15:04
Compare
Choose a tag to compare

0.5.9

  • 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. #50 Thanks to @hbendev

v0.5.8

23 Jun 21:09
Compare
Choose a tag to compare

0.5.8

  • Improve: Input scalar some improves at parseValue
  • Docs: Some docs improves based on #45

0.5.7

  • Fix: correctly priorize list on inputs (generated again, code changes serves as an example)

0.5.6

  • Fix: autocrud generating buggy updateMany mutations #37

0.5.5

  • Added: Add simple mode to input generator #30
  • Changed: Add modify permission step after build #34

0.5.4

  • Changed: Objects now exports everything from CRUD, optionally disable on crud options.

0.5.3

  • Changed: Augment/derive generated input types

0.5.2

  • Changed: Fixed autocrud generating buggy deleteOne mutations #24

0.5.1

  • 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