Skip to content

Releases: lloydmeta/enumeratum

v1.4.8 release

24 Jul 13:25
Compare
Choose a tag to compare

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

20 Jul 14:59
Compare
Choose a tag to compare

Makes the various "format" Form helper methods public. Thanks to @mdedetrich in #49

v1.4.6 release

19 Jul 14:09
Compare
Choose a tag to compare

Adds upper and lower case transformed variants of enums thanks to @mdedetrich

v1.4.5 release

12 Jul 15:49
Compare
Choose a tag to compare

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

07 May 06:38
Compare
Choose a tag to compare
  • Update Play enum read to use default invalid enum key thanks to @eddsteel

v1.4.3 release

03 May 17:22
Compare
Choose a tag to compare
  • Renamed handler member on BSON value enums
  • Simplified code for reading to BSONValue

v1.4.2 release

03 May 12:50
Compare
Choose a tag to compare

Adds support for ReactiveMongo, courtesy of @lambdista !

Also:

  • Bump Play version
  • Bump ScalaJS version

v.1.4.1 release

18 Apr 07:06
Compare
Choose a tag to compare

simple renaming of member in ValueEnum

v1.4.0

15 Apr 17:42
Compare
Choose a tag to compare

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

11 Feb 17:22
Compare
Choose a tag to compare
  • 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