Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update module github.com/charmbracelet/bubbletea to v1.2.2 #138

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

gabe565-renovate[bot]
Copy link
Contributor

@gabe565-renovate gabe565-renovate bot commented Sep 11, 2024

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbletea require minor v1.1.0 -> v1.2.2

Release Notes

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

v1.2.2

Compare Source

v1.2.1

Compare Source

v1.2.0

Compare Source

It’s performance boost time

Sometimes you have to take matters into your own hands. That’s exactly what @​LeperGnome did when he wanted faster rendering. This release features adjustments to the rendering algorithm for faster repaints. We encourage you to upgrade and give it a go!

[!NOTE]
Renderer changes are no laughing matter. We’ve tested the new renderer extensively, however if you notice any bugs let us know. Rendering accuracy is among our top priorities.

Changelog

New Contributors

Full Changelog: charmbracelet/bubbletea@v1.1.2...v1.2.0


The Charm logo

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

v1.1.2

Compare Source

A tiny tiny release that fixes the tests on Windows, and uses the latest ansi package definitions.

Changelog

New Features
  • 12b04c5d6001056875bc712f81fa1efd470fa592: feat(ci): use meta lint workflow (@​aymanbagabas)
  • 3209d62ae751da63a38237666d6706ab7c9f0006: feat(ci): use meta lint-sync workflow to sync linter config (@​aymanbagabas)
Bug fixes
  • 566879aa33ce13f27a6bdab4a274e08be01bac9c: fix(ci): run lint workflow on all platforms (@​aymanbagabas)
  • cd1e4d34a7e0232ea94afcc168eec107450aa332: fix: exec tests on windows (@​aymanbagabas)
Documentation updates
  • d928d8dcabcd4bca0efc22fb661de0cc27c66b21: docs: update contributing guidelines (#​1186) (@​bashbunni)
  • de4788dc763d5a6ce7ca555c5ee6fce3179dedc4: docs: update readme badge images (@​aymanbagabas)

The Charm logo

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

v1.1.1

Compare Source

Don't panic!

Panicking is a part of life…and a part of workin’ in Go. This release addresses two edge cases where a panic() could tank Bubble Tea and break your terminal:

Panics outside of Bubble Tea

If a panic occurs outside of Bubble Tea you can use Program.Kill to restore the terminal state before exiting:

func main() {
	p := tea.NewProgram(model{})

	go func() {
		time.Sleep(3 * time.Second)
		defer p.Kill()
		panic("Urgh")
	}()

	if _, err := p.Run(); err != nil {
		log.Fatal(err)
	}
}

Panics in Cmds

If a panic occurs in a Cmd Bubble Tea will now automatically restore the terminal to its natural state before exiting.

type model struct{}

// This command will totally panic.
func pancikyCmd() tea.Msg {
	panic("Oh no! Jk.")
}

func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
	case tea.KeyMsg:
		switch msg.String() {
		case "enter":
			// Panic time! But everything will be OK.
			return m, pancikyCmd
		}
	}
	return m, nil
}

Happy panicking (if that makes any sense).

Changelog

Fixed!

The Charm logo

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


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.


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

This PR has been generated by Renovate Bot.

Copy link

@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from 8b33197 to 4a19f1b Compare October 24, 2024 20:17
@gabe565-renovate
Copy link
Contributor Author

gabe565-renovate bot commented Oct 24, 2024

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

  • 5 additional dependencies were updated

Details:

Package Change
github.com/charmbracelet/lipgloss v0.13.0 -> v1.0.0
golang.org/x/sync v0.8.0 -> v0.9.0
github.com/charmbracelet/x/ansi v0.2.3 -> v0.4.5
github.com/charmbracelet/x/term v0.2.0 -> v0.2.1
golang.org/x/sys v0.25.0 -> v0.27.0

@gabe565-renovate gabe565-renovate bot changed the title chore(deps): update module github.com/charmbracelet/bubbletea to v1.1.1 chore(deps): update module github.com/charmbracelet/bubbletea to v1.1.2 Oct 24, 2024
@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from 4a19f1b to 5c4d535 Compare November 6, 2024 20:18
@gabe565-renovate gabe565-renovate bot added minor and removed patch labels Nov 6, 2024
@gabe565-renovate gabe565-renovate bot changed the title chore(deps): update module github.com/charmbracelet/bubbletea to v1.1.2 chore(deps): update module github.com/charmbracelet/bubbletea to v1.2.0 Nov 6, 2024
@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from 5c4d535 to faa5254 Compare November 8, 2024 20:18
@gabe565-renovate gabe565-renovate bot changed the title chore(deps): update module github.com/charmbracelet/bubbletea to v1.2.0 chore(deps): update module github.com/charmbracelet/bubbletea to v1.2.1 Nov 8, 2024
@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from faa5254 to 86fb062 Compare November 12, 2024 20:19
@gabe565-renovate gabe565-renovate bot changed the title chore(deps): update module github.com/charmbracelet/bubbletea to v1.2.1 chore(deps): update module github.com/charmbracelet/bubbletea to v1.2.2 Nov 12, 2024
@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from 86fb062 to ec98fdd Compare November 13, 2024 01:29
@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from ec98fdd to e27da2e Compare November 13, 2024 01:32
@gabe565-renovate gabe565-renovate bot force-pushed the renovate/github.com-charmbracelet-bubbletea-1.x branch from e27da2e to e83a7cf Compare November 13, 2024 01:33
@gabe565 gabe565 merged commit 4354324 into main Nov 13, 2024
8 checks passed
@gabe565 gabe565 deleted the renovate/github.com-charmbracelet-bubbletea-1.x branch November 13, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant