Skip to content

Releases

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 22:35
e1a10e0

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Dependencies

  • build(deps): bump the all-dependencies group across 1 directory with 4 updates by @dependabot[bot] in #621
  • build(deps-dev): bump @biomejs/biome from 2.6.7 to 2.6.8 in the all-dependencies group across 1 directory by @dependabot[bot] in #620

Other Changes

  • fix(deps): pin gorilla/websocket past GO-2026-6278 by @rmens in #624
  • build(deps-dev): fix open npm alerts by @rmens in #623
  • refactor: replace gorilla/websocket with coder/websocket by @rmens in #625
  • fix(web): send signed-out dashboard tabs to the login page by @rmens in #626
  • refactor(web): send every WebSocket message as marshaled bytes by @rmens in #627
  • test: cover the WebSocket route end to end by @rmens in #628
  • refactor(web): read the WebSocket in its handler by @rmens in #629
  • feat(web): add a live waveform mode to the VU meter by @rmens in #619
  • fix(web): reload the configuration when the dashboard reconnects by @rmens in #631

Full Changelog: v1.5.2...v1.6.0

v1.6.0-beta.1

v1.6.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 21:59
e1a10e0

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Dependencies

  • build(deps): bump the all-dependencies group across 1 directory with 4 updates by @dependabot[bot] in #621
  • build(deps-dev): bump @biomejs/biome from 2.6.7 to 2.6.8 in the all-dependencies group across 1 directory by @dependabot[bot] in #620

Other Changes

  • fix(deps): pin gorilla/websocket past GO-2026-6278 by @rmens in #624
  • build(deps-dev): fix open npm alerts by @rmens in #623
  • refactor: replace gorilla/websocket with coder/websocket by @rmens in #625
  • fix(web): send signed-out dashboard tabs to the login page by @rmens in #626
  • refactor(web): send every WebSocket message as marshaled bytes by @rmens in #627
  • test: cover the WebSocket route end to end by @rmens in #628
  • refactor(web): read the WebSocket in its handler by @rmens in #629
  • feat(web): add a live waveform mode to the VU meter by @rmens in #619
  • fix(web): reload the configuration when the dashboard reconnects by @rmens in #631

Full Changelog: v1.5.2...v1.6.0-beta.1

v1.5.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 18:00
6d896ee

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Dependencies

  • build(deps-dev): bump @biomejs/biome from 2.6.4 to 2.6.6 in the all-dependencies group by @dependabot[bot] in #612
  • build(deps): bump the all-dependencies group with 5 updates by @dependabot[bot] in #613
  • build(deps): bump the all-dependencies group with 5 updates by @dependabot[bot] in #616
  • build(deps-dev): bump @biomejs/biome from 2.6.6 to 2.6.7 in the all-dependencies group across 1 directory by @dependabot[bot] in #615

Other Changes

  • build: update Go to 1.27.4 by @rmens in #614
  • build(deps): bump zw-graphmail to v0.0.3 by @rmens in #617

Full Changelog: v1.5.1...v1.5.2

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 18:53
f4c640b

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Other Changes

  • fix(recording): upload to storage without conditional writes by @rmens in #609
  • fix(recording): delete the connection probe by version by @rmens in #611

Full Changelog: v1.5.0...v1.5.1

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 22:05
8024c70

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Dependencies

  • build(deps-dev): bump @biomejs/biome from 2.5.15 to 2.6.2 in the all-dependencies group by @dependabot[bot] in #551
  • build(deps): bump the all-dependencies group with 5 updates by @dependabot[bot] in #552
  • build(deps-dev): bump @biomejs/biome from 2.6.2 to 2.6.4 in the all-dependencies group by @dependabot[bot] in #579
  • build(deps): bump the all-dependencies group with 5 updates by @dependabot[bot] in #580

