Repository navigation
fix(deps): update dependency @opentui/core to v0.9.9 - #465
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
from
August 24, 2026 19:06
d94b49b to
5718e8e
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
3 times, most recently
from
August 27, 2026 06:17
3787cdd to
658be89
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
12 times, most recently
from
August 31, 2026 05:12
3f9cf28 to
b75c4b8
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
7 times, most recently
from
September 6, 2026 06:06
9171811 to
01bcfd1
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
3 times, most recently
from
September 8, 2026 02:01
f1e9d16 to
58804d7
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
16 times, most recently
from
September 21, 2026 17:03
d80a780 to
24295eb
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
2 times, most recently
from
September 22, 2026 22:43
f4a813d to
e075063
Compare
renovate
Bot
force-pushed
the
renovate/opentui-core-0.x
branch
10 times, most recently
from
September 29, 2026 20:56
70d54ba to
0354525
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.9.4→0.9.9Release Notes
anomalyco/opentui (@opentui/core)
v0.9.9Compare Source
In earlier releases, a Rust app that changed its theme in an
App::on_theme_modehandler kept the old theme's selection colors on every widget it had already created. Widgets copiedTheme::selection_bgandTheme::selection_fgwhen they were created, soApp::set_themereached only widgets created after the call. In 0.9.9 the default selection colors live in the native Context, and each selection reads them when it draws. NowApp::set_themerecolors the selections of existing widgets too, including a selection that is on screen when you call it.This also changes what
Nonemeans in a widget'sselection_colors. Before, aNonecolor kept the text color, andSelectionColors::default()inverted the selected cells. Now aNonecolor takes the theme's color, one color at a time. A selection inverts its cells only when neither the widget nor the theme sets a background. If your app usedSelectionColors::default()to get inverted selections, those selections now draw in the theme's colors.C hosts set the same default with
ot_context_set_selection_colors. Core apps see no change:selectionBg,selectionFg, andsetSelectionColorswork as before. The renderer now gives their colors to the native Context.Added
ot_context_set_selection_colorssets the default selection background and foreground of a Context. A selection that has no color of its own uses the default, and a change also restyles current selections. See C. (#2198)Changed
App::set_themechanges the selection colors of all widgets, including current selections. A color thatselection_colorsleavesNonenow takes the theme's color, not the text color. See Widgets and layout. (#2198)Fixed
MarkdownRenderableno longer throwsundefined is not an object (evaluating 'c.ordinal=o++')while a list streams in. Lists now lay out after all blocks of an update are shown. OpenTUI 0.9.4 to 0.9.8 had this error. See Markdown. (#2199)API changes and documentation: https://opentui.com/docs/releases/0.9.9
What's Changed
Full Changelog: anomalyco/opentui@v0.9.8...v0.9.9
v0.9.8Compare Source
Without selection colors, a selection inverts its cells. On a cell with no opaque background, inverting forces the text to black. opencode keeps the renderer background transparent and paints its own background, so on a light theme every selection showed black text on a near-black background. Until now, the only fix was to set
selectionBgandselectionFgon every text renderable in the app. Now you can set them once, on the renderer:Each color falls back separately. A Textarea that sets only its own
selectionBgkeeps that background and uses the renderer'sselectionFg. TheselectionBgandselectionFggetters on a renderable still return only the values set on that renderable. An app that sets no renderer colors sees no change. ASCIIFont does not use the renderer colors, and the Rust crates do not have renderer selection colors yet.A box with
width: 10, a border, andpadding: 1has 6 columns for its content. The default,"border-box", counts the border and padding as part of the width. WithboxSizing: "content-box", the width is the size of the content:This box is 14 columns by 7 rows, and its content is 10 by 3. Use it when the content needs an exact size and the frame around it can grow. The default is still
"border-box", which is not the CSS initial value, so existing layouts do not change. To restore the default, assignnullorundefined.@opentui/solidno longer installsbabel-plugin-module-resolver. Its own Solid transform now rewrites module specifiers with a small Babel plugin. The earlier Node instructions used the resolver to sendsolid-jsto its client runtime. To move to the new setup, remove the resolver from your Babel config and start Node with thebrowsercondition:If your Babel config still imports the resolver, add
babel-plugin-module-resolverto your own dependencies.@opentui/solidno longer installs it for you.Breaking changes
@opentui/solidno longer depends onbabel-plugin-module-resolver, sonpm audit --omit=devno longer reports GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249. List the resolver in your own dependencies if your Babel config imports it, or run Node with--conditions=browserinstead. See Solid bindings. (#2182)Added
createCliRenderer()acceptsselectionBgandselectionFg, andrenderer.setSelectionColors(bg, fg)changes them and repaints an active selection. Text, Code, Markdown, Diff, Textarea, Input, and TextTable use these colors when they have no selection color of their own. See Interaction, focus, and selection. (#2196)boxSizinglayout option accepts"content-box", which adds padding and borders to the size and its limits.getBoxSizing()returns the value, and React and Solid props also accept it. See Layout. (#2183)flexBasisaccepts a percentage, such as"50%". Before, Core discarded a percentage value without an error. See Layout. (#2183)Widgettrait hasbox_sizingandaspect_ratiolayout methods. See Widgets and layout. (#2183)Changed
syntax_themeon RustMarkdown,Code,Diff, andTextareaacceptsimpl Into<Arc<SyntaxTheme>>, so views that get clones of oneArcshare one theme. Passing aSyntaxThemestill compiles, and a newDiffview now makes 74 allocations instead of 607. See Code, Markdown, and highlighting. (#2190)Fixed
fg, the renderer resumes at the current terminal size, also in the RustHost. Before, a terminal that changed size during the suspend got a frame at the old size. See Renderer. (#2181)flexBasisor percentage padding now updates when its parent resizes, unless the parent takes its size from its content. Before, a 50% child of a row that grew from 20 to 30 cells stayed at 10 cells. See Layout. (#2192)ScrollBoxthat becomes sticky after layout now follows new rows only from the edge, as in Core. A program scroll on a box with zero rows no longer jumps to the last items when the content grows. See Widgets and layout. (#2185)API changes and documentation: https://opentui.com/docs/releases/0.9.8
What's Changed
Full Changelog: anomalyco/opentui@v0.9.7...v0.9.8
v0.9.7Compare Source
Fixed
defaultscope, such as in theopencodetheme, replaced the text color. See Code, Markdown, and highlighting. (#2180)API changes and documentation: https://opentui.com/docs/releases/0.9.7
What's Changed
Full Changelog: anomalyco/opentui@v0.9.6...v0.9.7
v0.9.6Compare Source
A Rust app on version 0.9.5 of the crates has this dependency in its
Cargo.toml:There is no 0.9.6 of that package. On crates.io, an unrelated project held the names
opentuiandopentui-sys, so 0.9.4 and 0.9.5 went out asanomalyco-opentuiandanomalyco-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 thepackagekey:Cargo commands change the same way.
cargo test -p anomalyco-opentuibecomescargo test -p opentui, and--features anomalyco-opentui/tokiobecomes--features opentui/tokio. The library was always namedopentui, so nouseline changes.opentui-sshalso kept its name. A Git dependency on tag v0.9.4 or v0.9.5 still needspackage = "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 asopentui-native-v0.9.6-linux-x64.zip. See Install, link, and ship.Breaking changes
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
$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)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
Full Changelog: anomalyco/opentui@v0.9.5...v0.9.6
v0.9.5Compare Source
With
concealon, Markdown draws the box of a task item as ☐ or ☑. Before this release, an app could not get ASCII boxes and still conceal the rest of the document. Core apps had to patch the item's Text renderables, and Rust apps could not change the box at all. Now both bindings let you set the box text:In Rust, call
task_markers("[ ]", "[x]")on aMarkdown. The box is part of the item's marker. With[ ], the wrapped text of an item therefore continues at column 6, under its first word. When you change the option, the items already on screen update, also while the document streams. Without conceal, the option has no effect, and items show the source's[ ]or[x].A Rust app that streams Markdown into the split-mode scrollback could already get the number of final top-level blocks from
committed_block_count. It could not find which rows those blocks use.block_rows()now returns oneRange<u32>for each top-level block in the latest frame. These are the same rows thatScrollbackSurface::commit_rowstakes. Blocks are one row apart. To commit blocksfrom..to, each with the gap above it, start atrows[from - 1].end, or atrows[0].startfor the first block, and end atrows[to - 1].end. Core apps read the same rows from theyandheightof each child inMarkdownRenderable.getChildren(). A shared test checks that Core and Rust put the blocks of a streamed document on the same rows.Starting with this release, the release workflow publishes the Rust crates to crates.io.
cargo add anomalyco-opentui --rename opentuinow gets the version of the newest release. Link the native archive from that same release. Prereleases are published too, but Cargo selects a prerelease only when you ask for one.Added
MarkdownOptions.taskMarkersandMarkdownRenderable.taskMarkersset the text of the unchecked and checked task boxes whenconcealis on. The defaults are ☐ and ☑. See Markdown. (#2173)Markdown::task_markers(unchecked, checked)sets the task boxes when conceal is on, as Core'staskMarkersdoes. See Code, Markdown, and highlighting. (#2173)Markdown::block_rowsreturns the rows of each top-level block in the latest frame, in the rows thatScrollbackSurface::commit_rowstakes. See Time, animation, and the split footer. (#2174)anomalyco-opentui-sys,anomalyco-opentui, andopentui-sshto crates.io at the release version. See Install, link, and ship. (#2170)API changes and documentation: https://opentui.com/docs/releases/0.9.5
What's Changed
Full Changelog: anomalyco/opentui@v0.9.4...v0.9.5
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.