Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2025

Bumps github.com/puzpuzpuz/xsync/v3 from 3.0.0 to 3.5.1.

Release notes

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

v3.5.1

  • Clarify docs for LoadOrCompute and LoadOrTryCompute #154

v3.5.0

  • Add SPSCQueue/SPSCQueueOf #152
  • Add LoadOrTryCompute method to Map/MapOf #153

Thanks @​mattjohnsonpint for suggesting the map enhancement.

v3.4.1

  • Add ToPlainMap/ToPlainMapOf utility functions #151

Thanks @​KiddoV for suggesting this enhancement.

v3.4.0

  • Add optimistic locking methods to RBMutex #138 and #140
  • Fix Map/MapOf capacity calculation for WithPresize #139

RBMutex now has methods for optimistic locking:

mu := xsync.NewRBMutex()
if locked, t := mu.TryRLock(); locked {
	// critical reader section...
	mu.RUnlock(t)
}
if mu.TryLock() {
	// critical writer section...
	mu.Unlock()
}

Thanks @​kkroo for the contribution.

v3.3.1

  • Add NewMapOfWithHasher function #137

Adds NewMapOfWithHasher function to support custom hash functions in MapOf:

m := NewMapOfWithHasher[int, int](https://github.com/puzpuzpuz/xsync/blob/HEAD/func(i int, _ uint64) uint64 {
	// Murmur3 finalizer. No DDOS protection as it does not support seed.
	h := uint64(i)
	h = (h ^ (h >> 33)) * 0xff51afd7ed558ccd
	h = (h ^ (h >> 33)) * 0xc4ceb9fe1a85ec53
	return h ^ (h >> 33)
})

Some custom hash functions may be faster than the built-in function if the lack of DDOS protection is fine.

Murmur3 finalizer:

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 19, 2025
@dependabot dependabot bot requested review from a team as code owners December 19, 2025 18:21
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 19, 2025
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/puzpuzpuz/xsync/v3-3.5.1 branch 2 times, most recently from fc4edf7 to dbb1edf Compare December 23, 2025 14:02
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/puzpuzpuz/xsync/v3-3.5.1 branch 2 times, most recently from f6aaaf3 to efa30e2 Compare January 7, 2026 14:03
Bumps [github.com/puzpuzpuz/xsync/v3](https://github.com/puzpuzpuz/xsync) from 3.0.0 to 3.5.1.
- [Release notes](https://github.com/puzpuzpuz/xsync/releases)
- [Commits](puzpuzpuz/xsync@v3.0.0...v3.5.1)

---
updated-dependencies:
- dependency-name: github.com/puzpuzpuz/xsync/v3
  dependency-version: 3.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/puzpuzpuz/xsync/v3-3.5.1 branch from efa30e2 to e971a2a Compare January 12, 2026 17:49
@cicoyle cicoyle added this to the v1.17 milestone Jan 16, 2026
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.

2 participants