chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.3 #4

Merged
Kichiyaki merged 1 commits from renovate/github.com-charmbracelet-bubbletea-0.x into master 2024-05-25 12:59:32 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbletea require minor v0.25.0 -> v0.26.3

Release Notes

charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)

v0.26.3

Compare Source

This is a patch release that prevents tea.WindowSizeMsgs from being fired during altscreen changes on Windows. This was due to the fact that Windows emits a window-size-event on altscreen changes even if the size hand’t changed. Now, we cache the window-size and compare before sending the message to the Model.

What's Changed

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.26.2...v0.26.3


The Charm logo

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

v0.26.2

Compare Source

This fixes a small regression that was introduced in v0.26.0 related to the first line on the first render not being displayed correctly. Thank you @​mistakenelf for pointing this out in https://github.com/charmbracelet/bubbletea/issues/1000!

What's Changed

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.26.1...v0.26.2


The Charm logo

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

v0.26.1

Compare Source

This is a quick one to fix a Windows shortcoming in the last release acutely identified by our pal @​jon4hz. Thank you!

What's Changed

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.26.0...v0.26.1


The Charm logo

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

v0.26.0

Compare Source

Bracketed Paste, Windows Improvements, Mainframes, and more

What do tapioca balls, IBM mainframes, and the Microsoft Windows Console API have in common? Bubble Tea v0.26.0, that’s what. Let’s get to it.

️ Windows Input Improvements

A few years ago @​erikgeiser, a penetration tester and ex-particle physicist, wrote this awesome library called coninput to majorly improve Bubble Tea input on Windows. @​aymanbagabas has implemented the library in Bubble Tea and input on Windows is roughly 1000 times better now. In the short term, this means that for Windows users inputting non-Latin characters (like Greek, Cyrillic, Korean, Chinese and so on) stuff will “just work.”

The bigger news, however, is that this paves the way for Windows parity with our forthcoming support for super high fidelity input via Kitty Keyboard and Fixterms.

🍳 Hot Windows Resize Events

Terminal emulators on Windows don’t support the SIGWINCH signal, which is sent when the terminal is resized. It’s been a huge bummer for a really long time. Thanks (again) to @​erikgeiser and @​aymanbagabas, we’re now able to reach deep into Windows’ underpinnings, detect window resizes, and send tea.WindowSizeMsgs accordingly! This is a glorious moment for Bubble Tea on Windows indeed.

🫠 Bracketed Paste

While building a query editor for a CockroachDB client, @​knz noticed that Bubble Tea didn't support Bracketed Paste. Performance-wise, that sucks because it means pasting large bodies of text (like SQL queries) will normally be seen as a bunch of little successive keypresses. That’s where Bracketed Paste comes in. When enabled at the terminal-level Bracketed Paste lets you slam down a bunch of text with one big, fat input event.

Bubble Tea enables bracketed paste by default, however you can opt out of it with the WithoutBracketedPaste() program option:

p := tea.NewProgram(myCuteModel, tea.WithoutBracketedPaste())

You can also enable and disable it on demand with the EnableBracketedPaste() and DisableBracketedPaste() commands.

🌿 Multiline tea.Println

In case you forgot, tea.Println (and it’s brother tea.Printf) is a Cmd that lets you print unmanaged output above a Bubble Tea program, similar to what you see with package managers like apt-get. Thanks to @​Adjective-Object (who also implemented tea.Println in the first place) now you can send multi-line output, too. For a tea.Println refresher see the package manager example.

📀 Hello, z/OS

Don’t you think it’s about time we all ran Bubble Tea apps on our mainframes? Thanks to @​dustin-ward that dream is now a reality, so long as you have a z/OS mainframe. We're thrilled to announce that Bubble Tea is now fully supported on z/OS.

🌹 Bug fixes

Bugfixes are the unsung heroes that sometimes get buried below the feature listings. This release has them and they’re good ones; see the changelog below for details.

Changelog

New!
Changed
Fixed
New Contributors

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.25.0...v0.25.1


