Update module github.com/charmbracelet/bubbles to v0.18.0 #25

Merged
abs3nt merged 1 commits from renovate/github.com-charmbracelet-bubbles-0.x into main 2024-07-06 21:07:21 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbles require minor v0.16.1 -> v0.18.0

Release Notes

charmbracelet/bubbles (github.com/charmbracelet/bubbles)

v0.18.0

Compare Source

Textarea, but faster

This release features several fixes and big performance improvements for the textarea bubble.

What's Changed

New
Improved
Fixed

New Contributors

Full Changelog: https://github.com/charmbracelet/bubbles/compare/v0.17.1...v0.18.0


The Charm logo

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

v0.17.1

Compare Source

What's Changed

Full Changelog: https://github.com/charmbracelet/bubbles/compare/v0.17.0...v0.17.1


The Charm logo

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

v0.17.0

Compare Source

Text input autocompletions and various improvements

Autocompletion in Text Input

So @​toadle wanted textinputs to support autocompletion in a ghost-text kind of a way. Rather than wait for us to do it he did what any dedicated open source developer would: he sent a PR! And now we can all benefit from his hard work.

Autocompletion is super easy to use:

ti := textinput.New()
ti.SetSuggestions([]string{"meow", "purr"})

By default you can press ctrl+n and ctrl+p to cycle through suggestions, but those keybindings can be changed as you, the application developer, see fit. For details check out textinput.SetSuggestions and the corresponding KeyMap in the docs.

Is the progress bar done yet?

@​yrashk acutely noticed that to nicely transition from one state to another after an animated progress bar fills up it's helpful to know when the animated has finished animating before transitioning. To solve for this he added an IsAnimating method to the progress model. Thanks, @​yrashk!

Changelog

New!
Improved
Fixed

Full Changelog: https://github.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.0

