Skip to content

Releases

felix-gateway v0.10.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 05:31
b6da957

Changed

  • Built on and tested against Felix 0.7.3: felix-client and felix-wire 0.7.3, and the dev stack runs the 0.7.3 images. Idempotent producers resume about 8.5 s after a leader election without the control plane, instead of 18 to 36 s.

Fixed

  • dev/up.sh waits one broker heartbeat after the fleet accepts the atomic_commit finalize before it reports ready (#78). The tests no longer start against a broker that still refuses commits.

Install

docker pull ghcr.io/getfelix/felix-gateway:0.10.1
cargo install felix-gateway --version 0.10.1
npm install felix-gateway-client@0.10.1

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.10.1 is sha256:a01379f90473ec119ba0dfa655266165073a6631819d03935a0145e00d5e79c9, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:a01379f90473ec119ba0dfa655266165073a6631819d03935a0145e00d5e79c9 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.10.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:15
d8b86de

Added

  • One gateway can serve several namespaces of its tenant (#70). List them with
    namespaces = [...] at the top of the scope file, and a join names one with
    "namespace". The gateway refuses a namespace it does not list, and the
    session's Felix token is narrowed to the scope in that namespace, so Felix
    grants each person only the namespaces their roles reach. A scope file without
    namespaces serves GATEWAY_NAMESPACE only, as before.
  • A publish resent after a reconnect is no longer appended twice (#74). With the
    idempotent_publish feature, a join names a session that the page keeps
    across reconnects and each publish carries a seq. The gateway publishes
    through Felix's idempotent producer and answers a resent seq it already
    acknowledged without sending it. The npm client's publish takes the seq.

Changed

  • Built on and tested against Felix 0.7.2: felix-client and felix-wire 0.7.2, and the dev stack runs the 0.7.2 images.

Fixed

  • A session that was already signed in can rejoin while the control plane is
    down (#73). The gateway keeps the Felix token the control plane issued for an
    ID token and scope, and reuses it only when the control plane cannot be
    reached (no connection, a timeout, or a 502, 503 or 504) and only until the
    earliest of the Felix token's expiry, the ID token's expiry and
    GATEWAY_REJOIN_MAX_S (default 900) after the control plane issued it. Any other join is refused at once instead of waiting for the control
    plane: control-plane requests now time out after 3 seconds to connect and 10
    in all. See "When the control plane is down" in docs/configuration.md.

Install

docker pull ghcr.io/getfelix/felix-gateway:0.10.0
cargo install felix-gateway --version 0.10.0
npm install felix-gateway-client@0.10.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.10.0 is sha256:04e27f3a327381140219b157c51687652eb863ee61dbc7c8817d1c45410fffbb, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:04e27f3a327381140219b157c51687652eb863ee61dbc7c8817d1c45410fffbb \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.9.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 17:22
15d4ef8

This release uses Felix 0.7.0 and needs a Felix 0.7 broker and control plane. It
builds on the felix-client and felix-wire 0.7.0 crates, where Client is
the cluster client. The browser protocol and the scope file format are
unchanged.

Changed

  • Built on and tested against Felix 0.7.0: felix-client and felix-wire 0.7.0, and the dev stack runs the 0.7.0 images.

Fixed

  • The release workflow now checks changelog.d in the tagged commit for leftover fragments, not the one on the branch it runs from.

Install

docker pull ghcr.io/getfelix/felix-gateway:0.9.0
cargo install felix-gateway --version 0.9.0
npm install felix-gateway-client@0.9.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.9.0 is sha256:2c8327da8b1a50ac0cd0140ebb7e8ed391166328f8f9bc490dffce0090f373d0, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:2c8327da8b1a50ac0cd0140ebb7e8ed391166328f8f9bc490dffce0090f373d0 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.8.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 03:35
42311a0

Tested against Felix 0.6.2. Four opt-in additions, each turned on by naming it
in the features of join:

  • cache_versions lets a browser write or delete a cache entry only if nobody
    changed it since it read it.
  • past_end answers a read or subscribe beyond the end of a log with a code
    and the log's tail.
  • principal has hello tell a session who Felix knows it as.
  • time finds a shard's offset for a wall-clock time.

state_get also takes a shard, under the shards feature from 0.7.0.
Sessions that do not ask for these features see no change.

Added

  • The cache_versions feature: cache_value carries the entry's version, and cache_put_if and cache_delete_if write only if the entry is absent or still at the version the browser read, answered with cache_put_result and cache_delete_result. cacheGetVersioned, cachePutIf and cacheDeleteIf in the browser client and its fake. Cache watches carry no versions yet; that needs a change in Felix (GetFelix/felix#1736) (#46).
  • state_get takes a shard under the shards feature, and state_value echoes it. A browser no longer has to guess how a stream routes entity keys: the as_of and version it gets are offsets of the shard it named, which a read or subscribe on that shard understands (#45).
  • The past_end feature: a read or a subscribe from an offset beyond the end of the log is answered with the code past_end and the log's tail, instead of a message to match (#45).
  • The principal feature: hello names the session's Felix principal, the string stamp_sender writes in front of its records, so a page can tell its own records from the rest. The browser client's Hello has it as principal (#47).
  • The time feature: offset_for_time answers, as an offset message, the first offset of a durable stream's shard appended at or after a time, so a browser can seek by wall-clock time in one lookup. It needs subscribe on the stream and shares the 4 requests a session may have waiting with read (#48).

Fixed

  • The join pattern in the protocol reference could hang a browser against a Felix 0.6.0 cluster: a live subscribe reports the raw log tail there, which can sit past a generation-start record that is never delivered. The reference now has a worked example and a runnable catchUp function for the join, takes the catch-up target from the replay's subscribed, says what live_offset promises, and notes that 0.6.1 and later report a tail a browser can wait for (#43).

Changed

  • The protocol reference says that as_of and version are offsets of the shard that answered, and that a read of as_of on that shard succeeds at once, barring a leader change (#45).
  • Built on and tested against Felix 0.6.2: felix-client and felix-wire 0.6.2, and the dev stack runs the 0.6.2 images.

Install

docker pull ghcr.io/getfelix/felix-gateway:0.8.0
cargo install felix-gateway --version 0.8.0
npm install felix-gateway-client@0.8.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.8.0 is sha256:0aab6b6039086e2865047c00caea301f17d1a5f24e4fd943321cb19fef3019c5, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:0aab6b6039086e2865047c00caea301f17d1a5f24e4fd943321cb19fef3019c5 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 19:32
868e928

Tested against Felix 0.6.0-preview.9. One opt-in addition: the shards feature
lets subscribe follow any shard of a stream. Sessions that do not ask for
shards see no change.

Added

  • The shards feature: subscribe takes an optional shard, so a browser can follow any shard of a stream, one slot per shard. subscribed and errors about the subscription echo it when named. A subscribe without it follows shard 0 as before (#34).

Install

docker pull ghcr.io/getfelix/felix-gateway:0.7.0
cargo install felix-gateway --version 0.7.0
npm install felix-gateway-client@0.7.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.7.0 is sha256:01e85b45bb0a42006308c0e8895314891ac8f71b1e5feb44e30d2b2cad7f3334, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:01e85b45bb0a42006308c0e8895314891ac8f71b1e5feb44e30d2b2cad7f3334 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.6.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 15:05
84dfa11

Tested against Felix 0.6.0-preview.9. One opt-in addition: the read feature
reads a range of a durable stream's log without subscribing. Sessions that do
not ask for read see no change.

Added

  • The read feature: read answers one page of a durable stream's records between two offsets, without subscribing, as a records message. It needs subscribe on the stream (#29).

Changed

  • Built on and tested against Felix 0.6.0-preview.9.

Install

docker pull ghcr.io/getfelix/felix-gateway:0.6.0
cargo install felix-gateway --version 0.6.0
npm install felix-gateway-client@0.6.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.6.0 is sha256:15514ec3a8429cdd0628f42c3d00282c06cd546d406d575ef2f1a114f959d205, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:15514ec3a8429cdd0628f42c3d00282c06cd546d406d575ef2f1a114f959d205 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.5.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 01:46
bc39b1d

Tested against Felix 0.6.0-preview.7. Two opt-in additions: the state
feature reads the keys a Felix atomic commit writes, and a scope file resource
can be shared by every scope. Sessions that do not ask for state, and
scope files that do not say shared, see no change.

Added

  • The state feature: state_get reads a key of a stream's state, the keys a Felix atomic commit writes with its event, and answers its value, the offset of the commit that wrote it and the offset the answer is as of. It needs subscribe on the stream (#26).
  • shared = true on a scope file resource: its name has no {scope}, and every scope reaches the same stream, cache or counter (#26).

Install

docker pull ghcr.io/getfelix/felix-gateway:0.5.0
cargo install felix-gateway --version 0.5.0
npm install felix-gateway-client@0.5.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.5.0 is sha256:4f4d4e14db1af50c98a67a3c02fbdb2b2af83509ded49e7df084bafee3fc5f8c, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:4f4d4e14db1af50c98a67a3c02fbdb2b2af83509ded49e7df084bafee3fc5f8c \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 02:03
7568b90

Tested against Felix 0.6.0-preview.7. Two optional protocol features for
game-shaped traffic: binary_events sends events as binary frames that carry
the gateway's receive and send times, and slots lets one connection hold
several subscriptions on a stream. Sessions that do not ask for them see no
change. A custom BrowserConnection must now implement send_binary.

Added

  • The binary_events feature: events arrive as binary WebSocket frames, a 40-byte header with the subscription, offset and the gateway's receive and send times, then the payload as published. No base64, and no JSON parse per event (#23).
  • The slots feature: subscribe takes an optional slot, so one connection can hold a live subscription and a replay of the same stream at once (#23).
  • event_relay in GET /metrics: per stream, the time from an event's arrival from Felix to its write to the WebSocket (#23).

Changed

  • BrowserConnection has a send_binary method for event frames. A custom transport must implement it (#23).

Security

  • rustls 0.23.46, which fixes RUSTSEC-2026-0346 to 0349 (TLS secrets in Debug output, a ServerHello downgrade to classical key exchange, ECH rejection, and unbounded brotli certificate decompression).

Install

docker pull ghcr.io/getfelix/felix-gateway:0.4.0
cargo install felix-gateway --version 0.4.0
npm install felix-gateway-client@0.4.0

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.4.0 is sha256:a251e481d41ab99ab8e4b3c9a5462e2c41acc7be5e716f948c3e51e0d76af1ae, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:a251e481d41ab99ab8e4b3c9a5462e2c41acc7be5e716f948c3e51e0d76af1ae \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.3.3

Choose a tag to compare

@github-actions github-actions released this 12 Oct 01:07
fed1b86

Tested against Felix 0.6.0-preview.7. Shared connections open with a
connection-only broker token, so the gateway's principal needs only
token.delegate and no placeholder broker grant. Shared connections now need
Felix 0.6.0-preview.7 or later; per-session connections are unaffected.

Changed

  • Shared connections open with a connection-only broker token: the gateway
    exchanges for {"audience": "felix-broker", "requested": [], "permissions": []}, which Felix 0.6.0-preview.7 mints with no permissions for a principal
    holding token.delegate. The gateway's principal no longer needs a broker
    grant, and dev/seed.mjs no longer grants a placeholder cache.read. A
    control plane before preview.7 answers 403 no permissions; the gateway
    logs that as a setup error naming the version it needs, and joins answer
    unavailable. Upgrade Felix before the gateway, or keep the old grant
    until then (it does no harm). Built against Felix 0.6.0-preview.7, and
    dev/ runs it.

Install

docker pull ghcr.io/getfelix/felix-gateway:0.3.3
cargo install felix-gateway --version 0.3.3
npm install felix-gateway-client@0.3.3

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.3.3 is sha256:64a8e256c24af3ed8f88e45c4fb5869a0887e75ec3bcc64956d851d86ba175f6, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:64a8e256c24af3ed8f88e45c4fb5869a0887e75ec3bcc64956d851d86ba175f6 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

felix-gateway v0.3.2

Choose a tag to compare

@github-actions github-actions released this 10 Oct 20:05
488f8d2

Tested against Felix 0.6.0-preview.5. A browser session whose network drops
without a close is now closed by a heartbeat timeout, which frees its
session-cap slot for a person rejoining.

Fixed

  • A session whose network drops without a close is now closed after 30
    seconds without a word from the browser, pong included, instead of when the
    operating system gives up on the connection minutes later. It no longer
    holds a sessions_per_principal slot meanwhile, so a person rejoining is
    not refused. The gateway already pinged every 5 seconds to measure
    browser_rtt; GATEWAY_PING_INTERVAL_S and GATEWAY_PING_TIMEOUT_S set
    both times, and 0 turns either off. Config has a new heartbeat field
    (#16).

Install

docker pull ghcr.io/getfelix/felix-gateway:0.3.2
cargo install felix-gateway --version 0.3.2
npm install felix-gateway-client@0.3.2

docs/configuration.md covers the settings and the scope file.

Image

ghcr.io/getfelix/felix-gateway:0.3.2 is sha256:0ce3481d9bc87c05cbbbf4f8a442d164399f02d5e9a37f85bf23401b870199e2, signed with cosign:

cosign verify ghcr.io/getfelix/felix-gateway@sha256:0ce3481d9bc87c05cbbbf4f8a442d164399f02d5e9a37f85bf23401b870199e2 \
  --certificate-identity-regexp '^https://github.com/GetFelix/felix-gateway/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com