From ecfc24b86405947189b0da66486ee8af1a777aba Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Thu, 20 Jan 2022 15:21:16 +0100 Subject: [PATCH] Update CHANGELOG with details of the CasesIndexedByName Trait --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57c5577..713615c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `EnumHelper` will be documented in this file. +## 1.0.2 - 2022-01-20 + +- Added `CasesIndexedByName` trait, providing a `casesIndexedByName()` method to return an associative array of cases with the case name as the index, rather than an enumerated array that is returned by `cases()`. + ## 1.0.1 - 2021-12-08 - Added `EnumValidatableCase` trait, providing an `isValidCase()` method to validate a string value against the set of case names defined for an enum.