🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
Omit model fields globally
With Prisma ORM 5.16.0 we’re more than happy to announce that we’re expanding the omitApi Preview feature to also include the ability to omit fields globally.
When the Preview feature is enabled, you’re able to define fields to omit when instantiating Prisma Client.
const prisma = new PrismaClient({
omit: {
user: {
// make sure that password is never queried.
password: true,
},
},
});
You’re also able to omit fields from multiple models and multiple fields from the same model
const prisma = new PrismaClient({
omit: {
user: {
// make sure that password and internalId are never queried.
password: true,
internalId: true,
},
post: {
secretkey: true,
},
},
});
With both local and global omit, you now have the flexibility to completely remove sensitive fields while also tailoring individual queries. If you need the ability to generally omit a field except in a specific query, you can also overwrite a global omit locally
</tr></table>
... (truncated)
Commits
c26bbfe fix(client): restore loading .env files in @prisma/client (#24649)
1d34b5b chore(deps): update engines to 5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13...
d433bb7 feat(client): provide a workaround for Vitest's struggles with "getQueryEngin...
65e17a0 chore(deps): update engines to 5.16.0-23.d56fe2ee624826f693e591a3035694073d17...
c64e77f chore(deps): update engines to 5.16.0-21.9f3337c21c619aa48465f3766f6466c74ec7...
6a6646c fix(cli): Always resolve output relatively to a file it defined in (#24598)
617042d chore(deps): update engines to 5.16.0-20.bd07760d57443d11e2a958fd18bf524bbac1...
a1121f1 chore(deps): update dependency @swc/core to v1.6.3 (#24546)
dbad2af chore(deps): update dependency wrangler to v3.61.0 (#24578)
8808e17 feat(client): Implement global omit configuration (#24513)
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
Omit model fields globally
With Prisma ORM 5.16.0 we’re more than happy to announce that we’re expanding the omitApi Preview feature to also include the ability to omit fields globally.
When the Preview feature is enabled, you’re able to define fields to omit when instantiating Prisma Client.
const prisma = new PrismaClient({
omit: {
user: {
// make sure that password is never queried.
password: true,
},
},
});
You’re also able to omit fields from multiple models and multiple fields from the same model
const prisma = new PrismaClient({
omit: {
user: {
// make sure that password and internalId are never queried.
password: true,
internalId: true,
},
post: {
secretkey: true,
},
},
});
With both local and global omit, you now have the flexibility to completely remove sensitive fields while also tailoring individual queries. If you need the ability to generally omit a field except in a specific query, you can also overwrite a global omit locally
</tr></table>
... (truncated)
Commits
61c901b feat(cli): use new login endpoint for optimize (#24570)
13172c2 feat(prismaSchemaFolder): Resolve paths in datasource blocks relative to the ...
6a6646c fix(cli): Always resolve output relatively to a file it defined in (#24598)
a1121f1 chore(deps): update dependency @swc/core to v1.6.3 (#24546)
336555d chore(deps): update dependency ts-pattern to v5.2.0 (#24518)
59a7419 chore(deps): update studio to v0.502.0 (#24534)
9b7c5cc chore(deps): update dependency esbuild to v0.21.5 (#24502)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor-and-patch group with 14 updates in the / directory:
5.15.1
5.16.1
16.8.1
16.9.0
3.2.1
3.4.4
3.0.1
3.4.2
4.24.5
4.24.7
5.15.1
5.16.1
10.4.16
10.4.19
4.6.0
4.12.10
7.2.1
7.4.2
3.0.4
3.0.7
8.4.31
8.4.38
3.4.1
3.4.4
10.9.1
10.9.2
5.1.6
5.5.2
Updates
@prisma/client
from 5.15.1 to 5.16.1Release notes
Sourced from
@prisma/client
's releases.... (truncated)
Commits
c26bbfe
fix(client): restore loading.env
files in@prisma/client
(#24649)1d34b5b
chore(deps): update engines to 5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13...d433bb7
feat(client): provide a workaround for Vitest's struggles with "getQueryEngin...65e17a0
chore(deps): update engines to 5.16.0-23.d56fe2ee624826f693e591a3035694073d17...c64e77f
chore(deps): update engines to 5.16.0-21.9f3337c21c619aa48465f3766f6466c74ec7...6a6646c
fix(cli): Always resolveoutput
relatively to a file it defined in (#24598)617042d
chore(deps): update engines to 5.16.0-20.bd07760d57443d11e2a958fd18bf524bbac1...a1121f1
chore(deps): update dependency@swc/core
to v1.6.3 (#24546)dbad2af
chore(deps): update dependency wrangler to v3.61.0 (#24578)8808e17
feat(client): Implement globalomit
configuration (#24513)Updates
graphql
from 16.8.1 to 16.9.0Release notes
Sourced from graphql's releases.
Commits
556a01e
16.9.06a1614c
backport[v16]: Enable passing values configuration to GraphQLEnumType as a th...29144f7
backport[v16]: Implement OneOf Input Objects via@oneOf
directive (#4124)c35130e
Revert error extension symbol (#4123)29c1bff
feat: allow defining symbol error extensions (#3730)c985c27
backport[v16]: Introduce "recommended" validation rules (#4119)08779a0
16.8.2c82609e
Fix publish scripts (#4104)0d12b06
fix: removeglobalThis
check and align with what bundlers can accept (#4022)Maintainer changes
This version was pushed to npm by benjie, a new releaser for graphql since your current version.
Updates
luxon
from 3.2.1 to 3.4.4Changelog
Sourced from luxon's changelog.
Commits
825b77a
bump to 3.4.4cd1730f
Bump@babel/traverse
from 7.20.10 to 7.23.2 (#1528)eefe64e
Add custom inspect for node without depedency (#1526)8ef0828
Improve Duration#toHuman docblock (#1534)c8a8fa2
Fix Interval.splitAt datetime sorting (#1524)1b8679e
Implement localized week information (#1454)5ea19fb
Fix docstring example reference typo (#1507)35a50c2
bump to 3.4.3e3c4004
Fix Duration#normalize, shiftTo and shiftToAll (#1498)8eff275
bump to 3.4.2Updates
@types/luxon
from 3.0.1 to 3.4.2Commits
Updates
next-auth
from 4.24.5 to 4.24.7Commits
e67a1eb
chore(release): bump version [skip ci]4882624
chore(deps): bump jose (#10240)7d96ca4
chore(release): bump version [skip ci]2072750
chore: update v4 branch with latest clerk sponsorship (#9828)9296222
docs: update github.md app permissions (#7778)851704e
docs: update errors.md - add JWEDecryptionError (#7855)3681b7a
docs: fix the link to Yandex provider options in yandex.md (#9677)cf94d5f
docs: improve color contrastc8edf2d
docs: added callout re getServerSession nextjs.md (#8964)9676afb
docs: typo ininitialization.md
(#9449)Updates
prisma
from 5.15.1 to 5.16.1Release notes
Sourced from prisma's releases.
... (truncated)
Commits
61c901b
feat(cli): use new login endpoint for optimize (#24570)13172c2
feat(prismaSchemaFolder): Resolve paths in datasource blocks relative to the ...6a6646c
fix(cli): Always resolveoutput
relatively to a file it defined in (#24598)a1121f1
chore(deps): update dependency@swc/core
to v1.6.3 (#24546)336555d
chore(deps): update dependency ts-pattern to v5.2.0 (#24518)59a7419
chore(deps): update studio to v0.502.0 (#24534)9b7c5cc
chore(deps): update dependency esbuild to v0.21.5 (#24502)f0a3fa1
chore(deps): update devdependencies patch (non-major) (#24504)a59dc6f
feat(cli):generate
, add--no-hint
argument (#24274)317dd04
fix(cli):Generate
should not fail on postinstall, even with no schema (#24...Updates
@types/luxon
from 3.0.1 to 3.4.2Commits
Updates
autoprefixer
from 10.4.16 to 10.4.19Release notes
Sourced from autoprefixer's releases.
Changelog
Sourced from autoprefixer's changelog.
Commits
8060e33
Release 10.4.19 versionfe7bae4
Remove end→flex-end warning5f6f362
Update dependencies13a86df
Move to flat ESLint configb3e0579
Update dependencies90dc18d
Release 10.4.18 version0af1be8
Update dependencies1efe165
Update c8 config80ff109
Add Node.js 21 to CI5e5d193
Automate release creationUpdates
daisyui
from 4.6.0 to 4.12.10Release notes
Sourced from daisyui's releases.
... (truncated)
Changelog
Sourced from daisyui's changelog.
... (truncated)
Commits
aaccf58
chore(release): 4.12.10da94f2c
fix: join spacing adapting to button border width62c642a
Update src/docs/.env5755214
chore(release): 4.12.9fade326
fix: missing type forthemeRoot
configc05d796
docs: improve theme generatore50918d
Update src/docs/.env7160e6c
chore(release): 4.12.892d98ed
fix: decrease default scrollbar color contrast using color-mix1c2fbe2
Update src/docs/.envUpdates
dotenv-cli
from 7.2.1 to 7.4.2Release notes
Sourced from dotenv-cli's releases.
Commits
40728f3
7.4.2ed62fc7
7.4.1e794d3e
fix: assignment to const4fc25ee
v7.4.0b4314ea
fix: Allow Whitespace in CLI Variable Values (#105)052cb84
docs: encourage use of -- as default practice (#103)89d021b
docs: update override example (#95)fffba71
v7.3.016bce97
Bump dotenv to 16.3 or greater (#94)c544148
fix: throw error when cascade and override are used together (#93)Updates
jest-mock-extended
from 3.0.4 to 3.0.7Release notes
Sourced from jest-mock-extended's releases.
Commits
434ab4d
bump version - remove console.253eb68
Merge pull request #133 from Beraliv/build/ts-essentials-101db4b0b
build: 📦 use ts-essentials@1077a64ae
Merge pull request #131 from timdavish/fix/ts-essentials-version3725c37
fix: ts-essentials versioncc9a485
bump version23279af
Merge pull request #123 from millsp/perf/types/deep-mock7cb9815
make it work with private propertiesf08bf16
perf(types): prevent immediate deep and circular resolution for deep mock1860950
bump versionUpdates
postcss
from 8.4.31 to 8.4.38Release notes
Sourced from postcss's releases.
Changelog
Sourced from postcss's changelog.
Commits
a69d45e
Release 8.4.38 version64e35d9
Update dependenciesc1ad8fb
Merge pull request #1932 from romainmenke/fix-warning-end-index--inventive-nu...b45e7e9
fix endIndex1bea246
failing test: for endIndex 0 in rangeBy0fd1d86
Add changelog auto release on Github49c906e
Release 8.4.37 versionb5bd92c
Fix another broken prev source map issue2882039
Update dependenciese5ad939
Release 8.4.36 versionUpdates
tailwindcss
from 3.4.1 to 3.4.4Release notes
Sourced from tailwindcss's releases.
Changelog
Sourced from tailwindcss's changelog.
Commits
ff6f085
3.4.4ed024ee
Update changelog325e7c0
Bump deps (#13797)56116b0
Update browserslist database (#13792)8d66d94
[v3] Support negative values for{col,row}-{start,end}
utilities (#13781)669109e
Don't prefix classes in arbitrary values ofhas-*
,group-has-*
, and `peer...9fda461
Fix multiple <alpha-value> in color definitions (#13740)f1f419a
3.4.3e6c1082
Revert changes to glob handling (#13384)8430d8b
3.4.2Updates
ts-node
from 10.9.1 to 10.9.2Release notes
Sourced from ts-node's releases.
Commits
057ac1b
10.9.2c8805d5
Update package lock99862f7
Bump swc dependencycdc4e88
Ignore test files in build schema08cdfb0
Backport swc fixes on main9639daa
Ignore test files in buildcc1a503
Fixtsconfig.json
not found with TS >= 5.3 (#2091)Updates
typescript
from 5.1.6 to 5.5.2Release notes
Sourced from typescript's releases.
... (truncated)
Commits
ce2e60e
Update LKGf3b21a2
🤖 Pick PR #58931 (Defer creation of barebonesLibSourc...) into release-5.5 (#...7b1620b
🤖 Pick PR #58811 (fix(58801): "Move to file" on globa...) into release-5.5 (#...5367ae1
Bump version to 5.5.2 and LKG02132e5
🤖 Pick PR #58895 (Fix global when typescript.js loade...) into release-5.5 (#...45b1e3c
🤖 Pick PR #58872 (Fix declaration emit crash) into release-5.5 (#58874)17933ee
🤖 Pick PR #58810 (Fixed declaration emit issue relate...) into release-5.5 (#...552b07e
🤖 Pick PR #58786 (Fixed declaration emit crash relate...) into release-5.5 (#...39c9eeb
Pick #58857 to release-5.5 (#58858)2b0009c
🤖 Pick PR #58846 (Ensure the updates with crashes rev...) into release-5.5 (#...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show