Skip to content

Felix Canvas v0.4.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 17:32
· 5 commits to main since this release
8e89a0e

This release uses Felix 0.7.0 and needs a Felix 0.7 broker and control plane. The compose
install, the Helm chart's CI values and the dev stack run the 0.7.0 images, and the snapshotter
uses felix-client 0.7.0. An existing install upgrades its Felix images together with the canvas
images.

Security

  • The ?gateway= URL override now works only in dev builds. A crafted link could
    otherwise point the session, and the ID token it sends, at another server.

Added

  • A nightly workflow runs the gateway, two-browser and failover checks against Felix main and opens an issue
    labelled felix-nightly when they fail.

Changed

  • The broker no longer sets FELIX_SUB_QUEUE_BOUND=8192 in the dev stack, the compose install or the chart's
    CI values. Felix 0.6.0 makes the shared queues behind a connection wait instead of dropping, so the default
    holds a connection with many subscriptions. A deployment that copied the setting can remove it.
  • The broker no longer sets FELIX_ACK_ON_COMMIT=true. A durable stream acks after the write by default
    since Felix 0.6.0, and every stream the canvas publishes its changes to is durable. A deployment that copied
    the setting can remove it.
  • The docs no longer call the token and token-lifetime settings Felix gaps: Felix now offers what they were for.
  • The compose install no longer sets a 30 day token lifetime or asks for a restart within it (#105). The seed
    gives the broker a refresh token (CANVAS_BROKER_REFRESH_TOKENS, one per broker) and the broker renews its own
    token from FELIX_NODE_REFRESH_TOKEN_FILE; the snapshotter signs in with the tokens service when
    CANVAS_SERVICE_IDP is set and renews its own. FELIX_TOKEN_TTL_SECONDS is gone, so a session's token lasts
    Felix's 15 minutes. The broker's tokens live in a new broker-tokens volume that only the seed and the broker
    mount, so the gateway cannot read them; the seed writes them atomically and, with CANVAS_STATE_DIR_MODE and
    CANVAS_TOKEN_FILE_MODE, as owner-only files. An install that keeps its own copy of the compose file needs the
    new volume and the broker's FELIX_NODE_TOKEN_FILE and FELIX_NODE_REFRESH_TOKEN_FILE under /tokens. The dev
    stack's brokers renew the same way. certs deletes the old token files from state. The Kubernetes install still sets a 30 day lifetime, because the felix
    chart's credential Secret is read-only.
  • The docs no longer say Felix cannot revoke a token. Removing a member deletes their role assignment, which
    Felix 0.6.2 turns into a revocation: the brokers refuse that person's broker tokens and end their streams once
    they next poll the revocation feed.
  • The snapshotter's token requests stop when the client aborts them and give up after 15 seconds.
  • The gateway is felix-gateway 0.8.0, and the page uses felix-gateway-client 0.8.0. The
    releases since 0.3.3 only add opt-in features the canvas does not ask for, so its setup and
    scope file do not change.
  • The install, the dev stack and CI run Felix 0.7.0, and the snapshotter uses felix-client 0.7.0.

Fixed

  • Joining a room on a replicated Felix 0.6.0 cluster no longer hangs at "Loading the canvas"
    when the room's log ends in a new leader's generation-start record, which holds no change
    and is never delivered. The page now waits only for the offsets Felix says a read will deliver.
  • The release workflow now checks changelog.d in the tagged commit for leftover fragments, not the one on the branch it runs from.

Install

With Docker Compose:

curl -fsSL https://github.com/GetFelix/felix-canvas/releases/download/v0.4.0/felix-canvas-compose-0.4.0.tar.gz | tar xz
cd felix-canvas-compose-0.4.0
sed -i.bak \
  -e "s|^FELIX_BOOTSTRAP_TOKEN=.*|FELIX_BOOTSTRAP_TOKEN=$(openssl rand -base64 32)|" \
  -e "s|^FELIX_RAFT_PEER_TOKEN=.*|FELIX_RAFT_PEER_TOKEN=$(openssl rand -base64 32)|" .env
docker compose up -d

On Kubernetes, next to the Felix chart:

helm install felix-canvas oci://ghcr.io/getfelix/charts/felix-canvas --version 0.4.0 -f canvas-values.yaml

docs/self-hosting.md covers your own identity provider, TLS, backups, upgrades and the chart's values.

Images and chart

Reference Digest
ghcr.io/getfelix/felix-canvas:0.4.0 sha256:43ba279a98bb39672b97c1ba30b3144702f62715bbad7671f2d2f07b1e01abbe
ghcr.io/getfelix/felix-canvas-snapshotter:0.4.0 sha256:c8c4ced56fc0d48b6929111360bb23b4fe294d18aee39fc3c21f45e8528ed9d3
oci://ghcr.io/getfelix/charts/felix-canvas:0.4.0 sha256:2253298d04966f5a1e4d73389d9cdd2241de1b7a76001594541d203624021676

All three are signed with cosign; docs/self-hosting.md shows how to verify them.