Skip to content

release: 0.5.0 - #69

Merged
rubas merged 2 commits into
mainfrom
release/0.5.0
Sep 22, 2026
Merged

rubas merged 2 commits into
mainfrom
release/0.5.0

Conversation

@rubas

@rubas rubas commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Release 0.5.0 of whisper_cpp.

Why this release

Several changes are caller-visible, so this is a minor bump. CHANGELOG.md names the action for each one.

Included PRs

Issue #26 stays open: whisper-rs upstream has no release with the trampoline fix.

Changes in this PR

  • mix.exs: @version 0.4.1 -> 0.5.0.
  • CHANGELOG.md: the 0.5.0 entry. It replaces the [Unreleased] CI entry, which named Elixir 1.20.3 and OTP 29.0.5; CI now uses 1.20.4 and 29.1.1.
  • README.md: install snippet ~> 0.5.0, and the CPU baseline note says "from 0.5.0 on".
  • The native crate keeps its own version (0.1.0).

Risks for the release run

After the merge, follow the AGENTS.md Release steps: wait for release.yml, regenerate checksum-Elixir.WhisperCpp.Native.exs, push it, then mix hex.publish.

Dependencies

mix hex.outdated: every Hex dependency is up to date. cargo update --dry-run: 0 packages to update.

Checks

  • WHISPER_CPP_BUILD=1 task check: green. Format, compile with warnings as errors, credo --strict (no issues), ExUnit 62 passed and 22 excluded, cargo tests 33 passed, zizmor no findings.
  • WHISPER_CPP_BUILD=1 task test:integration (ggml-tiny.en and ggml-tiny): 84 passed.
  • No dprint.json in this repository, so no dprint fmt.

@rubas

rubas commented Sep 22, 2026

Copy link
Copy Markdown
Owner Author

Review findings, checked against the tree. Fixes are in 4183374.

Opus

  1. Fixed (4183374). The [P3] An empty result reports the requested language name instead of the ISO code #52 item now states the fix: return invalid_request instead of raising, and honour build selection #64 change on transcribe_slice/4 windows under 0.3 s. v0.4.1 used language || "" with the raw option, so nil gave "" and "auto" gave "auto". Now Native.resolve_language/2 gives "en" on an English-only model and "" on a multilingual model.
  2. Fixed (4183374). v0.4.1 passed a non-UTF-8 path through String.trim/1 (it does not raise on invalid UTF-8), and Rustler then failed to decode path: String and raised ArgumentError. The Fixed list now names this input. The Changed entry now states the new message for an empty or blank path.
  3. The date stays 2026-09-23. The merge happens today.

Astra

  1. Fixed (4183374). The pinned whisper-rs-sys build defines WHISPER_COREML_ALLOW_FALLBACK=1 (sys/build.rs line 199 at rev 9a4232f). The entry now uses the README wording: the build uses the Core ML encoder whenever the model's -encoder.mlmodelc loads, and a caller cannot turn it off per model.
  2. Declined. The changelog records changes that reach a caller or the published artefacts. ci: zizmor 1.30.1 and the same-repository action ref #41 changes only the zizmor version and an action reference in CI. Remove CLAUDE.md #42 removes a repository instruction file. Neither changes the package, the artefacts, or the release process. The PR body lists every included PR, ci: zizmor 1.30.1 and the same-repository action ref #41 and Remove CLAUDE.md #42 too.

Gate: WHISPER_CPP_BUILD=1 task check is green (format, compile with warnings as errors, credo strict, ExUnit 62 passed and 22 excluded, cargo tests 33 passed, zizmor no findings).

@rubas
rubas merged commit d254885 into main Sep 22, 2026
1 check passed
@rubas
rubas deleted the release/0.5.0 branch September 22, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment