Skip to content

build(deps): Bump github.com/charmbracelet/bubbletea from 0.12.5 to 0.14.1#25

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/charmbracelet/bubbletea-0.14.1
Closed

build(deps): Bump github.com/charmbracelet/bubbletea from 0.12.5 to 0.14.1#25
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/charmbracelet/bubbletea-0.14.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2021

Bumps github.com/charmbracelet/bubbletea from 0.12.5 to 0.14.1.

Release notes

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

v0.14.1

Renderer Bugfix: Honor Explicitly Ignored Lines

This release fixes a bug where lines requested to be ignored weren't always honored by the renderer. Most notably, this affected high performance scrolling in the Bubbles Viewport.


Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or right here in GitHub Discussions.

v0.14.0

Improvements: Races and Rendering

This release introduces three new ProgramOptions for starting programs with the altscreen and mouse enabled. This was implemented to solve both race conditions when initializing programs as well as correctness with regard to custom inputs.

// New! This is the recommended way to start your program with the mouse and altscreen active.
p := tea.NewProgram(model, tea.WithAltScreen(), tea.WithMouseAllMotion())
// Deprecated as this will only operate on stdout, as opposed to a custom output you may have set.
p := tea.NewProgram(model)
p.EnableAltScreen()
p.EnableMouseAllMotion()
// Strongly discouraged as these commands could be sent before starting the renderer, resulting
// in rendering artifacts. This is due to the fact that commands run asynchronously in a goroutine.
func (m model) Init() tea.Cmd {
return tea.Batch(tea.EnterAltScreen, tea.EnableMouseAllMotion)
}

Also included are two subtle—yet important—rendering improvements.

Changelog

New

  • Added ProgramOption WithAltScreen for starting programs in the alternate screen buffer.
  • Added ProgramOptions WithMouseCellMotion and WithMouseAllMotion for starting programs with the mouse enabled.

Fixed

  • Programs will no longer render artifacts when exiting due to an error or panic.
  • If a view returns the empty string output will be cleared. Previously, rendering would be skipped entirely.

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or right here in GitHub Discussions.

... (truncated)

Commits
  • b957c32 Fix a bug where explicitly ignored lines weren't honored by the renderer
  • b2c726a Make README footer more consistent with newer Charm READMEs
  • 22244e0 Add Slides and Typer to stuff built with Bubble Tea
  • 6547773 Clear output and render "nothing" when a view returns the empty string
  • 1f773e8 Fix a race where artifacts could print when exiting a program
  • 85ab476 Add ProgramOptions for entering the altscreen and enabling the mouse
  • ec2fbf0 Cycle through cursor modes in textinputs example per Bubbles v0.8.0
  • 035d2ab Properly cast inputStatus types + mark related linter false positive
  • 3e98f55 Add linter ignore rule for windows-related false positive on unix
  • 955ce5c Extract magic number in X10 mouse parser
  • Additional commits viewable in compare view

Dependabot compatibility score

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.12.5 to 0.14.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](charmbracelet/bubbletea@v0.12.5...v0.14.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 23, 2021
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Sep 9, 2021

Superseded by #30.

@dependabot dependabot bot closed this Sep 9, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/charmbracelet/bubbletea-0.14.1 branch September 9, 2021 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants