Repository navigation
chore: version packages - #167
Open
bombshell-bot[bot] wants to merge 1 commit into
Open
bombshell-bot[bot] wants to merge 1 commit into
bombshell-bot[bot] wants to merge 1 commit into
Conversation
Contributor
Changeset review
|
commit: |
bombshell-bot
Bot
force-pushed
the
changeset-release/main
branch
from
October 29, 2026 03:31
e10e053 to
63d0591
Compare
bombshell-bot
Bot
force-pushed
the
changeset-release/main
branch
6 times, most recently
from
December 1, 2026 04:10
b91c9ba to
af66ce7
Compare
bombshell-bot
Bot
force-pushed
the
changeset-release/main
branch
from
December 1, 2026 05:30
af66ce7 to
8eb9cf5
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@bomb.sh/tty@0.11.0
Minor Changes
#146
3a7eab2Thanks @natemoo-re! - Adds CSS color string support to every color field in@bomb.sh/tty.open(id, { bg }),border.color,border.bg, per-sidecolor/bg, andtext(content, { color, bg })now accept CSS Color 4 strings in addition topacked ARGB numbers from
rgba().Accepted forms
#rgb,#rgba,#rrggbb,#rrggbbaarebeccapurple,transparent, all CSS named colorkeywords
rgb(),rgba(),hsl(),hsla(),hwb(),lab(),lch(),oklab(),oklch()Colors are resolved to packed sRGB ARGB values when directives are encoded for
the renderer. Out-of-gamut colors (common with
lab()/oklch()) clip perchannel. Invalid strings are rejected by
validate()and causerender()tothrow a
TypeErrorbefore returning output.String literals assigned to color fields are also checked at compile time in
TypeScript: invalid hex digit counts, misspelled named colors, and unsupported
function names are type errors.
Migration
Color fields were previously typed
number; they are now typednumber | string. Existingrgba()calls and numeric color values areunaffected.
#171
869521bThanks @cowboyd! - Addsresult.info.get(id).replayto reuse an entire rendered element, includingits descendants, in the next
render()call without rebuilding or repacking itsdirectives. Layout, pointer handling, caret placement, and transitions use the
new render's context and options.
Breaking: removes
snapshot(). Give the reusable subtree a named root,render its directives once, then obtain its replay from the result:
Each completed render expires previous replays, even if it emits no output.
Obtain a fresh replay from each new result.
update()calls, including resizesand capability changes, and renders that throw preserve existing replays. An
older result's
info.get()returnsundefinedafter another render completes.validate()andassert()now reject unbalancedopen()/close()directives.The optional
validated(term)wrapper also rejects expired replays obtainedthrough the wrapper.
#166
5c61c14Thanks @cowboyd! - Breaking:term.update(events)returnsvoidinstead of aUint8Array.Dimension and capability changes apply synchronously; call
term.render()andwrite its
outputto display them. Multiple updates accumulate in call orderfor the next render.
Replace writes of the return value from
update()with a render in yourapplication's render loop:
Disabling pointer shape support no longer resets the terminal's pointer shape.
While support is disabled, renders emit no pointer shape changes and retain the
last emitted shape for comparison when support is re-enabled. To reset the
pointer to default, render without a
pointeroption while support is enabledand write the result's
output.Patch Changes
#161
cc738edThanks @dreyfus92! - Fixes pointer events and pointer shape on a cell where two elements meet. The pointer at that cell is now over only the element that draws it, so clicking a row in a list no longer also clicks the row above it.#169
326f86eThanks @cowboyd! - Fixesresult.info.get(id)returning stale bounds for elements omitted from thelatest render, including an empty render. These lookups return
undefined.Fixes a visible caret remaining on screen after a resize when the next render in
the default mode has no
text()directive declaring acaret.