Skip to content

Releases: electric-sql/electric

@core/[email protected]

25 Dec 14:25
af9dd25
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 84eb729: Fix arithmetic bugs in system memory stat calculations.

@core/[email protected]

19 Dec 20:26
@core/[email protected]
712241a
Compare
Choose a tag to compare

Patch Changes

  • 8987142: Do not trap exits in Electric.Shapes.Consumer - not handled.
  • 218b7d4: fix: truncates no longer cause a stop to an incoming replication stream
  • 7caccbf: Return 202 for waiting and starting health status - accepts requests but will fail to service them.
  • d7e7c72: Introduced PublicationManager process to create and clean up publication filters.

@electric-sql/[email protected]

19 Dec 20:26
712241a
Compare
Choose a tag to compare

Patch Changes

  • ade15b9: Expose stream in the useShape result data. This allows React components to easily access the stream to match on.
  • Updated dependencies [ade15b9]
  • Updated dependencies [1c28aee]
  • Updated dependencies [ade15b9]
  • Updated dependencies [dd5aeab]

@core/[email protected]

19 Dec 20:26
712241a
Compare
Choose a tag to compare

Patch Changes

  • 1b8dce0: Fix race condition where response comes before listener has monitored itself.
  • 71b8ab2: Add pool behaviour for the Elixir client to allow for per-client persistent connections. Add request timestamp and shape handle to replication stream messages.
  • fc1796a: Fix stalled elixir client streams by ensuring that requests are always made, even if calling process dies
  • 01c63ae: Fix race condition in elixir client when multiple simultaneous clients are streaming the same shape
  • 9f0b96a: Add generic params to client config that are appended to every request, remove database_id top-level config as it can be done via the params.

@electric-sql/[email protected]

19 Dec 20:26
712241a
Compare
Choose a tag to compare
Pre-release

Patch Changes

@electric-sql/[email protected]

19 Dec 20:26
712241a
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • dd5aeab: This PR adds support for function-based options in the TypeScript client's params and headers. Functions can be either synchronous or asynchronous and are resolved in parallel when needed.

    const stream = new ShapeStream({
      url: "http://localhost:3000/v1/shape",
      params: {
        table: "items",
        userId: () => getCurrentUserId(),
        filter: async () => await getUserPreferences(),
      },
      headers: {
        Authorization: async () => `Bearer ${await getAccessToken()}`,
      },
    })

    Common Use Cases

    • Authentication tokens that need to be refreshed
    • User-specific parameters that may change
    • Dynamic filtering based on current state
    • Multi-tenant applications where context determines the request

@core/[email protected]

10 Dec 19:53
359ceed
Compare
Choose a tag to compare

Patch Changes

  • 1255205: First beta release
  • 309ac75: Do not await full setup for configuring replication slot drop.
  • 6ca47df: feat: introduce chunked snapshot generation

@electric-sql/[email protected]

10 Dec 19:53
359ceed
Compare
Choose a tag to compare
Pre-release

Patch Changes

@electric-sql/[email protected]

10 Dec 19:53
359ceed
Compare
Choose a tag to compare
Pre-release

Patch Changes

@electric-sql/[email protected]

09 Dec 17:23
255da54
Compare
Choose a tag to compare

Patch Changes

  • dae3b0d: Fix node 16 cjs import
  • 9886b08: Expose stream in the useShape result data. This allows React components to easily access the stream to match on.
  • Updated dependencies [9886b08]
  • Updated dependencies [dae3b0d]
  • Updated dependencies [fbb66e9]