Skip to content

Felix Canvas v0.3.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 17:32
· 30 commits to main since this release
107ff73

Tested against Felix 0.6.0-preview.5 and felix-gateway 0.3.1, which the
install now pins. The page caps its own writes so fast drawing stays under the
gateway's new limits, a person can have 16 sessions open instead of 8, and the
"Up to date" notice no longer names a stale version after catching up.
Self-service rooms and invite links are new and off by default.

Added

  • Self-service rooms, off unless you turn them on: a signed-in person creates
    a room from the list under the room name, shares invite links that expire
    after CANVAS_INVITE_TTL_HOURS or when revoked, removes people and deletes
    the room. The new rooms service runs from the snapshotter image and holds
    the Felix admin credential; the compose install adds it with rooms.yaml
    and CANVAS_INVITE_SECRET, and the chart with selfService.enabled.
    CANVAS_ROOMS_PER_USER, CANVAS_MEMBERS_PER_ROOM and
    CANVAS_INVITES_PER_ROOM set the limits (#79).

Changed

  • The gateway is felix-gateway 0.3.1, and the page uses felix-gateway-client
    0.3.1. The gateway now refuses a session's writes past 50 a second (bursts
    of 100), so the page paces its own: ops at most 20 a second with bursts of
    40, a drag waiting on that budget folding into one op per shape, and
    presence at most 25 a second instead of 60. The scope file turns off the
    gateway's per-address session cap, which behind Caddy or an ingress would
    count every browser as the proxy, allows 16 sessions per person instead of
    8, and lets an op carry up to 256 KiB. A
    chart install that sets its own gateway.scope should add the same
    [limits] settings.
  • Built on Felix 0.6.0-preview.5: the dev stack, the compose install and the
    chart's CI run the 0.6.0-preview.5 images. The snapshotter uses
    felix-client 0.6.0-preview.4.
  • The seed also creates the canvas.rooms cache, and the snapshotter folds
    every room listed there besides CANVAS_ROOMS, starting and stopping as
    rooms are created and deleted, without a restart (#79).
  • dev/up.sh and the failover test run on Docker or Podman, and the docs show
    the Podman commands.

Fixed

  • After a slow connection caught up, the notice's "Up to date · version" could
    name the version from the moment of catching up while changes still on their
    way landed under it. It now follows them while it shows.

Install

With Docker Compose:

curl -fsSL https://github.com/GetFelix/felix-canvas/releases/download/v0.3.0/felix-canvas-compose-0.3.0.tar.gz | tar xz
cd felix-canvas-compose-0.3.0
# change FELIX_BOOTSTRAP_TOKEN and FELIX_RAFT_PEER_TOKEN in .env first
docker compose up -d

On Kubernetes, next to the Felix chart:

helm install felix-canvas oci://ghcr.io/getfelix/charts/felix-canvas --version 0.3.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.3.0 sha256:da60001ca9dae8e58546445a447e4df16658607781d91d29063ba1e43700dacb
ghcr.io/getfelix/felix-canvas-snapshotter:0.3.0 sha256:1e081ceb6e0957a9d01e0cd0a107e5a02339591dd7fb8aa2965047b7ca8a7e1c
oci://ghcr.io/getfelix/charts/felix-canvas:0.3.0 sha256:b46bf6651d262d813af6170b0b81e4a294746099eaec7d6cf9113e6d0e87fbbc

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