Skip to content

v0.12.0

Choose a tag to compare

@iancleary iancleary released this 08 Nov 00:55
· 176 commits to main since this release

A dependency and supply-chain release. No chat or hook features change; one YAML strictness change is noted under Behavior.

The lockfile goes from 285 entries to 182. Advisory ignores in deny.toml go from two to one (lru, tracked in #51). Direct dependencies drop from 23 to 17.

Dependencies

  • ratatui: ahi depends on ratatui-core and ratatui-crossterm directly. The six widgets it draws with are forked into the new in-repo ahi-widgets crate from ratatui-widgets 0.3.0 under MIT, with the upstream copyright, per-file provenance headers, and a FORK.md; scripts/sync-ahi-widgets.py refreshes the fork from a new upstream version. Rendering is unchanged. (#44, #48)
  • ureq 3.5 replaces 2.12: one TLS root store, http types, explicit connect, send, and receive timeouts. (#44)
  • serde_yaml and unsafe-libyaml removed (RUSTSEC-2024-0449). Every config is parsed by yaml-rust2, which already ran the hardening pass, and bridged to serde so field errors read the same. (#47)
  • base64, libc, and time insourced as small tested modules: RFC 4648 encoding, the O_NOFOLLOW constant per platform, and RFC 3339 on the proleptic Gregorian algorithms. (#46)
  • thiserror removed as unused; base64 and the remaining pins aligned so every duplicate version left lives inside ratatui's tree. (#44)

Supply chain

  • deny.toml fails on unsound and unmaintained advisories unless ignored with a reason and a review date. CI and publish build with --locked. (#44)
  • A weekly dependency audit workflow runs cargo-deny and cargo-audit against main and opens or updates one issue on failure. Dependabot updates Cargo pins and GitHub Actions weekly in grouped PRs; merges stay manual. (#45)

Behavior

  • YAML scalars are no longer coerced into strings. An unquoted true, null, or number where a string is expected (an entry: true hook, an argv: [true] token) is an error whose message says to quote the value. Upstream pre-commit applies the same rule. (#47)
  • Catalog timestamps are written at second precision; stamps with fractions or offsets still parse. (#46)

Crates

This release publishes ahi-widgets 0.1.0 to crates.io alongside ahi.