Repository navigation
Release v0.9.6
A Rust app on version 0.9.5 of the crates has this dependency in its Cargo.toml:
[dependencies]
opentui = { package = "anomalyco-opentui", version = "0.9.5" }There is no 0.9.6 of that package. On crates.io, an unrelated project held the names opentui and opentui-sys, so 0.9.4 and 0.9.5 went out as anomalyco-opentui and anomalyco-opentui-sys. OpenTUI now owns the real names. This release and later ones use them, and the interim names stop at 0.9.5. To upgrade, remove the package key:
[dependencies]
opentui = "0.9.6"Cargo commands change the same way. cargo test -p anomalyco-opentui becomes cargo test -p opentui, and --features anomalyco-opentui/tokio becomes --features opentui/tokio. The library was always named opentui, so no use line changes. opentui-ssh also kept its name. A Git dependency on tag v0.9.4 or v0.9.5 still needs package = "anomalyco-opentui", because the crates at those tags have that name. As before, use the native archive from the same release as the crates, such as opentui-native-v0.9.6-linux-x64.zip. See Install, link, and ship.
Breaking changes
- native: The Rust crates are published as
opentuiandopentui-sysagain, andanomalyco-opentuiandanomalyco-opentui-sysstop at 0.9.5. Replaceopentui = { package = "anomalyco-opentui", ... }withopentui = "0.9.6", and useopentuiandopentui-syswithcargo -pand--features. See Install, link, and ship. (#2179)
Fixed
- native: With math on, Core and Rust Markdown now draw a
$before a held pipe, as in$|$[, as plain text while the line waits to become a table header. Before, that$used the math style. See Markdown and Code, Markdown, and highlighting. (#2178) - native: With a syntax theme, Rust
Markdownnow draws prose in its text color with the background and attributes of thedefaultscope, also in quotes, as Core does. Before, prose used the foreground of thedefaultscope and not its background. See Code, Markdown, and highlighting. (#2177)
API changes and documentation: https://opentui.com/docs/releases/0.9.6
What's Changed
- native, core, rust: make model tests report what they find by @simonklee in #2176
- rust: draw Markdown prose in its text color over the default scope by @simonklee in #2177
- native: style a held math opener the same in the node and read_leaf by @simonklee in #2178
- rust: publish the crates as opentui and opentui-sys by @simonklee in #2179
Full Changelog: v0.9.5...v0.9.6