Releases: mroth/orderedmap
Releases · mroth/orderedmap
Release list
v0.3.0
⚠️ Breaking changes
- Minimum Go version is now 1.24 (previously 1.18). The range-over-function iterators are no longer behind build constraints — the
iterpackage is now a baseline dependency, so older toolchains are no longer supported. Len()is no longer nil-safe. CallingLen()on a nil*OrderedMapnow panics instead of returning0. As with the other methods, a map must be created viaNew()orWithCapacity().
✨ Added
Collect()— builds anOrderedMapfrom anyiter.Seq2, preserving the order in which pairs are yielded.
Full changelog: v0.2.1...v0.3.0
v0.2.1
- Add
Clear()builtin.
Full Changelog: v0.2.0...v0.2.1