DATE:
AUTHOR:
PowerSync Product Team
CLI

PowerSync CLI: v0.10.4

DATE:
AUTHOR: PowerSync Product Team

We are pleased to announce the release of version 0.10.4 of the PowerSync CLI. The CLI can be installed globally npm install -g powersync or via npx powersync. Visit the docs to learn more about its usage.

Have any questions or feedback? Chat with us and the PowerSync community on Discord.

Changelog

v0.10.4 - 2026-11-23

  • [IMPROVED] The CLI's license changed from the Functional Source License to the Apache License, Version 2.0, removing the competing-use restriction and the two-year delayed grant. (PR #74)

  • [FIXED] Standalone installers bundled a Node.js runtime vulnerable to the issues in the November 2026 Node.js security release. The bundled runtime is now 24.22.3, and powersync edit config launches its editor server with that same executable instead of a system node. (PR #76)

  • [INTERNAL] Update @powersync/service-schema, @powersync/service-sync-rules, @powersync/service-types, @powersync/service-client, @powersync/management-client, and @powersync/management-types dependencies. (PR #77)

v0.10.3 - 2026-10-26

  • [FIXED] !env substitution for a missing environment variable silently used the variable's name as the value instead of failing. validate and deploy then treated it as a literal connection string, and PowerSync Cloud reported a confusing PSYNC_S1109 error. (PR #67)

  • [FIXED] powersync generate schema's TypeScript output imported SyncStream as a value, which failed under verbatimModuleSyntax or other strict bundlers. It's now a type-only import, through an updated @powersync/service-sync-rules dependency. (PR #72)

  • [INTERNAL] Update @powersync/service-types and @powersync/service-client dependencies. (PR #72)

v0.10.2 - 2026-10-01

  • [ADDED] deploy, deploy sync-config, deploy service-config, stop, destroy, and compact now print the target instance name and ID before making changes. status shows the target first too, with the API URL for self-hosted instances. deploy and deploy service-config warn when service.yaml's name differs from the instance, since deploying renames it. (PR #64)

  • [ADDED] --dry-run on all deploy commands shows the target instance, runs validations, and previews the sync config and service config changes without deploying. (PR #64)

  • [ADDED] powersync generate schema supports Rust output, through an updated @powersync/service-sync-rules dependency. (PR #70)

  • [FIXED] powersync migrate sync-rules generated a $schema comment pointing at the renamed sync_rules.json instead of sync_config.json, breaking YAML validation in editors with the YAML extension. (PR #71)

v0.10.1 - 2026-09-15

  • [FIXED] --directory no longer incorrectly appends an absolute path to the current working directory. (PR #56)

  • [FIXED] powersync edit config crashing with Cannot find module 'minimatch'. (PR #68)

v0.10.0 - 2026-06-11

  • [IMPROVED] Commands that take --instance-id (such as powersync pull instance) now resolve --project-id and --org-id automatically from it, so you no longer need to pass them. The PROJECT_ID and ORG_ID environment variables become no-ops. (PR #38)

v0.9.6 - 2026-05-27

  • [INTERNAL] Update dependencies. (PR #40)

v0.9.5 - 2026-05-21

  • [ADDED] powersync compact to trigger compaction on the linked PowerSync Cloud instance and reclaim sync bucket storage. Supports an optional --timeout=<minutes> flag (default 30, use 0 to wait indefinitely) for long-running compactions on large buckets. (PR #41)

v0.9.4 - 2026-04-23

  • [FIXED] Crash when trying to transform Sync Rules containing :: casts to Sync Streams. (PR #34)

v0.9.3 - 2026-03-19

  • [ADDED] --sync-config-file-path flag for powersync deploy, powersync deploy sync-config, powersync validate, and powersync generate schema, so the sync YAML can be loaded from any path rather than the default sync-config.yaml. (PR #32)

  • [ADDED] --skip-validations and --validate-only flags for deploy and validate commands, each accepting a comma-separated list of validation tests configuration, connections, sync-config). Useful when deploying behind VPC endpoints, working around transient sync config timeouts, or bypassing schema validation for older configs. (PR #22)

  • [ADDED] --overwrite flag for powersync pull instance to write directly to existing config files instead of temporary files; pulled service.yaml now also includes YAML comments and examples for all config options, making it easier to extend without consulting docs. (PR #26)

  • [IMPROVED] NPM install footprint reduced from ~326 MB to ~116 MB by removing transitive mssql, azure, and vitest dependencies. (PR #21)

  • [IMPROVED] Service error output now shows PowerSyncError or PowerSyncAuthError (with a hint to re-run powersync login) instead of raw JourneyError JSON. (PR #33)

v0.9.2 - 2026-03-06

  • [FIXED] Translation bugs in powersync migrate sync-rules: parameter queries without outputs (e.g. SELECT FROM users WHERE is_admin) now accepted; bucket parameter references now use double quotes correctly; auth.parameters() ->> 'x' is now rewritten to the more readable auth.parameter('x'). (PR #24)

v0.9.1 - 2026-03-05

  • [FIXED] powersync docker configure crash with ENOENT: no such file or directory for main-compose.yaml, caused by a missing build script in the Docker plugin that should copy template files to dist. (PR #20)

v0.9.0 - 2026-03-04

  • Initial release of the new CLI.

Powered by LaunchNotes