Skip to content

Releases: longevityframework/longevity

fix recently introduced bug in CassandraRepo

09 Sep 17:00
Compare
Choose a tag to compare
0.11.3

up project version to 0.11.3

downgrade ScalaTest to 2.2.6 til we fix regression

08 Sep 17:21
Compare
Choose a tag to compare

quell some cassandra warnings

08 Sep 17:22
Compare
Choose a tag to compare
0.11.1

up version to 0.11.1

0.11.0 - API Simplifications

30 Aug 03:11
Compare
Choose a tag to compare

[0.11.0] - 2016.08.29 - API Simplifications

  • 2016.08.29 - Add factory methods for EType and all its
    descendents. The older pattern of making embeddable companion
    objects into ETypes (e.g., case class Email extends EType[Email]) still works, but now you can just mention the EType
    directly, when building your subdomain. (E.g., Subdomain(???, ???, ETypePool(EType[Email]))).
  • 2016.08.28 - Get rid of DerivedType.polyType and
    DerivedPType.polyPType. DerivedType and DerivedPType are now
    abstract classes instead of traits, so users may need to reorder
    their inheritance with clauses. (It's highly unlikely a user would
    have been be using these traits to extend a class.)

0.10.0 - Optimistic Locking

25 Aug 23:28
Compare
Choose a tag to compare

[0.10.0] - 2016.08.25 - Optimistic Locking

  • 2016.08.25 - Fix JSON translation of DateTimes to use time zone
    codes instead of offsets. Fix JSON parser to respect the time zone
    in the string representation of the DateTime.
  • 2016.08.24 - Add optimistic locking. To turn it on, you will need to
    set longevity.optimisticLocking = true in your typesafe config.
  • 2016.08.23 - Add LongevityContext.testDataGenerator.
  • 2016.08.17 - Add support for Persistents and Embeddables that
    are case objects.
  • 2016.07.29 - Add LongevityConfig for well-typed
    configuration. Users can use LongevityConfig instead of a Typesafe
    Config to configure their context. Just use the LongevityContext
    constructor instead of the LongevityContext.apply factor method.
  • 2016.07.29 - Make PType.indexes optional. You used to have to
    declare an empty indexes singleton object within your PType if
    you had no indexes. Now, you can just leave it out. This should have
    no effect on existing code, but you can go back and remove empty
    indexes objects if you want.
  • 2016.07.22 - Make Akka
    Streams
    an optional
    dependency. If you are using Repo.streamByQuery, you must now
    declare a dependency on Akka Streams yourself: libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.4.9".

Fix longevityPomExtra

24 Aug 15:54
Compare
Choose a tag to compare

the info in the pom was broken due to an oversight. the longevity pom was pointing to emblem project. this release fixes that. there is not code changes whatsoever, just a fixed pom

0.9.0 - Streamlined API

15 Jul 20:21
Compare
Choose a tag to compare
  • 2016.07.12 - KeyVal and Key have been completely reworked for
    improved understandability and ease of use. please see the manual
    for details.
  • 2016.07.12 - Assocs are gone. please use KeyVals and Keys
    instead.
  • 2016.07.12 - a PType's properties and keys are now only realized
    when the Subdomain is constructed. this should have no affect on
    the user, except that some exceptions for malformed properties will
    be delayed until Subdomain initialization. also, properties
    created outside of PType.propSet will no longer work.
  • 2016.06.23 - shorthands are gone. please use single-property
    embeddables such as ValueObject instead.
  • 2016.06.21 - single-property embeddables are now inlined. this has
    no affect on the user other than how the persistents are translated
    into JSON/BSON.
  • 2016.06.20 - add parent types Embeddable and EType for Entity,
    ValueObject, EntityType, and ValueType.
  • 2016.06.10 - add noop query Query.All().
  • 2016.06.07 - add method Deleted.get.
  • 2016.06.07 - fix method names LiftFPState.mapRoot,
    LiftFPState.flatMapRoot, LiftFOPState.mapRoot, and
    LiftFOPState.flatMapRoot by replacing Root with P.
  • 2016.06.01 - CoreDomain, SupportingSubdomain and
    GenericSubdomain are now actual traits that extend Subdomain
    (instead of just type aliases). this allows users to directly
    subclass these three types if they wish.

Bug Fix Release

01 Jun 16:17
Compare
Choose a tag to compare

[0.8.1] - 2016.06.01 - Bug Fix Release

  • 2016.06.01 - make Akka streams non-optional
    dependency. difficult-to-resolve linking problems occur when this is
    optional. we might revisit this later but for now the best solution
    is to make it non-optional.

Streaming Queries

25 May 17:21
Compare
Choose a tag to compare
  • 2016.05.24 - add API method Repo.streamByQuery(query: Query[P]): Source[PState[P], NotUsed].

Entity Polymorphism

18 May 19:08
Compare
Choose a tag to compare
  • 2016.05.18 - users can now subclass Shorthand.
  • 2016.05.12 - PType and sub-classes no longer take an implicit
    ShorthandPool argument.
  • 2016.05.12 - Subdomain, CoreDomain, SupportingSubdomain, and
    GenericSubdomain factory method signatures have changed. They now
    have a single parameter list, and the ShorthandPool parameter is
    no longer implicit.
  • 2016.05.12 - Persistent no longer inherits from Entity. PType
    no longer inherits from EntityType. these changes should not
    affect user code.
  • 2016.05.12 - modify Subdomain.apply to separate out
    entityTypePool into pTypePool and entityTypePool.
  • 2016.05.12 - add PolyType, DerivedType, PolyPType, and
    DerivedPType. see user manual.
  • 2016.05.12 - move the following classes from package
    longevity.subdomain to package longevity.subdomain.entity:
    • EntityTypePool
    • EntityType
    • Entity
    • ValueObject
    • ValueType