Norwik / Goenv

🐺 Manage Your Applications Go Environment.
MIT License
33 stars 2 forks source link

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

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/charmbracelet/bubbles v0.16.0 -> v0.18.0 age adoption passing confidence

Release Notes

charmbracelet/bubbles (github.com/charmbracelet/bubbles) ### [`v0.18.0`](https://togithub.com/charmbracelet/bubbles/releases/tag/v0.18.0) [Compare Source](https://togithub.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 [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/471](https://togithub.com/charmbracelet/bubbles/pull/471) - Add Paginator OnFirstPage method by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/463](https://togithub.com/charmbracelet/bubbles/pull/463) ##### Improved - Implement Memoization to Speed Up Textarea Rendering by [@​wesen](https://togithub.com/wesen) in [https://github.com/charmbracelet/bubbles/pull/427](https://togithub.com/charmbracelet/bubbles/pull/427) - refactor(textinput): reduce allocations by [@​naglis](https://togithub.com/naglis) in [https://github.com/charmbracelet/bubbles/pull/413](https://togithub.com/charmbracelet/bubbles/pull/413) - Use `uniseg.StringWidth` by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/462](https://togithub.com/charmbracelet/bubbles/pull/462) ##### Fixed - fix(textarea): correctly trim incoming paste by [@​muesli](https://togithub.com/muesli) in [https://github.com/charmbracelet/bubbles/pull/469](https://togithub.com/charmbracelet/bubbles/pull/469) - fix(textinput): Placeholder No Longer Changes Width + Paste Calculation by [@​hopefulTex](https://togithub.com/hopefulTex) in [https://github.com/charmbracelet/bubbles/pull/451](https://togithub.com/charmbracelet/bubbles/pull/451) - fix(viewport): pad width to contentWidth by [@​ivanvc](https://togithub.com/ivanvc) in [https://github.com/charmbracelet/bubbles/pull/388](https://togithub.com/charmbracelet/bubbles/pull/388) #### New Contributors - [@​seanbanko](https://togithub.com/seanbanko) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/442](https://togithub.com/charmbracelet/bubbles/pull/442) - [@​hopefulTex](https://togithub.com/hopefulTex) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/451](https://togithub.com/charmbracelet/bubbles/pull/451) - [@​ivanvc](https://togithub.com/ivanvc) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/388](https://togithub.com/charmbracelet/bubbles/pull/388) - [@​wesen](https://togithub.com/wesen) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/427](https://togithub.com/charmbracelet/bubbles/pull/427) **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](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@​charm), or on [Discord](https://charm.sh/chat). ### [`v0.17.1`](https://togithub.com/charmbracelet/bubbles/releases/tag/v0.17.1) [Compare Source](https://togithub.com/charmbracelet/bubbles/compare/v0.17.0...v0.17.1) #### What's Changed - feat: upgrade bubbletea and remove deprecated code by [@​aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/charmbracelet/bubbles/pull/448](https://togithub.com/charmbracelet/bubbles/pull/448) **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](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@​charm), or on [Discord](https://charm.sh/chat). ### [`v0.17.0`](https://togithub.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.0) [Compare Source](https://togithub.com/charmbracelet/bubbles/compare/v0.16.1...v0.17.0) ### [`v0.16.1`](https://togithub.com/charmbracelet/bubbles/releases/tag/v0.16.1) [Compare Source](https://togithub.com/charmbracelet/bubbles/compare/v0.16.0...v0.16.1) ### File Picker Bubble πŸ“ 🫧 This release introduces a brand new `filepicker` bubble, new features, and a tonne of bugfixes. Let us know what you think, ask questions, or just say hello in our [Discord](https://charm.sh/chat). File picker example For a quick start on how to use this bubble, take a look at the [Example code](https://togithub.com/charmbracelet/bubbletea/tree/master/examples/file-picker/main.go). ##### Getting Started Create a new file picker and add it to your Bubble Tea model. ```go picker := filepicker.New() picker.CurrentDirectory, err = os.UserHomeDir() if err != nil { // ... } m := model{ picker: picker, // ... } ``` Initialize the file picker in your `Model`'s `Init` function. ```go func (m model) Init() tea.Cmd { return tea.Batch( m.picker.Init(), // ... ) } ``` Update the filepicker as any other bubble in the `Update` function. After the `picker.Update`, use the `DidSelectFile(msg tea.Msg)` function to perform an action when the user selects a valid file. You may allow only certain file types to be selected with the `AllowedTypes` property and allow directories to be selected with the `DirAllowed` property. To see the currently selected file/directory use the `Path` property. ```go var cmd tea.Cmd m.picker, cmd = m.picker.Update(msg) // Did the user select a file? if didSelect, path := m.picker.DidSelectFile(msg); didSelect { // Get the path of the selected file. return m, tea.Println("You selected: " + selectedPath) } return m, cmd ``` For the full example on how to use this bubble, take a look at the [Example code](https://togithub.com/charmbracelet/bubbletea/tree/master/examples/file-picker/main.go). #### New - Filepicker: new bubble by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/343](https://togithub.com/charmbracelet/bubbles/pull/343) - Textarea: max width/height configurable by [@​knz](https://togithub.com/knz) in [https://github.com/charmbracelet/bubbles/pull/370](https://togithub.com/charmbracelet/bubbles/pull/370) - Spinner: periods of ellipsis by [@​meowgorithm](https://togithub.com/meowgorithm) in [https://github.com/charmbracelet/bubbles/pull/375](https://togithub.com/charmbracelet/bubbles/pull/375) - List: infinite scrolling by [@​jon4hz](https://togithub.com/jon4hz) in [https://github.com/charmbracelet/bubbles/pull/316](https://togithub.com/charmbracelet/bubbles/pull/316) #### Fixed - app would crash if `deleteWordRight` was called at the end of line by [@​infastin](https://togithub.com/infastin) in [https://github.com/charmbracelet/bubbles/pull/313](https://togithub.com/charmbracelet/bubbles/pull/313) - support pastes that end with a newline character by [@​knz](https://togithub.com/knz) in [https://github.com/charmbracelet/bubbles/pull/314](https://togithub.com/charmbracelet/bubbles/pull/314) - data corruption after multi-line input by [@​knz](https://togithub.com/knz) in [https://github.com/charmbracelet/bubbles/pull/318](https://togithub.com/charmbracelet/bubbles/pull/318) - Remove unused `BackgroundStyle` in TextInput by [@​savannahostrowski](https://togithub.com/savannahostrowski) in [https://github.com/charmbracelet/bubbles/pull/341](https://togithub.com/charmbracelet/bubbles/pull/341) - add bounds checking to the `SelectedRow` by [@​MikaelFangel](https://togithub.com/MikaelFangel) in [https://github.com/charmbracelet/bubbles/pull/351](https://togithub.com/charmbracelet/bubbles/pull/351) - fix(progress): last gradient color off by one by [@​residualmind](https://togithub.com/residualmind) in [https://github.com/charmbracelet/bubbles/pull/338](https://togithub.com/charmbracelet/bubbles/pull/338) - deprecate `CursorStyle` in favour of `Cursor.Style` by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/365](https://togithub.com/charmbracelet/bubbles/pull/365) - Reset blink only when `CursorBlink` by [@​remiposo](https://togithub.com/remiposo) in [https://github.com/charmbracelet/bubbles/pull/378](https://togithub.com/charmbracelet/bubbles/pull/378) #### New Contributors - [@​infastin](https://togithub.com/infastin) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/313](https://togithub.com/charmbracelet/bubbles/pull/313) - [@​gzipChrist](https://togithub.com/gzipChrist) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/332](https://togithub.com/charmbracelet/bubbles/pull/332) - [@​savannahostrowski](https://togithub.com/savannahostrowski) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/341](https://togithub.com/charmbracelet/bubbles/pull/341) - [@​MikaelFangel](https://togithub.com/MikaelFangel) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/351](https://togithub.com/charmbracelet/bubbles/pull/351) - [@​stefanbildl](https://togithub.com/stefanbildl) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/339](https://togithub.com/charmbracelet/bubbles/pull/339) - [@​residualmind](https://togithub.com/residualmind) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/338](https://togithub.com/charmbracelet/bubbles/pull/338) - [@​bashbunni](https://togithub.com/bashbunni) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/359](https://togithub.com/charmbracelet/bubbles/pull/359) - [@​squrki](https://togithub.com/squrki) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/373](https://togithub.com/charmbracelet/bubbles/pull/373) - [@​remiposo](https://togithub.com/remiposo) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/378](https://togithub.com/charmbracelet/bubbles/pull/378) **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.15.0...v0.16.0 *** The Charm logo Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@​charm), or on [Discord](https://charm.sh/chat).

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.

renovate[bot] commented 5 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v0.18.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.