This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
Releases: joeldrapper/literal_enums
Releases · joeldrapper/literal_enums
2.0.0
Overview
Literal Enums 2.0 has a new literal syntax for defining enum members. It's also faster and has an improved transition syntax.
What's Changed
- Benchmarks by @joeldrapper in #5
- Performance improvements by @joeldrapper in #4
- Improve transitions by @joeldrapper in #6
- New
const_missing
interface by @joeldrapper in #7 - Clean up tests by @joeldrapper in #8
- Support transitioning to self by @joeldrapper in #9
New Contributors
- @joeldrapper made their first contribution in #5
Full Changelog: v1.1.0...2.0.0
v1.1.0
- Remove
Enum.to_s
method. This was previously pointing to thevalue
, but values aren't guaranteed to be Strings. - Enum classes are now
Enumerable
.
v1.0.0
v1.0.0