[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.