Skip to content

Commit b35f0ff

Browse files
chore: publish new package versions (#3626)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @electric-sql/[email protected] ### Patch Changes - Updated dependencies [f6e7c75] - @electric-sql/[email protected] ## @electric-sql/[email protected] ### Patch Changes - Updated dependencies [f6e7c75] - @electric-sql/[email protected] ## @electric-sql/[email protected] ### 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. ## @electric-sql/[email protected] ### Patch Changes - baadaf7: Added debouncing to y-electric and use offset=now - Updated dependencies [f6e7c75] - @electric-sql/[email protected] ## @core/[email protected] ### Patch Changes - 10bee98: Restore the inclusion of stack_id in CallHomeReporter's static_info. ## @core/[email protected] ### Patch Changes - dd85d67: fix: wrong return value caused metric sending to fail sometimes - 3c88770: Remove persistence of metadata from `ShapeStatus` and instead rely on storage for reading and caching. - 4a28afa: fix: ensure abscense of a materializer doesn't crash a part of electric Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent dd85d67 commit b35f0ff

File tree

18 files changed

+57
-45
lines changed

18 files changed

+57
-45
lines changed

.changeset/brown-ducks-admire.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-409-stale-cache-loop.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/grumpy-elephants-confess.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/late-items-appear.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/mean-crabs-matter.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wise-garlics-kneel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/electric-telemetry/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @core/electric-telemetry
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- 10bee98: Restore the inclusion of stack_id in CallHomeReporter's static_info.
8+
39
## 0.1.1
410

511
### Patch Changes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@core/electric-telemetry",
33
"private": true,
4-
"version": "0.1.1"
4+
"version": "0.1.2"
55
}

packages/experimental/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @electric-sql/experimental
22

3+
## 4.0.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [f6e7c75]
8+
- @electric-sql/client@1.3.1
9+
310
## 4.0.0
411

512
### Patch Changes

packages/experimental/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@electric-sql/experimental",
33
"description": "Experimental TypeScript features for ElectricSQL.",
4-
"version": "4.0.0",
4+
"version": "4.0.1",
55
"author": "ElectricSQL team and contributors.",
66
"bugs": {
77
"url": "https://github.com/electric-sql/electric/issues"

0 commit comments

Comments
 (0)