From 684058337b53c41084170a6888f5ff282c1d1f3f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Sep 2024 07:40:29 +0000 Subject: [PATCH 1/2] Version Packages --- .changeset/sixty-points-tell.md | 5 ----- .changeset/tall-dots-serve.md | 5 ----- cli/CHANGELOG.md | 8 ++++++++ cli/package.json | 2 +- compatibility.json | 2 +- 5 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 .changeset/sixty-points-tell.md delete mode 100644 .changeset/tall-dots-serve.md diff --git a/.changeset/sixty-points-tell.md b/.changeset/sixty-points-tell.md deleted file mode 100644 index 3f25cbbe1..000000000 --- a/.changeset/sixty-points-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@xata.io/cli": patch ---- - -Do not prompt for update on pre release diff --git a/.changeset/tall-dots-serve.md b/.changeset/tall-dots-serve.md deleted file mode 100644 index 9d6079527..000000000 --- a/.changeset/tall-dots-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@xata.io/cli': patch ---- - -Fix overriding client version to latest with Postgres branches if next is already a dependency diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index b6f4ecd32..b0ad4ebe6 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,13 @@ # @xata.io/cli +## 0.16.3 + +### Patch Changes + +- [#1553](https://github.com/xataio/client-ts/pull/1553) [`9b4a68e`](https://github.com/xataio/client-ts/commit/9b4a68ebe1eabb4e25d861442c722b45c064b5e8) Thanks [@eemmiillyy](https://github.com/eemmiillyy)! - Do not prompt for update on pre release + +- [#1565](https://github.com/xataio/client-ts/pull/1565) [`fab22de`](https://github.com/xataio/client-ts/commit/fab22defa28d2c81545a99942f29c74d8ee16adf) Thanks [@eemmiillyy](https://github.com/eemmiillyy)! - Fix overriding client version to latest with Postgres branches if next is already a dependency + ## 0.16.2 ### Patch Changes diff --git a/cli/package.json b/cli/package.json index c930c7422..ee053da1a 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@xata.io/cli", - "version": "0.16.2", + "version": "0.16.3", "description": "Xata.io CLI", "author": "Xata Inc.", "bin": { diff --git a/compatibility.json b/compatibility.json index dde6576fe..eefc2ceb8 100644 --- a/compatibility.json +++ b/compatibility.json @@ -1,6 +1,6 @@ { "@xata.io/cli": { - "latest": "0.16.2", + "latest": "0.16.3", "compatibility": [ { "range": ">=0.0.0" From 8e2aaceaf4ab349f0b8ccedecd1e7c42e5f84339 Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Thu, 12 Sep 2024 08:37:36 +0200 Subject: [PATCH 2/2] Fix type tests Signed-off-by: Alexis Rico --- packages/client/src/schema/index.test.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/client/src/schema/index.test.ts b/packages/client/src/schema/index.test.ts index f62a8c123..9cb121cc7 100644 --- a/packages/client/src/schema/index.test.ts +++ b/packages/client/src/schema/index.test.ts @@ -73,8 +73,8 @@ describe('client options', () => { const result = { url: fetch.mock.calls[0][0], - method: fetch.mock.calls[0][1]?.method, - body: fetch.mock.calls[0][1]?.body + method: (fetch.mock.calls[0][1] as any)?.method, + body: (fetch.mock.calls[0][1] as any)?.body }; expect(result).toMatchInlineSnapshot(` @@ -105,8 +105,8 @@ describe('request', () => { const result = { url: fetch.mock.calls[0][0], - method: fetch.mock.calls[0][1]?.method, - body: fetch.mock.calls[0][1]?.body + method: (fetch.mock.calls[0][1] as any)?.method, + body: (fetch.mock.calls[0][1] as any)?.body }; expect(result).toMatchInlineSnapshot(` @@ -135,8 +135,8 @@ describe('request', () => { const result = { url: fetch.mock.calls[0][0], - method: fetch.mock.calls[0][1]?.method, - body: fetch.mock.calls[0][1]?.body + method: (fetch.mock.calls[0][1] as any)?.method, + body: (fetch.mock.calls[0][1] as any)?.body }; expect(result).toMatchInlineSnapshot(`