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

Update prisma requirement from <0.15,>=0.13.1 to >=0.13.1,<0.16 #743

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 30, 2024

Updates the requirements on prisma to permit the latest version.

Release notes

Sourced from prisma's releases.

v0.15.0

What's Changed

Fixed regression with optional raw query fields

The last release, v0.14.0, included a regression with the handling of optional values for BigInt, Decimal & Json fields where an error would be raised if the value was None.

Massive thank you to @​AstreaTSS for a very detailed bug report and contributing a fix!

Support for .create_many() for SQLite

The create_many() method is now supported in SQLite!

total = await client.user.create_many([{'name': 'Robert'}, {'name': 'Tegan'}])
# 2

However the skip_duplicates argument is unfortunately not supported yet.

Massive thank you to @​AdeelK93 for contributing this feature!

Support for connect_or_create

You can now connect or create a relational record through the .create() method, for example:

post = await client.post.create(
     data={
         'title': 'Post 1',
         'published': True,
         'author': {
             'connect_or_create': {
                 'where': {
                     'id': user.id,
                 },
                 'create': {
                     'name': 'Robert',
                 },
             },
         },
     },
     include={
         'author': True,
     },
 )

Thanks to @​AdeelK93 for contributing this feature!

... (truncated)

Commits
  • b579e0d feat(package): release v0.15.0 (#1016)
  • 11b4e4c chore(deps): update dependency pyright to v1.1.376 (#1013)
  • c282c4b chore(deps): update dependency dirty-equals to v0.8.0 (#1012)
  • 8372fc8 chore(deps): update dependency pytest-subprocess to v1.5.2 (#1011)
  • a7e2fd8 chore(deps): update amannn/action-semantic-pull-request action to v5.5.3 (#1009)
  • 703d8d4 chore(deps): update dependency pyright to v1.1.375 (#1010)
  • c643c6c chore(deps): update dependency ruff to v0.5.7 (#1007)
  • 97cb675 chore(deps): update dependency inline-snapshot to v0.12.1 (#1006)
  • 16aa2c1 chore(deps): update dependency wheel to v0.44.0 (#958)
  • 9973ed1 chore(deps): update dependency mypy to v1.11.1 (#986)
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [prisma](https://github.com/RobertCraigie/prisma-client-py) to permit the latest version.
- [Release notes](https://github.com/RobertCraigie/prisma-client-py/releases)
- [Commits](RobertCraigie/prisma-client-py@v0.13.1...v0.15.0)

---
updated-dependencies:
- dependency-name: prisma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants