Skip to content

felix-gateway v0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 02:03
· 32 commits to main since this release
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