File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 8348da7282c2a24b6f56bf309c6ba45c677cb895
1+ 7bc4e3975efba27e01e351256153d2463a395e8b
Original file line number Diff line number Diff line change 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" ,
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" ,
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 */
1919export 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 ' ;
You can’t perform that action at this time.
0 commit comments