Skip to content

Releases: mroth/orderedmap

v0.3.0

Choose a tag to compare

@mroth mroth released this 17 Jun 21:01
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

v0.2.1

Choose a tag to compare

@mroth mroth released this 17 Jun 18:24
b7c1565
  • Add Clear() builtin.

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@mroth mroth released this 07 Jan 22:38

Changelog

  • feat: add Keys() and Values() iterators 3a5aa6b
  • docs: standardize variable names 5c1a923
  • docs: tie example test funcs to proper docs f8aa825

v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@mroth mroth released this 17 Aug 18:40
bc234b9
Merge pull request #2 from mroth/go123

update for go1.23