Skip to content

Releases: electric-sql/electric

@electric-sql/[email protected]

05 Nov 16:29
c521679
Compare
Choose a tag to compare

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]

@core/[email protected]

05 Nov 16:29
c521679
Compare
Choose a tag to compare

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.

@electric-sql/[email protected]

25 Oct 22:15
d43c375
Compare
Choose a tag to compare

Patch Changes

@core/[email protected]

25 Oct 22:15
d43c375
Compare
Choose a tag to compare

Patch Changes

  • 11c326f: Unify CORS header handling to ensure they are always present
  • 7de9f1d: Handle 400 errors as unrecoverable rather than must-refetch cases
  • 3bdf6b6: Handle relations in ShapeLogCollector same way that transactions are handled
  • a8b36ac: Validate table names locally first before going to PG to save resources

@electric-sql/[email protected]

17 Oct 22:42
3f97a55
Compare
Choose a tag to compare

Patch Changes

@core/[email protected]

17 Oct 22:42
3f97a55
Compare
Choose a tag to compare

Patch Changes

  • 9860f5c: Increase max-age for the initial -1 offset request to 1 week (from 60 seconds) so browsers/CDNs keep the initial segment of the shape log in their cache
  • 7f86b47: Fix in-memory storage chunking boundaries recovery to actually respect stored boundaries
  • bdbfd46: Parse and validate REPLICATION_STREAM_ID as it cannot include special characters

@core/[email protected]

15 Oct 13:33
89084c8
Compare
Choose a tag to compare

Patch Changes

  • a1d332f: fix: make sure array column types are correctly passed around & that array comparison functions work on nested arrays

@core/[email protected]

15 Oct 11:48
4432230
Compare
Choose a tag to compare

Patch Changes

  • b093b79: Reduce the default DB_POOL_SIZE to 20.
  • 3ab27a6: Implement support for array columns and operations over those in where clauses

@electric-sql/[email protected]

14 Oct 22:01
4e2ffb5
Compare
Choose a tag to compare

Patch Changes

@core/[email protected]

14 Oct 22:01
4e2ffb5
Compare
Choose a tag to compare

Patch Changes

  • b9db6ca: Add LOG_LEVEL configuration option.
  • 25c437f: Implement columns query parameter for GET v1/shapes API to allow filtering rows for a subset of table columns.
  • 2bf933c: Obfuscate database password in the process memory to prevent it from accidentally getting logged in cleartext.