From 9620b372c82fb9226082572fdd103b457d507e2f Mon Sep 17 00:00:00 2001 From: Tenacom developer Date: Sun, 13 Aug 2023 06:22:32 +0200 Subject: [PATCH] Update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0673588..9df1e44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changes to existing features +- `Louis.Fluency.FluentExtensions.Switch` has new overloads that let you specify an [`IEqualityComparer`](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.iequalitycomparer-1) interface to compare the given value with comparands associated with actions. +- Pre-existing overloads of `Louis.Fluency.FluentExtensions.Switch` now use [`EqualityComparer.Default`](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.equalitycomparer-1.default). As a consequance, the value and comparands no longer have to implement `IEquatable`. This change also makes `FluentExtensions.Switch` usable with `enum`s. + ### Bugs fixed in this release ### Known problems introduced by this release