Changes
BREAKING: Go Client Rewrite
This version includes the rewritten Go client with many Go idiomatic API changes to the generated client prisma/prisma#3278
Make client connections lazy
This versions fixes a bug in all JS based Prisma client implementations that wouldn't allow a CLI app to close because client initiated long running connections eagerly. The fix makes the connection happen lazily.
Prisma init and generate workflow
This version makes a few changes to the init workflow:-
- The interactive prisma init wizard now invokes generate so that the client is already initially generated
- Changes the default path of output client in generated prisma.yml to
output: ./generated/prisma-client/ - Removes the post-deploy hook from generated prisma.yml file
Detect prisma.yml additionally in prisma/prisma.yml
This version looks for prisma.yml in three places (in order)
- prisma.yml in current directory
- prisma.yml in ./prisma/prisma.yml
- prisma.yml path from graphql config
The step 2 is added as a feature in this version.
BREAKING: Remove forwardTo from Prisma client
This version removes forwardTo from Prisma client. This feature relies on schema delegation and we recommend using prisma-binding for that.
Bugfixes
- #2887: Pagination was erroring when using id fields of type
UUID