longevity v0.27.0 Release Notes
Release Date: 2018-07-01 // over 6 years ago-
โ [0.27.0] - 2018.07.01 - Replace Custom Test Data Generation with ScalaCheck Shapeless
This is the first baby step in replacing custom reflection-based code with
shapeless.- 2017.10.26 -
longevity.model.PType[M, P]
now has an abstract member with type
longevity.model.PEv[M, P]
. This is filled in by the@longevity.model.annotations.persistent
family of annotations, so it is not a concern to you if you are using these annotations to
construct yourPTypes
. If not, you might consider using the new
@longevity.model.annotations.pEv
annotation to create thePEv
for you. - 2017.10.26 - Traits for polymorphic persistent and component types - typically declared via
annotations@longevity.model.annotations.polyPersistent
and
@longevity.model.annotations.polyComponent
- now need to be sealed. This will require moving
subtypes into the same file. - โ
2017.10.26 - The
longevity.test.TestDataGenerator
API has been simplified. If you were using
this class in a way for which the new version is no longer sufficient, please let us know, and we
๐ will see what we can do to help you out. - โ
2018.06.07 - Classes
longevity.test.CustomGenerator
andlongevity.test.CustomGeneratorPool
๐ have been removed. Custom test generation to account for constraints enforced within your domain
model can now be accomplished using ScalaCheck'sArbitrary
and
๐Gen
, See the user manual page on enforcing
โ constraints for more information.
- 2017.10.26 -
Previous changes from v0.26.0
-
๐ Please see the user manual for an explanation of this new feature.