abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

fix(deps): update all non-major dependencies #361

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/charmbracelet/bubbles v0.18.0 -> v0.19.0 age adoption passing confidence
github.com/charmbracelet/bubbletea v0.27.0 -> v0.27.1 age adoption passing confidence
github.com/charmbracelet/lipgloss v0.12.1 -> v0.13.0 age adoption passing confidence

Release Notes

charmbracelet/bubbles (github.com/charmbracelet/bubbles) ### [`v0.19.0`](https://togithub.com/charmbracelet/bubbles/releases/tag/v0.19.0) [Compare Source](https://togithub.com/charmbracelet/bubbles/compare/v0.18.0...v0.19.0) ### Bugs? Squashed (along with a few nice lil’ features). Community-Driven Development?! Yep, the majority of the changes in this release were done by the community. *Thank you* all for your contributions that made this release possible. #### Progress: custom chars You can now customize the filled and empty characters of the progress bar. ```go p := progress.New(progress.WithFillCharacters('>', '.')) ``` ![progress bar example](https://togithub.com/user-attachments/assets/ee1a1351-ebee-4f39-8543-af464e60b099) #### Table improvements ##### Help is on the way Table now includes a short and full help view so it's easier than ever to tell your users how to interact with the table. ```go // Render a table with its help. t := table.New() view := t.View() + "\n" + t.HelpView() ``` ##### Accessing columns You can also now get the table's columns (this already existed for rows). ```go package table // Columns returns the current columns. func (m Model) Columns() []Column ``` #### List: page navigation is fixed! Previously, `list.NextPage()` and `list.PrevPage()` didn't work because the methods did not have pointer receivers. We've fixed this…by making them pointer receivers! ⚠️ Note that this is a minor API change and you *might* need to update your app to pass a pointer receiver to your model rather than a copy. Details in [#​458](https://togithub.com/charmbracelet/bubbles/issues/458). ```go package progress // NextPage moves to the next page, if available. func (m *Model) NextPage() // PrevPage moves to the previous page, if available. func (m *Model) PrevPage() ``` *** #### What’s Changed ##### Changed - Textarea: Improve setting width by [@​mikelorant](https://togithub.com/mikelorant) in [https://github.com/charmbracelet/bubbles/pull/496](https://togithub.com/charmbracelet/bubbles/pull/496) - Textinput: fix out of range panic if no matched suggestions by [@​rdnt](https://togithub.com/rdnt) in [https://github.com/charmbracelet/bubbles/pull/473](https://togithub.com/charmbracelet/bubbles/pull/473) - List: Fix no-op list pagination functions by [@​nekopy](https://togithub.com/nekopy) in [https://github.com/charmbracelet/bubbles/pull/458](https://togithub.com/charmbracelet/bubbles/pull/458) - Table: Clarify position constant in JoinHorizontal by [@​aditipatelpro](https://togithub.com/aditipatelpro) in [https://github.com/charmbracelet/bubbles/pull/577](https://togithub.com/charmbracelet/bubbles/pull/577) - Progress: make full/empty fill characters configurable by [@​rwinkhart](https://togithub.com/rwinkhart) in [https://github.com/charmbracelet/bubbles/pull/409](https://togithub.com/charmbracelet/bubbles/pull/409) - Dependencies: switch to x/ansi for text manipulation by [@​aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/charmbracelet/bubbles/pull/505](https://togithub.com/charmbracelet/bubbles/pull/505) ##### Added - Textarea: add help to textarea key bindings by [@​TravisYeah](https://togithub.com/TravisYeah) in [https://github.com/charmbracelet/bubbles/pull/418](https://togithub.com/charmbracelet/bubbles/pull/418) - Textarea: Add multiline placeholder by [@​mikelorant](https://togithub.com/mikelorant) in [https://github.com/charmbracelet/bubbles/pull/302](https://togithub.com/charmbracelet/bubbles/pull/302) - Table: Add column return function by [@​abeleinin](https://togithub.com/abeleinin) in [https://github.com/charmbracelet/bubbles/pull/369](https://togithub.com/charmbracelet/bubbles/pull/369) - Table: Implement help.Keymap interface and add quit mapping by [@​prgres](https://togithub.com/prgres) in [https://github.com/charmbracelet/bubbles/pull/440](https://togithub.com/charmbracelet/bubbles/pull/440) - Ctrl+Left/Right for WordForward/Backward by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/387](https://togithub.com/charmbracelet/bubbles/pull/387) - Use goreleaser for releases by [@​aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/charmbracelet/bubbles/pull/526](https://togithub.com/charmbracelet/bubbles/pull/526) ##### Fixed - Table: Render Row Tests by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/487](https://togithub.com/charmbracelet/bubbles/pull/487) - Table: Only render columns with a positive width by [@​fabio42](https://togithub.com/fabio42) in [https://github.com/charmbracelet/bubbles/pull/465](https://togithub.com/charmbracelet/bubbles/pull/465) - Table: Fix inheritence of SelectedStyle in StyleFunc by [@​gabrielfu](https://togithub.com/gabrielfu) in [https://github.com/charmbracelet/bubbles/pull/539](https://togithub.com/charmbracelet/bubbles/pull/539) - Table: Don't include header height in the total table size by [@​prgres](https://togithub.com/prgres) in [https://github.com/charmbracelet/bubbles/pull/434](https://togithub.com/charmbracelet/bubbles/pull/434) - Table: Fix premature viewport scroll by [@​dzeleniak](https://togithub.com/dzeleniak) in [https://github.com/charmbracelet/bubbles/pull/429](https://togithub.com/charmbracelet/bubbles/pull/429) - Textarea: Fix end of buffer character by [@​mikelorant](https://togithub.com/mikelorant) in [https://github.com/charmbracelet/bubbles/pull/491](https://togithub.com/charmbracelet/bubbles/pull/491) - Textarea: Set textarea default EndOfBufferCharacter to ' ' by [@​blvrd](https://togithub.com/blvrd) in [https://github.com/charmbracelet/bubbles/pull/510](https://togithub.com/charmbracelet/bubbles/pull/510) - Textarea: End of Buffer alignment by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/charmbracelet/bubbles/pull/486](https://togithub.com/charmbracelet/bubbles/pull/486) - Textinput: don't block input on validation by [@​GabrielNagy](https://togithub.com/GabrielNagy) in [https://github.com/charmbracelet/bubbles/pull/185](https://togithub.com/charmbracelet/bubbles/pull/185) - Viewport: Fix division by zero in scrollpercentage by [@​zMoooooritz](https://togithub.com/zMoooooritz) in [https://github.com/charmbracelet/bubbles/pull/494](https://togithub.com/charmbracelet/bubbles/pull/494) - Help: Fix centering by [@​gabe565](https://togithub.com/gabe565) in [https://github.com/charmbracelet/bubbles/pull/516](https://togithub.com/charmbracelet/bubbles/pull/516) - Progress: Stop spring defaults from overriding WithStringOptions by [@​nervo](https://togithub.com/nervo) in [https://github.com/charmbracelet/bubbles/pull/540](https://togithub.com/charmbracelet/bubbles/pull/540) - Cursor: Make SetMode method in cursor library handle invalid mode values correctly by [@​anirudhaCodes](https://togithub.com/anirudhaCodes) in [https://github.com/charmbracelet/bubbles/pull/477](https://togithub.com/charmbracelet/bubbles/pull/477) ##### Test coverage :white_check_mark: - Add tests for textarea view by [@​mikelorant](https://togithub.com/mikelorant) in [https://github.com/charmbracelet/bubbles/pull/485](https://togithub.com/charmbracelet/bubbles/pull/485) - Add tests for paginator by [@​anirudhaCodes](https://togithub.com/anirudhaCodes) in [https://github.com/charmbracelet/bubbles/pull/480](https://togithub.com/charmbracelet/bubbles/pull/480) - Add tests for textInput Tests by [@​KevM](https://togithub.com/KevM) in [https://github.com/charmbracelet/bubbles/pull/500](https://togithub.com/charmbracelet/bubbles/pull/500) - Improve textarea tests by [@​mikelorant](https://togithub.com/mikelorant) in [https://github.com/charmbracelet/bubbles/pull/490](https://togithub.com/charmbracelet/bubbles/pull/490) #### New Contributors - [@​rdnt](https://togithub.com/rdnt) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/473](https://togithub.com/charmbracelet/bubbles/pull/473) - [@​rwinkhart](https://togithub.com/rwinkhart) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/409](https://togithub.com/charmbracelet/bubbles/pull/409) - [@​mikelorant](https://togithub.com/mikelorant) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/485](https://togithub.com/charmbracelet/bubbles/pull/485) - [@​anirudhaCodes](https://togithub.com/anirudhaCodes) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/480](https://togithub.com/charmbracelet/bubbles/pull/480) - [@​nekopy](https://togithub.com/nekopy) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/458](https://togithub.com/charmbracelet/bubbles/pull/458) - [@​TravisYeah](https://togithub.com/TravisYeah) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/418](https://togithub.com/charmbracelet/bubbles/pull/418) - [@​abeleinin](https://togithub.com/abeleinin) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/369](https://togithub.com/charmbracelet/bubbles/pull/369) - [@​fabio42](https://togithub.com/fabio42) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/465](https://togithub.com/charmbracelet/bubbles/pull/465) - [@​prgres](https://togithub.com/prgres) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/440](https://togithub.com/charmbracelet/bubbles/pull/440) - [@​zMoooooritz](https://togithub.com/zMoooooritz) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/494](https://togithub.com/charmbracelet/bubbles/pull/494) - [@​dzeleniak](https://togithub.com/dzeleniak) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/429](https://togithub.com/charmbracelet/bubbles/pull/429) - [@​KevM](https://togithub.com/KevM) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/500](https://togithub.com/charmbracelet/bubbles/pull/500) - [@​gabe565](https://togithub.com/gabe565) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/516](https://togithub.com/charmbracelet/bubbles/pull/516) - [@​blvrd](https://togithub.com/blvrd) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/510](https://togithub.com/charmbracelet/bubbles/pull/510) - [@​nervo](https://togithub.com/nervo) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/540](https://togithub.com/charmbracelet/bubbles/pull/540) - [@​gabrielfu](https://togithub.com/gabrielfu) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/539](https://togithub.com/charmbracelet/bubbles/pull/539) - [@​aditipatelpro](https://togithub.com/aditipatelpro) made their first contribution in [https://github.com/charmbracelet/bubbles/pull/577](https://togithub.com/charmbracelet/bubbles/pull/577) **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.18.0...v0.19.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).
charmbracelet/bubbletea (github.com/charmbracelet/bubbletea) ### [`v0.27.1`](https://togithub.com/charmbracelet/bubbletea/releases/tag/v0.27.1) [Compare Source](https://togithub.com/charmbracelet/bubbletea/compare/v0.27.0...v0.27.1) This is a lil’ workaround for a hang that can occur when starting a program using Lip Gloss. For details see [https://github.com/charmbracelet/bubbletea/pull/1107](https://togithub.com/charmbracelet/bubbletea/pull/1107). #### Changelog ##### Bug fixes - [`d6458e0`](https://togithub.com/charmbracelet/bubbletea/commit/d6458e03f27245a597a30234a532ef345af31d36): fix: force query the terminal bg before running any programs ([@​aymanbagabas](https://togithub.com/aymanbagabas)) *** 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.technology/@​charm), or on [Discord](https://charm.sh/chat).
charmbracelet/lipgloss (github.com/charmbracelet/lipgloss) ### [`v0.13.0`](https://togithub.com/charmbracelet/lipgloss/releases/tag/v0.13.0) [Compare Source](https://togithub.com/charmbracelet/lipgloss/compare/v0.12.1...v0.13.0) ### Woodn’t you know, Lip Gloss has trees! Lip Gloss ships with a tree rendering sub-package. ```go import "github.com/charmbracelet/lipgloss/tree" ``` Define a new tree. ```go t := tree.Root("."). Child("A", "B", "C") ``` Print the tree. ```go fmt.Println(t) // . // ├── A // ├── B // └── C ``` Trees have the ability to nest. ```go t := tree.Root("."). Child("macOS"). Child( tree.New(). Root("Linux"). Child("NixOS"). Child("Arch Linux (btw)"). Child("Void Linux"), ). Child( tree.New(). Root("BSD"). Child("FreeBSD"). Child("OpenBSD"), ) ``` Print the tree. ```go fmt.Println(t) ```

