From ec072c717e8a5a04b5d0dfbe8050dada454f41e6 Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Thu, 7 Dec 2023 15:11:51 +0800 Subject: [PATCH 1/5] version --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index bef240c..4c9f7ef 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ Prisma driver adapter for [TiDB Cloud Serverless Driver](https://github.com/tidbcloud/serverless-js). +## Choose a version + +| Adapter | Prisma/Prisma Client | serverless driver | +|---------|----------------------|-------------------| +| v5.4.x | ~v5.4.0 | ^0.0.6 | +| v5.5.x | ~v5.5.0 | ^0.0.7 | +| v5.6.x | ~v5.6.0 | ^0.0.7 | +| v5.7.x | ~v5.7.0 | ^0.0.7 | + +Here is the step to step guide for how to choose the version: +1. Choose the Prisma version: Choose the one as you need. +2. Choose the adapter version: If you are using Prisma vx.y.z, you should choose the same version of adapter. If there is no adapter version for your Prisma version, you can choose the latest adapter version in vx.y. Open an issue once you find the adapter version is not compatible with Prisma version. +3. Choose the serverless driver version: You can always use the latest version according to the table above. + ## Before you start Before you start, make sure you have: From f77ebc0d1b844bbecc4bdf636a116ac01adf7881 Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Thu, 7 Dec 2023 15:12:36 +0800 Subject: [PATCH 2/5] version --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 4c9f7ef..ab7e339 100644 --- a/README.md +++ b/README.md @@ -2,20 +2,6 @@ Prisma driver adapter for [TiDB Cloud Serverless Driver](https://github.com/tidbcloud/serverless-js). -## Choose a version - -| Adapter | Prisma/Prisma Client | serverless driver | -|---------|----------------------|-------------------| -| v5.4.x | ~v5.4.0 | ^0.0.6 | -| v5.5.x | ~v5.5.0 | ^0.0.7 | -| v5.6.x | ~v5.6.0 | ^0.0.7 | -| v5.7.x | ~v5.7.0 | ^0.0.7 | - -Here is the step to step guide for how to choose the version: -1. Choose the Prisma version: Choose the one as you need. -2. Choose the adapter version: If you are using Prisma vx.y.z, you should choose the same version of adapter. If there is no adapter version for your Prisma version, you can choose the latest adapter version in vx.y. Open an issue once you find the adapter version is not compatible with Prisma version. -3. Choose the serverless driver version: You can always use the latest version according to the table above. - ## Before you start Before you start, make sure you have: @@ -150,6 +136,20 @@ try { } ``` +## Choose a version + +| Adapter | Prisma/Prisma Client | serverless driver | +|---------|----------------------|-------------------| +| v5.4.x | ~v5.4.0 | ^0.0.6 | +| v5.5.x | ~v5.5.0 | ^0.0.7 | +| v5.6.x | ~v5.6.0 | ^0.0.7 | +| v5.7.x | ~v5.7.0 | ^0.0.7 | + +Here is the step to step guide for how to choose the version: +1. Choose the Prisma version: Choose the one as you need. +2. Choose the adapter version: If you are using Prisma vx.y.z, you should choose the same version of adapter. If there is no adapter version for your Prisma version, you can choose the latest adapter version in vx.y. Open an issue once you find the adapter version is not compatible with Prisma version. +3. Choose the serverless driver version: You can always use the latest version according to the table above. + ## Limitations - [Set isolation level](https://www.prisma.io/docs/concepts/components/prisma-client/transactions#transaction-isolation-level) is not supported yet. \ No newline at end of file From f391a7db24b40f7403ae9ea6d4bf91a147575e34 Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Thu, 7 Dec 2023 15:13:20 +0800 Subject: [PATCH 3/5] version --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab7e339..e4d661d 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,10 @@ try { | Adapter | Prisma/Prisma Client | serverless driver | |---------|----------------------|-------------------| -| v5.4.x | ~v5.4.0 | ^0.0.6 | -| v5.5.x | ~v5.5.0 | ^0.0.7 | -| v5.6.x | ~v5.6.0 | ^0.0.7 | -| v5.7.x | ~v5.7.0 | ^0.0.7 | +| v5.4.x | ~v5.4.0 | ^v0.0.6 | +| v5.5.x | ~v5.5.0 | ^v0.0.7 | +| v5.6.x | ~v5.6.0 | ^v0.0.7 | +| v5.7.x | ~v5.7.0 | ^v0.0.7 | Here is the step to step guide for how to choose the version: 1. Choose the Prisma version: Choose the one as you need. From 1ee7262b9c48266d98cf30df41237827470843eb Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Thu, 7 Dec 2023 15:16:53 +0800 Subject: [PATCH 4/5] version --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4d661d..6f0bf21 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,10 @@ try { | Adapter | Prisma/Prisma Client | serverless driver | |---------|----------------------|-------------------| -| v5.4.x | ~v5.4.0 | ^v0.0.6 | -| v5.5.x | ~v5.5.0 | ^v0.0.7 | -| v5.6.x | ~v5.6.0 | ^v0.0.7 | -| v5.7.x | ~v5.7.0 | ^v0.0.7 | +| v5.4.x | ~v5.4.x | ^v0.0.6 | +| v5.5.x | ~v5.5.x | ^v0.0.7 | +| v5.6.x | ~v5.6.x | ^v0.0.7 | +| v5.7.x | ~v5.7.x | ^v0.0.7 | Here is the step to step guide for how to choose the version: 1. Choose the Prisma version: Choose the one as you need. From 0384adc2cea2512b54369dafbb3be19d71a6bf10 Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Thu, 7 Dec 2023 15:19:18 +0800 Subject: [PATCH 5/5] version --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6f0bf21..2c4ef5a 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,10 @@ try { | Adapter | Prisma/Prisma Client | serverless driver | |---------|----------------------|-------------------| -| v5.4.x | ~v5.4.x | ^v0.0.6 | -| v5.5.x | ~v5.5.x | ^v0.0.7 | -| v5.6.x | ~v5.6.x | ^v0.0.7 | -| v5.7.x | ~v5.7.x | ^v0.0.7 | +| v5.4.x | v5.4.x | ^v0.0.6 | +| v5.5.x | v5.5.x | ^v0.0.7 | +| v5.6.x | v5.6.x | ^v0.0.7 | +| v5.7.x | v5.7.x | ^v0.0.7 | Here is the step to step guide for how to choose the version: 1. Choose the Prisma version: Choose the one as you need.