9renpoto / backend

🧙‍♂️🔥💰 backend
MIT License
0 stars 0 forks source link

chore(deps): bump @prisma/client from 2.11.0 to 2.24.0 #826

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps @prisma/client from 2.11.0 to 2.24.0.

Release notes

Sourced from @​prisma/client's releases.

2.24.0

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

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

Major improvements & new features

MongoDB gets Json and Enum Support

We just added Json and enum support to the MongoDB provider for Prisma Client. Here's an example with both:

datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}

generator client { provider = "prisma-client-js" previewFeatures = ["mongodb"] }

model Log { id String @​id @​default(dbgenerated()) @​map("_id") message String level Level @​default(Info) meta Json }

enum Level { Info Warn Error }

You can then use the generated client like this:

await prisma.log.create({
  data: {
    level: "info",
    message: "User signed in",
    meta: { user_id: 1 },
  },
})

As a reminder, the mongodb provider is still in Early Access. If you'd like to use MongoDB with Prisma, please fill out this 2-minute Typeform and we'll get you an invite to our Getting Started Guide and private Slack channel right away!

... (truncated)

Commits
  • de64c71 fix(deps): update engines to v2.24.0-30.f3e341280d96d0abc068f97e959ddf01f321a...
  • 9c287b3 fix(client): process-relative paths (#7111)
  • dce8d37 fix(deps): update engines to v2.24.0-29.07e18014511a3d861bf1fb3c8e37f4dc8cd83...
  • 561b8b4 fix(deps): update engines to v2.24.0-28.e1391e44d391e4b802965f99c8472f4c6e9d0...
  • d2c8435 fix(deps): update engines to v2.24.0-23.3e7fd9395fd522da21025ecfd731803bae72f...
  • 192ed24 fix(download): Workaround for docker hanging on file copy (#7222)
  • 3972cf5 chore(deps): update react-prisma (major) (#7367)
  • 26d8ba5 fix(sdk): do not use previewFeatures to determine getDMMF engine (#7344)
  • 2f71c87 chore(deps): update devdependencies (non-major)
  • 8c908f2 chore(deps): update react-prisma
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by prismabot, a new releaser for @​prisma/client since your current version.


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)
dependabot[bot] commented 3 years ago

Superseded by #828.