# Changelog All notable changes to Shade are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [4.15.1] — 2026-10-20 — Media: a relay no longer dies when a player walks away ### Fixed - **`@shade/media`: `FileMediaStore.body()` held a file handle for the whole response.** It was closed only when the client read to the end or the runtime called `cancel`. A player that seeks or closes mid-film often does neither, so the handle was left to the garbage collector — which Bun 1.4 treats as fatal. The Prism relay restarted five times in four hours this way. Each piece now opens and closes the file itself; nothing is held between reads. Regression test: `tests/fixtures/abandoned-body.ts`, run in its own process, checks that no descriptor is open between reads (fails on 4.15.0 under any Bun). ## [4.15.0] — 2026-10-18 — Media: films, video, images, audio and live streams, end to end New package **`@shade/media`** — see `docs/media.md`. - **Sealed media (SMF1).** A film, video, song or image is sealed once (streaming, constant memory, ~300 MiB/s) into a file any Range-capable store can serve. Readers fetch only the segments under the playhead; every segment is checked against a digest table pinned by the grant's root digest, so neither the store nor another key holder can substitute bytes. Seek over HTTP: ~4 ms to the first decrypted byte (localhost). - **Live channels (SLF1).** Logs, text, live video/audio and images from one publisher to many viewers through a relay. Sender-Keys hash chain (each frame key used once), every frame Ed25519-signed, sticky init frames and keyframe snapshots so a viewer can join late, epoch rotation to remove a viewer, and link mode so a capability link survives publisher restarts. 200 viewers: 100 % delivered, p50 28 ms. - **Grants** carry the keys over an existing Shade session — `shade.shareMedia(peer, grant)` / `shade.onMediaGrant(handler)` in the SDK — or in a `#shade=` link fragment that never reaches a server. - **Browser.** A Service Worker plays sealed files in native `