Skip to content

Bionic Reader v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 05:22
c077bfd

Go application package

This release adds the Go module alongside the existing Rust, Python, JavaScript, and React APIs. Install it into your application with Go 1.25 or newer:

go get github.com/arturoaviles/bionic-reader

The Go package embeds the shared Rust engine as WebAssembly and runs through wazero. Consumers need no CGO, Rust compiler, separate CLI, or runtime downloads.

  • Render HTML, Markdown, ANSI, and plain text.
  • Obtain ordered text segments for custom presentation.
  • Select profiles, word-length rules, frequency, and emphasis styles.
  • Parse explicitly supplied TOML preferences.
  • Reuse a closable reader with concurrent calls and context cancellation.
  • Handle typed validation, initialization, engine, and closed-reader errors.

See the Go examples and application library guide. This release also adds the requested Python, Rust, and JavaScript example guides linked from README.md.

Compatibility and verification

Existing CLI commands and Rust/Python/JavaScript/React behavior remain covered by the shared conformance fixtures. Existing runtime minimums are unchanged; Go requires 1.25 or newer.

The Go package passes cross-platform tests on Linux, macOS, and Windows, including minimum-Go, race, cancellation, and invalid-input cases. The embedded engine is reproduced from locked Rust 1.85.1 source in a digest-pinned canonical Linux container and attested by main CI. Release preparation binds the engine bytes to the exact tagged source before promotion.

Publication verified: the public Go proxy and pkg.go.dev now serve 0.3.0. A fresh unversioned go get github.com/arturoaviles/bionic-reader selected 0.3.0; its consumer and all 45 package tests passed with CGO disabled. PyPI and npm serve 0.3.0 with all six wheel and seven tarball digests matching this release. The crates.io checksum matches the original tested Cargo candidate, and Homebrew is updated. The registry publication workflow completed successfully.

What's Changed

Full Changelog: v0.2.0...v0.3.0