Packages

@electric-sql/client

1.5.28 · 9 Sep 2026Apache-2.02.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @electric-sql/client From 1.1.5 to 1.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.1.5Newest 1.x, Latest1.5.28
  1. 1.1.5yours
  2. 1.2.0target
0
changes to make
0
advisories fixed
1
new
2
fixes

Release by release

  1. 1.2.0

    24 Nov 20251 new · 2 fixes
    • New

      Add bidirectional column mapping API for query filters with built-in snake_case ↔ camelCase support. Introduces columnMapper option to ShapeStream that handles both encoding (TypeScript → Database) for WHERE clauses and decoding (Database → TypeScript) for results. Includes snakeCamelMapper() helper for automatic snake_case/camelCase conversion and createColumnMapper() for custom mappings. The new API deprecates using transformer solely for column renaming, though transformer remains useful for value transformations like encryption.

    • Fixed

      Fix subset__params to use constant parameter name for proxy configurations

    • Fixed

      Fix multiple renders from cached up-to-date messages on page refresh. When a shape receives multiple updates within the HTTP cache window (60s), each update ends with an up-to-date control message that gets cached. On page refresh, these cached responses replay rapidly, causing multiple renders. This change implements cursor-based detection to suppress cached up-to-date notifications until a fresh response (with a new cursor) arrives from the server, ensuring only one render occurs.

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.