github electric-sql/electric electric-ax@0.2.13

latest releases: electric-ax@0.2.14, @electric-ax/example-deep-survey@0.1.21, @electric-ax/example-agents-walkthrough@0.1.2...
7 hours ago

Patch Changes

  • 4f88e6d: Dedupe @tanstack/db to a single instance.

    @tanstack/db is effectively a singleton (collections/transactions/live
    queries use instanceof checks and module-level state), but the lockfile had
    drifted to several 0.6.x copies, breaking StreamDB collections. Adds a root
    pnpm.overrides entry collapsing the 0.6.x line to 0.6.7, scoped to
    >=0.6.0 <0.7.0 so the legacy example starters pinned to 0.0.x/0.5.8 are
    untouched. Stopgap until @durable-streams/state ships @tanstack/db as a
    peer dependency.

    Also raises the agents-mobile iOS minimum deployment target to 16.4 (via
    expo-build-properties). The chat renders in an Expo DOM WebView whose markdown
    stack ships regex lookbehind, which JavaScriptCore only parses on iOS 16.4+;
    below that the whole DOM bundle fails to parse and the chat renders blank.

  • b2bf806: Upgrade @durable-streams/state to 0.3.1 and drop the @tanstack/db pnpm override.

    @durable-streams/state@0.3.x makes @tanstack/db an optional peer dependency (it was a direct ^0.6.0 dependency) and splits its tsdb-coupled tools into a @durable-streams/state/db subpath. tsdb-specific imports (createStreamDB, queryOnce, createTransaction, query operators, etc.) now come from @durable-streams/state/db; the bare entry keeps only the tsdb-free types and helpers.

    Because state no longer pulls its own @tanstack/db copy, the root pnpm.overrides collapsing @tanstack/db@>=0.6.0 <0.7.0 to 0.6.7 is removed. To keep a single 0.6.7 instance without it, @tanstack/react-db is raised to ^0.1.85 and @tanstack/electric-db-collection to ^0.3.5 (both pin @tanstack/db@0.6.7), and @durable-streams/server to ^0.3.7 (depends on state@0.3.1, removing the lingering transitive state@0.2.9).

  • d14d9a9: Remove the unused per-entity agents error stream. Entities now expose only their main stream; spawn, fork, registry lookup, terminal signal handling, UI/runtime types, client helpers, and conformance tests no longer create or require an entity-level error stream.

  • Updated dependencies [9fdf96a]

  • Updated dependencies [f222d39]

  • Updated dependencies [312f5ec]

  • Updated dependencies [6434774]

  • Updated dependencies [4f88e6d]

  • Updated dependencies [b2bf806]

  • Updated dependencies [74d2341]

  • Updated dependencies [b0030a1]

  • Updated dependencies [5f96a15]

  • Updated dependencies [9da7b8f]

  • Updated dependencies [d14d9a9]

  • Updated dependencies [7c62024]

  • Updated dependencies [048e2b6]

    • @electric-ax/agents-runtime@0.3.9
    • @electric-ax/agents@0.4.13

Don't miss a new electric release

NewReleases is sending notifications on new releases.