New Contributors


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on 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/bubbles](https://github.com/charmbracelet/bubbles) | require | minor | `v0.16.1` -> `v0.18.0` | --- ### Release Notes <details> <summary>charmbracelet/bubbles (github.com/charmbracelet/bubbles)</summary> ### [`v0.18.0`](https://github.com/charmbracelet/bubbles/releases/tag/v0.18.0) [Compare Source](https://github.com/charmbracelet/bubbles/compare/v0.17.1...v0.18.0) ### Textarea, but faster This release features several fixes and big performance improvements for the `textarea` bubble. #### What's Changed ##### New - Optional File Permissions and File Size by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/471 - Add Paginator OnFirstPage method by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/463 ##### Improved - Implement Memoization to Speed Up Textarea Rendering by [@&#8203;wesen](https://github.com/wesen) in https://github.com/charmbracelet/bubbles/pull/427 - refactor(textinput): reduce allocations by [@&#8203;naglis](https://github.com/naglis) in https://github.com/charmbracelet/bubbles/pull/413 - Use `uniseg.StringWidth` by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/462 ##### Fixed - fix(textarea): correctly trim incoming paste by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbles/pull/469 - fix(textinput): Placeholder No Longer Changes Width + Paste Calculation by [@&#8203;hopefulTex](https://github.com/hopefulTex) in https://github.com/charmbracelet/bubbles/pull/451 - fix(viewport): pad width to contentWidth by [@&#8203;ivanvc](https://github.com/ivanvc) in https://github.com/charmbracelet/bubbles/pull/388 #### New Contributors - [@&#8203;seanbanko](https://github.com/seanbanko) made their first contribution in https://github.com/charmbracelet/bubbles/pull/442 - [@&#8203;hopefulTex](https://github.com/hopefulTex) made their first contribution in https://github.com/charmbracelet/bubbles/pull/451 - [@&#8203;ivanvc](https://github.com/ivanvc) made their first contribution in https://github.com/charmbracelet/bubbles/pull/388 - [@&#8203;wesen](https://github.com/wesen) made their first contribution in https://github.com/charmbracelet/bubbles/pull/427 **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.17.1...v0.18.0 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg?1" 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;charm), or on [Discord](https://charm.sh/chat). ### [`v0.17.1`](https://github.com/charmbracelet/bubbles/releases/tag/v0.17.1) [Compare Source](https://github.com/charmbracelet/bubbles/compare/v0.17.0...v0.17.1) #### What's Changed - feat: upgrade bubbletea and remove deprecated code by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbles/pull/448 **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.17.0...v0.17.1 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg?1" 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;charm), or on [Discord](https://charm.sh/chat). ### [`v0.17.0`](https://github.com/charmbracelet/bubbles/releases/tag/v0.17.0) [Compare Source](https://github.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.0) ### Text input autocompletions and various improvements #### Autocompletion in Text Input So [@&#8203;toadle](https://github.com/toadle) wanted `textinput`s to support autocompletion in a ghost-text kind of a way. Rather than wait for us to do it he did what any dedicated open source developer would: he sent a PR! And now we can all benefit from his hard work. Autocompletion is super easy to use: ```go ti := textinput.New() ti.SetSuggestions([]string{"meow", "purr"}) ``` By default you can press <kbd>ctrl+n</kbd> and <kbd>ctrl+p</kbd> to cycle through suggestions, but those keybindings can be changed as you, the application developer, see fit. For details check out [`textinput.SetSuggestions`](https://pkg.go.dev/github.com/charmbracelet/bubbles@v0.17.0/textinput#Model.SetSuggestions) and the corresponding [`KeyMap`](https://pkg.go.dev/github.com/charmbracelet/bubbles@v0.17.0/textinput#KeyMap) in the docs. #### Is the progress bar done yet? [@&#8203;yrashk](https://github.com/yrashk) acutely noticed that to nicely transition from one state to another after an animated progress bar fills up it's helpful to know when the animated has finished animating before transitioning. To solve for this he added an [`IsAnimating`](https://pkg.go.dev/github.com/charmbracelet/bubbles@v0.17.0/progress#Model.IsAnimating) method to the `progress` model. Thanks, [@&#8203;yrashk](https://github.com/yrashk)! #### Changelog ##### New! - Support suggestions and autocompletion in textinput by [@&#8203;toadle](https://github.com/toadle) in https://github.com/charmbracelet/bubbles/pull/407 - Add method for determining if progress bar is animating by [@&#8203;yrashk](https://github.com/yrashk) in https://github.com/charmbracelet/bubbles/pull/386 ##### Improved - Update fuzzy library by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbles/pull/379 - Reduce allocations in `filterItems` by [@&#8203;naglis](https://github.com/naglis) in https://github.com/charmbracelet/bubbles/pull/396 - Improve message when list is empty by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/393 ##### Fixed - Fix unicode character encoding error by [@&#8203;lc-1010](https://github.com/lc-1010) in https://github.com/charmbracelet/bubbles/pull/421 **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.0 #### New Contributors - [@&#8203;yrashk](https://github.com/yrashk) made their first contribution in https://github.com/charmbracelet/bubbles/pull/386 - [@&#8203;naglis](https://github.com/naglis) made their first contribution in https://github.com/charmbracelet/bubbles/pull/391 - [@&#8203;lc-1010](https://github.com/lc-1010) made their first contribution in https://github.com/charmbracelet/bubbles/pull/421 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg?1" 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;charm), or on [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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
abs3nt added 1 commit 2024-07-06 20:47:07 +00:00
Author
Owner

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/charmbracelet/bubbletea v0.24.2 -> v0.25.0
github.com/rivo/uniseg v0.4.4 -> v0.4.6
github.com/sahilm/fuzzy v0.1.0 -> v0.1.1-0.20230530133925-c48e322e2a8f
### ℹ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 3 additional dependencies were updated Details: | **Package** | **Change** | | :----------------------------------- | :------------------------------------------------- | | `github.com/charmbracelet/bubbletea` | `v0.24.2` -> `v0.25.0` | | `github.com/rivo/uniseg` | `v0.4.4` -> `v0.4.6` | | `github.com/sahilm/fuzzy` | `v0.1.0` -> `v0.1.1-0.20230530133925-c48e322e2a8f` |
abs3nt merged commit 6a6a1ada21 into main 2024-07-06 21:07:21 +00:00
Sign in to join this conversation.
No reviewers
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: abs3nt/gospt#25
No description provided.