chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.2 - autoclosed #27

Closed
renovate wants to merge 1 commits from renovate/github.com-charmbracelet-bubbletea-0.x into master
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbletea require minor v0.23.1 -> v0.24.2

Release Notes

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

v0.24.2

Compare Source

This point release fixes a race condition that could occur when stopping the default renderer:

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.24.1...v0.24.2


The Charm logo

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

v0.24.1

Compare Source

You can pipe again

This point release fixes a regression introduced in v0.24.0 in which keyboard and mouse input would be lost when piping and redirecting into a program with default inputs. Special thanks to @​pomdtr for…piping up about the regression.

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.24.0...v0.24.1


The Charm logo

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

v0.24.0

Compare Source

It is finally time for another Bubble Tea release!

This release contains 31 commits by 14 contributors. Thank you everyone! 💕

Without further ado, here's a list of the most important changes:

Message handling and filtering

The tea.QuitMsg is now exported and you can use tea.WithFilter to filter which messages your model will receive:

func filter(m tea.Model, msg tea.Msg) tea.Msg {
  if _, ok := msg.(tea.QuitMsg); !ok {
      return msg
  }

  model := m.(myModel)
  if model.hasChanges {
      return nil
  }

  return msg
}

p := tea.NewProgram(Model{}, tea.WithFilter(filter));

if _,err := p.Run(); err != nil {
  fmt.Println("Error running program:", err)
  os.Exit(1)
}

Testing

We are introducing an our very own /x package, which contains the teatest package.

With teatest, you can easily run a tea.Program, assert its final model and/or output.

This package required a couple of new methods on Bubble Tea, namely Program.Wait(), WithoutSignals.

You can see an example usage in the simple example.

Bug fixing

We try hard to not let any of them pass, but we know, sometimes a few of them do. This release also gets rid of a bunch of them.

What's Changed

New Contributors

Full Changelog: https://github.com/charmbracelet/bubbletea/compare/v0.23.2...v0.24.0


The Charm logo

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

v0.23.2

Compare Source

Hello Bugfixes

This is a small maintenance release with two small but acute fixes from our wonderful community. Thanks for the support! 💘

