Releases: electric-sql/electric
Releases · electric-sql/electric
@electric-sql/[email protected]
Patch Changes
- Updated dependencies [b367c8d]
- @electric-sql/[email protected]
@core/[email protected]
Patch Changes
- b367c8d: Make the client table option not required as a team using a proxy API might set the table there.
@core/[email protected]
@electric-sql/[email protected]
Minor Changes
- 4d872b6: All
Shape
interfaces (ShapeStream
,Shape
,useShape
) now requiretable
as an additional configuration parameter, and the shape API endpoint url only needs to point to/v1/shape
.
Patch Changes
- 61a18bd: - Implement
rows
andcurrentRows
getters onShape
interface for easier data access.- [BREAKING] Rename
valueSync
getter onShape
tocurrentValue
for clarity and consistency. - [BREAKING] Change
subscribe
API onShape
to accept callbacks with signature({ rows: T[], value: Map<string, T> }) => void
- [BREAKING] Rename
- 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]
@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
tohandle
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]
Patch Changes
- Updated dependencies [7de9f1d]
- @electric-sql/[email protected]
@core/[email protected]
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]
Patch Changes
- Updated dependencies [7f86b47]
- @electric-sql/[email protected]
@core/[email protected]
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]
Patch Changes
- a1d332f: fix: make sure array column types are correctly passed around & that array comparison functions work on nested arrays