Skip to content

Releases: electric-sql/electric

@core/electric@0.9.4

14 Mar 13:49
ba57397
Compare
Choose a tag to compare

Patch Changes

  • 452361d: Limit client connections when the sync service's Postgres connection is down.
  • 209192a: [VAX-1664] Fix for prisma database introspection
  • 9073503: Create a publication in Postgres on startup. This would restore the replication stream from Postgres to Electric if the publication got deleted by accident.

electric-sql@0.9.4

22 Feb 13:49
c316128
Compare
Choose a tag to compare

Patch Changes

  • dace3fc: Restore support for both sub and user_id claim in auth JWTs

create-electric-app@0.2.8

22 Feb 13:49
c316128
Compare
Choose a tag to compare

Patch Changes

  • ecf1025: Add contents of template folders to package

create-electric-app@0.2.7

22 Feb 10:57
5af4661
Compare
Choose a tag to compare

Patch Changes

  • 6bb8a2c: Include template folders in starter app CLI distribution

electric-sql@0.9.3

21 Feb 15:25
09a679f
Compare
Choose a tag to compare

Patch Changes

  • d0bc48c: Add basic Vue.js bindings for using live queries
  • 223319e: Add expo-sqlite/next driver to client
  • 4d193eb: Make --debug flag in CLI generate command always retain temporary migrations folders
  • 5143a99: Detach database electrification from connecting to the Electric sync service.
  • 11069a9: Handle JWT expiration on the TS client, and support reconnecting after JWT expires.
  • a968a63: Made connectivityState read-only and introduced a disconnect method.
  • 0ebd3e2: Added support for Tauri SQLite driver.
  • 162d6e6: Add row primary key infomation to the ActuallyChanged notification.

create-electric-app@0.2.6

21 Feb 15:25
09a679f
Compare
Choose a tag to compare

Patch Changes

  • 57bb951: Add a .gitignore file to newly created apps such that running git init in them will ignore the node_modules/ and other ephemeral directories/files by default.
  • 52e9e51: Added --template flag to create-electric-app CLI tool to choose between React and Vue templates

@core/electric@0.9.3

21 Feb 15:25
09a679f
Compare
Choose a tag to compare

Patch Changes

  • 11069a9: Handle JWT expiration on the TS client, and support reconnecting after JWT expires.
  • 8f9bcb5: Deduplicate enum type definitions in the electrified schema.
  • 65aaeee: Electric will now fail to start when a secure auth setting is used with AUTH_MODE=insecure.
  • 21a3a8c: Pass the SSL options used for the main database connection to upstream connections established by the migrations proxy.
  • 0deba4d: Validate public signing keys at startup. This allows for catching invalid key configuration early as opposed to getting an "invalid token signature" error when a client tries to authenticate.
  • b320bc1: Changed how the DDL statements for electrified enum columns are stored internally. This change requires resetting the database if it has at least one electrified enum column.
  • 0deba4d: Accept base64-encoded symmetric signing keys. Electric will detect and decode such keys automatically. Binary keys are also accepted as before.
  • 9ed7b72: Reject electrification of tables outside of the public schema. This is a documented limitation that is now also enforced in the code.
  • c037fdd: Enable SSL certificate validation for database connections when DATABASE_REQUIRE_SSL=true.

electric-sql@0.9.2

06 Feb 13:03
15292d1
Compare
Choose a tag to compare

Patch Changes

  • 5fa4eeb: Modified the CLI's generate command to fix issues with the generator when user projects include Prisma v5.
  • 6fc3686: Use SIGINT as the default stop signal for the Electric service started with npx electric-sql start. This results in faster shutdown after pressing Ctrl-C or stopping all services with docker compose stop/down.
  • a5a54fb: - Add ELECTRIC_WRITE_TO_PG_MODE as option to CLI
    • Fix CLI option defaults to match Electric defaults
  • 39fc2ac: Fix clearing local state to avoid FK violations.

@core/electric@0.9.2

06 Feb 13:03
15292d1
Compare
Choose a tag to compare

Patch Changes

  • 3a78a76: Removes unnecessary comma in conflict resolution PG trigger shadow table update query
  • 6fc3686: Upgrade the build environment to use Erlang (25.3.2.8) and Elixir (1.16.1).
  • 6fc3686: Include the Server Name Indication (SNI) SSL option when connecting to the database. This makes it possible for Electric to connect to Neon (neon.tech).
  • 210b9e3: Support JWTs without a trailing dot in the Insecure auth mode. (#900)

electric-sql@0.9.1

24 Jan 11:34
d5510e9
Compare
Choose a tag to compare

Patch Changes

  • 6ad3324: Hide proxy password in generate command output Fixes VAX-1548
  • 3605f29: Correctly pass the CONTAINER_NAME to the cli "status" command
  • 356359a: CLI - Split inferred values from default values (VAX-1569)
  • e5d7a6d: Validate that the --with-migrations command successfully ran before generating client
  • 4f19a08: [VAX-1544] Map http(s) scheme in service URL to ws(s) when starting a proxy tunnel.
  • bac1516: CLI - Silent dot-env warning when there are no .env files
  • fb2eba1: Fix redundant query calls in React live query hook implementation
  • 8a97cc9: Updated docstring for generic database adapter.
  • 3a61798: Upgrade Prisma dependency to 5.2 in the client, Fixes VAX-1524