Skip to content

Releases: erickirt/electric

@electric-sql/y-electric@0.1.23

08 Jan 05:06
464c9b4

Choose a tag to compare

Patch Changes

  • Updated dependencies [78fc0ae]
    • @electric-sql/client@1.4.0

@electric-sql/react@1.0.26

08 Jan 05:06
464c9b4

Choose a tag to compare

Patch Changes

  • Updated dependencies [78fc0ae]
    • @electric-sql/client@1.4.0

@electric-sql/experimental@5.0.0

08 Jan 05:06
464c9b4

Choose a tag to compare

Patch Changes

  • Updated dependencies [78fc0ae]
    • @electric-sql/client@1.4.0

@electric-sql/client@1.4.0

08 Jan 05:06
464c9b4

Choose a tag to compare

Minor Changes

  • 78fc0ae: Add structured subset params support (whereExpr, orderByExpr) to enable proper columnMapper transformations for subset queries. When TanStack DB sends structured expression data alongside compiled SQL strings, the client can now apply column name transformations (e.g., camelCase to snake_case) before generating the final SQL.

@core/sync-service@1.2.11

08 Jan 05:06
464c9b4

Choose a tag to compare

Patch Changes

  • 10c11ac: Disallow multiple subqueries at the same level in where clauses
  • 393eca2: Support OR with subqueries with tagged_subqueries feature flag turned on by returning 409s on move-ins or outs
  • 12ce210: Fix bug with case-sensitive column names in subqueries

@electric-sql/y-electric@0.1.22

25 Dec 16:32
62ef9fc

Choose a tag to compare

Patch Changes

  • baadaf7: Added debouncing to y-electric and use offset=now
  • Updated dependencies [f6e7c75]
    • @electric-sql/client@1.3.1

@electric-sql/start@1.0.2

25 Dec 16:32
62ef9fc

Choose a tag to compare

Patch Changes

  • 984e9c9: fix: ensure correct shebang on the bin file

@electric-sql/react@1.0.25

25 Dec 16:32
62ef9fc

Choose a tag to compare

Patch Changes

  • Updated dependencies [f6e7c75]
    • @electric-sql/client@1.3.1

@electric-sql/experimental@4.0.1

25 Dec 16:32
62ef9fc

Choose a tag to compare

Patch Changes

  • Updated dependencies [f6e7c75]
    • @electric-sql/client@1.3.1

@electric-sql/client@1.3.1

25 Dec 16:32
62ef9fc

Choose a tag to compare

Patch Changes

  • f6e7c75: Fix infinite 409 loop when proxy returns stale cached response with expired shape handle.

    Root cause: When a 409 response arrives, the client marks the old handle as expired and fetches with a new handle. If a proxy ignores the expired_handle cache buster parameter and returns a stale cached response containing the old handle, the client would accept it and enter an infinite 409 loop.

    The fix:

    • In #onInitialResponse: Don't accept a shape handle from the response if it matches the expired handle in the expired shapes cache
    • In getNextChunkUrl (prefetch): Don't prefetch the next chunk if the response handle equals the expired_handle from the request URL
    • Added console warnings when this situation is detected to help developers debug proxy misconfigurations

    This provides defense-in-depth against misconfigured proxies that don't include all query parameters in their cache keys.