Skip to content

Commit

Permalink
feat(prisma): upgrade to v5.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Dec 7, 2023
1 parent fb9727f commit 2e4a794
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.6.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.6.0">
<img src="https://img.shields.io/static/v1?label=prisma&message=5.7.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.7.0">
</a>
<a href="https://github.com/grantjenks/blue">
<img src="https://camo.githubusercontent.com/dbdbcf26db37abfa1f2ab7e6c28c8b3a199f2dad98e4ef53a50e9c45c7e4ace8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d626c75652d626c75652e737667" alt="Code style: blue">
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.6.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.6.0">
<img src="https://img.shields.io/static/v1?label=prisma&message=5.7.0&color=blue&logo=prisma" alt="Supported Prisma version is 5.7.0">
</a>
<a href="https://github.com/grantjenks/blue">
<img src="https://camo.githubusercontent.com/dbdbcf26db37abfa1f2ab7e6c28c8b3a199f2dad98e4ef53a50e9c45c7e4ace8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d626c75652d626c75652e737667" alt="Code style: blue">
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.6.0
git clone https://github.com/prisma/prisma-engines --branch=5.7.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.6.0` |
| `prisma_version` | `PRISMA_VERSION` | `5.7.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` | `e95e739751f42d8ca026f6b910f5a2dc5adeaeee` |
| `expected_engine_version` | `PRISMA_EXPECTED_ENGINE_VERSION` | `79fb5193cf0a8fdbef536e4b4a159cad677ab1b9` |


### 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 @@ -26,13 +26,13 @@ class DefaultConfig(BaseSettings):
# doesn't change then the CLI is incorrectly cached
prisma_version: str = Field(
env='PRISMA_VERSION',
default='5.6.0',
default='5.7.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='e95e739751f42d8ca026f6b910f5a2dc5adeaeee',
default='79fb5193cf0a8fdbef536e4b4a159cad677ab1b9',
)

# Home directory, used to build the `binary_cache_dir` option by default, useful in multi-user
Expand Down

0 comments on commit 2e4a794

Please sign in to comment.