Skip to content

chore: Bump the charmbracelet-deps group across 1 directory with 3 updates#229

Merged
jahvon merged 1 commit intomainfrom
dependabot/go_modules/charmbracelet-deps-aeeab2659d
May 19, 2025
Merged

chore: Bump the charmbracelet-deps group across 1 directory with 3 updates#229
jahvon merged 1 commit intomainfrom
dependabot/go_modules/charmbracelet-deps-aeeab2659d

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps the charmbracelet-deps group with 2 updates in the / directory: github.com/charmbracelet/bubbles and github.com/charmbracelet/bubbletea.

Updates github.com/charmbracelet/bubbles from 0.20.0 to 0.21.0

Release notes

Sourced from github.com/charmbracelet/bubbles's releases.

v0.21.0

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.

... (truncated)

Commits
  • 8b55efb fix(textarea): placeholder with chinese chars (#767)
  • bd2a5b0 fix: golangci-lint 2 fixes (#769)
  • cce8481 ci: sync golangci-lint config (#770)
  • ea344ab feat(viewport): horizontal scroll with mouse wheel (#761)
  • 39668ec fix(viewport): normalize method names (#763)
  • f2434c3 Revert "fix(viewport): normalize method names"
  • c7f889e fix(viewport): normalize method names
  • 9e5365e docs: add example for ValidateFunc (#705)
  • c814ac7 chore(deps): bump github.com/charmbracelet/lipgloss from 1.0.0 to 1.1.0 (#751)
  • 3befccc chore(deps): bump github.com/muesli/termenv from 0.15.2 to 0.16.0 (#740)
  • Additional commits viewable in compare view

Updates github.com/charmbracelet/bubbletea from 1.3.4 to 1.3.5

Release notes

Sourced from github.com/charmbracelet/bubbletea's releases.

v1.3.5

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

  • 62ca063a256528e23e05b49750019039a3cd71fc: fix(key): windows: recognize function keys on Windows (#1405) (@​aymanbagabas)
  • 0f9cd5b5376b8456a46f1d414590e81511ce3f06: fix(panics): fix race condition and false nil error return (@​desertwitch)
  • a79ab3fd2f547843583ddf30d41b9fe39aee37cc: fix(tests): account for multiple p.Wait() (@​desertwitch)
  • 1b5fc275fc34411ea74b6b22c05642498f478929: fix: prevent deadlock on ctx cancel during msg processing (@​desertwitch)
  • aa7a240b9ad054d5d0dd400961f0dd843e26cf31: fix: release p.Wait() on p.Kill() to prevent external deadlocks (@​desertwitch)
  • 1923181af63c7304e0b5f17a71d68dccc8a1bc45: fix: report only external ctx cancel as ctx error (@​desertwitch)
  • c56f7768c53848fb844618598060e730fd99d6b2: fix: resolve race conditions caused by p.Kill() (@​desertwitch)

Documentation updates

  • 3797acbe453e9f4597c81b22f7238e90b8d5cdd0: docs(readme): fix header image mis-caching (@​meowgorithm)
  • 8508131fee51e579291b9d2c378c5c6babb266ea: docs(readme): header art adjustments (@​meowgorithm)
  • b3150e1e52e4d3d187b4dddde74cd54a29942ca3: docs(readme): update header art (@​meowgorithm)

Other work


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

Commits
  • 62ca063 fix(key): windows: recognize function keys on Windows (#1405)
  • 0b18d1f ci: sync dependabot config (#1403)
  • 12e598b chore(deps): bump github.com/charmbracelet/glamour in /examples (#1397)
  • 915f65d chore: merge pull request #1376 from desertwitch/stacked-patches
  • 5a360c9 ci: sync golangci-lint config (#1394)
  • 540d584 chore(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /examples (#1392)
  • 5aca88c chore(deps): bump github.com/charmbracelet/bubbles in /examples (#1389)
  • 1a0062b ci: fix lint issues
  • 9fab4a1 chore: run go mod tidy on examples/
  • 5c6d02d chore(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 (#1382)
  • Additional commits viewable in compare view

Updates github.com/charmbracelet/lipgloss from 1.0.0 to 1.1.0

Release notes

Sourced from github.com/charmbracelet/lipgloss's releases.

v1.1.0

Tables, Improved

In this release, the inimitable @​andreynering and @​bashbunni majorly overhauled on the table sizing and content wrapping algorithms. Tables will now be much smarter on deciding the ideal width of each column, and contents now wraps by default inside cells.

// Table content wraps by default.
t := table.New().
    Headers(someHeaders...).
    Rows(someRows...).
    Width(80)
fmt.Println(t)

// Actually, let's not wrap the content.
t := table.New().
    Headers(someHeaders...).
    Rows(someRows...).
    Width(80).
    Wrap(false)
fmt.Println(t)

New Border Styles

Also, we added two new border styles that you can use to generate tables in Markdown and ASCII styles.

Markdown Tables

To render tables correctly for Markdown you'll want to use lipgloss.MarkdownBorder and disable the top and bottom borders.

t := table.New().
    Headers(someHeaders...).
    Rows(someRows).
    Border(lipgloss.MarkdownBorder()).
    BorderTop(false).
    BorderBottom(false)
fmt.Println(t)

... (truncated)

Commits
  • f0e4547 chore: fix lint
  • fb0d757 chore(taskfile): delete lint:all and lint:soft tasks
  • 1209cf0 ci: sync golangci-lint config (#490)
  • c454a0a feat(tables): add markdown and ascii border style for tables (#480)
  • 341996d chore: update charmbracelet/x/cellbuf
  • 1f1209e feat(table): use cellbuf to preserve styles for wrapped content
  • 2aa2eb0 test(table): test wrapping cell styles
  • 9500f10 fix(table): ensure we're passing the right row index to styleFunc
  • 7b191c5 fix(test): make table wrapping tests use golden files
  • 9cfb7dd test(table): check truncation logic for overflow and nowrap
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added the dependencies Automated dependency updates label May 1, 2025
@dependabot dependabot bot requested a review from jahvon as a code owner May 1, 2025 08:08
@dependabot dependabot bot force-pushed the dependabot/go_modules/charmbracelet-deps-aeeab2659d branch from 9401791 to e70525b Compare May 19, 2025 14:47
…dates

Bumps the charmbracelet-deps group with 2 updates in the / directory: [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) and [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea).


Updates `github.com/charmbracelet/bubbles` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Changelog](https://github.com/charmbracelet/bubbles/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/bubbles@v0.20.0...v0.21.0)

Updates `github.com/charmbracelet/bubbletea` from 1.3.4 to 1.3.5
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](charmbracelet/bubbletea@v1.3.4...v1.3.5)

Updates `github.com/charmbracelet/lipgloss` from 1.0.0 to 1.1.0
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/lipgloss@v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: charmbracelet-deps
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-version: 1.3.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: charmbracelet-deps
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: charmbracelet-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/charmbracelet-deps-aeeab2659d branch from e70525b to afde6b8 Compare May 19, 2025 17:01
@jahvon jahvon merged commit ffed634 into main May 19, 2025
8 checks passed
@jahvon jahvon deleted the dependabot/go_modules/charmbracelet-deps-aeeab2659d branch May 19, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Automated dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant