Releases: iikuzmychov/BidirectionalDictionary
Releases · iikuzmychov/BidirectionalDictionary
v3.1.5
What's new
- Fixed
ConcurrentBidirectionalDictionary.Clearto release locks that were already acquired if lock acquisition fails. - Fixed
ConcurrentBidirectionalDictionaryconcurrencyLevelvalidation to reject values that would overflow internal lock array sizing. - Fixed
ReadOnlyBidirectionalDictionarynon-generic enumerator bounds checks soCurrent,Entry,Key, andValuethrow before enumeration starts or after it ends. - Added nullable annotations for supported
TryGetValue,Remove, andTryRemoveout parameters.
v3.1.4
What's new:
- Fixed
ICollection.CopyToonKeys/ValuesofReadOnlyBidirectionalDictionary, which assumed the underlying collection implemented non-genericICollection
v3.1.3
What's new
- Value comparer usage is fixed for key-value pair contains and remove operations.
- Indexer assignment is fixed to preserve the stored key instance in the inverse dictionary.
- Concurrent dictionary value updates are fixed to keep inverse mappings consistent.
v2.0.2
What's new
- Value comparer usage is fixed for key-value pair contains and remove operations.
- Indexer assignment is fixed to preserve the stored key instance in the inverse dictionary.
v1.4.2
What's new
- Value comparer usage is fixed for key-value pair contains and remove operations.
- Indexer assignment is fixed to preserve the stored key instance in the inverse dictionary.
v3.1.2
What's new
- Added missing documentation
- Added debug symbols
v3.1.1
What's new
- Documentation fix
v3.1.0
What's new
ConcurrentBidirectionalDictionary<TKey, TValue>— thread-safe variant ofBidirectionalDictionary<TKey, TValue>.
Thanks to @DarkRubin for proposition such variant!
v3.0.0
What's New
- Added non-generic
IDictionarysupport. - Improved enumeration performance.
- Added benchmarks.
- Expanded test coverage.
Breaking Changes
- Replaced public key and value collection types with custom collection types.
- Replaced mutable dictionary enumeration with a custom enumerator.
- Changed read-only dictionary enumeration to return generic key/value pair enumerators.
- Made the backing dictionary private, which may affect derived classes.
Fixes
- Fixed netstandard2.0-specific bug where the IEnumerable constructor overload with a custom key comparer does not preserve that comparer.
- Improved exception messages.
- Updated CI and docs.
v2.0.1
Fixed netstandard2.0-specific bug where the IEnumerable constructor overload with a custom key comparer does not preserve that comparer.