Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the gomod-normal-deps group with 2 updates: github.com/charmbracelet/bubbletea and github.com/puzpuzpuz/xsync/v4.

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/puzpuzpuz/xsync/v4 from 4.0.0 to 4.1.0

Release notes

Sourced from github.com/puzpuzpuz/xsync/v4's releases.

v4.1.0

  • New data structure: UMPSCQueue #168
  • Speed up LoadAndDelete and Delete in case of non-existing Map key #167
  • Parallel Map resize #170

UMPSCQueue is meant to serve as a replacement for a channel. However, crucially, it has infinite capacity. This is a very bad idea in many cases as it means that it never exhibits backpressure. In other words, if nothing is consuming elements from the queue, it will eventually consume all available memory and crash the process. However, there are also cases where this is desired behavior as it means the queue will dynamically allocate more memory to store temporary bursts, allowing producers to never block while the consumer catches up.

From now on, Map spawns additional goroutines to speed up resizing the hash table. This can be disabled when creating a Map with the new WithSerialResize setting:

m := xsync.NewMap[int, int](https://github.com/puzpuzpuz/xsync/blob/HEAD/xsync.WithSerialResize())
// resize will take place on the current goroutine only
for i := 0; i < 10000; i++ {
	m.Store(i, i)
}

Thanks @​PapaCharlie and @​llxisdsh for the contributions!

Commits

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

Bumps the gomod-normal-deps group with 2 updates: [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) and [github.com/puzpuzpuz/xsync/v4](https://github.com/puzpuzpuz/xsync).


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/puzpuzpuz/xsync/v4` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/puzpuzpuz/xsync/releases)
- [Commits](puzpuzpuz/xsync@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-version: 1.3.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod-normal-deps
- dependency-name: github.com/puzpuzpuz/xsync/v4
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod-normal-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 5, 2025
@dependabot dependabot bot requested a review from Zxilly as a code owner May 5, 2025 00:35
Copy link

codecov bot commented May 5, 2025

Bundle Report

Bundle size has no change ✅

Copy link

codecov bot commented May 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #366      +/-   ##
==========================================
+ Coverage   85.73%   85.80%   +0.06%     
==========================================
  Files          86       86              
  Lines        4474     4474              
  Branches      101      101              
==========================================
+ Hits         3836     3839       +3     
+ Misses        493      490       -3     
  Partials      145      145              
Flag Coverage Δ
integration 61.04% <ø> (+0.08%) ⬆️
ui 87.35% <ø> (ø)
unit 38.20% <ø> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

📢 Thoughts on this report? Let us know!

@Zxilly Zxilly merged commit cb2e51c into master May 5, 2025
43 checks passed
@Zxilly Zxilly deleted the dependabot/go_modules/gomod-normal-deps-16eaff5448 branch May 5, 2025 06:05
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant