From 24ef0a671f6a62ac28f297b0d6068f6440b6df34 Mon Sep 17 00:00:00 2001 From: Robert Craigie Date: Sun, 28 Apr 2024 09:18:30 -0400 Subject: [PATCH] feat(prisma): upgrade to v5.13.0 (#951) --- 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 f16b5278e..6c0dd3f80 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Chat on Discord - Supported Prisma version is 5.11.0 + Supported Prisma version is 5.13.0 Code style: ruff diff --git a/docs/index.md b/docs/index.md index 0f92eaca7..7fcf5c870 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,7 @@ Chat on Discord - Supported Prisma version is 5.11.0 + Supported Prisma version is 5.13.0 Code style: ruff diff --git a/docs/reference/binaries.md b/docs/reference/binaries.md index 983342ffd..7b7ea01fd 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.11.0 +git clone https://github.com/prisma/prisma-engines --branch=5.13.0 ``` - 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 30665341f..1dfa2a032 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.11.0` | +| `prisma_version` | `PRISMA_VERSION` | `5.13.0` | ### 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` | `efd2449663b3d73d637ea1fd226bafbcf45b3102` | +| `expected_engine_version` | `PRISMA_EXPECTED_ENGINE_VERSION` | `b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b` | ### Binary Platform diff --git a/src/prisma/_config.py b/src/prisma/_config.py index acf7e080d..7815eebda 100644 --- a/src/prisma/_config.py +++ b/src/prisma/_config.py @@ -27,13 +27,13 @@ class DefaultConfig(BaseSettings): # doesn't change then the CLI is incorrectly cached prisma_version: str = Field( env='PRISMA_VERSION', - default='5.11.0', + default='5.13.0', ) # 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='efd2449663b3d73d637ea1fd226bafbcf45b3102', + default='b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b', ) # Home directory, used to build the `binary_cache_dir` option by default, useful in multi-user