Skip to content

v0.3.0

Latest

Choose a tag to compare

@mroth mroth released this 17 Jun 21:01
· 4 commits to main since this release
88e8a92

⚠️ Breaking changes

  • Minimum Go version is now 1.24 (previously 1.18). The range-over-function iterators are no longer behind build constraints — the iter package is now a baseline dependency, so older toolchains are no longer supported.
  • Len() is no longer nil-safe. Calling Len() on a nil *OrderedMap now panics instead of returning 0. As with the other methods, a map must be created via New() or WithCapacity().

✨ Added

  • Collect() — builds an OrderedMap from any iter.Seq2, preserving the order in which pairs are yielded.

Full changelog: v0.2.1...v0.3.0