Skip to content

Commit

Permalink
release 5.12 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 authored Jun 6, 2024
1 parent 8c8fa1a commit 86aafb1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ try {
| v5.9.x | v5.9.x | [v0.0.9, v0.1.0) |
| v5.10.x | v5.10.x | \>= v0.1.0 |
| v5.11.x | v5.11.x | \>= v0.1.0 |
| v5.12.x | v5.12.x | \>= v0.1.0 |


Here is the step to step guide for how to choose the version:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tidbcloud/prisma-adapter",
"version": "5.11.1",
"version": "5.12.0",
"description": "Prisma's driver adapter for \"@tidbcloud/serverless\"",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -34,7 +34,7 @@
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@prisma/driver-adapter-utils": "5.11.0"
"@prisma/driver-adapter-utils": "5.12.0"
},
"devDependencies": {
"@tidbcloud/serverless": "^0.1.0",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/tidbcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
fieldToColumnType,
customDecoder,
} from "./conversion";
import { name as packageName } from "../package.json";

const debug = Debug("prisma:driver-adapter:tidbcloud");

Expand All @@ -35,6 +36,7 @@ class TiDBCloudQueryable<ClientT extends TiDBCloud.Connection | TiDBCloud.Tx>
implements Queryable
{
readonly provider = "mysql";
readonly adapterName = packageName;
constructor(protected client: ClientT) {}

/**
Expand Down

0 comments on commit 86aafb1

Please sign in to comment.