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.17.0#1746

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2021

Bumps @prisma/client from 2.14.0 to 2.17.0.

Release notes

Sourced from @prisma/client's releases.

2.17.0

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

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

Overview

  • Native types are now stable
  • Prisma Migrate now works with cloud-hosted databases (e.g. Heroku)
  • Soft resets for cloud-hosted environments
  • More improvements and bug fixes for Prisma Migrate
  • Improvements and changes for prisma db push
  • prisma db seed now supports custom schema locations
  • Improvements and bug fixes in Prisma Client

Note that this release comes with some breaking changes. Read the Breaking changes section below to learn more.

Major improvements & new features

Native types are now stable

The nativeTypes preview feature flag has first been introduced in 2.10.0. Thanks to your continuous and awesome feedback for this feature, we're now able to release usage of native database types in the Prisma schema for General Availability 🎉

Note that this release comes with a few minor breaking changes compared to previous versions. Please read about the Breaking Changes below.

If you haven't followed previous releases, expand below to learn more about everything that's now possible with the new native types.

Rich column type mapping for Prisma types

Each Prisma type can now map to one of multiple native database types. Native database type attributes are:

  • Specific to the underlying provider - for example, PostgreSQL uses @db.Boolean for Boolean whereas MySQL uses @db.TinyInt
  • Written in PascalCase (for example, VarChar or Text)
  • Prefixed by @db, where db is the name of the datasource block in your Prisma schema

Type attributes give you:

  • Exact control over what native type Prisma Migrate creates in the database - for example, a String can be @db.VarChar(200) or @db.Char(50)
  • An enriched schema when you introspect - you can see if String is varchar(200) or just text.

To learn more about all the possible native type attributes, check out the type mapping reference in the docs.

Extending Prisma schema beyond supported column types

Column types which are not (yet?) supported by Prisma Migrate can be used with Prisma Migrate and introspection through the Prisma type Unsupported which was introduced in Preview in the last release:

model User {
</tr></table> 

... (truncated)

Commits
  • fdd8213 fix(cli): Fix Studio tests (#5668)
  • fb53469 chore(deps): update studio to v0.353.0
  • 4bd1d28 test(migrate): add shadowdb test (#5667)
  • 75e7c7d fix(deps): update engines to v2.17.0-35.3c463ebd78b1d21d8fdacdd27899e280cf686...
  • c5e4d48 chore(deps): update studio to v0.352.0 (#5664)
  • 0ca2ac1 test(migrate): add provider switch test
  • 0445633 fix(sdk): enable dotenv debug only if prisma or * in cli,client,migrate (#5658)
  • a79b3ec fix(migrate): migrate dev warning message when --create-only (#5662)
  • 40d3271 fix(client): Fix #5616 (#5625)
  • 61c2589 fix(*): add prisma to debug namespace (#5659)
  • 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.17.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.17.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 Feb 17, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 3, 2021

Superseded by #1772.

@dependabot dependabot bot closed this Mar 3, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma/client-2.17.0 branch March 3, 2021 05:27
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