Bump @prisma/client from 6.1.0 to 6.2.0
Bumps @prisma/client from 6.1.0 to 6.2.0.
Release notes
Sourced from @prisma/client
's releases.
6.2.0
Today we're releasing Prisma ORM version 6.2.0
🎉
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release.🌟 We have a number of new features in this version, including support for
json
andenum
fields in SQLite, a newupdateManyAndReturn
function, support for ULID values, as well as the promotion of theomit
feature from Preview to Generally Availability.Highlights
Excluding fields via
omit
is now production-readyOur number one requested feature is out of Preview and Generally Available. In 6.2.0, you no longer need to add
omitApi
to your list of Preview features:generator client { provider = "prisma-client-js" - previewFeatures = ["omitApi"] }
As a refresher:
omit
allows you to exclude certain fields from being returned in the results of your Prisma Client queries.You can either do this locally, on a per-query level:
const result = await prisma.user.findMany({ omit: { password: true, }, });
Or globally, to ensure a field is excluded from all queries of a certain model:
const prisma = new PrismaClient({ omit: { user: { password: true } } }) // The password field is excluded in all queries, including this one const user = await prisma.user.findUnique({ where: { id: 1 } })
For more information on
omit
, be sure to check our documentation.
json
andenum
fields in SQLite
... (truncated)
Commits
-
3b23a20
chore(deps): update engines to 6.2.0-14.4123509d24aa4dede1e864b46351bf2790323... -
6ea6991
chore(deps): update engines to 6.2.0-12.51db5cf11ad393407e86084764bced274b48b... -
425502f
fix: node 23 support (#25971) -
477375c
chore(deps): update engines to 6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7ba... -
c43e181
fix(client): allow "passing" across rpc boundary in cloudflare workers (#25914) -
0a4ef08
chore(deps): update engines to 6.2.0-6.cc0167b764494213f0e42d0867d48643c39c83... -
ebda0b9
fix(client): make nested omit types work (#25900) -
509b064
chore(deps): update engines to 6.2.0-4.3aa926082bfc4f57e60f2210df297fdfbc889a... -
e3e5568
feat: sqlite JSON support (#25871) -
3bfa4e8
chore(deps): update engines to 6.2.0-3.4c6d8d343e2dbeda778cbfe8e21548ab5201bf... - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts