- Optimize for and require Ruby >=3
- Enhancements
- Avoid the
block or returnpattern to save Proc allocations #29 (@casperisfine) - Set#merge takes many enumerable objects #30
- Avoid the
- Enhancements
- Make Set a builtin feature [Feature #16989]
- Enhancements
- Allow Set#intersect? and #disjoint? to accept array argument [Feature #17838] #18 (@jeremyevans)
- Make Set#pretty_print IRB::ColorPrinter friendly #17 (@k-tsj)
- Improve documentation #16, #20 (@BurdetteLamar)
- Follow the license change in Ruby and add BSD-2-Clause
- Enhancements
- Eliminate warnings
This is the first release of set as a gem. Here lists the changes since the version bundled with Ruby 2.7.
-
Breaking Changes
-
Enhancements
- Set#join is added as a shorthand for
.to_a.join. #4 (@marcandre) - Set#<=> is added. #5 (@marcandre)
- Set#join is added as a shorthand for