Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump the prisma group across 1 directory with 2 updates #2235

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 4, 2024

Bumps the prisma group with 2 updates in the / directory: prisma and @prisma/client.

Updates prisma from 5.13.0 to 5.15.0

Release notes

Sourced from prisma's releases.

5.15.0

Today, we are excited to share the 5.15.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

Highlights

Multi-File Prisma Schema support

Prisma ORM 5.15.0 features support for multi-file Prisma Schema in Preview.

This closes a long standing issue and does so in a clean and easy to migrate way.

To get started:

  1. Enable the prismaSchemaFolder Preview feature by including it in the previewFeatures field of your generator.
    datasource db {
      provider = "postgresql"
      url      = env("DATABASE_URL")
    }
    generator client {
    provider        = "prisma-client-js"
    previewFeatures = ["prismaSchemaFolder"]
    }

  2. Create a schema subdirectory under your prisma directory.
  3. Move your schema.prisma into this directory.

You are now set up with a multi-file Prisma Schema! Add as many or as few .prisma files to the new prisma/schema directory.

When running commands where a Prisma Schema file is expected to be provided, you can now define a Prisma Schema directory. This includes Prisma CLI commands that use the --schema option as well as defining schema via package.json

Our tooling has also been updated to handle multiple Prisma Schema files. This includes our Visual Studio Code extension and tools like database introspection, which will deposit new models in a introspected.prisma file. Existing models will be updated in the file they are found.

To learn more, please refer to our official documentation and announcement blog post. If you try out prismaSchemaFolder, please let us know!

Interesting Bug Fixes

Fix for PostgreSQL prepared statement caching for raw queries

This release fixes a nasty bug with the caching of prepared statements in raw Prisma Client queries that affected PostgreSQL when you ran the same SQL statement with differently typed paramters. This should not fail any more.

Fix for SQL Server introspection of (deprecated) CREATE DEFAULT

Our Introspection logic crashed on encountering certain multi-line CREATE DEFAULT, a deprecated way to define defaults in SQL Server. As many SQL Server users are working with established databases, this happened frequently enough that we now explicitly ignore these defaults instead of crashing.

Fix for Cloudflare D1’s lower parameter limit

... (truncated)

