Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

fix(deps): update go packages - #165

Open
nikaro wants to merge 1 commit into
mainfrom
renovate/go-packages
Open

fix(deps): update go packages#165
nikaro wants to merge 1 commit into
mainfrom
renovate/go-packages

Conversation

@nikaro

@nikaro nikaro commented Mar 30, 2025

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbles require minor v0.20.0 -> v0.21.0
github.com/charmbracelet/bubbletea require patch v1.3.4 -> v1.3.5
github.com/gen2brain/beeep require minor v0.0.0-20240516210008-9c006672e7f4 -> v0.11.1
github.com/samber/lo require minor v1.49.1 -> v1.51.0
github.com/spf13/viper require patch v1.20.0 -> v1.20.1

Release Notes

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

v0.21.0

Compare Source

Viewport improvements

Finally, viewport finally has horizontal scrolling ✨![^v1]
To enable it, use SetHorizontalStep (default in v2 will be 6).

You can also scroll manually with ScrollLeft and ScrollRight, and use
SetXOffset to scroll to a specific position (or 0 to reset):

vp := viewport.New()
vp.SetHorizontalStep(10) // how many columns to scroll on each key press
vp.ScrollRight(30)       // pan 30 columns to the right!
vp.ScrollLeft(10)        // pan 10 columns to the left!
vp.SetXOffset(0)         // back to the left edge

To make the API more consistent, vertical scroll functions were also renamed,
and the old ones were deprecated (and will be removed in v2):

// Scroll n lines up/down:
func (m Model) LineUp(int)     // deprecated
func (m Model) ScrollUp(int)   // new!
func (m Model) LineDown(int)   // deprecated
func (m Model) ScrollDown(int) // new!

// Scroll half page up/down:
func (m Model) HalfViewUp() []string   // deprecated
func (m Model) HalfPageUp() []string   // new!
func (m Model) HalfViewDown() []string // deprecated
func (m Model) HalfPageDown() []string // new!

// Scroll a full page up/down:
func (m Model) ViewUp(int) []string   // deprecated
func (m Model) PageUp(int) []string   // new!
func (m Model) ViewDown(int) []string // deprecated
func (m Model) PageDown(int) []string // new!

[!NOTE]
In v2, these functions will not return lines []string anymore, as it is no
longer needed due to HighPerformanceRendering being deprecated as well.

Other improvements

The list bubble got a couple of new functions: SetFilterText,
SetFilterState, and GlobalIndex - which you can use to get the index of the
item in the unfiltered, original item list.

On textinput, you can now get the matched suggestions and more with
MatchedSuggestions and CurrentSuggestionIndex.

To put the cherry on top, this release also includes numerous bug fixes.
You can read about each of them in the linked commits/PRs below.

[^v1]: It is disabled by default in v1, but will be enabled in v2.

Changelog

New Features
Bug fixes
Dependency updates
Documentation updates
Other work

The Charm logo

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

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

v1.3.5

Compare Source

This release fixes an important bug on Windows where function keys (F1..F20) don't get recognized and sent to the program. It also fixes multiple concurrency bugs related to using external context and p.Wait() and p.Kill().

Also, huge thank you to @​desertwitch who went in and just crushed a handful of deadlocks.

Happy hacking!

Changelog

Bug fixes
Documentation updates
Other work

The Charm logo

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

gen2brain/beeep (github.com/gen2brain/beeep)

v0.11.1

Compare Source

v0.11.0

Compare Source

samber/lo (github.com/samber/lo)

v1.51.0

Compare Source

What's Changed

Doc

Dependencies

New Contributors

Full Changelog: samber/lo@v1.50.0...v1.51.0

v1.50.0

Compare Source

What's Changed

Here is the 50th minor version !! 🔥🥂

New methods
Improvements
Documentation
Dependencies

New Contributors

Full Changelog: samber/lo@v1.49.1...v1.50.0

spf13/viper (github.com/spf13/viper)

v1.20.1

Compare Source

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.20.0...v1.20.1


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.

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


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

This PR has been generated by Renovate Bot.

@nikaro nikaro self-assigned this Mar 30, 2025
@nikaro
nikaro force-pushed the renovate/go-packages branch from 217e608 to 92afab9 Compare April 13, 2025 05:13
@nikaro nikaro changed the title fix(deps): update module github.com/spf13/viper to v1.20.1 fix(deps): update go packages Apr 13, 2025
@nikaro
nikaro force-pushed the renovate/go-packages branch from 92afab9 to 931f0db Compare April 27, 2025 05:08
@nikaro
nikaro force-pushed the renovate/go-packages branch from 931f0db to af8690a Compare May 4, 2025 05:09
@nikaro

nikaro commented May 4, 2025

Copy link
Copy Markdown
Owner Author

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

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/sync v0.11.0 -> v0.13.0
golang.org/x/sys v0.30.0 -> v0.32.0

@nikaro
nikaro force-pushed the renovate/go-packages branch from af8690a to 15c221c Compare June 15, 2025 05:10
@nikaro
nikaro force-pushed the renovate/go-packages branch from 15c221c to b820cab Compare June 22, 2025 05:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant