Minor Changes
-
a04b259: Add Move-in/out support for subqueries combined using
AND,OR,NOT, and other compoundWHEREexpressions. Previously these shapes would return409on a subquery move, forcing clients to discard the shape and resync it from scratch. The sync service now reconciles those changes in-stream.This release also changes the wire protocol. Older
@core/elixir-clientversions are not compatible with the sync service from this release. TanStack DB clients need@tanstack/db >= 0.6.2and@tanstack/electric-db-collection >= 0.3.0.
Patch Changes
- c48f0bc: Export
electric.admission_control.acquire.limitandelectric.admission_control.reject.limitmetrics so dashboards can plot fill percentage (acquire.current / acquire.limit) and over-limit pressure bykind. - 79dcb96: Emit
shape_handleas Logger metadata (instead of interpolating it into the message body) for the "No consumer process when waiting on initial snapshot creation" error. This keeps the message text static so Sentry can deduplicate these events properly during incidents. - 4176bd2:
Electric.Telemetry.Sentry.add_logger_handler/1now accepts an optional second argument — a keyword list whose entries are merged into theSentry.LoggerHandlerconfig map — so downstream apps can tune handler settings like:discard_thresholdand:sync_thresholdwithout reaching into:loggerafter the fact. The existing single-argadd_logger_handler(id)form is preserved. - 70b8791: Optimise OR routing in sync-service filters by indexing OR branches when both sides are indexable, removing the dedicated IN special case, and falling back to
other_shapeswhen an OR branch is not optimisable.