Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Comments

⬆️ Bump @prisma/client from 2.14.0 to 2.18.0#1772

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/prisma/client-2.18.0
Closed

⬆️ Bump @prisma/client from 2.14.0 to 2.18.0#1772
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/prisma/client-2.18.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2021

Bumps @prisma/client from 2.14.0 to 2.18.0.

Release notes

Sourced from @​prisma/client's releases.

2.18.0

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

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

Major changes & improvements

prisma introspect is becoming prisma db pull

In 2.10.0 we introduced the prisma db push command that enables developers to update their database schema from a Prisma schema file without using migrations.

For the "opposite" motion (i.e., updating the Prisma schema from an existing database schema), we currently have the prisma introspect command. In this release, prisma introspect is being renamed to prisma db pull. However, the prisma introspect command will be kept around for a few more releases so that you have enough time to switch over to the new command.

Here is how we are planning to execute the renaming:

  1. In this release, we are introducing a new command prisma db pull, which behaves exactly the same as prisma introspect.
  2. We will at some point in the near future add a deprecation warning to the prisma introspect CLI command.
  3. Eventually, prisma introspect will be removed.

There is no specific timeline to execute on this deprecation and we want to make sure we give developers a generous period of time to switch over.

Relation syntax will not be updated automatically any more

Prisma has a set of rules for defining relations between models in the Prisma schema.

The prisma format command automatically helps to apply these rules by inserting missing pieces. As an example, consider this data model with an invalid relation:

model User {
  id    String  @id
  name  String?
  posts Post[]
}
model Post {
id       String  @​id
authorId String?
author   User?   // not valid because the @relation attribute is missing
}

This example is not valid because the @relation attribute is missing. Running npx prisma format, automatically inserts the missing attribute:

model User {
  id    String  @id
  name  String?
  posts Post[]
}
</tr></table>

... (truncated)

Commits
  • 39a6338 fix(deps): update engines to v2.18.0-34.da6fafb57b24e0b61ca20960c64e2d41f9e8c...
  • 465cd5d fix: postinstall trigger in yarn workspace (#5550)
  • d24e613 chore(client): remove new issue links to prisma-client-js (#5937)
  • ca450c9 fix(deps): update engines to v2.18.0-33.22d50eb5296090d88125a5677355f695199e6b47
  • ee5a444 chore: move launch.json to launch.json.default [skip ci] (#5909)
  • 4f36aaf fix(client, cli): esbuild using incorrect versions (#5904)
  • 1d5de72 fix(cli): format using output from format for getDMMF (#5905)
  • 1fb4c2a chore(deps): update devdependencies (non-major)
  • 55bd1e3 chore(deps): update studio to v0.356.0
  • d0c8ed7 fix(deps): update dependency @prisma/engines to v2.18.0-32.d9b9c194f769d89f12...
  • 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/client](https://github.com/prisma/prisma) from 2.14.0 to 2.18.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Changelog](https://github.com/prisma/prisma/blob/master/docs/releases.md)
- [Commits](prisma/prisma@2.14.0...2.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 3, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 17, 2021

Superseded by #1777.

@dependabot dependabot bot closed this Mar 17, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma/client-2.18.0 branch March 17, 2021 05:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants