Changelog for unordered-containers-0.2.20.1
[0.2.20.1] - October 2025
-
Fix infinite loop in
isSubmapOf[By]/isSubsetOfon 32-bit platforms. To fix this bug and potentially other similar bugs, we return to a branching factor of 16 on 32-bit platforms. -
Documentation changes:
[0.2.20] - January 2024
-
Remove redundant
Hashableconstraints fromintersection.*andunion.*. -
Various optimizations and cleanups: #458, #469, #404, #460, #456, #433
0.2.19.1 – April 2022
0.2.19.0 – April 2022
0.2.18.0
-
unionArrayBy: Find next 1-bits withcountTrailingZeros- This speeds up
union*for sparsely filled nodes, while penalizingunionoperations on densely filled nodes.
- This speeds up
0.2.17.0
-
Various cleanup and documentation improvements
0.2.16.0
0.2.15.0
0.2.14.0
-
Add
HashMap.mapKeys. Thanks, Marco Perone! -
Add instances for
NFData1andNFData2. Thanks, Isaac Elliott and Oleg Grenrus! -
Fix
@since-annotation forcompose. Thanks, @Mathnerd314!
0.2.13.0
- Add
HashMap.compose. Thanks Alexandre Esteves.
0.2.12.0
-
Add
HashMap.isSubmapOf[By]andHashSet.isSubsetOf. Thanks Sven Keidel. (#282) -
Expose internal modules. (#283)
-
Documentation improvements in
Data.HashSet, including a beginner-friendly introduction. Thanks Matt Renaud. (#267) -
HashMap.alterF: Skip key deletion for absent keys. (#288) -
Remove custom
unsafeShift{L,R}definitions. (#281) -
Various other documentation improvements.
0.2.11.0
-
Add
HashMap.findWithDefault(soft-deprecatesHashMap.lookupDefault). Thanks, Matt Renaud. -
Add
HashMap.fromListWithKey. Thanks, Josef Svenningsson. -
Add more folding functions and use them in
Foldableinstances. Thanks, David Feuer. -
Add
HashMap.!?, a flipped version oflookup. Thanks, Matt Renaud. -
Add a
Bifoldableinstance forHashMap. Thanks, Joseph Sible. -
Add a
HasCallStackconstraint to(!). Thanks, Roman Cheplyaka.
Bug fixes
-
Fix a space leak affecting updates on keys with hash collisions. Thanks, Neil Mitchell. (#254)
-
Get rid of some silly thunks that could be left lying around. (#232). Thanks, David Feuer.
Other changes
-
Speed up the
Hashableinstances forHashMapandHashSet. Thanks, Edward Amsden. -
Remove a dependency cycle hack from the benchmark suite. Thanks, Andrew Martin.
-
Improve documentation. Thanks, Tristan McLeay, Li-yao Xia, Gareth Smith, Simon Jakobi, Sergey Vinokurov, and likely others.
0.2.10.0
-
Add
HashMap.alterF. -
Add
HashMap.keysSet. -
Make
HashMap.Strict.traverseWithKeyforce the results before installing them in the map.
0.2.9.0
-
Add
Ord/Ord1/Ord2instances. (Thanks, Oleg Grenrus) -
Use
SmallArray#instead ofArray#for GHC versions 7.10 and above. (Thanks, Dmitry Ivanov) -
Adjust for
Semigroup => Monoidproposal implementation. (Thanks, Ryan Scott)
Bug fixes
-
Fix a strictness bug in
fromListWith. -
Enable eager blackholing for pre-8.2 GHC versions to work around a runtime system bug. (Thanks, Ben Gamari)
-
Avoid sketchy reimplementation of
STwhen compiling with recent GHC.
Other changes
-
Remove support for GHC versions before 7.8. (Thanks, Dmitry Ivanov)
-
Add internal documentaton. (Thanks, Johan Tibell)
0.2.8.0
-
Add
Eq1/2,Show1/2,Read1instances withbase-4.9 -
Eq (HashSet a)doesn't requireHashable aanymore, onlyEq a. -
Add
Hashable1/2withhashable-1.2.6.0 -
Add
differenceWithfunction.
0.2.7.2
-
Don't use -fregs-graphs
-
Fix benchmark compilation on stack.
0.2.7.1
-
Fix linker error related to popcnt.
-
Haddock improvements.
-
Fix benchmark compilation when downloaded from Hackage.
0.2.7.0
-
Support criterion 1.1
-
Add unionWithKey for hash maps.
0.2.6.0
-
Mark several modules as Trustworthy.
-
Add Hashable instances for HashMap and HashSet.
-
Add mapMaybe, mapMaybeWithKey, update, alter, and intersectionWithKey.
-
Add roles.
-
Add Hashable and Semigroup instances.
0.2.5.1 (2014-10-11)
- Support base-4.8