electric

Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.

APACHE-2.0 License

Downloads
9.6K
Stars
4.7K
Committers
21

Bot releases are visible (Hide)

electric - @core/[email protected] Latest Release

Published by github-actions[bot] about 1 month ago

Patch Changes

  • ce0df75: Fix initial snapshot race condition
electric - @core/[email protected]

Published by github-actions[bot] about 1 month ago

Patch Changes

  • c60cadb: Handle Postgres Point In Time Recoveries (PITR) by cleaning all shapes.
  • a95a269: Support OPTIONS request required for preflight requests.
  • 6703657: feat: add cache max-age of 5 seconds to ?live requests so request collapsing works
  • 6895352: Support HTTP HEAD requests.
electric - @electric-sql/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • Updated dependencies [fe251c8]
  • Updated dependencies [fe251c8]
electric - @core/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 18b7054: Improve consistency of shape consumers after storage error
electric - @core/[email protected]

Published by github-actions[bot] about 2 months ago

Minor Changes

  • b3f5d7c: Introduce and enable by default a new iteration of the storage engine, which is more optimal when creating new shapes. If you need to continue using the old shapes without interruption, set STORAGE=cubdb environment variable.
  • 1461432: Replace individual persistence location configuration with a single STORAGE_DIR environment variable, that should be bound to a volume to survive Electric restarts. If you were using CUBDB_FILE_PATH, you should move that folder into a subdirectory named shapes and configure STORAGE_DIR to the previous directory.

Patch Changes

  • 61cd2a1: Raise the Erlang open port limit to allow for more simoultaneus connecitons
  • 6e268cb: Move row-to-JSON serialization for initial shape data from Electric to PG
  • b322b95: Added a note to reconnection logging whether the replication mode or regular mode connection is failing
electric - @electric-sql/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 42a51c3: Allow specifying data type through type templating in all APIs.
  • Updated dependencies [42a51c3]
electric - @electric-sql/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

electric - @core/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 67b0a5e: Remove timeout when quering to create the initial log to support tables over 150MB in size
  • 2b2c2fe: Support BETWEEN, BETWEEN SYMMETRIC and IS UNKNOWN comparison predicates
  • 77d7bff: Implement log chunking, which tries to keep chunks within the specified LOG_CHUNK_BYTES_THREHSOLD - see relevant PR
  • 538d99f: Remove list_active_shapes and replace it by list_shapes.
  • 1d00501: Clean cached column info on relation changes.
electric - @electric-sql/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 0836ebb: Improve type of selector argument in useShape hook.
  • Updated dependencies [d3b4711]
electric - @core/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • e5a1d8e: Fix a crash caused by incorrect conversion of an UPDATE into an INSERT or a DELETE depending on whether it is a shape move-in or a shape move-out case.
  • 9faab42: Move to process- and storage-per-shape
electric - @electric-sql/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 55c8449: Update Readme for removing ShapesProvider
electric - @electric-sql/[email protected]

Published by github-actions[bot] about 2 months ago

Minor Changes

  • 914e768: Remove obsolete ShapesProvider.

Patch Changes

electric - @core/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 5f31867: Don't search for exact log entry with provided offset. Fixes a bug that caused an infinite loop of initial syncs followed by 409s.
electric - @core/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • fa88719: clean shapes affected by migrations
  • e3b0040: Fix a bug in ReplicationClient caused by an invalid assumption about cross-transaction operation LSN ordering.
electric - @core/[email protected]

Published by github-actions[bot] 2 months ago

Patch Changes

  • 11f564d: Support quoted schema and table names
electric - @core/[email protected]

Published by github-actions[bot] 2 months ago

Patch Changes

  • 1803392: Support larger shapes (1 million row, 170MB +) and faster time to first byte
  • 09f8636: Include nullability information in schema. Also parse null values in the JS client.
electric - @electric-sql/[email protected]

Published by github-actions[bot] 2 months ago

Patch Changes

electric - @core/[email protected]

Published by github-actions[bot] 2 months ago

Patch Changes

  • cb153b4: feat: make DB pool size configurable via DB_POOL_SIZE environment variable & raise the default to 50
electric - @core/[email protected]

Published by github-actions[bot] 2 months ago

Minor Changes

  • 8e584a1: Fix: rename "action" header -> "operation" to match Postgres's name for inserts, updates, deletes
electric - @electric-sql/[email protected]

Published by github-actions[bot] 2 months ago

Minor Changes

  • 8e584a1: Fix: rename "action" header -> "operation" to match Postgres's name for inserts, updates, deletes

Patch Changes