Skip to content

Commit 9105811

Browse files
committed
Bump pgstream version to 1.1.0 (#2603)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Synced from monorepo@7bc4e3975efba27e01e351256153d2463a395e8b
1 parent 803f790 commit 9105811

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

.sync-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8348da7282c2a24b6f56bf309c6ba45c677cb895
1+
7bc4e3975efba27e01e351256153d2463a395e8b

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xata-cli",
33
"description": "Xata CLI",
4-
"version": "1.4.0",
4+
"version": "1.4.1",
55
"private": true,
66
"module": "src/app.ts",
77
"type": "module",
@@ -38,14 +38,14 @@
3838
"zod-config": "1.4.0",
3939
"@xata.io/ai": "0.1.0",
4040
"@xata.io/api": "0.1.0",
41+
"@xata.io/pgroll": "0.9.0",
4142
"@xata.io/config": "0.0.0",
4243
"@xata.io/lang": "0.0.1",
43-
"@xata.io/pgroll": "0.9.0",
4444
"@xata.io/pgstream": "0.2.0",
45-
"@xata.io/sql": "0.1.3",
4645
"@xata.io/test-utils": "0.0.0",
47-
"@xata.io/utils": "0.1.0",
48-
"@xata.io/tsconfig": "0.0.1"
46+
"@xata.io/sql": "0.1.3",
47+
"@xata.io/tsconfig": "0.0.1",
48+
"@xata.io/utils": "0.1.0"
4949
},
5050
"scripts": {
5151
"dev": "bun src/bin/cli.ts",

src/commands/clone/stream.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ export async function implementation(
155155
}
156156

157157
if (!skipDdlTracking) {
158+
// Clean up any leftover v0.9.x pgstream state before initializing. The flag is
159+
// idempotent and safe for repeated use, and implies --init. Guarded by the same
160+
// condition as --init since --skip-ddl-tracking opts out of initialization.
161+
runtimeFlags.push('--upgrade');
158162
runtimeFlags.push('--init');
159163
}
160164

src/lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export const DEFAULT_CLONE_LOCAL_CONFIG_PATH = `.${CLI_NAME}/config.ts`;
1717
* the "Complete Migration" action via workflow_dispatch.
1818
*/
1919
export const PINNED_PGROLL_BINARY_VERSION = '0.16.1';
20-
export const PINNED_PGSTREAM_BINARY_VERSION = '0.9.11';
20+
export const PINNED_PGSTREAM_BINARY_VERSION = '1.1.0';

0 commit comments

Comments
 (0)