@electric-sql/client
1.5.28 · 9 Sep 2026Apache-2.02.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @electric-sql/client From 0.9.1 to 1.5.28
58 releases in betweennotes for 14
Reading releases, release notes and advisories…
Release by release
- Fixed
Stop
ExpiredShapesCache.getExpiredHandlewriting the whole cache tolocalStorageon every read. The LRU touch it performs runs while building the URL of every shape request, so in live mode it persisted the entire cache once per poll for as long as the app stayed open.lastUsedis now updated in memory only; it is read from memory whenmarkExpiredpicks an eviction candidate, so the sole effect is that eviction order can be staler after a reload.
- Fixed
- Fixed
Preserve data messages when suppressing cached up-to-date notifications during replay.
- Fixed
Prevent subscription startup failures from also surfacing as unhandled promise rejections after they are delivered to the subscriber error callback.
- Fixed
Fix duplicate download of subset snapshot responses caused by the chunk prefetcher mistaking them for a normal chunk to prefetch.
- Fixed
- Fixed
Fix subset snapshot filtering after PostgreSQL transaction ID wraparound and retire filters once the stream passes each snapshot's database LSN.
- Fixed
- Fixed
Subqueries in shape WHERE clauses are now generally available and always enabled, including incremental move handling for compound
AND/OR/NOTexpressions. Theallow_subqueriesandtagged_subqueriesfeature flags have been removed — they no longer need to be set viaELECTRIC_FEATURE_FLAGS.
- Fixed
- Fixed
Use the React Native package export to wire AppState lifecycle handling in Metro/Expo builds, replacing brittle runtime
require('react-native')auto-detection while keepingruntimeVisibilityas an explicit escape hatch.
- Fixed
- New
Add a request watchdog so ShapeStream can recover when mobile fetch implementations hang across app lifecycle or network transitions. Live long-poll requests and refresh catch-up requests now time out after
liveRequestTimeoutMs(default 45s, orfalseto disable), abort with an internallive-request-timeoutreason, and restart the request loop even if the platform fetch promise never settles.
- New
- Fixed
Fix ShapeStream wake reconnects in runtimes that do not preserve
AbortSignal.reason, such as some React Native fetch/AbortController implementations.
- Fixed
- Fixed
Export
FetchBackoffAbortErrorfrom the package entrypoint to match the documented error handling API.
- Fixed
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.