Releases: erickirt/electric
Releases · erickirt/electric
@electric-sql/y-electric@0.1.23
Patch Changes
- Updated dependencies [78fc0ae]
- @electric-sql/client@1.4.0
@electric-sql/react@1.0.26
Patch Changes
- Updated dependencies [78fc0ae]
- @electric-sql/client@1.4.0
@electric-sql/experimental@5.0.0
Patch Changes
- Updated dependencies [78fc0ae]
- @electric-sql/client@1.4.0
@electric-sql/client@1.4.0
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
@electric-sql/y-electric@0.1.22
@electric-sql/start@1.0.2
Patch Changes
- 984e9c9: fix: ensure correct shebang on the bin file
@electric-sql/react@1.0.25
Patch Changes
- Updated dependencies [f6e7c75]
- @electric-sql/client@1.3.1
@electric-sql/experimental@4.0.1
Patch Changes
- Updated dependencies [f6e7c75]
- @electric-sql/client@1.3.1
@electric-sql/client@1.3.1
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_handlecache 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 theexpired_handlefrom 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.
- In