Releases
v2.0.0
Compare
Sorry, something went wrong.
No results found
2.0.0 (2026-10-21)
⚠ BREAKING CHANGES
Features
api: drive a castor server for the renderers on the client's network (b4f6349 )
api: hold every message to the contract both ways, with protovalidate and CEL rules (0f2a520 )
api: log the address of the device a client lends, which the contract sends for that (4205f3e )
api: make the server the media server, which TVs fetch from and which outlives its client (f9aabf6 )
api: serve casts behind the contract, driving renderers only through a client (e48dd4b )
api: state the cast contract in protobuf, generated with buf for Connect (3d3bf60 )
app: add the web client (e295db7 )
app: expose manual targets and per-cast playback options (5f91b27 )
cast: negotiate subtitle delivery and own backend lifecycles (9b5714c )
cast: pass a source's HLS captions to the device and play the audio language asked (893c449 )
cast: resolve a device by id and refuse an ambiguous name (13f6abb )
cast: start a device once the read holds thirty seconds (7966a51 )
cast: tell a Turns port each attempt and revision a cast takes (08de916 )
cli: also write log lines to castor.log in the user cache directory (e29bb19 )
cli: compose the scraping service (20dda9d )
cli: split castor api-server from castor media-server (8e70bc8 )
cmd: cast through the API, served in process or by castor api server (6eec870 )
cmd: hold the client's log lines back while a screen is up, and write them after (e0a7035 )
cmd: show a cast's warnings without --debug, and the embedded engine's own lines with it (f8459af )
config: allow custom FFmpeg tool paths (6c3893a )
config: refuse a subtitle language that is neither a BCP-47 tag nor auto (a7aa3c2 )
device: pause and resume the lent device (a6424cd )
docker: run media-server and api-server as separate compose services (2f6570d )
docker: run the scraping service (acc5583 )
ffmpeg: use private named pipes for Windows side outputs (17f19cb )
health: hold a device its read falls behind instead of letting it run dry (8e773d0 )
health: start a cast on a short cushion and judge it by its whole fill (0aa60a1 )
log: export logs over OTLP and tag every line with its cast id (ddb01fe )
picker: quit on q at once, without a confirmation dialog (deeeed3 )
scraping: add the resolver service (ee64efc )
scraping: improve player and iframe stream discovery (eaa390e )
show selected media details on playback devices (c8e2666 )
source: read HLS segments ahead of ffmpeg, several at once (eccd52b )
source: unwrap PNG segments for inspection and playback (d005fc9 ), closes #68
Bug Fixes
api: bound concurrent device commands (5fc20e4 )
api: cancel target discovery and protect cast snapshots (a5322d7 )
api: cancel watch log forwarding (ddab5e3 )
api: end a cast at once when it needs a device whose client has left (5933d52 )
api: give castor api server's shutdown its grace before it exits (1d53b0f )
api: leave a cancelled extraction or ranking to connect's own code (01edb63 )
api: let only http and https links reach the server's browser and readers (5784083 )
api: refuse a cast that leaves its delivery unstated (d8a31d2 )
api: refuse a device that answers connect without its capabilities (889556c )
api: reject reused device command IDs (49aa56a )
api: send on the Drive stream from its handler alone, each send bounded by its call (2133f21 )
api: stop relaying a delivery's port once its listener closes (357531d )
app: authorize server actions and propagate telemetry (01e68ee )
app: isolate watch credentials and cancel upstream streams (5b301ab )
app: model cast watch outcomes as exclusive states (68d8e84 )
app: recover device discovery and make cast controls resilient (b1bfb98 )
avoid VideoToolbox SEI failure on re-encode (83fd6f3 )
cast: blame a delivery silent over castor's proven buffer on the delivery, not the source (d0f7c1d )
cast: end a playing cast whose renderer has had nothing to play for the stall window (3cba9ed )
cast: fail a cast whose device ran out of media before the read finished (26612aa )
cast: give up on a delivery whose producer never writes its first artifact (39b21cf )
cast: hear sound where the source declares or requires it, and say when subtitles are skipped (c642d18 )
cast: honor ordered playback language preferences (d3d7ba0 )
cast: join the source read before teardown releases what it reads from (c28b2d1 )
cast: judge a producer's growth against playback pace, not since the cast began (01d034b )
cast: log a failed lighter rendition by the link castor read, not the rung's missing URL (14fd3b7 )
cast: move to the next link when castor cannot read a timeline it follows (c61962c )
cast: name a device that ran dry starved (286f0b8 )
cast: name why a device refused, and drop the prose behind it (173d094 )
cast: serve instead only when the renderer was handed the source (c771bdf )
cast: transcribe only a read sure to carry sound (0cd56dd )
cast: validate served media and measure HLS renditions (5aa144d )
chromecast: cancel blocked writes (1821014 )
chromecast: end the cast as gone when the Cast connection drops (79fa899 )
chromecast: match LOAD status to the requested stream (6d4f823 )
chromecast: reject LOAD replies without media status (e15ef25 )
ci: restore release PR checks (25571b5 )
ci: update Staticcheck for the Go toolchain (43b9cdd )
client: leave the drive when an answer to the server is lost (6691044 )
client: lend the LAN only the server's relay route, never its API (4929538 )
client: open the LAN relay for the first play that needs one, never to close it (eebaff4 )
cli: isolate genre drafts and discard stale browse results (359a161 )
cli: keep forwarding buffered logs (b2ce63b )
cli: load only configuration needed by each cast action (ecef142 )
cli: preserve grouped log redaction while holding output (37f1ff1 )
cli: refuse to start when the log file cannot be written (eab1c61 )
cli: require cast arguments and preserve configured scan endpoints (805f977 )
cli: stop casts when their status watch breaks (666ffe4 )
cli: stop q quitting the drilldown and tidy the browse loop (a7ce7c2 )
cmd: stop a cast only on Ctrl+C, not when its watch ends (26c42f3 )
cmd: stop the cast and release the drive whatever ended its watch (13f97f2 )
cmd: take an episode's season and number as unsigned, not wrapped from negatives (5dde342 )
config: reject unknown keys in owned sections (bad50e1 )
config: report unreadable files (8a33e26 )
correct HasVideo doc comment for lint (d0cc2f0 )
dash: bound timeline repeats by availability and period end (9a1806a )
dash: never give the last indexed segment a negative length (5faa050 )
deps: bump golang.org/x/net to v0.60.0 (674a355 )
device: echo what the device advertises and notice when it stops (4858511 )
device: judge a renderer gone by how long it went unanswered, not how many polls failed (56ceb1c )
device: preserve poll cancellation (d42e3ff )
devices: bound device connections by the network timeout (7acfb4b )
dlna: bound pinned SSDP searches (423c4ce )
dlna: cancel pending discovery (946842a )
dlna: confirm playback after a timed-out Play request (eaefa19 ), closes #68
dlna: deduplicate advertised playback capabilities (9711efd )
dlna: retain conservative playback when capabilities are unavailable (570ce08 )
docker: use host networking for LAN discovery and media delivery (33f5577 )
extract: bound each page and the snapshots taken of it (f7391be )
ffmpeg: count a kill as castor's only while ffmpeg is still running (3861fde )
ffmpeg: detect HLS demux I/O errors as incomplete reads (60d1a6a )
ffmpeg: limit input protocols to the network ones a source is read over (409d4b7 )
ffmpeg: tell castor's own kill from a failure on Windows (4ba63d6 )
follow: answer a segment whose origin broke before its first byte with a bad gateway (89227ae )
follow: let an empty first window leave the repackaging choice open (8edd6ef )
follow: read a timeline's first window again after a passing failure (1ba319c )
health: describe stalled reads accurately (9fdb890 )
hls: accept short hexadecimal AES initialization vectors (cf6e2f0 )
hls: honor receiver segment envelope capabilities (c3ea12d )
hls: open each segment on its own connection (1aff98c )
hls: read an init BYTERANGE without an offset from the first byte (2bb368f )
hls: relay original fragments when no repackager is available (99d45ea )
hls: release cancelled callers waiting for shared resources (9684094 )
hls: restore direct playback for ordinary segments (eb4ab78 )
hls: retain settled renditions and reject protected companion audio (9a4a1ce )
hls: send framed responses to ffmpeg readers (f4e2e06 )
log: stop logging the healthy watch gate and ffmpeg's routine lines (8faae55 )
media: enforce segment write deadlines and count delivered bytes (f60b8f7 )
media: play audio-only streams without a video encoder (fb27dcd )
media: respect advertised audio channel limits (c693e54 )
mediaserver: bound origin document reads and drain a stalled progress feed (21aea51 )
media: support audio-only handoff and absent tracks (2309ff0 )
media: try another delivery when preferred encoding is unavailable (a38c523 )
probe: read pixel component depth without confusing format layout (dbb7249 )
rank: admit a short stream as a last resort (9524ca1 )
replay: keep credentialed stream paths distinct through recovery (fc3e559 )
restore discover toggle and separate test environment (bd5826b )
roku: refuse unsupported containers (9179dc7 )
roku: reject malformed app lists (3483fb4 )
roku: reserve discovery time for device names (ac2e29b )
roku: validate app lists and support IPv6 endpoints (8a1472f )
rpc: validate requests and downstream responses at service edges (c4d056f )
scraping: bound browser capture and preserve redirect credentials (8263017 )
scraping: parse bounded manifest evidence and inherited DASH URLs (26f27d4 )
scraping: preserve resolver cancellation status codes (b2233cf )
scraping: use backward capture iteration for go fix (37c3a85 )
source: follow re-signed segments once and bound what is buffered (e55ae42 )
source: preserve cancellation during stream ranking (d8bd752 )
source: preserve unresolved playlist failures through completion (a28a726 ), closes #68
source: report fallback from selected audio track (a27cf0d )
source: retain declared codec levels for decoder limits (b0d08e9 )
source: validate media ranges and abort truncated segment responses (694e7b9 )
streaming: follow production for open byte-zero live ranges (e5456f1 ), closes #68
subtitles: ask for a language in whisper's own codes (3535589 )
subtitles: select multilingual models and cancel transcription safely (656bbe2 )
timeline: count a seam in the discontinuity sequence when its tag scrolls off (467513b )
timeline: never republish a segment a lagging edge lists again, however long ago it was trimmed (4c7b729 )
tmdb: honor proxy settings and dial timeouts (4ef029f )
transcode: declare a seamed program's discontinuity threshold once, before its inputs (a0808b2 )
transport: drain work after listener failures and release startup ports (ab17a37 )
transport: keep bearer credentials on the configured origin (037bbdc )
whisper: verify downloaded models against pinned SHA-256 (ccd981d )
Performance
media: avoid cloning probe data (c55afc1 )
Refactors
adopt newer standard library idioms (8c16ddb )
api: build a session's watchers with it, not on the first subscribe (1733384 )
api: build the server relay's proxy once, reading the route's values per request (3231f03 )
api: carry a stream's headers as one value each (60506ed )
api: count in unsigned integers wherever nothing can be negative (17b9c42 )
api: drop rules and comments the contract already states otherwise (81acb5f )
api: hold a cast's lifecycle in a looplab/fsm machine (11a4638 )
api: hold to the contract what a client sends, and say less in its comments (7922754 )
api: leave a watch's log level unset to ask for none (1f35f2e )
api: lend a cast one device, so its commands carry no handle (0e8be23 )
api: lend a device with whether it fetches for itself, not a whole profile (d417fac )
api: name the cast RPCs Start and Stop, as every other RPC names its verb alone (fd27212 )
api: name the device families after what they hold (b74f196 )
api: own remote sessions and join device observers (2628e52 )
api: read a watch's end one way, and name every refusal the server makes (e12281a )
api: reduce a cast's status to its counters (4e609c4 )
api: wait for a device for the undriven constant, not a field set to it everywhere (47463f7 )
app: drop the unused casts slot (1710e81 )
app: keep one cast submission path (3a42330 )
app: query casts directly (c4045f1 )
app: use one API transport (770d402 )
browse: read fields directly instead of through one-line accessors (0015a6b )
cast: cast straight through attempt, and drop what only tests or nothing reached (a7b5918 )
cast: coordinate typed preparation and readiness stages (05279b2 )
cast: declare one Listeners port, in deliver, and open every delivery through it (6153550 )
cast: finish renaming read plans to fetch plans and candidates to streams (0a4f93c )
cast: fold single-file packages into their parents (bac478c )
cast: leave a slow source to the device (dc584de )
cast: name read and watch by what they decide: fetch and health (4d78b0a )
cast: open deliveries through a Listeners port, under the cast's context (6f4764c )
cast: run an attempt on the values its steps return, and drop the indirection around it (9418e0f )
cast: stand in a Turns nobody hears once, not a nil check at each turn (f1e3a16 )
client: leave the contract's rules to the server, and say plainly when it refuses (462167a )
client: name the LAN address port Address, as one address it is (f3874ea )
cli: name and group the castor command line (95463fa )
cmd: build the missing TMDB key error with errors.New, having nothing to format (758372a )
cmd: load config with a method, and inline the forwarders around it (6fa2ee8 )
config: connect through remote.url and serve as castor server, one section each (0fb2839 )
config: group service settings and reject unknown keys (88cc8ea )
config: identify a link with its cast's own resolver (206865a )
config: iterate struct fields with reflect iterator (061725c )
deliver: open deliveries on their Opening, with what is written where passed alongside (adf9f61 )
device: drop what renderers and screens carried for nobody (e8bea2b )
device: hold constants every caller passed as parameters (6a6ddad )
device: separate discovery from device control (84eefac )
drop the probing and extraction layers that held nothing (3991e73 )
drop the standalone castor-api and castor-media binaries (5c74b40 )
drop what media and subtitle carried for nobody (6709ecc )
e2e: drop unused bookkeeping (2af6c1f )
execute: call what an attempt keeps its files in a directory, not a one-field workspace (68da4a9 )
extract: drive the page and parallel extraction without single-use callbacks (8a77d75 )
extract: log what a page capture finds under the extraction's context (53bc091 )
ffmpeg: centralize startup resource cleanup (28d85db )
ffmpeg: use inherited pipes for Unix side outputs (3ef689e )
file each screen with what it picks: titles and devices (27c3e62 )
give the API server and the media server the same shape (160ddb6 )
hls: centralize observed source compatibility (2824043 )
hls: separate AES decryption from fetching and bound key reads (ae57b52 )
keep both servers' casts in one shared registry (c7d478d )
make the TUI and the process plumbing part of the binaries (77ce80e )
media: bind probe evidence and preserve explicit tracks (5897b74 )
media: collect a program's header names in one place (ef39734 )
media: contain cast lifecycles and publication ownership (c55f264 )
media: drop extraction leftovers (0788a14 )
media: isolate segmented source decoding by format (37a0826 )
media: name and group the ffmpeg, probe, media and subtitle tools (ad6d943 )
media: name and group the source and extract packages (6c68eb5 )
media: name the cast runtime after what it does (ab2ff64 )
probe: inline input tolerances (066f1eb )
proto: name subtitle preference branch for its policy (af8c784 )
proto: remove compatibility reservations and compact fields (7a967cb )
proto: type video support by codec (7683110 )
rpc: isolate playback contracts (9bf0c3e )
rpc: split audio and video codecs (75b4f24 )
rpc: type device families (0896152 )
rpc: type stream metadata (68ba23d )
scraping: emit generated candidates and keep document inspection private (684f16f )
screens: move the browser, the picker and the logger to Charm v2 (7b977e4 )
screens: name the bar colours, draw every list with one delegate, ask the background once (20b0c58 )
source: call a found link a Stream, as everything that hands it on does (aa29554 )
source: give each port only what its implementations use (e7eef87 )
source: identify a link without a header nobody passes, and inline config's one-line helpers (ceb8b49 )
split castor into sealed media server, API server and TUI tiers (10224d5 )
start both servers through transport.Listen and transport.Loopback (5137b23 )
subtitle: name subtitle.Word and ensure the VAD model directly (c431374 )
subtitles: encode transcription within enabled selection (0ad24d0 )
test: simplify recovery doubles (e3d7014 )
tmdb: read release dates directly (06aa66c )
transcode: use output tuning directly (20e487a )
transport: split serving and the token rule out of transport.go (10bfe91 )
unexport what no other package reads (9da3c09 )
Documentation
condense architecture and show cooperating state machines (9639305 )
config: say subtitle burn-in reaches DLNA only (9f746f2 )
container: say what the package describes (4f17f03 )
describe lifecycle ownership and shared media publications (d0ac6e5 )
describe observed HLS handoff boundary (11860b0 )
explain format owned segmented source reading (0675f36 )
explain how castor works inside in ARCHITECTURE.md (b8f9b8f )
prepare Castor 2.0 migration (#69 ) (75bf500 )
readme: cover using castor, and leave its mechanics to ARCHITECTURE.md (b7c3a9d )
rewrite ARCHITECTURE.md around tiers, topologies and boundaries (d9a3235 )
say what the media server model does where comments and SECURITY.md still told the relay's (4dafe9a )
security: say castor serves plain HTTP and to terminate TLS in a proxy (49394b6 )
streamline setup and usage in README (8edc2f6 )
tighten the readme, contributing and security guides (d0c3e38 )
transcode: say the splice timestamp threshold holds for every input (7ee3d01 )
trim the service guides (bcc0ef3 )
Build System
app: drop unused headless UI (1db6f8e )
app: validate the web app in CI and wire the Tilt environment (b64ee08 )
deps: bump Go to 1.27.1 and the direct dependencies (83ea245 )
deps: bump mp4ff, koanf and teatest, and keep node_modules out of ./... (a201352 )
deps: bump whisper.cpp to v1.9.4 (a1f75e3 )
docker: limit the build context (c004c67 )
drop the tooling that did nothing (b563df3 )
move to Go 1.27 and the latest dependencies (f4056b8 )
proto: drop compatibility checks (3d88d82 )
release: rename the cask script to brew.sh (e3151ed )
Continuous Integration
bump download-artifact, setup-node and upload-artifact (becf454 )
bump the action pins and lint tools, and gate on go fix (fb187c8 )
check only first-party packages (2e91984 )
install ffmpeg 7.1 and keep go's download noise out of the deadcode gate (3c491f1 )
leave the e2e suite out of the test job (44ac704 )
lint the contract, refuse breaking changes to it, and check gen/ is current (c6ddb87 )
lint the sealed tiers, keep castor-api cgo-free, and release the three binaries (a48242a )
release: publish only the castor binary (7b3858b )
run go fix -diff as the gate itself, so a failure shows its diff (c2b8014 )
run once per PR, with -race, and a valid cask stanza (3807432 )
You can’t perform that action at this time.