diff --git a/.changeset/brown-candles-develop.md b/.changeset/brown-candles-develop.md deleted file mode 100644 index 3f089a99c0..0000000000 --- a/.changeset/brown-candles-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/debug-toolbar": patch ---- - -Use shape sync status notifier for updating shapes tab. diff --git a/.changeset/clean-singers-eat.md b/.changeset/clean-singers-eat.md deleted file mode 100644 index c56983b38c..0000000000 --- a/.changeset/clean-singers-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Flag to disable FKs checks on incoming TXs in SQLite. diff --git a/.changeset/eight-suits-boil.md b/.changeset/eight-suits-boil.md deleted file mode 100644 index 19120c5689..0000000000 --- a/.changeset/eight-suits-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Bring back the enforcement of SSL use for database connections. The default value was changed to `false` in v0.9.1 by accident. This version restores the intended behaviour. To use unencrypted database connections, you must explicitly configure Electric with DATABASE_REQUIRE_SSL=false. diff --git a/.changeset/five-rats-shake.md b/.changeset/five-rats-shake.md deleted file mode 100644 index 08e181cc3e..0000000000 --- a/.changeset/five-rats-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Fix asyncEventEmitter to not silence unhandled exceptions raised in event handlers. diff --git a/.changeset/flat-terms-shake.md b/.changeset/flat-terms-shake.md deleted file mode 100644 index acf459c097..0000000000 --- a/.changeset/flat-terms-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Redact secrets from CLI Docker configuration printout. diff --git a/.changeset/gold-poets-invent.md b/.changeset/gold-poets-invent.md deleted file mode 100644 index c9c3ba8bde..0000000000 --- a/.changeset/gold-poets-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Use canary Docker image tag when using the canary CLI client. diff --git a/.changeset/grumpy-goats-work.md b/.changeset/grumpy-goats-work.md deleted file mode 100644 index 165b3e2114..0000000000 --- a/.changeset/grumpy-goats-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -The sync service now exits when a database connector fails to initialise. Previously, some initialisation errors would result in Electric running without a single database connection and not logging any erors about that. diff --git a/.changeset/large-jars-kiss.md b/.changeset/large-jars-kiss.md deleted file mode 100644 index 11fecc9a39..0000000000 --- a/.changeset/large-jars-kiss.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@core/electric": minor -"electric-sql": minor ---- - -feat: server-driven unsubscribes to allow clients to unsubscribe from shapes diff --git a/.changeset/modern-taxis-juggle.md b/.changeset/modern-taxis-juggle.md deleted file mode 100644 index 4fa15ea44c..0000000000 --- a/.changeset/modern-taxis-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Use more widely supported regex features for SQL interpolation (remove negative lookbehind which has [limmited support](https://caniuse.com/js-regexp-lookbehind)) diff --git a/.changeset/nasty-buses-wink.md b/.changeset/nasty-buses-wink.md deleted file mode 100644 index 318c34fbd0..0000000000 --- a/.changeset/nasty-buses-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Consistently use `URL` API for parsing and constructing URLs in CLI. diff --git a/.changeset/polite-donkeys-reflect.md b/.changeset/polite-donkeys-reflect.md deleted file mode 100644 index 8298ef1ed2..0000000000 --- a/.changeset/polite-donkeys-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/debug-toolbar": patch ---- - -Allow toolbar to remount properly on consecutive `addToolbar` calls diff --git a/.changeset/poor-deers-marry.md b/.changeset/poor-deers-marry.md deleted file mode 100644 index aa34145bb3..0000000000 --- a/.changeset/poor-deers-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Increase client ping interval from 5 to 20 seconds. diff --git a/.changeset/pretty-zoos-mate.md b/.changeset/pretty-zoos-mate.md deleted file mode 100644 index aa8cead497..0000000000 --- a/.changeset/pretty-zoos-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Ensure default port numbers are used when starting Electric with CLI. diff --git a/.changeset/proud-lemons-poke.md b/.changeset/proud-lemons-poke.md deleted file mode 100644 index bb53d9a221..0000000000 --- a/.changeset/proud-lemons-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/debug-toolbar": minor ---- - -Add support for new shape sync API diff --git a/.changeset/red-insects-provide.md b/.changeset/red-insects-provide.md deleted file mode 100644 index b0d0f34ae8..0000000000 --- a/.changeset/red-insects-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Better throttle snapshot stop strategy diff --git a/.changeset/selfish-years-suffer.md b/.changeset/selfish-years-suffer.md deleted file mode 100644 index 1601151a13..0000000000 --- a/.changeset/selfish-years-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Fix `ShapeManager` bug where manager state gets reset but the Satellite process is still assuming it is accessible. diff --git a/.changeset/sharp-dragons-design.md b/.changeset/sharp-dragons-design.md deleted file mode 100644 index cda9785e73..0000000000 --- a/.changeset/sharp-dragons-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/debug-toolbar": patch ---- - -Remove source map files from npm package diff --git a/.changeset/short-hounds-train.md b/.changeset/short-hounds-train.md deleted file mode 100644 index 276cb5afc4..0000000000 --- a/.changeset/short-hounds-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/debug-toolbar": patch ---- - -Convert toolbar container into rounded border card diff --git a/.changeset/strange-keys-run.md b/.changeset/strange-keys-run.md deleted file mode 100644 index 7e323cba2f..0000000000 --- a/.changeset/strange-keys-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Add experimental feature flag `ELECTRIC_FEATURES` environment variable to CLI options diff --git a/.changeset/thick-radios-whisper.md b/.changeset/thick-radios-whisper.md deleted file mode 100644 index 74c67b40d7..0000000000 --- a/.changeset/thick-radios-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-electric-app": patch ---- - -Remove `legacy-peer-deps` npm installation option with new templates diff --git a/.changeset/thin-impalas-bathe.md b/.changeset/thin-impalas-bathe.md deleted file mode 100644 index 789e6a4d26..0000000000 --- a/.changeset/thin-impalas-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Use the same TCP options for database connections regardless of whether they are initiated by epgsql or the Ecto repo. diff --git a/.changeset/tidy-pens-refuse.md b/.changeset/tidy-pens-refuse.md deleted file mode 100644 index 4ff0eb64ed..0000000000 --- a/.changeset/tidy-pens-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Expose `SyncStatus` type and methods for introspecting shape subscription status diff --git a/.changeset/yellow-geckos-mix.md b/.changeset/yellow-geckos-mix.md deleted file mode 100644 index 846a56a033..0000000000 --- a/.changeset/yellow-geckos-mix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Truncate temporary replication slot name to always fit within Postgres' limit of 63 chars diff --git a/.changeset/young-plants-try.md b/.changeset/young-plants-try.md deleted file mode 100644 index 1a8fe7c928..0000000000 --- a/.changeset/young-plants-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Add notifier method `subscribeToShapeSubscriptionSyncStatusChanges` for listening to shape subscription status updates diff --git a/clients/typescript/CHANGELOG.md b/clients/typescript/CHANGELOG.md index 7e8078b81d..494253768f 100644 --- a/clients/typescript/CHANGELOG.md +++ b/clients/typescript/CHANGELOG.md @@ -1,5 +1,26 @@ # electric-sql +## 0.12.0 + +### Minor Changes + +- a8eedad: feat: server-driven unsubscribes to allow clients to unsubscribe from shapes + +### Patch Changes + +- f4f020d: Flag to disable FKs checks on incoming TXs in SQLite. +- 17e793c: Fix asyncEventEmitter to not silence unhandled exceptions raised in event handlers. +- d279c8a: Redact secrets from CLI Docker configuration printout. +- 81d91f5: Use canary Docker image tag when using the canary CLI client. +- d406e85: Use more widely supported regex features for SQL interpolation (remove negative lookbehind which has [limmited support](https://caniuse.com/js-regexp-lookbehind)) +- d3506ab: Consistently use `URL` API for parsing and constructing URLs in CLI. +- d3506ab: Ensure default port numbers are used when starting Electric with CLI. +- 237e323: Better throttle snapshot stop strategy +- 17e793c: Fix `ShapeManager` bug where manager state gets reset but the Satellite process is still assuming it is accessible. +- 25523d9: Add experimental feature flag `ELECTRIC_FEATURES` environment variable to CLI options +- b966157: Expose `SyncStatus` type and methods for introspecting shape subscription status +- 276149d: Add notifier method `subscribeToShapeSubscriptionSyncStatusChanges` for listening to shape subscription status updates + ## 0.11.3 ### Patch Changes diff --git a/clients/typescript/package.json b/clients/typescript/package.json index 1628949278..81e7d219e7 100644 --- a/clients/typescript/package.json +++ b/clients/typescript/package.json @@ -1,5 +1,5 @@ { - "version": "0.11.3", + "version": "0.12.0", "name": "electric-sql", "description": "ElectricSQL TypeScript client for developing local-first SQL apps. Supports JavaScript based mobile, web and edge applications.", "repository": "https://github.com/electric-sql/electric/tree/main/clients/typescript", diff --git a/clients/typescript/src/version/index.ts b/clients/typescript/src/version/index.ts index 5b891c245b..3c0a16c869 100644 --- a/clients/typescript/src/version/index.ts +++ b/clients/typescript/src/version/index.ts @@ -1 +1 @@ -export const LIB_VERSION = '0.11.3' +export const LIB_VERSION = '0.12.0' diff --git a/components/electric/CHANGELOG.md b/components/electric/CHANGELOG.md index 365b22f194..557bf6ecdc 100644 --- a/components/electric/CHANGELOG.md +++ b/components/electric/CHANGELOG.md @@ -1,5 +1,19 @@ # @core/electric +## 0.12.0 + +### Minor Changes + +- a8eedad: feat: server-driven unsubscribes to allow clients to unsubscribe from shapes + +### Patch Changes + +- cbd652d: Bring back the enforcement of SSL use for database connections. The default value was changed to `false` in v0.9.1 by accident. This version restores the intended behaviour. To use unencrypted database connections, you must explicitly configure Electric with DATABASE_REQUIRE_SSL=false. +- e77296d: The sync service now exits when a database connector fails to initialise. Previously, some initialisation errors would result in Electric running without a single database connection and not logging any erors about that. +- 7ac268d: Increase client ping interval from 5 to 20 seconds. +- e8e4e3b: Use the same TCP options for database connections regardless of whether they are initiated by epgsql or the Ecto repo. +- c3873fe: Truncate temporary replication slot name to always fit within Postgres' limit of 63 chars + ## 0.11.1 ### Patch Changes diff --git a/components/electric/package.json b/components/electric/package.json index be1cb459a3..04e36102ad 100644 --- a/components/electric/package.json +++ b/components/electric/package.json @@ -1,5 +1,5 @@ { "name": "@core/electric", "private": true, - "version": "0.11.1" + "version": "0.12.0" } \ No newline at end of file diff --git a/components/toolbar/CHANGELOG.md b/components/toolbar/CHANGELOG.md index 0e3fe37cf2..fa623888ba 100644 --- a/components/toolbar/CHANGELOG.md +++ b/components/toolbar/CHANGELOG.md @@ -1,5 +1,32 @@ # @electric-sql/debug-toolbar +## 2.0.0 + +### Minor Changes + +- b966157: Add support for new shape sync API + +### Patch Changes + +- 6d4fb3d: Use shape sync status notifier for updating shapes tab. +- f4af7f6: Allow toolbar to remount properly on consecutive `addToolbar` calls +- 5f40b96: Remove source map files from npm package +- 52265c8: Convert toolbar container into rounded border card +- Updated dependencies [f4f020d] +- Updated dependencies [17e793c] +- Updated dependencies [d279c8a] +- Updated dependencies [81d91f5] +- Updated dependencies [a8eedad] +- Updated dependencies [d406e85] +- Updated dependencies [d3506ab] +- Updated dependencies [d3506ab] +- Updated dependencies [237e323] +- Updated dependencies [17e793c] +- Updated dependencies [25523d9] +- Updated dependencies [b966157] +- Updated dependencies [276149d] + - electric-sql@0.12.0 + ## 1.2.0 ### Minor Changes diff --git a/components/toolbar/package.json b/components/toolbar/package.json index 5b4246dcaf..a12b8a84c6 100644 --- a/components/toolbar/package.json +++ b/components/toolbar/package.json @@ -1,6 +1,6 @@ { "name": "@electric-sql/debug-toolbar", - "version": "1.2.0", + "version": "2.0.0", "type": "module", "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/examples/starter/CHANGELOG.md b/examples/starter/CHANGELOG.md index 0571bdea01..512ea36dad 100644 --- a/examples/starter/CHANGELOG.md +++ b/examples/starter/CHANGELOG.md @@ -1,5 +1,11 @@ # create-electric-app +## 0.3.2 + +### Patch Changes + +- 269bb0f: Remove `legacy-peer-deps` npm installation option with new templates + ## 0.3.1 ### Patch Changes diff --git a/examples/starter/package.json b/examples/starter/package.json index 9601df3ec7..81f138f6e6 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -1,6 +1,6 @@ { "name": "create-electric-app", - "version": "0.3.1", + "version": "0.3.2", "author": "ElectricSQL", "license": "Apache-2.0", "main": "dist/index.js",