Releases: lloydmeta/enumeratum
Releases · lloydmeta/enumeratum
v1.4.8 release
Adds Enum and ValueEnum companion-object finding-implicit-defs based on materialisation thanks to @rpiaggio in #52
This makes it possible to use the integrations (e.g Play-Json, Play, Circe, etc) even if you do not want to use inheritance when defining your enums. For example:
// Want to use our provided Play JSON serialisers without inheriting from PlayJsonEnum? No problem
import enumeration.EnumFormats
implicit def enumFormat[A <: EnumEntry : Enum]: Format[A] = EnumFormats.formats(implicitly[Enum[A]])
v1.4.7 release
Makes the various "format" Form helper methods public. Thanks to @mdedetrich in #49
v1.4.6 release
Adds upper and lower case transformed variants of enums thanks to @mdedetrich
v1.4.5 release
Adds a type-safe way to check if a particular enum entry is in a collection of enums. Thanks to @akitaylor
v1.4.4 release
- Update Play enum read to use default invalid enum key thanks to @eddsteel
v1.4.3 release
- Renamed handler member on BSON value enums
- Simplified code for reading to BSONValue
v1.4.2 release
Adds support for ReactiveMongo, courtesy of @lambdista !
Also:
- Bump Play version
- Bump ScalaJS version
v.1.4.1 release
simple renaming of member in ValueEnum
v1.4.0
New features
- Add
ValueEnum
support for 2.11: compile-time checked value (Int
,Long
,Short
) based enums - Add Circe integration
Misc details
- Remove most usage of deprecated stuff in macros (enclosingClass is going to be tough)
- Bump scoverage and coveralls
- Improve build definition
- Improve Readme
- Add Maven version badge. YAY
- Simplify intro
- Update Travis to run coverage on more projects
- Fix names
- Bump Play to 2.5 for Scala 2.11.x and stay at 2.4 for 2.10.x
v1.3.7 release
- Add Play SIRD router extractor support
- Improve performance of error messages when enum binding fails by caching the string lazily
- Improve Snakify function by using precompiled regex