Skip to content

Releases: lloydmeta/enumeratum

v1.4.17 release

20 Oct 14:51
Compare
Choose a tag to compare

Bump versions for Play and ReactiveMongo thanks to @lambdista

v1.4.16 release

18 Oct 05:06
Compare
Choose a tag to compare

Thanks to @maowug, a bunch of typos got corrected, and ValueEnumOps is now properly an AnyVal to prevent runtime allocation.

v1.4.15 release

24 Sep 13:49
Compare
Choose a tag to compare

Adds Char and Byte implementations for ValueEnum, along with their respective library integrations.

v1.4.14 release

06 Sep 05:10
Compare
Choose a tag to compare

Bump versions for:

  • Play (to 2.5.6 for Scala 2.11.x, 2.10.x stays the same at 2.4.8 because of no new releases)
  • Circe (to 0.5.1)

v1.4.13 release

29 Aug 11:18
Compare
Choose a tag to compare

This release brings ValueEnum to Scala 2.10.x !

v1.4.12 release

24 Aug 08:58
Compare
Choose a tag to compare

1.4.11, which added support for nested ValueEnums and usage of ValueEnums in the REPL, caused ValueEnums to stop working when the constructor was marked as private. This version fixes that issue. Thanks @zifeo for reporting it.

v1.4.11 release

22 Aug 07:57
Compare
Choose a tag to compare

Note: There is a regression in this version whereby ValueEnum with private constructors do not compile. This is fixed in 1.4.12

  1. Add support for nested ValueEnums
  2. Add support for ValueEnums in the REPL

v1.4.10 release

12 Aug 03:55
Compare
Choose a tag to compare

Improve compile-time error message for ValueEnums.

v1.4.9 release

04 Aug 06:57
Compare
Choose a tag to compare

Adds StringEnum (and related integrations) which acts as a ValueEnum so that you can have compile-time checked String values.

Thanks @randomstatistic for the discussion and suggestion !

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]])