Fixed


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or 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.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) | require | minor | `v0.23.1` -> `v0.24.2` | --- ### Release Notes <details> <summary>charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)</summary> ### [`v0.24.2`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.24.2) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.24.1...v0.24.2) This point release fixes a race condition that could occur when stopping the default renderer: - fix: stop renderer before acquiring mutex by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/757 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.24.1...v0.24.2 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). ### [`v0.24.1`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.24.1) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.24.0...v0.24.1) ### You can pipe again This point release fixes a regression introduced in `v0.24.0` in which keyboard and mouse input would be lost when piping and redirecting into a program with default inputs. Special thanks to [@&#8203;pomdtr](https://github.com/pomdtr) for…piping up about the regression. - fix: auto-open a TTY when stdin is not a TTY (regression) by [@&#8203;meowgorithm](https://github.com/meowgorithm) in https://github.com/charmbracelet/bubbletea/pull/746 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.24.0...v0.24.1 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). ### [`v0.24.0`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.24.0) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.23.2...v0.24.0) It is finally time for another Bubble Tea release! This release contains 31 commits by 14 contributors. Thank you everyone! 💕 Without further ado, here's a list of the most important changes: #### Message handling and filtering The [`tea.QuitMsg`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.24.0#QuitMsg) is now exported and you can use [`tea.WithFilter`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.24.0#WithFilter) to filter which messages your model will receive: ```golang func filter(m tea.Model, msg tea.Msg) tea.Msg { if _, ok := msg.(tea.QuitMsg); !ok { return msg } model := m.(myModel) if model.hasChanges { return nil } return msg } p := tea.NewProgram(Model{}, tea.WithFilter(filter)); if _,err := p.Run(); err != nil { fmt.Println("Error running program:", err) os.Exit(1) } ``` #### Testing We are introducing an our very own [`/x`](https://github.com/charmbracelet/x) package, which contains the [`teatest`](https://github.com/charmbracelet/x/tree/main/exp/teatest) package. With `teatest`, you can easily run a `tea.Program`, assert its final model and/or output. This package required a couple of new methods on Bubble Tea, namely [`Program.Wait()`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.24.0#Wait), [`WithoutSignals`](https://pkg.go.dev/github.com/charmbracelet/bubbletea@v0.24.0#WithoutSignals). You can see an example usage [in the `simple` example](https://github.com/charmbracelet/bubbletea/tree/master/examples/simple). #### Bug fixing We try hard to not let any of them pass, but we know, sometimes a few of them do. This release also gets rid of a bunch of them. #### What's Changed - feat: LogToFileWith by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/692 - feat: add generic event filter by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/536 - feat(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/charmbracelet/bubbletea/pull/674 - feat(ci): auto go mod tidy examples by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/561 - feat: tea.Wait by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/722 - feat: allow to disable signals by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/721 - fix: Check if program cancelReader is is nil before invoking by [@&#8203;nderjung](https://github.com/nderjung) in https://github.com/charmbracelet/bubbletea/pull/643 - fix: renderer only stops once by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/685 - fix: stop renderer before launching a child process. by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/686 - fix(output): reuse termenv output by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in https://github.com/charmbracelet/bubbletea/pull/715 - chore: make input options mutually exclusive by [@&#8203;meowgorithm](https://github.com/meowgorithm) in https://github.com/charmbracelet/bubbletea/pull/734 - chore: bump console dep by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/700 - chore(deps): bump actions/setup-go from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/charmbracelet/bubbletea/pull/701 - chore: bump termenv, lipgloss, x/term by [@&#8203;muesli](https://github.com/muesli) in https://github.com/charmbracelet/bubbletea/pull/711 - docs: using the x/exp/teatest package by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/352 - docs: fix portal markdown URL syntax by [@&#8203;mjmammoth](https://github.com/mjmammoth) in https://github.com/charmbracelet/bubbletea/pull/669 - docs: fix typos and clean up comments by [@&#8203;gzipChrist](https://github.com/gzipChrist) in https://github.com/charmbracelet/bubbletea/pull/672 - docs: countdown to Bubble Tea in the Wild by [@&#8203;aldernero](https://github.com/aldernero) in https://github.com/charmbracelet/bubbletea/pull/679 - docs: issue template by [@&#8203;caarlos0](https://github.com/caarlos0) in https://github.com/charmbracelet/bubbletea/pull/389 - docs: update issue templates by [@&#8203;bashbunni](https://github.com/bashbunni) in https://github.com/charmbracelet/bubbletea/pull/712 - docs: remove british spelling by [@&#8203;bashbunni](https://github.com/bashbunni) in https://github.com/charmbracelet/bubbletea/pull/719 - docs: add WG Commander to README.md by [@&#8203;AndrianBdn](https://github.com/AndrianBdn) in https://github.com/charmbracelet/bubbletea/pull/667 - docs: filepicker Example by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbletea/pull/683 - docs(README): add eks-node-viewer to "Bubble Tea in the Wild" list by [@&#8203;Nezz7](https://github.com/Nezz7) in https://github.com/charmbracelet/bubbletea/pull/619 #### New Contributors - [@&#8203;mjmammoth](https://github.com/mjmammoth) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/669 - [@&#8203;gzipChrist](https://github.com/gzipChrist) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/672 - [@&#8203;Nezz7](https://github.com/Nezz7) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/619 - [@&#8203;AndrianBdn](https://github.com/AndrianBdn) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/667 - [@&#8203;aldernero](https://github.com/aldernero) made their first contribution in https://github.com/charmbracelet/bubbletea/pull/679 **Full Changelog**: https://github.com/charmbracelet/bubbletea/compare/v0.23.2...v0.24.0 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). ### [`v0.23.2`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.23.2) [Compare Source](https://github.com/charmbracelet/bubbletea/compare/v0.23.1...v0.23.2) ### Hello Bugfixes This is a small maintenance release with two small but acute fixes from our wonderful community. Thanks for the support! 💘 #### Fixed - Ensure `Msg` `Cmd` is not nil before invoking (to avoid a nil pointer exception) by [@&#8203;nderjung](https://github.com/nderjung) in https://github.com/charmbracelet/bubbletea/pull/640 - Add support for `BatchMsg` to `Sequence` by [@&#8203;stoffeastrom](https://github.com/stoffeastrom) in https://github.com/charmbracelet/bubbletea/pull/581 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@&#8203;charmcli), or [Discord](https://charm.sh/chat). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTQuMSIsInVwZGF0ZWRJblZlciI6IjM1LjE0MC4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
renovate added 1 commit 2023-02-08 16:00:53 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from dd111a202d to e3d7843c0d 2023-02-09 08:00:52 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from e3d7843c0d to e2b4a38204 2023-03-12 16:00:54 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from e2b4a38204 to 802eed04ec 2023-04-07 19:31:51 +00:00 Compare
renovate added 1 commit 2023-05-05 19:31:08 +00:00
renovate added 1 commit 2023-05-06 19:31:40 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from e945e8b0e0 to 5112c6876d 2023-05-08 19:31:16 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.23.2 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.0 2023-05-08 19:31:16 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 5112c6876d to 80739fad58 2023-05-21 14:14:14 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from 80739fad58 to a6962e8342 2023-05-24 19:31:46 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.0 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.1 2023-05-24 19:31:46 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from a6962e8342 to 93bfac987f 2023-06-06 19:31:21 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.1 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.2 2023-06-06 19:31:21 +00:00
renovate added 1 commit 2023-06-13 19:31:14 +00:00
renovate added 1 commit 2023-06-14 19:31:14 +00:00
renovate added 1 commit 2023-07-06 19:31:23 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbletea-0.x from c6ff214890 to 23be76170c 2023-08-06 19:31:07 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.2 to chore(deps): update module github.com/charmbracelet/bubbletea to v0.24.2 - autoclosed 2023-08-20 19:31:18 +00:00
renovate closed this pull request 2023-08-20 19:31:18 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kichiyaki/gootp#27
No description provided.