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

⬆️ Bump prisma from 2.30.3 to 3.6.0 #32

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2021

Bumps prisma from 2.30.3 to 3.6.0.

Release notes

Sourced from prisma's releases.

3.6.0

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

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

Major improvements & new features

Prisma Migrate

Full-text index support in MySQL and MongoDB (Preview)

In this version we introduce support for full-text indexes in the db pulldb push and migrate commands for MySQL and MongoDB databases as a Preview feature. This allows using them in the Prisma schema and prevents validation errors in some database schemas.

For now we do not enable the full-text search commands in the Prisma Client. They will be implemented separately, and the progress can be followed in the MongoDB and MySQL issues.

Add the preview feature fullTextIndex to the Prisma schema, after which the @@fulltext attribute is allowed in the Prisma schema:

generator js {
  provider        = "prisma-client-js"
  previewFeatures = ["fullTextIndex"]
}
model A {
id      Int    @​id
title   String @​db.VarChar(255)
content String @​db.Text
@@​fulltext([title, content])
}

Please note that it is mandatory to do db pull with the preview feature enabled before using Prisma Migrate on existing MySQL databases, so the index types can be converted and will not get overwritten in the next migration.

For more details check out our documentation.

Hash index support for PostgreSQL (Preview)

With the extendedIndexes preview feature, it is now possible to use Hash instead of the default BTree as the index algorithm on PostgreSQL databases. A hash index can be much faster for inserts, but it only supports equals operation in the database.

An example of using a hash index:

generator js {
  provider        = "prisma-client-js"
  previewFeatures = ["extendedIndexes"]
}
model A {
id    Int @​id
</tr></table>

... (truncated)

Commits
  • aba6fed chore(deps): update engines to 3.6.0-24.dc520b92b1ebb2d28dc3161f9f82e875bd35d...
  • 6b29092 chore: update engines to 3.6.0-23.d5ba6c62f1d540b2a5e69a48e7fe55ba658635e6 (#...
  • 06f7974 chore(deps): update engines to 3.6.0-22.c7e82a080476bea336bff9af2bbad180bd277...
  • be077a2 chore(deps): update engines to 3.6.0-19.9372e13dbcc967fb9bd1f954bed16d7b7b96d...
  • 8afeca2 chore(deps): update engines to 3.6.0-18.41a61aedc30cc8eccf3fad8c2c6dcc5f38f3e...
  • d7ab299 chore(deps): update engines to 3.6.0-17.412060b4ab3b81a95d6a0d48d5d3850dadf64...
  • 2a5baeb chore(deps): update engines to 3.6.0-16.fcb9605aecd9cf2063e60c117151087856200...
  • 03e4d56 chore(deps): update dependency @​types/jest to v27.0.3
  • f01566c chore(deps): update engines to 3.6.0-15.5414823bcd672530262a0d7cbbb5b7b559036...
  • 7843dc4 chore(deps): update dependency eslint to v8 (#9692)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli) from 2.30.3 to 3.6.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/3.6.0/packages/cli)

---
updated-dependencies:
- dependency-name: prisma
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 1, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 22, 2021

Superseded by #37.

@dependabot dependabot bot closed this Dec 22, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma-3.6.0 branch December 22, 2021 13:31
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.

0 participants