nuxt/devtools (@nuxt/devtools)
### [`v1.3.7`](https://togithub.com/nuxt/devtools/blob/HEAD/CHANGELOG.md#137-2024-06-27)
[Compare Source](https://togithub.com/nuxt/devtools/compare/v1.3.6...v1.3.7)
##### Bug Fixes
- OpenGraph layout ([#685](https://togithub.com/nuxt/devtools/issues/685)) ([760f149](https://togithub.com/nuxt/devtools/commit/760f14920f5c02d1d88a43671795bef06afafa02))
- scrollable sidebar ([#682](https://togithub.com/nuxt/devtools/issues/682)) ([df459f9](https://togithub.com/nuxt/devtools/commit/df459f9057bd8122c85540c87a53489e5bf9826b))
- **server-routes:** unable to clear all params ([#684](https://togithub.com/nuxt/devtools/issues/684)) ([d88b003](https://togithub.com/nuxt/devtools/commit/d88b003fa244204b3c0c43b0cf250d790e4526f9))
##### Features
- use nuxt search api for showing docs ([#681](https://togithub.com/nuxt/devtools/issues/681)) ([52b6468](https://togithub.com/nuxt/devtools/commit/52b6468df31d65528fbc3f0e58d189265523e11c))
##### Performance Improvements
- use `npm-registry-fetch` instead of `pacote` to deduce the package size ([a049c52](https://togithub.com/nuxt/devtools/commit/a049c5204debe7efeb8420cde4cb6b0aa1559b3f))
prisma/prisma (@prisma/client)
### [`v5.16.1`](https://togithub.com/prisma/prisma/releases/tag/5.16.1)
[Compare Source](https://togithub.com/prisma/prisma/compare/5.16.0...5.16.1)
Today, we are issuing the 5.16.1 patch release to fix an issue in Prisma client.
#### Fix in Prisma Client
- [dotenv loading issue with PrismaClient ](https://togithub.com/prisma/prisma/issues/24634)
- [Prisma Seed Script Fails After Upgrading to v5.16.0 (DATABASE_URL Error)](https://togithub.com/prisma/prisma/issues/24658)
### [`v5.16.0`](https://togithub.com/prisma/prisma/releases/tag/5.16.0)
[Compare Source](https://togithub.com/prisma/prisma/compare/5.15.1...5.16.0)
🌟 **Help us spread the word about Prisma by starring the repo or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.16.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.16.0) 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.
```tsx
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
```tsx
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
```tsx
const prisma = new PrismaClient({
omit: {
user: {
// password is omitted globally.
password: true,
},
},
});
const userWithPassword = await prisma.user.findUnique({
omit: { password: false }, // omit now false, so password is returned
where: { id: 1 },
});
```
##### Changes to `prismaSchemaFolder`
In `5.15.0` we released the `prismaSchemaFolder` Preview feature, allowing you to create multiple Prisma Schema files in a `prisma/schema` directory. We’ve gotten [a lot of great feedback](https://togithub.com/prisma/prisma/discussions/24413) and are really excited with how the community has been using the feature.
To continue improving our multi-file schema support, **we have a few breaking changes** to the `prismaSchemaFolder` feature:
- When using relative paths in Prisma Schema files with the `prismaSchemaFolder` feature, a path is now relative to the file it is defined in rather than relative to the `prisma/schema` folder. This means that if you have a generator block in `/project/prisma/schema/config/generator.prisma` with an `output` of `./foo` the output will be resolved to `/project/prisma/schema/config/foo` rather than `/project/prisma/foo`. The path to a SQLite file will be resolved in the same manner.
- We realized that during migration many people would have `prisma/schema` as well as `prisma/schema.prisma`. Our initial implementation looked for a `.prisma` file first and would ignore the `schema` folder if it exists. This is now an error.
##### Changes to `fullTextSearch`
In order to improve our full-text search implementation **we have made a breaking change** to the `fullTextSearch` Preview feature.
Previously, when the feature was enabled we updated the `OrderByWithRelationInput` TypeScript type with the `OrderByWithRelationAndSearchRelevanceInput` type. However, we have noted that there are no cases where relational ordering is needed but search relevance is not. Thus, we have decided to remove the `OrderByWithRelationAndSearchRelevanceInput` naming and only use the `OrderByWithRelationInput` naming.
##### Fixes and improvements
##### Prisma
- [Wrong Parameterized Types Sent for SQL Server Queries](https://togithub.com/prisma/prisma/issues/17565)
- [`Prisma has no exported member named OrderByWithRelationInput. Did you mean OrderByWithAggregationInput?`](https://togithub.com/prisma/prisma/issues/21017)
- [\[Driver Adapters\]: missing provider compatibility validation](https://togithub.com/prisma/prisma/issues/21864)
- [Disable "Start using Prisma Client" hint logs on `prisma generate`](https://togithub.com/prisma/prisma/issues/22513)
- [Deploying prisma to CloudFlare pages using Nuxt/Nitro and node-postgres (pg) is using the wrong(vercel) wasm path](https://togithub.com/prisma/prisma/issues/23500)
- [`@prisma/adapter-pg` modifies node-postgres global type parsers](https://togithub.com/prisma/prisma/issues/23505)
- [@prisma/adapter-d1 is failing with an import error when called inside vitest tests](https://togithub.com/prisma/prisma/issues/23911)
- [`db pull` fails with `[libs\user-facing-errors\src\quaint.rs:136:18] internal error: entered unreachable code` on invalid credentials](https://togithub.com/prisma/prisma/issues/24268)
##### Language tools (e.g. VS Code)
- [Make prisma-fmt logs to work with language server](https://togithub.com/prisma/language-tools/issues/1193)
- [Spans and positions get shifted out of sync when schema includes multibyte characters](https://togithub.com/prisma/language-tools/issues/1308)
- [VSCode extension panics when opening an empty prisma schema](https://togithub.com/prisma/language-tools/issues/1760)
##### Prisma Engines
- [\[DA\] Planetscale engine tests: one2m_mix_required_writable_readable](https://togithub.com/prisma/prisma-engines/issues/4482)
- [\[DA\] Planetscale engine tests: apply_number_ops](https://togithub.com/prisma/prisma-engines/issues/4485)
##### Credits
Huge thanks to [@key-moon](https://togithub.com/key-moon), [@pranayat](https://togithub.com/pranayat), [@yubrot](https://togithub.com/yubrot), [@skyzh](https://togithub.com/skyzh), [@brian-dlee](https://togithub.com/brian-dlee), [@mydea](https://togithub.com/mydea), [@nickcarnival](https://togithub.com/nickcarnival), [@eruditmorina](https://togithub.com/eruditmorina), [@nzakas](https://togithub.com/nzakas), [@gutyerrez](https://togithub.com/gutyerrez), [@avallete](https://togithub.com/avallete), [@ceddy4395](https://togithub.com/ceddy4395), [@Kayoshi-dev](https://togithub.com/Kayoshi-dev), [@yehonatanz](https://togithub.com/yehonatanz) for helping!
eslint-stylistic/eslint-stylistic (@stylistic/eslint-plugin)
### [`v2.3.0`](https://togithub.com/eslint-stylistic/eslint-stylistic/blob/HEAD/CHANGELOG.md#230-2024-06-25)
[Compare Source](https://togithub.com/eslint-stylistic/eslint-stylistic/compare/v2.2.2...v2.3.0)
##### Features
- **js/array-element-newline:** options multiline and consistent combination ([#445](https://togithub.com/eslint-stylistic/eslint-stylistic/issues/445)) ([cfd3327](https://togithub.com/eslint-stylistic/eslint-stylistic/commit/cfd332766de15e9ab29e92c5048640a07f2f15bd))
- **ts:** add `object-curly-newline` and `object-property-newline` ([#444](https://togithub.com/eslint-stylistic/eslint-stylistic/issues/444)) ([036d3de](https://togithub.com/eslint-stylistic/eslint-stylistic/commit/036d3de3a02e86dde21b01369f98521571cd4273))
##### Bug Fixes
- **jsx-indent:** deprecate `jsx-indent` rule in favor of `indent` ([#447](https://togithub.com/eslint-stylistic/eslint-stylistic/issues/447)) ([57dd2e8](https://togithub.com/eslint-stylistic/eslint-stylistic/commit/57dd2e8b5927e6f9de019fff6e83cac4989de7ce))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^1.3.6
->^1.3.7
^5.15.1
->^5.16.1
^2.2.2
->^2.3.0
^20.14.8
->^20.14.9
^5.15.1
->^5.16.1
Release Notes
nuxt/devtools (@nuxt/devtools)
### [`v1.3.7`](https://togithub.com/nuxt/devtools/blob/HEAD/CHANGELOG.md#137-2024-06-27) [Compare Source](https://togithub.com/nuxt/devtools/compare/v1.3.6...v1.3.7) ##### Bug Fixes - OpenGraph layout ([#685](https://togithub.com/nuxt/devtools/issues/685)) ([760f149](https://togithub.com/nuxt/devtools/commit/760f14920f5c02d1d88a43671795bef06afafa02)) - scrollable sidebar ([#682](https://togithub.com/nuxt/devtools/issues/682)) ([df459f9](https://togithub.com/nuxt/devtools/commit/df459f9057bd8122c85540c87a53489e5bf9826b)) - **server-routes:** unable to clear all params ([#684](https://togithub.com/nuxt/devtools/issues/684)) ([d88b003](https://togithub.com/nuxt/devtools/commit/d88b003fa244204b3c0c43b0cf250d790e4526f9)) ##### Features - use nuxt search api for showing docs ([#681](https://togithub.com/nuxt/devtools/issues/681)) ([52b6468](https://togithub.com/nuxt/devtools/commit/52b6468df31d65528fbc3f0e58d189265523e11c)) ##### Performance Improvements - use `npm-registry-fetch` instead of `pacote` to deduce the package size ([a049c52](https://togithub.com/nuxt/devtools/commit/a049c5204debe7efeb8420cde4cb6b0aa1559b3f))prisma/prisma (@prisma/client)
### [`v5.16.1`](https://togithub.com/prisma/prisma/releases/tag/5.16.1) [Compare Source](https://togithub.com/prisma/prisma/compare/5.16.0...5.16.1) Today, we are issuing the 5.16.1 patch release to fix an issue in Prisma client. #### Fix in Prisma Client - [dotenv loading issue with PrismaClient ](https://togithub.com/prisma/prisma/issues/24634) - [Prisma Seed Script Fails After Upgrading to v5.16.0 (DATABASE_URL Error)](https://togithub.com/prisma/prisma/issues/24658) ### [`v5.16.0`](https://togithub.com/prisma/prisma/releases/tag/5.16.0) [Compare Source](https://togithub.com/prisma/prisma/compare/5.15.1...5.16.0) 🌟 **Help us spread the word about Prisma by starring the repo or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v5.16.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.16.0) 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. ```tsx 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 ```tsx 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 ```tsx const prisma = new PrismaClient({ omit: { user: { // password is omitted globally. password: true, }, }, }); const userWithPassword = await prisma.user.findUnique({ omit: { password: false }, // omit now false, so password is returned where: { id: 1 }, }); ``` ##### Changes to `prismaSchemaFolder` In `5.15.0` we released the `prismaSchemaFolder` Preview feature, allowing you to create multiple Prisma Schema files in a `prisma/schema` directory. We’ve gotten [a lot of great feedback](https://togithub.com/prisma/prisma/discussions/24413) and are really excited with how the community has been using the feature. To continue improving our multi-file schema support, **we have a few breaking changes** to the `prismaSchemaFolder` feature: - When using relative paths in Prisma Schema files with the `prismaSchemaFolder` feature, a path is now relative to the file it is defined in rather than relative to the `prisma/schema` folder. This means that if you have a generator block in `/project/prisma/schema/config/generator.prisma` with an `output` of `./foo` the output will be resolved to `/project/prisma/schema/config/foo` rather than `/project/prisma/foo`. The path to a SQLite file will be resolved in the same manner. - We realized that during migration many people would have `prisma/schema` as well as `prisma/schema.prisma`. Our initial implementation looked for a `.prisma` file first and would ignore the `schema` folder if it exists. This is now an error. ##### Changes to `fullTextSearch` In order to improve our full-text search implementation **we have made a breaking change** to the `fullTextSearch` Preview feature. Previously, when the feature was enabled we updated the `eslint-stylistic/eslint-stylistic (@stylistic/eslint-plugin)
### [`v2.3.0`](https://togithub.com/eslint-stylistic/eslint-stylistic/blob/HEAD/CHANGELOG.md#230-2024-06-25) [Compare Source](https://togithub.com/eslint-stylistic/eslint-stylistic/compare/v2.2.2...v2.3.0) ##### Features - **js/array-element-newline:** options multiline and consistent combination ([#445](https://togithub.com/eslint-stylistic/eslint-stylistic/issues/445)) ([cfd3327](https://togithub.com/eslint-stylistic/eslint-stylistic/commit/cfd332766de15e9ab29e92c5048640a07f2f15bd)) - **ts:** add `object-curly-newline` and `object-property-newline` ([#444](https://togithub.com/eslint-stylistic/eslint-stylistic/issues/444)) ([036d3de](https://togithub.com/eslint-stylistic/eslint-stylistic/commit/036d3de3a02e86dde21b01369f98521571cd4273)) ##### Bug Fixes - **jsx-indent:** deprecate `jsx-indent` rule in favor of `indent` ([#447](https://togithub.com/eslint-stylistic/eslint-stylistic/issues/447)) ([57dd2e8](https://togithub.com/eslint-stylistic/eslint-stylistic/commit/57dd2e8b5927e6f9de019fff6e83cac4989de7ce))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.