Commits
  • 9dc475c chore(tests): Remove providerFeatures from functional test example and docs...
  • 32b72d4 test(cli): add prismaSchemaFolder-specific tests (#24141)
  • 9a66347 feat(cli): Make studio work with multifile schemas (#24366)
  • 79de5cf chore(deps): update dependency @​swc/core to v1.5.24 (#24364)
  • d781e87 feat(migrate): Add split schema support to db pull (#24337)
  • d3ab609 chore(deps): update devdependencies patch (non-major) (#24324)
  • d50b007 chore(deps): update dependency esbuild to v0.21.4 (#24322)
  • 29a309f test(cli): e2e migrations for D1 (#24214)
  • 514a86f feat(migrate): Support split schema files in migrate (#24297)
  • c84bed5 chore(deps): update devdependencies patch (non-major) (#24196)
  • Additional commits viewable in compare view

Updates @prisma/client from 5.13.0 to 5.15.0

Release notes

Sourced from @​prisma/client's releases.

5.15.0

Today, we are excited to share the 5.15.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

Highlights

Multi-File Prisma Schema support

Prisma ORM 5.15.0 features support for multi-file Prisma Schema in Preview.

This closes a long standing issue and does so in a clean and easy to migrate way.

To get started:

  1. Enable the prismaSchemaFolder Preview feature by including it in the previewFeatures field of your generator.
    datasource db {
      provider = "postgresql"
      url      = env("DATABASE_URL")
    }
    generator client {
    provider        = "prisma-client-js"
    previewFeatures = ["prismaSchemaFolder"]
    }

  2. Create a schema subdirectory under your prisma directory.
  3. Move your schema.prisma into this directory.

You are now set up with a multi-file Prisma Schema! Add as many or as few .prisma files to the new prisma/schema directory.

When running commands where a Prisma Schema file is expected to be provided, you can now define a Prisma Schema directory. This includes Prisma CLI commands that use the --schema option as well as defining schema via package.json

Our tooling has also been updated to handle multiple Prisma Schema files. This includes our Visual Studio Code extension and tools like database introspection, which will deposit new models in a introspected.prisma file. Existing models will be updated in the file they are found.

To learn more, please refer to our official documentation and announcement blog post. If you try out prismaSchemaFolder, please let us know!

Interesting Bug Fixes

Fix for PostgreSQL prepared statement caching for raw queries

This release fixes a nasty bug with the caching of prepared statements in raw Prisma Client queries that affected PostgreSQL when you ran the same SQL statement with differently typed paramters. This should not fail any more.

Fix for SQL Server introspection of (deprecated) CREATE DEFAULT

Our Introspection logic crashed on encountering certain multi-line CREATE DEFAULT, a deprecated way to define defaults in SQL Server. As many SQL Server users are working with established databases, this happened frequently enough that we now explicitly ignore these defaults instead of crashing.

Fix for Cloudflare D1’s lower parameter limit

... (truncated)

Commits
  • 9dc475c chore(tests): Remove providerFeatures from functional test example and docs...
  • a39c5b9 chore(deps): update engines to 5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f...
  • 1d00bdd chore(deps): update engines to 5.15.0-28.7320bfae295254d9b1fefc5030ff162143c7...
  • 3b3d0c9 fix(adapter-d1): maxBoundValues (#24393)
  • a7bc5b9 chore(deps): update dependency @​libsql/client to v0.6.2 (#24391)
  • f3e827c chore(deps): update dependency wrangler to v3.58.0 (#24384)
  • d2beef0 chore(deps): update engines to 5.15.0-27.d99d360a45b6c8582f83deadf81b73054afa...
  • 79de5cf chore(deps): update dependency @​swc/core to v1.5.24 (#24364)
  • d781e87 feat(migrate): Add split schema support to db pull (#24337)
  • 729c664 chore(deps): update dependency @​libsql/client to v0.6.1 (#24363)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 4, 2024
Copy link

vercel bot commented Jun 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-cloud-us 🔄 Building (Inspect) Visit Preview Jun 17, 2024 10:43pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
langfuse-cloud ⬜️ Ignored (Inspect) Visit Preview Jun 17, 2024 10:43pm

@maxdeichmann maxdeichmann enabled auto-merge (squash) June 5, 2024 17:58
@maxdeichmann
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from ea391f6 to 78ca2c3 Compare June 5, 2024 18:02
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 78ca2c3 to 0e8a087 Compare June 5, 2024 18:09
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 0e8a087 to e0935cf Compare June 5, 2024 18:18
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from e0935cf to c8d7241 Compare June 5, 2024 18:38
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from c8d7241 to 3a9c58f Compare June 5, 2024 20:51
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 3a9c58f to 2c7198e Compare June 5, 2024 21:01
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 2c7198e to f92e00e Compare June 5, 2024 21:06
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from f92e00e to bb8e92a Compare June 5, 2024 21:10
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from bb8e92a to adcd289 Compare June 5, 2024 22:24
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from adcd289 to 5c2ec42 Compare June 6, 2024 00:51
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 5c2ec42 to f5e7a52 Compare June 6, 2024 08:23
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from f5e7a52 to 84d9eb2 Compare June 6, 2024 08:34
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 284f401 to 61564f3 Compare June 10, 2024 21:11
@marcklingen
Copy link
Member

@dependabot rebase

1 similar comment
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch 2 times, most recently from 4eb30ec to 1b0fdb1 Compare June 10, 2024 22:33
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 1b0fdb1 to 9a510af Compare June 11, 2024 07:54
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 9a510af to ed3e06c Compare June 11, 2024 08:31
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from ed3e06c to 503ad69 Compare June 11, 2024 09:53
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 503ad69 to 80727a4 Compare June 11, 2024 10:12
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 80727a4 to 63ec60d Compare June 11, 2024 10:47
@marcklingen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from 63ec60d to a20a4d6 Compare June 11, 2024 14:51
auto-merge was automatically disabled June 11, 2024 14:57

Pull request was closed

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 11, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@maxdeichmann maxdeichmann reopened this Jun 11, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from a20a4d6 to e77674b Compare June 11, 2024 22:55
@maxdeichmann
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch 2 times, most recently from f582532 to dadb10f Compare June 14, 2024 22:13
Bumps the prisma group with 2 updates in the / directory: [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli) and [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client).


Updates `prisma` from 5.13.0 to 5.15.0
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.15.0/packages/cli)

Updates `@prisma/client` from 5.13.0 to 5.15.0
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.15.0/packages/client)

---
updated-dependencies:
- dependency-name: prisma
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prisma
- dependency-name: "@prisma/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prisma
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prisma-f569f8c96a branch from dadb10f to 3155e84 Compare June 17, 2024 22:42
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 18, 2024

Superseded by #2369.

@dependabot dependabot bot closed this Jun 18, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma-f569f8c96a branch June 18, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants