After migrating to 3.0.1 - the console started sho...
# prisma-client
a
After migrating to 3.0.1 - the console started showing this line:
Copy code
✔ Generated Prisma Client (3.0.1) to ./node_modules/@prisma/client in 230ms
You can now start using Prisma Client in your code. Reference: <https://pris.ly/d/client>
import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient()
Copy code
warn Prisma 2.12.0 has breaking changes.
You can update your code with
`npx @prisma/codemods update-2.12 ./`
Read more at <https://pris.ly/2.12>
I’m mostly concerned about
Prisma 2.12.0 has breaking changes
anyone knows the reason/solution for this?
Copy code
prisma                  : 3.0.1
@prisma/client          : 3.0.1
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/libquery_engine-darwin.dylib.node)
Migration Engine        : migration-engine-cli 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 2452cc6313d52b8b9a96999ac0e974d0aedf88db
Studio                  : 0.423.0
Preview Features        : filterJson, interactiveTransactions
r
Which version did you migrate from?
a
2.29.1
we were also using 2.30.x on a separate branch - haven’t seen this message
r
Strange. Let me upgrade and check.
a
Copy code
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["filterJson", "interactiveTransactions"]
}
this is our header of schema.prisma file rest of the code - nothing extraordinary (we’re not even using aggregations atm)
r
Unfortunately couldn’t reproduce. I’m not getting this message on upgrading. Is there any other place where Prisma is being used?
a
only within the app + seed.ts file do you know the conditions when this message is shown?
r
Only for upgrading from
2.12.0
. Seeding also doesn’t show me this message. If you can reproduce this separately, then feel free to create an issue here 🙂