Skip to content

Commit

Permalink
feat(prisma): upgrade to v5.13.0 (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Apr 28, 2024
1 parent 69f2a5b commit 24ef0a6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img src="https://img.shields.io/discord/933860922039099444?color=blue&label=chat&logo=discord" alt="Chat on Discord">
</a>
<a href="https://prisma.io">
<img src="https://img.shields.io/static/v1?label=prisma&message=5.11.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.11.0">
<img src="https://img.shields.io/static/v1?label=prisma&message=5.13.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.13.0">
</a>
<a href="https://github.com/astral-sh/ruff">
<img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2FJacobCoffee%2Fbfb02a83c8da3cbf53f7772f2cee02ec%2Fraw%2Facb94daa3aedecda67e2c7d8c5aec9765db0734d%2Fformat-badge.json" alt="Code style: ruff">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img src="https://img.shields.io/discord/933860922039099444?color=blue&label=chat&logo=discord" alt="Chat on Discord">
</a>
<a href="https://prisma.io">
<img src="https://img.shields.io/static/v1?label=prisma&message=5.11.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.11.0">
<img src="https://img.shields.io/static/v1?label=prisma&message=5.13.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.13.0">
</a>
<a href="https://github.com/astral-sh/ruff">
<img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2FJacobCoffee%2Fbfb02a83c8da3cbf53f7772f2cee02ec%2Fraw%2Facb94daa3aedecda67e2c7d8c5aec9765db0734d%2Fformat-badge.json" alt="Code style: ruff">
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@ 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

This is an internal option that is here as a safeguard for the `prisma_version` option. If you modify the `prisma_version` option then you must also update this option to use the corresponding engine version. You can find a list of engine versions [here](https://github.com/prisma/prisma-engines).

| Option | Environment Variable | Default |
| ------------------------- | -------------------------------- | ------------------------------------------ |
| `expected_engine_version` | `PRISMA_EXPECTED_ENGINE_VERSION` | `efd2449663b3d73d637ea1fd226bafbcf45b3102` |
| `expected_engine_version` | `PRISMA_EXPECTED_ENGINE_VERSION` | `b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b` |


### Binary Platform
Expand Down
4 changes: 2 additions & 2 deletions src/prisma/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24ef0a6

Please sign in to comment.