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 @prisma/sdk from 3.9.2 to 3.10.0 in /packages/cpg-template-typescript/template #77

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 7, 2022

Bumps @prisma/sdk from 3.9.2 to 3.10.0.

Release notes

Sourced from @​prisma/sdk's releases.

3.10.0

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

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

Major improvements and new features

We are working towards a stable release of MongoDB and are shipping lots of improvements. All the new features and changes in this release therefore only apply to the MongoDB connector. Take a closer look if you are using the Preview of MongoDB as some of the changes are breaking.

Embedded documents support is now in Preview

We're super excited to announce that Prisma version 3.10.0 supports reading and modifying embedded documents. Embedded documents will provide access to a new type keyword in your Prisma schema that you can use to define composite types.

datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}
generator client {
provider        = "prisma-client-js"
previewFeatures = ["mongoDb"]
}
model Product {
id     String  @​id @​default(auto()) @​map("_id") @​db.ObjectId
name   String
photos Photo[]
}
type Photo {
height Int
width  Int
url    String
}

Given the schema above, you can now read and write to the embedded photos array:

// Create a new product with an embedded list of photos
const product = await prisma.product.create({
  data: {
    name: "Forest Runners",
    // Create an embedded list of photos in the product
    photos: [
      { height: 100, width: 200, url: "1.jpg" },
      { height: 300, width: 400, url: "2.jpg" },
    ],
  },
</tr></table> 

... (truncated)

Commits
  • f35af40 feat(client): composites (#11589)
  • 8424e40 chore(deps): update engines to 3.10.0-49.d6d6ee62f283316705c12a425e6b6b49ab19...
  • a1b3332 chore(deps): update engines to 3.10.0-47.938627579146798d30c4cc4c1151dbc620ef...
  • 798e5d0 chore(deps): update engines to 3.10.0-45.9789ab0d5a1ec09a25e7a458f241b1283999...
  • 799a18a chore(deps): update engines to 3.10.0-42.050ba2cf976b451529a8fd53c55b44798a94...
  • c5a66a9 chore(introspection): implement codes 102/103 (#11872)
  • b847818 feat(db pull): --composite-type-depth default to -1 (#11902)
  • f59464f chore(deps): update engines to 3.10.0-39.d4aee6d178bf83d3ca5042ca89ae78b2cee8...
  • 96149d5 chore(deps): update engines to 3.10.0-38.2152ca32a51c274e568364108d713778c3f5...
  • eda9cb3 chore(deps): update engines to 3.10.0-36.06a96f0f267f0c3d50fe5939b82a80b770dd...
  • 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/sdk](https://github.com/prisma/prisma/tree/HEAD/packages/sdk) from 3.9.2 to 3.10.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/3.10.0/packages/sdk)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 7, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 16, 2022

A newer version of @prisma/sdk exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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

1 participant