Skip to content

Update module github.com/deckarep/golang-set/v2 to v2.9.0#47

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-deckarep-golang-set-v2-2.x
Open

Update module github.com/deckarep/golang-set/v2 to v2.9.0#47
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-deckarep-golang-set-v2-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 22, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/deckarep/golang-set/v2 v2.1.0v2.9.0 age confidence

Release Notes

deckarep/golang-set (github.com/deckarep/golang-set/v2)

v2.9.0: - Reduce allocations, new PopN method, BSON support, deadlock fix

Compare Source

What's Changed

New Contributors

Full Changelog: deckarep/golang-set@v2.8.0...v2.9.0

v2.8.0: - Now support for Go 1.23+ iterators

Compare Source

This change brings support for Go's new flavor of iterators. Additionally, a convenience method was added for ContainsAnyElement and a fix to spelling. Please visit this issue for a deeper context on how this works for newer versions of Go vs older versions of Go. Cheers!

What's Changed

New Contributors

Full Changelog: deckarep/golang-set@v2.7.0...v2.8.0

v2.7.0: - Proper support for JSON Marshaling/Unmarshaling, no more workarounds needed.

Compare Source

What's Changed

  • Mention of sister project: Ziglang-set for Zig developers
  • Once and for all fixes a long-standing JSON bug that was introduced with a previously large refactor which was designed to remove a layer of pointer indirection. It turns out, it's required to properly support Unmarshaling without having to resort to workarounds. Contribution by @​ryclarke - Thank you! #​122

Full Changelog

v2.6.0: - Adds ContainsOne method to mitigate allocations

Compare Source

What's Changed

  • Adds ContainsOne method to mitigate allocation as discussed in: #​118
  • Comprehensive benchmarks and unit-tests added to warrant and prove this change out
  • Brought to you by: @​vladvalkov - Thank You and Happy Holidays! 🎊 🍾

Full Changelog

v2.5.0: - Adds generic Sorted method to easily get elements into a sorted slice.

Compare Source

What's Changed

  • Add Sorted method - easily get elements of a set into a sorted slice.
  • Move to own file that can be build tagged
  • Also test go 1.21

Full Changelog

v2.4.0: - Improvements/fixes to docs and a new IsEmpty method.

Compare Source

What's Changed

Full Changelog

v2.3.1: Patch Release: Bug fix affecting JSON deserialization

Compare Source

What's Changed

  • After a simplification previous refactor to get rid of one layer of indirection a bug was introduced that affected JSON unmarshaling that resulted in a panic - fix prepared by @​fujie-xiyou

Full Changelog

v2.3.0: Minor Release: Performance optimization to minimize memory allocs on allocation of Set

Compare Source

What's Changed

  • Utilizes map capacity hint in all constructors to minimize memory allocation churn with instantiation and population of Set - originally proposed by @​fy0
  • New *WithSize constructors: NewThreadUnsafeSetWithSize and NewSetWithSize to allow for minimizing allocation churn and unnecessary resizing of internal state.
  • Adds a RemoveAll convenience method

Full Changelog

v2.2.0: Minor release: better docs, small optimizations, additional convenience methods and constructors.

Compare Source

What's Changed

  • Streamline pointer indirection, and docs and optimized Clear method by @​fakefloordiv
  • NewSetFromMapKeys and NewThreadUnsafeSetFromMapKeys convenience constructor methods by @​jay-babu
  • Append method for adding multiple elements in a single command by @​SignorMercurio

Full Changelog


Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 22, 2026

ℹ️ 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/google/go-cmp v0.5.9 -> v0.6.0
golang.org/x/crypto v0.9.0 -> v0.26.0
golang.org/x/net v0.10.0 -> v0.21.0
golang.org/x/sys v0.8.0 -> v0.23.0
golang.org/x/term v0.8.0 -> v0.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants