diff --git a/.changeset/clever-plants-teach.md b/.changeset/clever-plants-teach.md deleted file mode 100644 index 1cdf7a6940..0000000000 --- a/.changeset/clever-plants-teach.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"electric-sql": minor -"@core/electric": minor ---- - -Introduce shapes with relation following on server and client diff --git a/.changeset/five-cats-lick.md b/.changeset/five-cats-lick.md deleted file mode 100644 index 2dbf066319..0000000000 --- a/.changeset/five-cats-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/prisma-generator": patch ---- - -Do not import `Relation` class if data model does not have any relations - fixes `unused import` TS errors. diff --git a/.changeset/four-pans-speak.md b/.changeset/four-pans-speak.md deleted file mode 100644 index cb690c33c1..0000000000 --- a/.changeset/four-pans-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Don't receive notifications when no table has changed diff --git a/.changeset/giant-buckets-fry.md b/.changeset/giant-buckets-fry.md deleted file mode 100644 index c93017231e..0000000000 --- a/.changeset/giant-buckets-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@electric-sql/prisma-generator": patch ---- - -[BREAKING] Use `{Table}UncheckedCreateInputSchema` as type for table model to avoid nested types and recursions. diff --git a/.changeset/ninety-spoons-sneeze.md b/.changeset/ninety-spoons-sneeze.md deleted file mode 100644 index 75708c1021..0000000000 --- a/.changeset/ninety-spoons-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Fix queries trying to retrieve relations using `null` foreign keys. diff --git a/.changeset/quick-cooks-accept.md b/.changeset/quick-cooks-accept.md deleted file mode 100644 index 1118403eda..0000000000 --- a/.changeset/quick-cooks-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Fixed incorrect field transformation for queries with included relations diff --git a/.changeset/real-snakes-drum.md b/.changeset/real-snakes-drum.md deleted file mode 100644 index e8a948adf3..0000000000 --- a/.changeset/real-snakes-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Fix the issue where the sync service would not sync any rows that had been present in a table before it was electrified. diff --git a/.changeset/rich-meals-buy.md b/.changeset/rich-meals-buy.md deleted file mode 100644 index eb61b6c475..0000000000 --- a/.changeset/rich-meals-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Implement `setReplicationTransform` API on tables that allows transforming row fields at the replication boundary. diff --git a/.changeset/rude-kids-smoke.md b/.changeset/rude-kids-smoke.md deleted file mode 100644 index 60756ed3fa..0000000000 --- a/.changeset/rude-kids-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"electric-sql": patch ---- - -Fix `op-sqlite` driver integration using HostObjects and failing to return results diff --git a/.changeset/stupid-fishes-warn.md b/.changeset/stupid-fishes-warn.md deleted file mode 100644 index 945749beb1..0000000000 --- a/.changeset/stupid-fishes-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Fix unbounded disk usage growth caused by the WAL records retained by Electric's replication slot. diff --git a/.changeset/sweet-needles-play.md b/.changeset/sweet-needles-play.md deleted file mode 100644 index 94b0f2f8ae..0000000000 --- a/.changeset/sweet-needles-play.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@core/electric": patch -"electric-sql": patch -"@electric-sql/prisma-generator": patch ---- - -Added support for BYTEA/BLOB column type across the sync service, TS client, and client generator diff --git a/.changeset/ten-elephants-tan.md b/.changeset/ten-elephants-tan.md deleted file mode 100644 index 8f4fdbddb7..0000000000 --- a/.changeset/ten-elephants-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -fix: make sure the client is gracefully disconnected if PG is too slow on connection diff --git a/.changeset/warm-carrots-promise.md b/.changeset/warm-carrots-promise.md deleted file mode 100644 index 32aa6b7534..0000000000 --- a/.changeset/warm-carrots-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@core/electric": patch ---- - -Include all publishable tables in the publication that Electric creates at startup. diff --git a/clients/typescript/CHANGELOG.md b/clients/typescript/CHANGELOG.md index 415ef6788c..7d694a6368 100644 --- a/clients/typescript/CHANGELOG.md +++ b/clients/typescript/CHANGELOG.md @@ -1,5 +1,24 @@ # electric-sql +## 0.10.0 + +### Minor Changes + +- 64c8f87e: Introduce shapes with relation following on server and client + +### Patch Changes + +- 494aebd9: Don't receive notifications when no table has changed +- 6adfe2e2: Fix queries trying to retrieve relations using `null` foreign keys. +- da1b6f6d: Fixed incorrect field transformation for queries with included relations +- a48bcdc3: Implement `setReplicationTransform` API on tables that allows transforming row fields at the replication boundary. +- 179e9945: Fix `op-sqlite` driver integration using HostObjects and failing to return results +- b7e99c88: Added support for BYTEA/BLOB column type across the sync service, TS client, and client generator +- Updated dependencies [d8ee5f0e] +- Updated dependencies [a48bcdc3] +- Updated dependencies [b7e99c88] + - @electric-sql/prisma-generator@1.1.4 + ## 0.9.6 ### Patch Changes diff --git a/clients/typescript/package.json b/clients/typescript/package.json index 44f026ac92..29c58b4537 100644 --- a/clients/typescript/package.json +++ b/clients/typescript/package.json @@ -1,5 +1,5 @@ { - "version": "0.9.6", + "version": "0.10.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 f5e9611255..f313c58e7a 100644 --- a/clients/typescript/src/version/index.ts +++ b/clients/typescript/src/version/index.ts @@ -1 +1 @@ -export const LIB_VERSION = '0.9.6' +export const LIB_VERSION = '0.10.0' diff --git a/components/electric/CHANGELOG.md b/components/electric/CHANGELOG.md index dd44dd1276..d13426a0ff 100644 --- a/components/electric/CHANGELOG.md +++ b/components/electric/CHANGELOG.md @@ -1,5 +1,19 @@ # @core/electric +## 0.10.0 + +### Minor Changes + +- 284d987d: Introduce shapes with relation following on server and client + +### Patch Changes + +- f200734d: Fix the issue where the sync service would not sync any rows that had been present in a table before it was electrified. +- 419e7b28: Fix unbounded disk usage growth caused by the WAL records retained by Electric's replication slot. +- b7e99c88: Added support for BYTEA/BLOB column type across the sync service, TS client, and client generator +- 378b1af1: fix: make sure the client is gracefully disconnected if PG is too slow on connection +- 2394ec93: Include all publishable tables in the publication that Electric creates at startup. + ## 0.9.4 ### Patch Changes diff --git a/components/electric/lib/electric/plug/satellite_websocket_plug.ex b/components/electric/lib/electric/plug/satellite_websocket_plug.ex index 0a905197f2..b9b330b0ad 100644 --- a/components/electric/lib/electric/plug/satellite_websocket_plug.ex +++ b/components/electric/lib/electric/plug/satellite_websocket_plug.ex @@ -26,7 +26,7 @@ defmodule Electric.Plug.SatelliteWebsocketPlug do &InitialSync.query_after_move_in/4 ) - @currently_supported_versions ">= 0.6.0 and <= #{%{Electric.vsn() | pre: []}}" + @currently_supported_versions ">= 0.10.0 and <= #{%{Electric.vsn() | pre: []}}" def call(conn, handler_opts) do with :ok <- check_if_valid_upgrade(conn), diff --git a/components/electric/package.json b/components/electric/package.json index 365b8cf717..301804560b 100644 --- a/components/electric/package.json +++ b/components/electric/package.json @@ -1,5 +1,5 @@ { "name": "@core/electric", "private": true, - "version": "0.9.4" + "version": "0.10.0" } \ No newline at end of file diff --git a/generator/CHANGELOG.md b/generator/CHANGELOG.md index 27d0c24f6f..79e9940dde 100644 --- a/generator/CHANGELOG.md +++ b/generator/CHANGELOG.md @@ -1,5 +1,13 @@ # @electric-sql/prisma-generator +## 1.1.4 + +### Patch Changes + +- d8ee5f0e: Do not import `Relation` class if data model does not have any relations - fixes `unused import` TS errors. +- a48bcdc3: [BREAKING] Use `{Table}UncheckedCreateInputSchema` as type for table model to avoid nested types and recursions. +- b7e99c88: Added support for BYTEA/BLOB column type across the sync service, TS client, and client generator + ## 1.1.3 ### Patch Changes diff --git a/generator/package.json b/generator/package.json index 36ce168e39..7a5acc892c 100644 --- a/generator/package.json +++ b/generator/package.json @@ -1,6 +1,6 @@ { "name": "@electric-sql/prisma-generator", - "version": "1.1.3", + "version": "1.1.4", "private": false, "publishConfig": { "access": "public"