diff --git a/.changeset/show-target-instance.md b/.changeset/show-target-instance.md deleted file mode 100644 index 49811a09..00000000 --- a/.changeset/show-target-instance.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@powersync/cli-core': patch -'powersync': patch ---- - -Show the target instance name and IDs before `deploy`, `deploy sync-config`, `deploy service-config`, `stop`, `destroy` and `compact` do anything, so it is clear which instance is about to be changed. `status` shows the target first as well, with the API URL for self-hosted instances. `deploy` and `deploy service-config` now also warn when the local `service.yaml` `name` differs from the instance name, since deploying renames the instance. - -All deploy commands accept `--dry-run`, which prints the target instance, runs the validations, shows a diff of the sync config and the changed service config sections, and stops without deploying. diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index c0868ce1..d14001b6 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,19 @@ # powersync +## 0.10.2 + +### Patch Changes + +- caabf52: Show the target instance name and IDs before `deploy`, `deploy sync-config`, `deploy service-config`, `stop`, `destroy` and `compact` do anything, so it is clear which instance is about to be changed. `status` shows the target first as well, with the API URL for self-hosted instances. `deploy` and `deploy service-config` now also warn when the local `service.yaml` `name` differs from the instance name, since deploying renames the instance. + + All deploy commands accept `--dry-run`, which prints the target instance, runs the validations, shows a diff of the sync config and the changed service config sections, and stops without deploying. + +- Updated dependencies [caabf52] + - @powersync/cli-core@0.10.2 + - @powersync/cli-plugin-config-edit@0.10.2 + - @powersync/cli-plugin-docker@0.10.2 + - @powersync/cli-schemas@0.10.2 + ## 0.10.1 ### Patch Changes diff --git a/cli/README.md b/cli/README.md index 854b3e65..687f0f3c 100644 --- a/cli/README.md +++ b/cli/README.md @@ -238,7 +238,7 @@ $ npm install -g powersync $ powersync COMMAND running command... $ powersync (--version) -powersync/0.10.1 linux-x64 node-v24.20.0 +powersync/0.10.2 linux-x64 node-v24.20.0 $ powersync --help [COMMAND] USAGE $ powersync COMMAND @@ -401,7 +401,7 @@ EXAMPLES $ powersync compact --timeout=0 ``` -_See code: [src/commands/compact.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/compact.ts)_ +_See code: [src/commands/compact.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/compact.ts)_ ## `powersync configure ide` @@ -421,7 +421,7 @@ EXAMPLES $ powersync configure ide ``` -_See code: [src/commands/configure/ide.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/configure/ide.ts)_ +_See code: [src/commands/configure/ide.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/configure/ide.ts)_ ## `powersync deploy` @@ -469,7 +469,7 @@ EXAMPLES $ powersync deploy --instance-id= ``` -_See code: [src/commands/deploy/index.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/deploy/index.ts)_ +_See code: [src/commands/deploy/index.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/deploy/index.ts)_ ## `powersync deploy service-config` @@ -512,7 +512,7 @@ EXAMPLES $ powersync deploy service-config --instance-id= ``` -_See code: [src/commands/deploy/service-config.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/deploy/service-config.ts)_ +_See code: [src/commands/deploy/service-config.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/deploy/service-config.ts)_ ## `powersync deploy sync-config` @@ -555,7 +555,7 @@ EXAMPLES $ powersync deploy sync-config --instance-id= ``` -_See code: [src/commands/deploy/sync-config.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/deploy/sync-config.ts)_ +_See code: [src/commands/deploy/sync-config.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/deploy/sync-config.ts)_ ## `powersync destroy` @@ -588,7 +588,7 @@ EXAMPLES $ powersync destroy --confirm=yes ``` -_See code: [src/commands/destroy.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/destroy.ts)_ +_See code: [src/commands/destroy.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/destroy.ts)_ ## `powersync docker configure` @@ -626,7 +626,7 @@ EXAMPLES $ powersync docker configure --database=postgres --storage=postgres ``` -_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/docker/configure.ts)_ +_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/docker/configure.ts)_ ## `powersync docker reset` @@ -655,7 +655,7 @@ EXAMPLES $ powersync docker reset ``` -_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/docker/reset.ts)_ +_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/docker/reset.ts)_ ## `powersync docker start` @@ -683,7 +683,7 @@ EXAMPLES $ powersync docker start ``` -_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/docker/start.ts)_ +_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/docker/start.ts)_ ## `powersync docker stop` @@ -725,7 +725,7 @@ EXAMPLES $ powersync docker stop --project-name=powersync_myapp --remove ``` -_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/docker/stop.ts)_ +_See code: [@powersync/cli-plugin-docker](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/docker/stop.ts)_ ## `powersync edit config` @@ -764,7 +764,7 @@ EXAMPLES $ powersync edit config --directory ./powersync ``` -_See code: [@powersync/cli-plugin-config-edit](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/edit/config.ts)_ +_See code: [@powersync/cli-plugin-config-edit](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/edit/config.ts)_ ## `powersync fetch config` @@ -797,7 +797,7 @@ EXAMPLES $ powersync fetch config --output=json ``` -_See code: [src/commands/fetch/config.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/fetch/config.ts)_ +_See code: [src/commands/fetch/config.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/fetch/config.ts)_ ## `powersync fetch instances` @@ -825,7 +825,7 @@ EXAMPLES $ powersync fetch instances --project-id= --output=json ``` -_See code: [src/commands/fetch/instances.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/fetch/instances.ts)_ +_See code: [src/commands/fetch/instances.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/fetch/instances.ts)_ ## `powersync fetch status` @@ -867,7 +867,7 @@ EXAMPLES $ powersync fetch status --instance-id= ``` -_See code: [src/commands/fetch/status.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/fetch/status.ts)_ +_See code: [src/commands/fetch/status.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/fetch/status.ts)_ ## `powersync generate schema` @@ -911,7 +911,7 @@ EXAMPLES $ powersync generate schema --output=dart --output-path=lib/schema.dart --instance-id= ``` -_See code: [src/commands/generate/schema.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/generate/schema.ts)_ +_See code: [src/commands/generate/schema.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/generate/schema.ts)_ ## `powersync generate token` @@ -954,7 +954,7 @@ EXAMPLES $ powersync generate token --subject=user-123 --expires-in-seconds=3600 ``` -_See code: [src/commands/generate/token.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/generate/token.ts)_ +_See code: [src/commands/generate/token.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/generate/token.ts)_ ## `powersync help [COMMAND]` @@ -1000,7 +1000,7 @@ EXAMPLES $ powersync init cloud --directory=powersync ``` -_See code: [src/commands/init/cloud.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/init/cloud.ts)_ +_See code: [src/commands/init/cloud.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/init/cloud.ts)_ ## `powersync init self-hosted` @@ -1027,7 +1027,7 @@ EXAMPLES $ powersync init self-hosted --directory=powersync ``` -_See code: [src/commands/init/self-hosted.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/init/self-hosted.ts)_ +_See code: [src/commands/init/self-hosted.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/init/self-hosted.ts)_ ## `powersync link cloud` @@ -1064,7 +1064,7 @@ EXAMPLES $ powersync link cloud --create --project-id= --org-id= ``` -_See code: [src/commands/link/cloud.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/link/cloud.ts)_ +_See code: [src/commands/link/cloud.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/link/cloud.ts)_ ## `powersync link self-hosted` @@ -1092,7 +1092,7 @@ EXAMPLES $ powersync link self-hosted --api-url=https://powersync.example.com ``` -_See code: [src/commands/link/self-hosted.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/link/self-hosted.ts)_ +_See code: [src/commands/link/self-hosted.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/link/self-hosted.ts)_ ## `powersync login` @@ -1113,7 +1113,7 @@ EXAMPLES $ powersync login ``` -_See code: [src/commands/login.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/login.ts)_ +_See code: [src/commands/login.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/login.ts)_ ## `powersync logout` @@ -1133,7 +1133,7 @@ EXAMPLES $ powersync logout ``` -_See code: [src/commands/logout.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/logout.ts)_ +_See code: [src/commands/logout.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/logout.ts)_ ## `powersync migrate sync-rules` @@ -1167,7 +1167,7 @@ DESCRIPTION Migrates Sync Rules to Sync Streams ``` -_See code: [src/commands/migrate/sync-rules.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/migrate/sync-rules.ts)_ +_See code: [src/commands/migrate/sync-rules.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/migrate/sync-rules.ts)_ ## `powersync plugins` @@ -1492,7 +1492,7 @@ EXAMPLES $ powersync pull instance --instance-id= ``` -_See code: [src/commands/pull/instance.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/pull/instance.ts)_ +_See code: [src/commands/pull/instance.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/pull/instance.ts)_ ## `powersync status` @@ -1534,7 +1534,7 @@ EXAMPLES $ powersync status --instance-id= ``` -_See code: [src/commands/status.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/status.ts)_ +_See code: [src/commands/status.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/status.ts)_ ## `powersync stop` @@ -1567,7 +1567,7 @@ EXAMPLES $ powersync stop --confirm=yes ``` -_See code: [src/commands/stop.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/stop.ts)_ +_See code: [src/commands/stop.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/stop.ts)_ ## `powersync validate` @@ -1615,6 +1615,6 @@ EXAMPLES $ powersync validate --api-url=https://powersync.example.com ``` -_See code: [src/commands/validate.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.1/src/commands/validate.ts)_ +_See code: [src/commands/validate.ts](https://github.com/powersync-ja/powersync-cli/blob/v0.10.2/src/commands/validate.ts)_ diff --git a/cli/package.json b/cli/package.json index ead5d3c1..486149aa 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,7 +1,7 @@ { "name": "powersync", "description": "A CLI for managing PowerSync instances", - "version": "0.10.1", + "version": "0.10.2", "author": "POWERSYNC", "bin": { "powersync": "./bin/run.js" diff --git a/packages/cli-core/CHANGELOG.md b/packages/cli-core/CHANGELOG.md index ed25f76f..1aca106b 100644 --- a/packages/cli-core/CHANGELOG.md +++ b/packages/cli-core/CHANGELOG.md @@ -1,5 +1,14 @@ # @powersync/cli-core +## 0.10.2 + +### Patch Changes + +- caabf52: Show the target instance name and IDs before `deploy`, `deploy sync-config`, `deploy service-config`, `stop`, `destroy` and `compact` do anything, so it is clear which instance is about to be changed. `status` shows the target first as well, with the API URL for self-hosted instances. `deploy` and `deploy service-config` now also warn when the local `service.yaml` `name` differs from the instance name, since deploying renames the instance. + + All deploy commands accept `--dry-run`, which prints the target instance, runs the validations, shows a diff of the sync config and the changed service config sections, and stops without deploying. + - @powersync/cli-schemas@0.10.2 + ## 0.10.1 ### Patch Changes diff --git a/packages/cli-core/package.json b/packages/cli-core/package.json index f65ae9ef..95895219 100644 --- a/packages/cli-core/package.json +++ b/packages/cli-core/package.json @@ -1,7 +1,7 @@ { "name": "@powersync/cli-core", "description": "Core types and base commands for PowerSync CLI and plugins (shared by CLI and plugin-docker).", - "version": "0.10.1", + "version": "0.10.2", "license": "FSL-1.1-ALv2", "author": "POWERSYNC", "type": "module", diff --git a/packages/schemas/CHANGELOG.md b/packages/schemas/CHANGELOG.md index b5a63a7e..d601c976 100644 --- a/packages/schemas/CHANGELOG.md +++ b/packages/schemas/CHANGELOG.md @@ -1,5 +1,7 @@ # @powersync/cli-schemas +## 0.10.2 + ## 0.10.1 ## 0.10.0 diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 11975ce2..e8ff4d70 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -1,7 +1,7 @@ { "name": "@powersync/cli-schemas", "description": "PowerSync CLI schema definitions and JSON Schema generation", - "version": "0.10.1", + "version": "0.10.2", "author": "POWERSYNC", "license": "FSL-1.1-ALv2", "type": "module", diff --git a/plugins/config-edit/CHANGELOG.md b/plugins/config-edit/CHANGELOG.md index dacfc200..9cc9c0df 100644 --- a/plugins/config-edit/CHANGELOG.md +++ b/plugins/config-edit/CHANGELOG.md @@ -1,5 +1,12 @@ # @powersync/cli-plugin-config-edit +## 0.10.2 + +### Patch Changes + +- Updated dependencies [caabf52] + - @powersync/cli-core@0.10.2 + ## 0.10.1 ### Patch Changes diff --git a/plugins/config-edit/package.json b/plugins/config-edit/package.json index f6673634..3455647a 100644 --- a/plugins/config-edit/package.json +++ b/plugins/config-edit/package.json @@ -1,7 +1,7 @@ { "name": "@powersync/cli-plugin-config-edit", "description": "PowerSync CLI plugin to launch the configuration editor", - "version": "0.10.1", + "version": "0.10.2", "license": "FSL-1.1-ALv2", "author": "POWERSYNC", "type": "module", diff --git a/plugins/docker/CHANGELOG.md b/plugins/docker/CHANGELOG.md index c594824b..be70f97e 100644 --- a/plugins/docker/CHANGELOG.md +++ b/plugins/docker/CHANGELOG.md @@ -1,5 +1,13 @@ # @powersync/cli-plugin-docker +## 0.10.2 + +### Patch Changes + +- Updated dependencies [caabf52] + - @powersync/cli-core@0.10.2 + - @powersync/cli-schemas@0.10.2 + ## 0.10.1 ### Patch Changes diff --git a/plugins/docker/package.json b/plugins/docker/package.json index fb348e79..6d923b13 100644 --- a/plugins/docker/package.json +++ b/plugins/docker/package.json @@ -1,7 +1,7 @@ { "name": "@powersync/cli-plugin-docker", "description": "PowerSync CLI plugin: reset, start, and stop self-hosted instances using Docker Compose", - "version": "0.10.1", + "version": "0.10.2", "author": "POWERSYNC", "license": "FSL-1.1-ALv2", "type": "module",