Tree Example (simple)

Trees can be customized via their enumeration function as well as using `lipgloss.Style`s. ```go enumeratorStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("63")).MarginRight(1) rootStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("35")) itemStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("212")) t := tree. Root("⁜ Makeup"). Child( "Glossier", "Fenty Beauty", tree.New().Child( "Gloss Bomb Universal Lip Luminizer", "Hot Cheeks Velour Blushlighter", ), "Nyx", "Mac", "Milk", ). Enumerator(tree.RoundedEnumerator). EnumeratorStyle(enumeratorStyle). RootStyle(rootStyle). ItemStyle(itemStyle) ``` Print the tree.

Tree Example (makeup)

The predefined enumerators for trees are `DefaultEnumerator` and `RoundedEnumerator`. If you need, you can also build trees incrementally: ```go t := tree.New() for i := 0; i < repeat; i++ { t.Child("Lip Gloss") } ``` #### There’s more where that came from See [all the tree examples](https://togithub.com/charmbracelet/lipgloss/tree/master/examples/tree). *** #### Changelog ##### New Features - [`0618c73`](https://togithub.com/charmbracelet/lipgloss/commit/0618c73743d90bb724af8f5a75e4c17bced1ff87): feat(test): add test for `JoinHorizontal` ([#​346](https://togithub.com/charmbracelet/lipgloss/issues/346)) ([@​aditipatelpro](https://togithub.com/aditipatelpro)) - [`feb42a9`](https://togithub.com/charmbracelet/lipgloss/commit/feb42a9be4a0577fd10b8e9ba80541ca759fb60c): feat: move tree to root ([#​342](https://togithub.com/charmbracelet/lipgloss/issues/342)) ([@​caarlos0](https://togithub.com/caarlos0)) ##### Bug fixes - [`8a0e640`](https://togithub.com/charmbracelet/lipgloss/commit/8a0e6405b71da72f705fbdb6a98eba0095ddbabe): fix: remove unnecessary if ([@​aymanbagabas](https://togithub.com/aymanbagabas)) ##### Documentation updates - [`bc0de5c`](https://togithub.com/charmbracelet/lipgloss/commit/bc0de5ca26463c5d6f6f8abcb28a5d3090019fd8): docs(README): make tree example match output ([@​bashbunni](https://togithub.com/bashbunni)) - [`bb3e339`](https://togithub.com/charmbracelet/lipgloss/commit/bb3e3398bb98de0faf2966331c4686b360f7eab4): docs(README): match tree example alignment with list examples ([@​bashbunni](https://togithub.com/bashbunni)) - [`185fde3`](https://togithub.com/charmbracelet/lipgloss/commit/185fde35318b966319d590e960e3382233f72c6f): docs(README): update tree images ([@​bashbunni](https://togithub.com/bashbunni)) - [`ed7f56e`](https://togithub.com/charmbracelet/lipgloss/commit/ed7f56e2a7e910c5a63983683c2d7e387d09d024): docs: fix `CompleteColor` example ([#​345](https://togithub.com/charmbracelet/lipgloss/issues/345)) ([@​bashbunni](https://togithub.com/bashbunni)) - [`cf0a7c6`](https://togithub.com/charmbracelet/lipgloss/commit/cf0a7c615f558ed2a522babdcf6288f46667a5bb): docs: fix tree screenshot ([@​caarlos0](https://togithub.com/caarlos0)) *** 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.technology/@​charm), or on [Discord](https://charm.sh/chat).

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

ℹ 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):

Details:

Package Change
github.com/mattn/go-runewidth v0.0.15 -> v0.0.16