Skip to content

Commit

Permalink
Publish new package versions (#1161)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Patch Changes

- 450a65b: Support for a local Postgres database on the client. Also
introduces drivers for node Postgres and PGlite.
- c35956d: Don't leave a snapshot running when stopping the Satellite
process
-   5dd3975: Fix bug with null values in INT8 (BigInt) columns.
- ca53955: Add `react-dom` and `@tauri-apps/plugin-sql` as optiomal
peer dependencies.
-   0115a0a: Add Zod and Prisma to (optional) peer dependencies.
- 22a7555: Fix CLI `PROXY` option to correctly infer database name and
not print introspection url.
- ec27052: Remove max listener warning on `EventNotifier`'s event
emitter.
-   22a7555: Fix `ELECTRIC_` options not working as CLI arguments
-   abebbaa: Adding debug toolbar
- 244033f: Ensure no snapshot is taken after closing the Satellite
process.
- 3794e2b: Fix duplicate `ROLLBACK`s when using interactive
transactions through the adapter's `transaction` API.
- 244066a: Fix TextEncoder polyfill being fed numbers rather than
strings and breaking replication of number types
-   Updated dependencies [450a65b]
    -   @electric-sql/[email protected]

## @electric-sql/[email protected]

### Patch Changes

-   abebbaa: Adding debug toolbar
-   Updated dependencies [450a65b]
-   Updated dependencies [c35956d]
-   Updated dependencies [5dd3975]
-   Updated dependencies [ca53955]
-   Updated dependencies [0115a0a]
-   Updated dependencies [22a7555]
-   Updated dependencies [ec27052]
-   Updated dependencies [22a7555]
-   Updated dependencies [abebbaa]
-   Updated dependencies [244033f]
-   Updated dependencies [3794e2b]
-   Updated dependencies [244066a]
    -   [email protected]

## [email protected]

### Patch Changes

- 1b79344: Install with `--legacy-peer-deps` to circumvent temporary
issue with `electric-sql` package.
- ccd7e69: Fix port configuration not setting proper `.env` variables
and update `README`
- 784f737: Remove usage of `npx` in template scripts to ensure correct
package is used.

## @electric-sql/[email protected]

### Patch Changes

- 450a65b: Support for a local Postgres database on the client. Also
introduces drivers for node Postgres and PGlite.

## @core/[email protected]

### Patch Changes

- 450a65b: Support for a local Postgres database on the client. Also
introduces drivers for node Postgres and PGlite.

- bbe2f24: Persist client reconnection info to the database. This
allows the sync service to restore its caches after a restart to be able
to resume client replication streams and avoid resetting their local
databases.

- f3096b1: Switch the default value of `DATABASE_USE_IPV6` to "false".

- d375983: fix: filter the compensations along with main changes using
the magic `electric_user_id`

- 6573147: fix: non-leading primary key columns should no longer break
replication

- cb17555: Introduce the concept of "WAL window" that Electric can keep
around to enable it to recover already-seen transactions after a
restart.

Where previously Electric was acknowledging transactions as soon as it
was
receiving them from Postgres, now it will manually advance its
replication's
slot starting position when needed to keep the overall disk usage within
the
configurable limit. This allows Electric to replay some transactions it
previously consumed from the logical replication stream after a restart
and
repopulate its in-memory cache of transactions that it uses to resume
clients'
    replication streams.

- ed915dd: Fix electrification of tables with previously dropped
columns.

- 2be5f17: Fix serialization of composite PKs in Electric's internal
SQL code.

- f12dd95: Fix data encoding issues caused by unexpected cluster-wide
or database-specific configuration in Postgres. Electric now overrides
certain settings it is sensitive to when opening a new connection to the
database.

- 69eb03c: fix: migration statements in a transaction should preserve
original order when sent to the clients.

- c00c293: shapes: support `IS NULL`, `IS NOT NULL`, `IS TRUE/FALSE`
and `IS NOT TRUE/FALSE` operators in where clauses

- c8e6981: Revert the change introduced in
0deba4d (released in version 0.9.3)
where the configured signing key would get automatically decoded if it
looked like a valid base64-encoded string.

Electric will no longer try to interpet the signing key. A new
configuration option named `AUTH_JWT_KEY_IS_BASE64_ENCODED` has been
added.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored May 7, 2024
1 parent 7c3609e commit 6027c2d
Show file tree
Hide file tree
Showing 37 changed files with 87 additions and 149 deletions.
7 changes: 0 additions & 7 deletions .changeset/breezy-plums-dream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-masks-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-moles-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-knives-compete.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/five-humans-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/four-onions-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-ears-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-years-cheer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-beers-sparkle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-rocks-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-shrimps-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-fans-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-dogs-cheat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-peaches-cover.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/selfish-rocks-appear.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/shaggy-keys-retire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-seals-crash.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spicy-beans-build.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-shirts-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strange-rabbits-compete.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-hornets-sparkle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-garlics-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tricky-bulldogs-happen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-ties-scream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-kiwis-lick.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/weak-ducks-cross.md

This file was deleted.

19 changes: 19 additions & 0 deletions clients/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# electric-sql

## 0.10.2

### Patch Changes

- 450a65b3: Support for a local Postgres database on the client. Also introduces drivers for node Postgres and PGlite.
- c35956d6: Don't leave a snapshot running when stopping the Satellite process
- 5dd3975e: Fix bug with null values in INT8 (BigInt) columns.
- ca539551: Add `react-dom` and `@tauri-apps/plugin-sql` as optiomal peer dependencies.
- 0115a0a3: Add Zod and Prisma to (optional) peer dependencies.
- 22a7555a: Fix CLI `PROXY` option to correctly infer database name and not print introspection url.
- ec27052c: Remove max listener warning on `EventNotifier`'s event emitter.
- 22a7555a: Fix `ELECTRIC_` options not working as CLI arguments
- abebbaa2: Adding debug toolbar
- 244033ff: Ensure no snapshot is taken after closing the Satellite process.
- 3794e2b1: Fix duplicate `ROLLBACK`s when using interactive transactions through the adapter's `transaction` API.
- 244066af: Fix TextEncoder polyfill being fed numbers rather than strings and breaking replication of number types
- Updated dependencies [450a65b3]
- @electric-sql/prisma-generator@1.1.5

## 0.10.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.10.1",
"version": "0.10.2",
"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",
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/src/version/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const LIB_VERSION = '0.10.1'
export const LIB_VERSION = '0.10.2'
28 changes: 28 additions & 0 deletions components/electric/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @core/electric

## 0.10.2

### Patch Changes

- 450a65b3: Support for a local Postgres database on the client. Also introduces drivers for node Postgres and PGlite.
- bbe2f243: Persist client reconnection info to the database. This allows the sync service to restore its caches after a restart to be able to resume client replication streams and avoid resetting their local databases.
- f3096b10: Switch the default value of `DATABASE_USE_IPV6` to "false".
- d3759838: fix: filter the compensations along with main changes using the magic `electric_user_id`
- 6573147a: fix: non-leading primary key columns should no longer break replication
- cb175558: Introduce the concept of "WAL window" that Electric can keep around to enable it to recover already-seen transactions after a restart.

Where previously Electric was acknowledging transactions as soon as it was
receiving them from Postgres, now it will manually advance its replication's
slot starting position when needed to keep the overall disk usage within the
configurable limit. This allows Electric to replay some transactions it
previously consumed from the logical replication stream after a restart and
repopulate its in-memory cache of transactions that it uses to resume clients'
replication streams.

- ed915ddd: Fix electrification of tables with previously dropped columns.
- 2be5f171: Fix serialization of composite PKs in Electric's internal SQL code.
- f12dd95c: Fix data encoding issues caused by unexpected cluster-wide or database-specific configuration in Postgres. Electric now overrides certain settings it is sensitive to when opening a new connection to the database.
- 69eb03c2: fix: migration statements in a transaction should preserve original order when sent to the clients.
- c00c293b: shapes: support `IS NULL`, `IS NOT NULL`, `IS TRUE/FALSE` and `IS NOT TRUE/FALSE` operators in where clauses
- c8e69814: Revert the change introduced in 0deba4d79de61a31aa19515d055a2a977a8e1b4e (released in version 0.9.3) where the configured signing key would get automatically decoded if it looked like a valid base64-encoded string.

Electric will no longer try to interpet the signing key. A new configuration option named `AUTH_JWT_KEY_IS_BASE64_ENCODED` has been added.

## 0.10.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion components/electric/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@core/electric",
"private": true,
"version": "0.10.1"
"version": "0.10.2"
}
20 changes: 20 additions & 0 deletions components/toolbar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# @electric-sql/debug-toolbar

