chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.1 - autoclosed #7

Closed
renovate wants to merge 1 commits from renovate/github.com-charmbracelet-bubbletea-0.x into master
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbletea require minor v0.22.0 -> v0.23.1

Release Notes

charmbracelet/bubbletea

v0.23.1

Compare Source

This bugfix release addresses an issue that was introduced by v0.23.0 and prevented programs from re-using stdin after a tea.Program had finished execution.


Changelog

Fixed!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

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 like stderr seems more
appropriate? We got you covered now:

Render to stderr

p := tea.NewProgram(model, tea.WithOutput(os.Stderr))

Render to a Buffer

var buf bytes.Buffer
p := tea.NewProgram(model, tea.WithOutput(&buf))

Run Like the Wind

We've introduced the aptly named method Program.Run which replaces and deprecates the existing Program.Start and
Program.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:

p := tea.NewProgram(model, tea.WithOutput(os.Stderr))
model, err := p.Run() // instead of p.Start or p.StartReturningModel
...

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
  • Render to custom outputs, io.Writers and buffers (tea.WithOutput)
  • Support for new keys: Ctrl(+Alt) - Page, Home, End, and Insert keys
  • Signal handler is optional with program option tea.WithoutSignalHandler
  • tea.ClearScreen, tea.ShowCursor commands
  • Exported BatchMsg
Fixed!
  • Race conditions in console renderer
  • Issues restoring terminal state on shutdown
  • Kill not resulting in an error returned by Program.Run
  • Repaint behavior
  • Skip over unrecognized CSI sequences
  • Function keys on urxvt
  • Function keys on Linux console
  • Rendering issues with overflowing output buffers
  • Ensure final render on clean shutdown
  • Cursor visibility on altscreen state switch
  • Deadlock in Program.Send on shutdown
Deprecated
  • Program.Start, Program.StartReturningModel: please use Program.Run

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.22.1

Compare Source

Mutli-Byte Character Support on Windows

This is a small release with a big impact for Chinese, Japanese, and Korean users on Windows. The long as short of it is that if you’re using a multi-byte character set that’s not UTF-8, Bubble Tea will covert stuff for you so things work as expected. For details see https://github.com/charmbracelet/bubbletea/pull/343.

🤗 Enormous thanks to @​mattn for the contribution as well as his Go libraries that make CJK support in the Charm ecosystem possible.

👾 Also, thanks to @​aklyachkin, if Bubble Tea on AIX is something you want your dream is a now a reality.

Changelog

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.22.0...v0.22.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) | require | minor | `v0.22.0` -> `v0.23.1` | --- ### Release Notes <details> <summary>charmbracelet/bubbletea</summary> ### [`v0.23.1`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.23.1) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.23.0...v0.23.1) This bugfix release addresses an issue that was introduced by `v0.23.0` and prevented programs from re-using `stdin` after a `tea.Program` had finished execution. *** #### Changelog ##### Fixed! - Don't close stdin by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/598 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). ### [`v0.23.0`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.23.0) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.22.1...v0.23.0) 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 like `stderr` seems more appropriate? We got you covered now: #### Render to stderr ```go p := tea.NewProgram(model, tea.WithOutput(os.Stderr)) ``` #### Render to a Buffer ```go var buf bytes.Buffer p := tea.NewProgram(model, tea.WithOutput(&buf)) ``` ### Run Like the Wind We've introduced the aptly named method `Program.Run` which replaces and deprecates the existing `Program.Start` and `Program.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: ```go p := tea.NewProgram(model, tea.WithOutput(os.Stderr)) model, err := p.Run() // instead of p.Start or p.StartReturningModel ... ``` ### 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 [@&#8203;knz](http://github.com/knz) who is the sole author of more than a dozen PRs since the last release. Outstanding work! *** #### Changelog ##### New - Render to custom outputs, io.Writers and buffers (`tea.WithOutput`) - Support for new keys: Ctrl(+Alt) - Page, Home, End, and Insert keys - Signal handler is optional with program option `tea.WithoutSignalHandler` - `tea.ClearScreen`, `tea.ShowCursor` commands - Exported `BatchMsg` ##### Fixed! - Race conditions in console renderer - Issues restoring terminal state on shutdown - Kill not resulting in an error returned by `Program.Run` - Repaint behavior - Skip over unrecognized CSI sequences - Function keys on urxvt - Function keys on Linux console - Rendering issues with overflowing output buffers - Ensure final render on clean shutdown - Cursor visibility on altscreen state switch - Deadlock in `Program.Send` on shutdown ##### Deprecated - `Program.Start`, `Program.StartReturningModel`: please use `Program.Run` *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). ### [`v0.22.1`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.22.1) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.22.0...v0.22.1) ### Mutli-Byte Character Support on Windows This is a small release with a big impact for Chinese, Japanese, and Korean users on Windows. The long as short of it is that if you’re using a multi-byte character set that’s not UTF-8, Bubble Tea will covert stuff for you so things work as expected. For details see https://github.com/charmbracelet/bubbletea/pull/343. 🤗 Enormous thanks to [@&#8203;mattn](https://github.com/mattn) for the contribution as well as his Go libraries that make CJK support in the Charm ecosystem possible. 👾 Also, thanks to [@&#8203;aklyachkin](https://github.com/aklyachkin), if Bubble Tea on AIX is something you want your dream is a now a reality. #### Changelog - support multi-byte strings on Windows by [@&#8203;mattn](https://github.com/mattn) in https://github.com/charmbracelet/bubbletea/pull/343 - enable compilation on AIX by [@&#8203;aklyachkin](https://github.com/aklyachkin) in https://github.com/charmbracelet/bubbletea/pull/381 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.22.0...v0.22.1 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@&#8203;charm), or [Slack](https://charm.sh/slack). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTAuMyIsInVwZGF0ZWRJblZlciI6IjM0LjIzLjAifQ==-->
renovate added 1 commit 2022-09-07 06:00:38 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from a04fc304c8 to 4580ab01de 2022-09-07 12:00:42 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 4580ab01de to 0f3cc19ea5 2022-11-10 00:00:45 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.22.1 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.0 2022-11-10 00:00:46 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 0f3cc19ea5 to e4aabfd1c8 2022-11-15 16:01:10 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.0 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.1 2022-11-15 16:01:12 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from e4aabfd1c8 to f7599253a3 2022-12-11 08:00:58 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.1 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.1 - autoclosed 2022-12-11 16:00:52 +00:00
renovate closed this pull request 2022-12-11 16:00:52 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kichiyaki/gootp#7
No description provided.