Releases: longevityframework/longevity
Releases · longevityframework/longevity
fix recently introduced bug in CassandraRepo
0.11.3 up project version to 0.11.3
downgrade ScalaTest to 2.2.6 til we fix regression
0.11.2 up version to 0.11.2
quell some cassandra warnings
0.11.1 up version to 0.11.1
0.11.0 - API Simplifications
[0.11.0] - 2016.08.29 - API Simplifications
- 2016.08.29 - Add factory methods for
ETypeand all its
descendents. The older pattern of making embeddable companion
objects intoETypes(e.g.,case class Email extends EType[Email]) still works, but now you can just mention theEType
directly, when building your subdomain. (E.g.,Subdomain(???, ???, ETypePool(EType[Email]))). - 2016.08.28 - Get rid of
DerivedType.polyTypeand
DerivedPType.polyPType.DerivedTypeandDerivedPTypeare now
abstract classes instead of traits, so users may need to reorder
their inheritancewithclauses. (It's highly unlikely a user would
have been be using these traits to extend a class.)
0.10.0 - Optimistic Locking
[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
setlongevity.optimisticLocking = truein your typesafe config. - 2016.08.23 - Add
LongevityContext.testDataGenerator. - 2016.08.17 - Add support for
PersistentsandEmbeddablesthat
are case objects. - 2016.07.29 - Add
LongevityConfigfor well-typed
configuration. Users can useLongevityConfiginstead of a Typesafe
Config to configure their context. Just use theLongevityContext
constructor instead of theLongevityContext.applyfactor method. - 2016.07.29 - Make
PType.indexesoptional. You used to have to
declare an emptyindexessingleton object within yourPTypeif
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
indexesobjects if you want. - 2016.07.22 - Make Akka
Streams an optional
dependency. If you are usingRepo.streamByQuery, you must now
declare a dependency on Akka Streams yourself:libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.4.9".
Fix longevityPomExtra
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
- 2016.07.12 -
KeyValandKeyhave been completely reworked for
improved understandability and ease of use. please see the manual
for details. - 2016.07.12 -
Assocs are gone. please useKeyVals andKeys
instead. - 2016.07.12 - a
PType's properties and keys are now only realized
when theSubdomainis constructed. this should have no affect on
the user, except that some exceptions for malformed properties will
be delayed untilSubdomaininitialization. also, properties
created outside ofPType.propSetwill no longer work. - 2016.06.23 - shorthands are gone. please use single-property
embeddables such asValueObjectinstead. - 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
EmbeddableandETypeforEntity,
ValueObject,EntityType, andValueType. - 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.flatMapRootby replacingRootwithP. - 2016.06.01 -
CoreDomain,SupportingSubdomainand
GenericSubdomainare now actual traits that extendSubdomain
(instead of just type aliases). this allows users to directly
subclass these three types if they wish.
Bug Fix Release
[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
- 2016.05.24 - add API method
Repo.streamByQuery(query: Query[P]): Source[PState[P], NotUsed].
Entity Polymorphism
- 2016.05.18 - users can now subclass
Shorthand. - 2016.05.12 -
PTypeand sub-classes no longer take an implicit
ShorthandPoolargument. - 2016.05.12 -
Subdomain,CoreDomain,SupportingSubdomain, and
GenericSubdomainfactory method signatures have changed. They now
have a single parameter list, and theShorthandPoolparameter is
no longer implicit. - 2016.05.12 -
Persistentno longer inherits fromEntity.PType
no longer inherits fromEntityType. these changes should not
affect user code. - 2016.05.12 - modify
Subdomain.applyto separate out
entityTypePoolintopTypePoolandentityTypePool. - 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:EntityTypePoolEntityTypeEntityValueObjectValueType