The Charm logo

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.


  • 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.25.0` -> `v0.26.3` | --- ### Release Notes <details> <summary>charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)</summary> ### [`v0.26.3`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.26.3) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.26.2...v0.26.3) This is a patch release that prevents `tea.WindowSizeMsg`s from being fired during altscreen changes on Windows. This was due to the fact that Windows emits a `window-size-event` on altscreen changes even if the size hand’t changed. Now, we cache the window-size and compare before sending the message to the `Model`. #### What's Changed - Prevent multiple window-size-events from firing on Windows by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/1021 - refactor: use x/term and x/ansi for renderer sequences by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/962 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.26.2...v0.26.3 *** <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.26.2`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.26.2) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.26.1...v0.26.2) This fixes a small regression that was introduced in v0.26.0 related to the first line on the first render not being displayed correctly. Thank you [@&#8203;mistakenelf](https://github.com/mistakenelf) for pointing this out in https://github.com/charmbracelet/bubbletea/issues/1000! #### What's Changed - fix: stop and drain timers by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/993 - chore(lint): minor lint-related improvements by [@&#8203;meowgorithm](https://github.com/meowgorithm) in https://github.com/charmbracelet/bubbletea/pull/1007 - fix: renderer: reset the cursor on the first line by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/1008 - chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/charmbracelet/bubbletea/pull/1003 - chore(deps): bump golangci/golangci-lint-action from 5 to 6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/charmbracelet/bubbletea/pull/1005 - chore(deps): bump golang.org/x/term from 0.19.0 to 0.20.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/charmbracelet/bubbletea/pull/1002 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.26.1...v0.26.2 *** <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.26.1`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.26.1) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.26.0...v0.26.1) This is a quick one to fix a Windows shortcoming in the last release acutely identified by our pal [@&#8203;jon4hz](https://github.com/jon4hz). Thank you! #### What's Changed - fix: support more shift and ctrl modifiers on windows by [@&#8203;jon4hz](https://github.com/jon4hz) in https://github.com/charmbracelet/bubbletea/pull/995 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.26.0...v0.26.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.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). ### [`v0.26.0`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.26.0) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.25.0...v0.26.0) ### Bracketed Paste, Windows Improvements, Mainframes, and more What do tapioca balls, IBM mainframes, and the Microsoft Windows Console API have in common? Bubble Tea v0.26.0, that’s what. Let’s get to it. #### ⚡️ Windows Input Improvements A few years ago [@&#8203;erikgeiser](https://github.com/erikgeiser), a penetration tester and ex-particle physicist, wrote this awesome library called [coninput](https://github.com/erikgeiser/coninput) to majorly improve Bubble Tea input on Windows. [@&#8203;aymanbagabas](https://github.com/aymanbagabas) has implemented the library in Bubble Tea and input on Windows is roughly 1000 times better now. In the short term, this means that for Windows users inputting non-Latin characters (like Greek, Cyrillic, Korean, Chinese and so on) stuff will “just work.” The bigger news, however, is that this paves the way for Windows parity with our forthcoming support for super high fidelity input via [Kitty Keyboard](https://sw.kovidgoyal.net/kitty/keyboard-protocol/) and [Fixterms](https://www.leonerd.org.uk/hacks/fixterms/). #### 🍳 Hot Windows Resize Events Terminal emulators on Windows don’t support the `SIGWINCH` signal, which is sent when the terminal is resized. It’s been a huge bummer for a really long time. Thanks (again) to [@&#8203;erikgeiser](https://github.com/erikgeiser) and [@&#8203;aymanbagabas](https://github.com/aymanbagabas), we’re now able to reach deep into Windows’ underpinnings, detect window resizes, and send [`tea.WindowSizeMsg`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.26.0#WindowSizeMsg)s accordingly! This is a glorious moment for Bubble Tea on Windows indeed. #### 🫠 Bracketed Paste While building a query editor for a CockroachDB client, [@&#8203;knz](https://github.com/knz) noticed that Bubble Tea didn't support [Bracketed Paste](https://cirw.in/blog/bracketed-paste). Performance-wise, that sucks because it means pasting large bodies of text (like SQL queries) will normally be seen as a bunch of little successive keypresses. That’s where Bracketed Paste comes in. When enabled at the terminal-level Bracketed Paste lets you slam down a bunch of text with one big, fat input event. Bubble Tea enables bracketed paste by default, however you can opt out of it with the [`WithoutBracketedPaste()`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.26.0#WithoutBracketedPaste) program option: ```go p := tea.NewProgram(myCuteModel, tea.WithoutBracketedPaste()) ``` You can also enable and disable it on demand with the [`EnableBracketedPaste()`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.26.0#EnableBracketedPaste) and [`DisableBracketedPaste()`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.26.0#DisableBracketedPaste) commands. #### 🌿 Multiline `tea.Println` In case you forgot, [`tea.Println`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.26.0#Println) (and it’s brother [`tea.Printf`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.26.0#Printf)) is a `Cmd` that lets you print unmanaged output above a Bubble Tea program, similar to what you see with package managers like `apt-get`. Thanks to [@&#8203;Adjective-Object](https://github.com/Adjective-Object) (who also implemented `tea.Println` in the first place) now you can send multi-line output, too. For a `tea.Println` refresher see [the package manager example](https://github.com/charmbracelet/bubbletea/tree/master/examples/package-manager). #### 📀 Hello, z/OS Don’t you think it’s about time we all ran Bubble Tea apps on our mainframes? Thanks to [@&#8203;dustin-ward](https://github.com/dustin-ward) that dream is now a reality, so long as you have a [z/OS](https://www.ibm.com/products/zos) mainframe. We're thrilled to announce that Bubble Tea is now fully supported on z/OS. #### 🌹 Bug fixes Bugfixes are the unsung heroes that sometimes get buried below the feature listings. This release has them and they’re good ones; see the changelog below for details. #### Changelog ##### New! - bracketed paste by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbletea/pull/397 - use windows console input buffer + resize events on windows by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/878 - multiline `tea.Println()` messages by [@&#8203;Adjective-Object](https://github.com/Adjective-Object) in https://github.com/charmbracelet/bubbletea/pull/490 - z/OS support by [@&#8203;dustin-ward](https://github.com/dustin-ward) in https://github.com/charmbracelet/bubbletea/pull/913 ##### Changed - use go 1.18; update bubbles by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/916 ##### Fixed - fix deadlock condition on model init panic by [@&#8203;eolso](https://github.com/eolso) in https://github.com/charmbracelet/bubbletea/pull/926 - reduce console/term dependencies by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/897 - optimize batches with one item by [@&#8203;systay](https://github.com/systay) in https://github.com/charmbracelet/bubbletea/pull/875 ##### New Contributors - [@&#8203;kevgo](https://github.com/kevgo) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/893 - [@&#8203;canack](https://github.com/canack) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/890 - [@&#8203;Pheon-Dev](https://github.com/Pheon-Dev) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/621 - [@&#8203;rusinikita](https://github.com/rusinikita) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/835 - [@&#8203;hedhyw](https://github.com/hedhyw) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/864 - [@&#8203;mat2cc](https://github.com/mat2cc) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/871 - [@&#8203;stefanlogue](https://github.com/stefanlogue) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/855 - [@&#8203;BigJk](https://github.com/BigJk) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/885 - [@&#8203;sharunkumar](https://github.com/sharunkumar) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/839 - [@&#8203;timmattison](https://github.com/timmattison) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/908 - [@&#8203;dustin-ward](https://github.com/dustin-ward) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/913 - [@&#8203;jaymorelli96](https://github.com/jaymorelli96) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/802 - [@&#8203;siddhantac](https://github.com/siddhantac) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/906 - [@&#8203;taigrr](https://github.com/taigrr) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/853 - [@&#8203;systay](https://github.com/systay) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/875 - [@&#8203;gabe565](https://github.com/gabe565) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/728 - [@&#8203;zMoooooritz](https://github.com/zMoooooritz) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/902 - [@&#8203;j178](https://github.com/j178) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/709 - [@&#8203;arisnacg](https://github.com/arisnacg) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/948 - [@&#8203;braheezy](https://github.com/braheezy) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/950 - [@&#8203;dhth](https://github.com/dhth) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/949 - [@&#8203;tearingItUp786](https://github.com/tearingItUp786) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/944 - [@&#8203;aschey](https://github.com/aschey) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/597 - [@&#8203;petergloor](https://github.com/petergloor) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/955 - [@&#8203;kaifulee](https://github.com/kaifulee) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/957 - [@&#8203;danenania](https://github.com/danenania) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/971 - [@&#8203;cuibuwei](https://github.com/cuibuwei) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/977 - [@&#8203;agvxov](https://github.com/agvxov) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/972 - [@&#8203;eolso](https://github.com/eolso) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/926 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.25.0...v0.25.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.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMyNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
renovate added 1 commit 2024-05-01 19:31:06 +00:00
chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.0
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
7a253b5cd2
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.0 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.1 2024-05-02 19:30:43 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 7a253b5cd2 to 049ca8028e 2024-05-02 19:30:44 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.1 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.2 2024-05-09 19:30:55 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 049ca8028e to 5832000036 2024-05-09 19:30:56 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.2 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.26.3 2024-05-24 19:30:48 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 5832000036 to 12daa491a0 2024-05-24 19:30:48 +00:00 Compare
Kichiyaki merged commit 4ad49717c9 into master 2024-05-25 12:59:32 +00:00
Kichiyaki deleted branch renovate/github.com-charmbracelet-bubbletea-0.x 2024-05-25 12:59:32 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
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/goaegis#4
No description provided.