Skip to content

Commit

Permalink
v3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed May 10, 2021
1 parent c14dc46 commit 5870275
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to `enum` will be documented in this file

## 3.9.0 - 2021-05-10

- Add `from()` and `tryFrom()` methods to get closer to PHP8.1 native enums - [#94](https://github.com/spatie/enum/pull/94)
- Deprecate `make()` in favor of `from()` method - [#94](https://github.com/spatie/enum/pull/94)
- Add flyweight pattern to return the same enum instance for every call - [#94](https://github.com/spatie/enum/pull/94)

## 3.8.0 - 2021-04-12

- Add `cases()` method to retrieve all instances of the enum - [#79](https://github.com/spatie/enum/pull/79)
Expand Down

0 comments on commit 5870275

Please sign in to comment.