Skip to content

Commit

Permalink
chore: publish new package versions (#1902)
Browse files Browse the repository at this point in the history
# Releases
## @electric-sql/[email protected]

### Minor Changes

- 4d872b6: All `Shape` interfaces (`ShapeStream`, `Shape`, `useShape`)
now require `table` as an additional configuration parameter, and the
shape API endpoint url only needs to point to `/v1/shape`.

### Patch Changes

- 61a18bd: - Implement `rows` and `currentRows` getters on `Shape`
interface for easier data access.
- [BREAKING] Rename `valueSync` getter on `Shape` to `currentValue` for
clarity and consistency.
- [BREAKING] Change `subscribe` API on `Shape` to accept callbacks with
signature `({ rows: T[], value: Map<string, T> }) => void`
- 9bd3673: Clear caches when cached stream is in errored state or is
explicitly aborted
-   Updated dependencies [61a18bd]
-   Updated dependencies [4d872b6]
-   Updated dependencies [aed079f]
-   Updated dependencies [4d872b6]
    -   @electric-sql/[email protected]

## @electric-sql/[email protected]

### Minor Changes

- 61a18bd: - Implement `rows` and `currentRows` getters on `Shape`
interface for easier data access.
- [BREAKING] Rename `valueSync` getter on `Shape` to `currentValue` for
clarity and consistency.
- [BREAKING] Change `subscribe` API on `Shape` to accept callbacks with
signature `({ rows: T[], value: Map<string, T> }) => void`
- 4d872b6: All `Shape` interfaces (`ShapeStream`, `Shape`, `useShape`)
now require `table` as an additional configuration parameter, and the
shape API endpoint url only needs to point to `/v1/shape`.
- 4d872b6: [breaking] Changes the API contract for the server to use
new, clearer header names and query parameter names. One highlight is
the change from `shape_id` to `handle` as the URL query parameter

### Patch Changes

- aed079f: Add `replica` parameter to change the behaviour for updates
to include the full row, not just the modified columns

## @core/[email protected]

### Minor Changes

- 4d872b6: [breaking] Changes the API contract for the server to use
new, clearer header names and query parameter names. One highlight is
the change from `shape_id` to `handle` as the URL query parameter
- 4d872b6: [BREAKING] All shape API endpoints now accept `table` as a
query parameter rather than a path parameter, so
`/v1/shape/foo?offset=-1` now becomes `/v1/shape?table=foo&offset=-1`.

### Patch Changes

- 1cf8bf9: Fix `ELECTRIC_REPLICATION_STREAM_ID` not being able to be set
because of incorrect parsing
- 16698ff: Add tracing of snapshot creation and more logging of postgres
connection status. Prevent connection timeouts when writing snapshot
data. Add `ELECTRIC_LOG_OTP_REPORTS` environment variable to enable OTP
SASL reporting at runtime.
- c4d118d: Add `CLEANUP_REPLICATION_SLOTS_ON_SHUTDOWN` env var option to
configure whether temporary replication slots are used, to allow easier
cleanups on test deploys
-   b110ed9: Update acknowledged WAL on keep alive messages
- 0873da2: Consistently prefix environment variables with our ELECTRIC\_
namespace
-   52caf48: Update OpenTelemetry dependencies
- aed079f: Add `replica` parameter to change the behaviour for updates
to include the full row, not just the modified columns
- 85618d0: Fix a possible deadlock issue when creating or updating
multiple where-claused shapes that occured while updating the Postgres
publication (only on PG 15+). Fix a possible race condition between
reading the existing publication and writing the updated version.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 5, 2024
1 parent aed079f commit ca138d9
Show file tree
Hide file tree
Showing 19 changed files with 53 additions and 74 deletions.
5 changes: 0 additions & 5 deletions .changeset/big-shoes-care.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chatty-adults-heal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cyan-guests-lie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-pugs-guess.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/friendly-toes-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-rats-drive.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/hot-lions-smell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-eagles-deliver.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-bees-prove.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/sharp-moons-provide.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/silly-pants-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-chairs-punch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-pens-cheer.md

This file was deleted.

18 changes: 18 additions & 0 deletions packages/react-hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @electric-sql/react

## 0.5.0

### Minor Changes

- 4d872b6: All `Shape` interfaces (`ShapeStream`, `Shape`, `useShape`) now require `table` as an additional configuration parameter, and the shape API endpoint url only needs to point to `/v1/shape`.

### Patch Changes

- 61a18bd: - Implement `rows` and `currentRows` getters on `Shape` interface for easier data access.
- [BREAKING] Rename `valueSync` getter on `Shape` to `currentValue` for clarity and consistency.
- [BREAKING] Change `subscribe` API on `Shape` to accept callbacks with signature `({ rows: T[], value: Map<string, T> }) => void`
- 9bd3673: Clear caches when cached stream is in errored state or is explicitly aborted
- Updated dependencies [61a18bd]
- Updated dependencies [4d872b6]
- Updated dependencies [aed079f]
- Updated dependencies [4d872b6]
- @electric-sql/client@0.7.0

## 0.4.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electric-sql/react",
"version": "0.4.7",
"version": "0.5.0",
"description": "React hooks for ElectricSQL",
"type": "module",
"main": "dist/cjs/index.cjs",
Expand Down
18 changes: 18 additions & 0 deletions packages/sync-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @core/sync-service

## 0.8.0

### Minor Changes

- 4d872b6: [breaking] Changes the API contract for the server to use new, clearer header names and query parameter names. One highlight is the change from `shape_id` to `handle` as the URL query parameter
- 4d872b6: [BREAKING] All shape API endpoints now accept `table` as a query parameter rather than a path parameter, so `/v1/shape/foo?offset=-1` now becomes `/v1/shape?table=foo&offset=-1`.

### Patch Changes

- 1cf8bf9: Fix `ELECTRIC_REPLICATION_STREAM_ID` not being able to be set because of incorrect parsing
- 16698ff: Add tracing of snapshot creation and more logging of postgres connection status. Prevent connection timeouts when writing snapshot data. Add `ELECTRIC_LOG_OTP_REPORTS` environment variable to enable OTP SASL reporting at runtime.
- c4d118d: Add `CLEANUP_REPLICATION_SLOTS_ON_SHUTDOWN` env var option to configure whether temporary replication slots are used, to allow easier cleanups on test deploys
- b110ed9: Update acknowledged WAL on keep alive messages
- 0873da2: Consistently prefix environment variables with our ELECTRIC\_ namespace
- 52caf48: Update OpenTelemetry dependencies
- aed079f: Add `replica` parameter to change the behaviour for updates to include the full row, not just the modified columns
- 85618d0: Fix a possible deadlock issue when creating or updating multiple where-claused shapes that occured while updating the Postgres publication (only on PG 15+). Fix a possible race condition between reading the existing publication and writing the updated version.

## 0.7.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sync-service/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@core/sync-service",
"private": true,
"version": "0.7.7",
"version": "0.8.0",
"scripts": {
"publish:hex": "mix do deps.get, hex.publish --yes"
}
Expand Down
14 changes: 14 additions & 0 deletions packages/typescript-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @electric-sql/client

## 0.7.0

### Minor Changes

- 61a18bd: - Implement `rows` and `currentRows` getters on `Shape` interface for easier data access.
- [BREAKING] Rename `valueSync` getter on `Shape` to `currentValue` for clarity and consistency.
- [BREAKING] Change `subscribe` API on `Shape` to accept callbacks with signature `({ rows: T[], value: Map<string, T> }) => void`
- 4d872b6: All `Shape` interfaces (`ShapeStream`, `Shape`, `useShape`) now require `table` as an additional configuration parameter, and the shape API endpoint url only needs to point to `/v1/shape`.
- 4d872b6: [breaking] Changes the API contract for the server to use new, clearer header names and query parameter names. One highlight is the change from `shape_id` to `handle` as the URL query parameter

### Patch Changes

- aed079f: Add `replica` parameter to change the behaviour for updates to include the full row, not just the modified columns

## 0.6.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electric-sql/client",
"version": "0.6.5",
"version": "0.7.0",
"description": "Postgres everywhere - your data, in sync, wherever you need it.",
"type": "module",
"main": "dist/cjs/index.cjs",
Expand Down

0 comments on commit ca138d9

Please sign in to comment.