## 0.1.1

### Patch Changes

- abebbaa2: Adding debug toolbar
- Updated dependencies [450a65b3]
- Updated dependencies [c35956d6]
- Updated dependencies [5dd3975e]
- Updated dependencies [ca539551]
- Updated dependencies [0115a0a3]
- Updated dependencies [22a7555a]
- Updated dependencies [ec27052c]
- Updated dependencies [22a7555a]
- Updated dependencies [abebbaa2]
- Updated dependencies [244033ff]
- Updated dependencies [3794e2b1]
- Updated dependencies [244066af]
- [email protected]
2 changes: 1 addition & 1 deletion components/toolbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electric-sql/debug-toolbar",
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
Expand Down
8 changes: 8 additions & 0 deletions examples/starter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# create-electric-app

## 0.3.1

### Patch Changes

- 1b793442: Install with `--legacy-peer-deps` to circumvent temporary issue with `electric-sql` package.
- ccd7e693: Fix port configuration not setting proper `.env` variables and update `README`
- 784f7378: Remove usage of `npx` in template scripts to ensure correct package is used.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-electric-app",
"version": "0.3.0",
"version": "0.3.1",
"author": "ElectricSQL",
"license": "Apache-2.0",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @electric-sql/prisma-generator

## 1.1.5

### Patch Changes

- 450a65b3: Support for a local Postgres database on the client. Also introduces drivers for node Postgres and PGlite.

## 1.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electric-sql/prisma-generator",
"version": "1.1.4",
"version": "1.1.5",
"private": false,
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 6027c2d

Please sign in to comment.