Skip to content

Commit

Permalink
chore: releases (#407)
Browse files Browse the repository at this point in the history
# Releases
## [email protected]

### Minor Changes

- 2662251: Add protocol version negotiation to websocket connection step
- e5936a6: feat: changed the protocol to have a proper RPC
implementation for ease of extension and maintanence

### Patch Changes

-   3603703: Use parametrized SQL queries.

## [email protected]

### Patch Changes

-   bec4399: Remove NodeJS --no-warnings flag

## @core/[email protected]

### Minor Changes

- 2662251: Add protocol version negotiation to websocket connection step
- e5936a6: feat: changed the protocol to have a proper RPC
implementation for ease of extension and maintanence

### Patch Changes

- cf4ee7c: Implement support for the BOOLEAN column type in electrified
tables
- 75b2fcf: Implement support for the DATE column type in electrified
tables.
- da9a718: Rewrite the type-validating part of `electify` function to
expand allowed types when Electric instance is upgraded
- 4bd9ea2: Fix the problem where Postgres was failing to re-establish a
replication connection to Electric after a restart
- 1dd9500: Remove int8 from the list of supported types supported in
electrified tables.
- 3c47193: Implement support for electrifying and syncing tables that
have columns types timestamp and timestamptz
-   de1c571: VAX-911 - store client lsn position in postgres
- a4c5ce6: VAX-1036 - fixes bugs reported by @hugodutka by preventing
insertion of duplicate ddl commands in migration history
- 33ed7e8: Implement support for the TIME column type in electrified
tables.
- 76b15a6: Implement support for the UUID column type in electrified
tables.
- 4bbe283: Adds opt-out telemetry about Electric usage stats,
configurable with `ELECTRIC_TELEMETRY`.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ilia Borovitinov <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2023
1 parent 43b78c8 commit 9e5ad3e
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 82 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-guests-protect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brown-pots-brake.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/cold-ads-cough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-actors-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-buttons-end.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-stingrays-listen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/moody-clouds-itch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-laws-wonder.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/neat-wasps-exercise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-waves-breathe.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-garlics-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-islands-hunt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-days-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-items-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-ducks-mix.md

This file was deleted.

11 changes: 11 additions & 0 deletions clients/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# electric-sql

## 0.6.0

### Minor Changes

- 2662251: Add protocol version negotiation to websocket connection step
- e5936a6: feat: changed the protocol to have a proper RPC implementation for ease of extension and maintanence

### Patch Changes

- 3603703: Use parametrized SQL queries.

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.5.3",
"version": "0.6.0",
"name": "electric-sql",
"description": "ElectricSQL TypeScript client for developing local-first SQL apps. Supports JavaScript based mobile, web and edge applications.",
"repository": "https://github.com/electric-sql/electric/tree/main/clients/typescript",
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const LIB_VERSION = '0.5.2'
export const LIB_VERSION = '0.6.0'
21 changes: 21 additions & 0 deletions components/electric/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @core/electric

## 0.6.0

### Minor Changes

- 2662251: Add protocol version negotiation to websocket connection step
- e5936a6: feat: changed the protocol to have a proper RPC implementation for ease of extension and maintanence

### Patch Changes

- cf4ee7c: Implement support for the BOOLEAN column type in electrified tables
- 75b2fcf: Implement support for the DATE column type in electrified tables.
- da9a718: Rewrite the type-validating part of `electify` function to expand allowed types when Electric instance is upgraded
- 4bd9ea2: Fix the problem where Postgres was failing to re-establish a replication connection to Electric after a restart
- 1dd9500: Remove int8 from the list of supported types supported in electrified tables.
- 3c47193: Implement support for electrifying and syncing tables that have columns types timestamp and timestamptz
- de1c571: VAX-911 - store client lsn position in postgres
- a4c5ce6: VAX-1036 - fixes bugs reported by @hugodutka by preventing insertion of duplicate ddl commands in migration history
- 33ed7e8: Implement support for the TIME column type in electrified tables.
- 76b15a6: Implement support for the UUID column type in electrified tables.
- 4bbe283: Adds opt-out telemetry about Electric usage stats, configurable with `ELECTRIC_TELEMETRY`.

## 0.5.3

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ defmodule Electric.Plug.SatelliteWebsocketPlug do
&Electric.Replication.InitialSync.query_subscription_data/2
end)

@currently_supported_versions ">= 0.6.0 and <= #{Electric.vsn()}"

def call(conn, handler_opts) do
with {:ok, conn} <- check_if_valid_upgrade(conn),
{:ok, conn} <- check_if_subprotocol_present(conn),
{:ok, conn} <- check_if_vsn_compatible(conn, with: "<= #{Electric.vsn()}") do
{:ok, conn} <- check_if_vsn_compatible(conn, with: @currently_supported_versions) do
Logger.metadata(
remote_ip: conn.remote_ip |> :inet.ntoa() |> to_string(),
instance_id: Electric.instance_id()
Expand Down
2 changes: 1 addition & 1 deletion components/electric/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@core/electric",
"private": true,
"version": "0.5.3"
"version": "0.6.0"
}
6 changes: 6 additions & 0 deletions examples/starter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-electric-app

## 0.1.5

### Patch Changes

- bec4399: Remove NodeJS --no-warnings flag

## 0.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-electric-app",
"version": "0.1.4",
"version": "0.1.5",
"author": "ElectricSQL",
"license": "Apache-2.0",
"main": "dist/index.js",
Expand Down

0 comments on commit 9e5ad3e

Please sign in to comment.