Commit b35f0ff
authored
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- .changeset
- packages
- electric-telemetry
- experimental
- react-hooks
- sync-service
- typescript-client
- y-electric
18 files changed
+57
-45
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments