longevity v0.27.0 Release Notes

Release Date: 2018-07-01 // about 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

    • 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 your PTypes. If not, you might consider using the new
      @longevity.model.annotations.pEv annotation to create the PEv 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 and longevity.test.CustomGeneratorPool
      ๐Ÿšš have been removed. Custom test generation to account for constraints enforced within your domain
      model can now be accomplished using ScalaCheck's Arbitrary and
      ๐Ÿ‘€ Gen, See the user manual page on enforcing
      โœ… constraints
      for more information.

Previous changes from v0.26.0

  • ๐Ÿ‘€ Please see the user manual for an explanation of this new feature.