Repository navigation
Release v0.13.0
Graph projections and projection dictionary, set-once and child-ordering parity with the C# client. These changes require Chronicle 19.150.0 or later.
Added
- Graph projections: the
graphspackage declares nodes withgraphs.NewNode[T]()(one field taggedchronicle:"key"), edges withgraphs.NewEdge[T](source, target)and the graph withgraphs.New(name, elements...).Build(), registered withRegistry.AddGraph. See Graph projections. - Graph node and edge options
From,RemovedWith(withgraphs.Detach()for nodes),UsingKey,UsingSourceKey,UsingTargetKey,UsingIdentity,OnlyWhenExisting, mappingsSet,SetFromContext,SetFromEventSourceID,SetValue,Add,Subtract,Increment,Decrement,Count,Clear, and declaration errors as*graphs.DeclarationErrormatchable witherrors.Is. graphs.Neo4j(the default) andgraphs.InMemoryGraphsinks, andchronicle.WithDefaultGraphSinkType.eventsequences.ConstraintIndexUnavailable: an append the Kernel refuses while a unique-constraint index rebuilds is reported as a rejection that stored nothing and can be retried.- Key read-model dictionary entries by event content, event context or the causing user, and remove entries with
RemoveKey. - Set values only once with
MapOnce,ContextOnce,ValueOnceand their every/all variants, oronce=truein model-bound tags. - Map the causing user into read models with
CausedBy,CausedByOnceandEveryCausedBy. - Insert children at the start with
Prepend()or keep them sorted withOrderByandOrderByDescending, also available as model-bound tags, completing projection dictionary, set-once and child-ordering parity with the C# client (#127)
Changed
- Generated contracts and decision-read admission target Chronicle 19.150.1; a Chronicle Kernel 19.150.0 or later is required.
Fixed
- Redaction markers and event values whose time offset the Kernel writes as an escaped
+now decode instead of failing.