Update module github.com/charmbracelet/bubbletea to v0.23.0 #14
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:
v0.22.1
->v0.23.0
Release Notes
charmbracelet/bubbletea
v0.23.0
Compare Source
If you are closely following Bubble Tea's development, you may have already noticed that we have been really busy fixing a lot of issues and merged more than just a couple of feature requests in recent weeks. This
v0.23.0
release is in fact our biggest update since the initial release of the package: in the last 3 months over 100 commits have reached us by more than 30 individual contributors! Thank you everyone! 💕Here's a quick overview of what has changed:
Custom Outputs
Don't want to render your beautiful TUI to
stdout
? A buffer or an alternative file descriptor likestderr
seems moreappropriate? We got you covered now:
Render to stderr
Render to a Buffer
Run Like the Wind
We've introduced the aptly named method
Program.Run
which replaces and deprecates the existingProgram.Start
andProgram.StartReturningModel
methods. This unifies and clarifies the blocking behavior of the Bubble Tea program execution.The old methods will continue to work for now, but please update your programs accordingly:
Bug Fix Galore!
The initialization and tear-down methods of
tea.Program
have been revised and some long-standing problems have been resolved. We couldn't list every single fix in the release notes, so please check out the full changelog below!🤗 Thanks
We would like to particularly thank @knz who is the sole author of more than a dozen PRs since the last release. Outstanding work!
Changelog
New
tea.WithOutput
)tea.WithoutSignalHandler
tea.ClearScreen
,tea.ShowCursor
commandsBatchMsg
Fixed!
Program.Run
Program.Send
on shutdownDeprecated
Program.Start
,Program.StartReturningModel
: please useProgram.Run
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.