From a2ec5f81541a4d47e56ce93b87c32da76c4f46c6 Mon Sep 17 00:00:00 2001 From: Robert Craigie Date: Sun, 22 Oct 2023 14:02:01 +0100 Subject: [PATCH] feat(prisma): upgrade to v5.4.2 (#830) ## Change Summary Please summarise the changes this pull request is making here. ## Checklist - [ ] Unit tests for the changes exist - [ ] Tests pass without significant drop in coverage - [ ] Documentation reflects changes where applicable - [ ] Test snapshots have been [updated](https://prisma-client-py.readthedocs.io/en/latest/contributing/contributing/#snapshot-tests) if applicable ## Agreement By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice. --- README.md | 2 +- docs/index.md | 2 +- docs/reference/binaries.md | 2 +- docs/reference/config.md | 4 ++-- src/prisma/_config.py | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 06e82c1e1..9d23bd119 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Chat on Discord - Supported Prisma version is 5.4.0 + Supported Prisma version is 5.4.2 Code style: blue diff --git a/docs/index.md b/docs/index.md index b0d11caae..44fa77cae 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,7 @@ Chat on Discord - Supported Prisma version is 5.4.0 + Supported Prisma version is 5.4.2 Code style: blue diff --git a/docs/reference/binaries.md b/docs/reference/binaries.md index 32400e43c..3d902450b 100644 --- a/docs/reference/binaries.md +++ b/docs/reference/binaries.md @@ -9,7 +9,7 @@ Prisma Client Python _should_ automatically download the correct binaries for yo - Clone the prisma-engines repository at the current version that the python client supports: ``` -git clone https://github.com/prisma/prisma-engines --branch=5.4.0 +git clone https://github.com/prisma/prisma-engines --branch=5.4.2 ``` - Build the binaries following the steps found [here](https://github.com/prisma/prisma-engines#building-prisma-engines) diff --git a/docs/reference/config.md b/docs/reference/config.md index 5b3d73129..2a73dabe4 100644 --- a/docs/reference/config.md +++ b/docs/reference/config.md @@ -220,7 +220,7 @@ This option controls the version of Prisma to use. It should be noted that this | Option | Environment Variable | Default | | ---------------- | --------------------- | -------- | -| `prisma_version` | `PRISMA_VERSION` | `5.4.0` | +| `prisma_version` | `PRISMA_VERSION` | `5.4.2` | ### Expected Engine Version @@ -228,7 +228,7 @@ This is an internal option that is here as a safeguard for the `prisma_version` | Option | Environment Variable | Default | | ------------------------- | -------------------------------- | ------------------------------------------ | -| `expected_engine_version` | `PRISMA_EXPECTED_ENGINE_VERSION` | `a5596b96668f0f4b397761ce0956db54e17e48c4` | +| `expected_engine_version` | `PRISMA_EXPECTED_ENGINE_VERSION` | `ac9d7041ed77bcc8a8dbd2ab6616b39013829574` | ### Binary Platform diff --git a/src/prisma/_config.py b/src/prisma/_config.py index 68c300400..a73d3e542 100644 --- a/src/prisma/_config.py +++ b/src/prisma/_config.py @@ -24,13 +24,13 @@ class DefaultConfig(BaseSettings): # doesn't change then the CLI is incorrectly cached prisma_version: str = Field( env='PRISMA_VERSION', - default='5.4.0', + default='5.4.2', ) # Engine binary versions can be found under https://github.com/prisma/prisma-engine/commits/main expected_engine_version: str = Field( env='PRISMA_EXPECTED_ENGINE_VERSION', - default='a5596b96668f0f4b397761ce0956db54e17e48c4', + default='ac9d7041ed77bcc8a8dbd2ab6616b39013829574', ) # Home directory, used to build the `binary_cache_dir` option by default, useful in multi-user