- Enhancements
- Support Ruby 4.0, where Set is a built-in C class that no longer uses
@hash. SortedSet now overrides primitive methods and relies onSet::SubclassCompatiblefor composite operations. - Support JRuby with Ruby 4.0 compatibility, using
java.util.TreeSetas the backing store instead of rbtree. - Remove the runtime dependency on the set gem, which is part of the standard library or built-in across all supported Ruby versions.
- Support Ruby 4.0, where Set is a built-in C class that no longer uses
- Enhancements
- Switch back to the original rbtree gem, which added support for Ruby >=3.0.
- Enhancements
- Switch to the rbtree3 gem to support Ruby >=3.0.
- Enhancements
- Be a no-op library for JRuby, as it has its own version of Set and SortedSet.
This is the first release of sorted_set as a gem. Here lists the changes since the version bundled with Ruby 2.7.
- Breaking Changes
- The pure-ruby fallback implementation has been removed. It now requires an RBTree library to install and run.