Other Changes

  • docs: cut the README back to an operator guide by @rmens in #519
  • feat!: send the heartbeat from the encoder instead of root's crontab by @rmens in #520
  • fix(installer): re-prompt after an invalid timezone by @rmens in #524
  • docs(recording): propose a redesign backed by an invariant corpus by @rmens in #522
  • feat(recording): queue recordings on disk and upload them until delivered by @rmens in #525
  • feat(recording): run each recorder from one loop goroutine by @rmens in #528
  • fix(recording): keep a storage incident open through a failed probe by @rmens in #529
  • refactor(recording): trim the production code of the redesign by @rmens in #530
  • feat(recording): keep recordings through input changes and fill outages with silence by @rmens in #531
  • test(recording): pin the sync barriers and the review-found regressions by @rmens in #532
  • test(recording): fix a flaky storage probe test and four review findings by @rmens in #534
  • test(recording): check the ticket state right after a failed sync by @rmens in #535
  • test(recording): pin restart recovery, multipart abort on Close and active R1 by @rmens in #536
  • test(recording): crash and power-cut at every sync by @rmens in #537
  • test(recording): play a seeded random schedule with crashes by @rmens in #538
  • test(recording): shrink the schedule to its delivery audit by @rmens in #539
  • ci: run the real-FFmpeg tests on Linux and Windows by @rmens in #540
  • fix: harden the admin follow-ups that matter on a LAN appliance by @rmens in #545
  • fix(admin): send an expired login form to a fresh one by @rmens in #546
  • fix(recording): keep the Windows spool in ProgramData by @rmens in #547
  • fix(admin)!: store the admin password as plain text by @rmens in #549
  • fix(config): only reject recorder names that are the same, ignoring case by @rmens in #548
  • fix(recording)!: name recording files after a stored readable prefix by @rmens in #550
  • fix(web): keep a saved recorder's state until the next status push by @rmens in #565
  • ci: test the pull request merge commit in Frontend and Windows jobs by @rmens in #564
  • test(streaming): keep feeding the listener fanout test past FFmpeg 7.1+ probing by @rmens in #573
  • fix(api): return the live recording API key after a committed save by @rmens in #571
  • fix(eventlog): read long event log lines in linear time by @rmens in #574
  • fix(audio): list devices with the configured FFmpeg path by @rmens in #566
  • fix(recording): keep the macOS spool out of the shared /tmp by @rmens in #568
  • fix(api): let connection tests outlast the web server's write timeout by @rmens in #575
  • fix(api): only accept a listed device as a new audio input by @rmens in #560
  • fix(config): give a new config a random admin password by @rmens in #567
  • fix(notify): deliver silence alerts in order per channel by @rmens in #577
  • fix(admin): close the WebSocket when its session ends by @rmens in #570
  • fix(eventlog): read the event history again when the log rotates during a read by @rmens in #581
  • refactor(notify): send mail through zw-graphmail by @rmens in #572
  • fix(encoder): keep open audio incidents across a settings save by @rmens in #569
  • fix(eventlog): do not merge an audio incident left open by a restart by @rmens in #578
  • fix(encoder): stop a stream saved while the input is being reopened by @rmens in #576
  • perf(encoder): stop recordings while the source and streams stop by @rmens in #589
  • test(encoder): wait for the replacement source before changing the input by @rmens in #590
  • test: check errors received from channels by @rmens in #593
  • fix(ffmpeg): start encoding PCM without waiting for FFmpeg's analysis by @rmens in #594
  • fix(notify): deliver imbalance and dump alerts in order by @rmens in #595
  • fix(recording): report a disabled recorder as disabled by @rmens in #596
  • test(srtfanout): fail a blocked read instead of hanging by @rmens in #597
  • fix(dante): give a reordered packet its full gap wait by @rmens in #598
  • fix(encoder): do not log a restart failure when a stream is disabled by @rmens in #602
  • test(recording): tolerate a spool file removed during the walk by @rmens in #603
  • fix(notify): keep an incident's alerts on the destination of its start by @rmens in #599
  • fix(eventlog): end an open audio incident when capture stops by @rmens in #600
  • fix(eventlog): keep audio incidents of different runs apart by @rmens in #601
  • fix(eventlog): keep incident keys in the event lists unique by @rmens in #606

Full Changelog: v1.4.1...v1.5.0

v1.5.0-beta.3

v1.5.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 05 Nov 08:37
8024c70

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Other Changes

  • fix(notify): keep an incident's alerts on the destination of its start by @rmens in #599
  • fix(eventlog): end an open audio incident when capture stops by @rmens in #600
  • fix(eventlog): keep audio incidents of different runs apart by @rmens in #601
  • fix(eventlog): keep incident keys in the event lists unique by @rmens in #606

Full Changelog: v1.5.0-beta.2...v1.5.0-beta.3

v1.5.0-beta.2

v1.5.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Nov 16:40
025f1be

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Dependencies

  • build(deps-dev): bump @biomejs/biome from 2.5.15 to 2.6.2 in the all-dependencies group by @dependabot[bot] in #551
  • build(deps): bump the all-dependencies group with 5 updates by @dependabot[bot] in #552
  • build(deps-dev): bump @biomejs/biome from 2.6.2 to 2.6.4 in the all-dependencies group by @dependabot[bot] in #579
  • build(deps): bump the all-dependencies group with 5 updates by @dependabot[bot] in #580

Other Changes

  • fix(web): keep a saved recorder's state until the next status push by @rmens in #565
  • ci: test the pull request merge commit in Frontend and Windows jobs by @rmens in #564
  • test(streaming): keep feeding the listener fanout test past FFmpeg 7.1+ probing by @rmens in #573
  • fix(api): return the live recording API key after a committed save by @rmens in #571
  • fix(eventlog): read long event log lines in linear time by @rmens in #574
  • fix(audio): list devices with the configured FFmpeg path by @rmens in #566
  • fix(recording): keep the macOS spool out of the shared /tmp by @rmens in #568
  • fix(api): let connection tests outlast the web server's write timeout by @rmens in #575
  • fix(api): only accept a listed device as a new audio input by @rmens in #560
  • fix(config): give a new config a random admin password by @rmens in #567
  • fix(notify): deliver silence alerts in order per channel by @rmens in #577
  • fix(admin): close the WebSocket when its session ends by @rmens in #570
  • fix(eventlog): read the event history again when the log rotates during a read by @rmens in #581
  • refactor(notify): send mail through zw-graphmail by @rmens in #572
  • fix(encoder): keep open audio incidents across a settings save by @rmens in #569
  • fix(eventlog): do not merge an audio incident left open by a restart by @rmens in #578
  • fix(encoder): stop a stream saved while the input is being reopened by @rmens in #576
  • perf(encoder): stop recordings while the source and streams stop by @rmens in #589
  • test(encoder): wait for the replacement source before changing the input by @rmens in #590
  • test: check errors received from channels by @rmens in #593
  • fix(ffmpeg): start encoding PCM without waiting for FFmpeg's analysis by @rmens in #594
  • fix(notify): deliver imbalance and dump alerts in order by @rmens in #595
  • fix(recording): report a disabled recorder as disabled by @rmens in #596
  • test(srtfanout): fail a blocked read instead of hanging by @rmens in #597
  • fix(dante): give a reordered packet its full gap wait by @rmens in #598
  • fix(encoder): do not log a restart failure when a stream is disabled by @rmens in #602
  • test(recording): tolerate a spool file removed during the walk by @rmens in #603

Full Changelog: v1.5.0-beta.1...v1.5.0-beta.2

v1.5.0-beta.1

v1.5.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Oct 16:49
8388b84

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Other Changes

  • docs: cut the README back to an operator guide by @rmens in #519
  • feat!: send the heartbeat from the encoder instead of root's crontab by @rmens in #520
  • fix(installer): re-prompt after an invalid timezone by @rmens in #524
  • docs(recording): propose a redesign backed by an invariant corpus by @rmens in #522
  • feat(recording): queue recordings on disk and upload them until delivered by @rmens in #525
  • feat(recording): run each recorder from one loop goroutine by @rmens in #528
  • fix(recording): keep a storage incident open through a failed probe by @rmens in #529
  • refactor(recording): trim the production code of the redesign by @rmens in #530
  • feat(recording): keep recordings through input changes and fill outages with silence by @rmens in #531
  • test(recording): pin the sync barriers and the review-found regressions by @rmens in #532
  • test(recording): fix a flaky storage probe test and four review findings by @rmens in #534
  • test(recording): check the ticket state right after a failed sync by @rmens in #535
  • test(recording): pin restart recovery, multipart abort on Close and active R1 by @rmens in #536
  • test(recording): crash and power-cut at every sync by @rmens in #537
  • test(recording): play a seeded random schedule with crashes by @rmens in #538
  • test(recording): shrink the schedule to its delivery audit by @rmens in #539
  • ci: run the real-FFmpeg tests on Linux and Windows by @rmens in #540
  • fix: harden the admin follow-ups that matter on a LAN appliance by @rmens in #545
  • fix(admin): send an expired login form to a fresh one by @rmens in #546
  • fix(recording): keep the Windows spool in ProgramData by @rmens in #547
  • fix(admin)!: store the admin password as plain text by @rmens in #549
  • fix(config): only reject recorder names that are the same, ignoring case by @rmens in #548
  • fix(recording)!: name recording files after a stored readable prefix by @rmens in #550

Full Changelog: v1.4.1...v1.5.0-beta.1

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 22:57
ccb54e1

Installation

On Raspberry Pi 4/5 with HiFiBerry card:

BASE=https://raw.githubusercontent.com/oszuidwest/zwfm-encoder/main
curl -fsSL "$BASE/deploy/install.sh" | sudo /bin/bash

Binary downloads are available below as release assets.

What's Changed

Other Changes

  • build: update Go to 1.27.3 by @rmens in #516
  • fix(installer): set up heartbeat when root has no crontab (#498) by @rmens in #505
  • fix(recording): add a recovery margin to storage low alerts (#500) by @rmens in #506
  • fix(recording): do not wait for S3 uploads when a recorder stops (#485) by @rmens in #507
  • fix(recording): apply recorder updates and guard on-demand starts (#487, #484) by @rmens in #508

Full Changelog: v1.4.0...v1.4.1

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 23:20
20dee08

Breaking changes and required upgrade actions

Read this before upgrading from v1.3.0. Although this is a minor-version release, it changes recording filenames and S3 paths, session-authenticated API requests, recorder startup and readiness checks. Apply the actions relevant to your installation before putting v1.4.0 into service. Back up config.json and any retained recording/spool data first.

1. All recorders switch to ID-based filenames and S3 paths

Previously, new files and S3 prefixes used the sanitized recorder display name. In v1.4.0, every recorder, including existing recorders that have never been renamed, writes new files under a stable prefix derived from its ID. Renaming a recorder no longer changes that prefix.

For a recorder named Archive with ID recorder-1a2b3c4d:

Local filename before: Archive-2026-10-21-14-00.mp3
Local filename after:  @recorder-1a2b3c4d-2026-10-21-14-00.mp3

S3 key before: recordings/Archive/Archive-2026-10-21-14-00.mp3
S3 key after:  recordings/@recorder-1a2b3c4d/@recorder-1a2b3c4d-2026-10-21-14-00.mp3

Generated recorder-<lowercase-hex> IDs keep their readable form behind @. Other IDs are hex-encoded (r1 becomes @7231); IDs over 80 bytes use @h<sha256>.

Action: update filename parsers, archive/playout jobs, S3 event filters, IAM prefix restrictions and bucket lifecycle rules to cover the new namespace. Keep access/rules for the old namespace while old files or pending uploads remain. Local files stay in the configured directory.

Existing audio and S3 objects are not moved or renamed. On first load, the encoder captures the existing sanitized name in legacy_file_prefix and writes it back with id_based_files; retention recognizes that legacy prefix as well as the new ID prefix. Check for warnings if this configuration save fails, and preserve the captured fields before later manual renames. Pending uploads keep their original paths, object keys and existing upload identities. Keep recorder IDs and these internal fields intact when editing configuration by hand. Files stranded under earlier, untracked names need manual ownership checks. Details: #481.

2. Colliding recorder names now prevent configuration loading

Previously accepted names can now conflict after filename sanitization and case folding: for example Studio / Studio!, Studio B / Studio-B, or studio / Studio. This validation remains in force even with ID-based filenames.

Action: resolve such name collisions before the first v1.4.0 start, preserving recorder IDs. Otherwise configuration loading fails and the application cannot start; conflicting API additions/updates are rejected too. When resolving an existing collision, inspect the affected recordings and their ownership manually before renaming: shared or ambiguous legacy files cannot safely be attributed automatically. #433.

3. Custom session-based API clients must send CSRF tokens

Previously, an authenticated session cookie was sufficient for mutations. POST/PUT/PATCH/DELETE requests now also require X-CSRF-Token matching that session. Logout changes from GET /logout to POST /logout with this header and returns 204 No Content. Unauthenticated API requests now return a JSON 401 instead of redirecting to the login page; a missing/incorrect mutation token returns 403. Cross-origin browser mutations are rejected.

Action: after login, fetch the authenticated / page with the same cookie jar, read <meta name="csrf-token" content="…">, and send its value with each mutation. Refresh existing browser tabs after upgrading; the bundled UI handles the header automatically. Recording automation at /api/recordings/start and /api/recordings/stop continues to use X-API-Key without a session CSRF token.

Login is also rate-limited, including successful logins: five attempts per client IPv4 address or IPv6 /64, and ten per submitted username, per minute. Clients must handle 429/Retry-After: 60 and fetch a fresh one-use login-form token before retrying. If using a reverse proxy, configure its exact CIDRs in system.trusted_proxies so client-IP limits do not all use the proxy's address; the username limit still applies across clients. The default trusts no proxy, including loopback. Admin API migration guidance.

4. Linux recorders wait for kernel-reported clock synchronization

Previously, recording could start with an unsynchronized clock. On Linux, both hourly and on-demand recorders now stay starting with waiting for system clock synchronization until the kernel reports synchronization. A manually set, apparently correct clock alone does not satisfy this check. Streaming continues independently.

Action: ensure a working time-sync service marks the kernel clock synchronized, such as systemd-timesyncd or chrony with rtcsync, and verify it before relying on recording. Without synchronization, recording can wait indefinitely. An unreadable synchronization state logs a warning and allows recording; non-Linux platforms do not wait. #431.

5. /ready can now return 503 while the encoder and streams keep running

Previously, readiness did not check recent PCM delivery, retained abandoned uploads or recording-storage health. It now includes:

  • input: fails before the first PCM, after more than two seconds without PCM, on terminal input reads, and while an input outage awaits confirmation of stable recovery.
  • uploads.details.abandoned: retained abandoned uploads make readiness fail, including those belonging to removed recorders. Pending retries already made readiness fail in v1.3.0.
  • recording_storage: required storage checks must be complete, successful and no older than three minutes. Available space below 1 GiB or 5% of the volume also fails readiness.

Action: review monitors and orchestration that interpret every /ready 503 as a stopped encoder or trigger automatic restarts. For live-broadcast alerts, inspect the relevant JSON components; archive degradation can fail the aggregate status while streams continue. /health retains its existing process-health meaning and can return 200 without usable audio. Readiness contract.

6. S3 upload verification requires readable, preserved object metadata

Previously, uploads used conditional writes without checking a persisted upload identity via HeadObject. v1.4.0 stores a zwfm-upload-id and reads object metadata to recognize an upload that committed despite a lost response. The S3 connection test now checks this round-trip too.

Action: allow HeadObject for the relevant objects and ensure your S3-compatible store preserves user metadata. On AWS this requires s3:GetObject, including for connection-test objects when using the test. If an existing conflicting object cannot be verified, the recording stays queued instead of advancing to another key or being discarded. Conditional-write support (If-None-Match: *) was already required in v1.3.0. #443, #475.

7. Webhook redirects are rejected

Previously, the HTTP client followed redirects, sometimes changing a POST into a GET and losing the alert body. Redirect responses now count as delivery failures.

Action: configure the final webhook URL directly, including HTTPS and the correct path/trailing slash. An endpoint returning a redirect will no longer deliver alerts through that redirect. #430.

8. Dante names and discovery replies are validated more strictly

Previously, URI names were accepted with fewer restrictions and discovery did not enforce the receiving-interface subnet check. Device names must now contain 1–31 ASCII letters, digits or hyphens, without a leading/trailing hyphen, port or .local suffix. Decoded channel names must contain 1–31 printable ASCII characters excluding =, . and @. Spaces and percent-encoded /, ? and # remain supported.

Action: check audio.input, rename incompatible transmitter/channel labels where necessary, and update the URI to match the actual advertised names. For example, use dante://studio-tx/Program%20L/Program%20R, not a studio-tx.local host. Invalid names are rejected before discovery. Discovery replies must come from UDP port 5353 on an IPv4 subnet of the receiving, selected interface; routed/relayed setups that previously relied on off-subnet replies can stop discovering the transmitter. Use a matching local subnet/interface and inspect the reported rejection reason. #432, #438, #469.

Recording operations and downgrade precautions

  • Binary-only Linux upgrades: also update your systemd unit to include KillMode=mixed under [Service], run systemctl daemon-reload, and restart the service. The installer updates the unit for you. With the old default, systemd can signal FFmpeg directly during a stop, causing the current recording to fail finalization and remain quarantined. Updated unit.
  • Abandoned uploads now remain on disk: after the 24-hour retry window, S3-only recordings and their metadata are retained instead of deleted. There is no automatic disk-space eviction of unuploaded spool files. Monitor free space...
Read more
⌂ 换网址