Repository navigation
Release v19.168.0
Summary
Chronicle can now accept additive changes to an existing event type's schema in place, for the event stores you opt in, and it cleans up recommendations left behind for observers and projections that no longer exist.
Added
- New
AdditiveEventTypeSchemaEvolutionEventStoressetting lists the event stores where Chronicle accepts an additive change to a registered event type's schema without a new generation. A change is additive when it only adds optional, nullable or defaulted properties. The list is empty by default, so every event store keeps strict validation; set it on every Chronicle server, inchronicle.jsonor withCratis__Chronicle__AdditiveEventTypeSchemaEvolutionEventStores__0=<event store>. (#5946) - Chronicle records an
EventTypeSchemaEvolvedsystem event when it accepts an additive schema change. (#5946) - The event type check result now includes a classification of the schema difference: identical, tolerated, additive or breaking. (#5946)
Changed
- Removing, renaming or retyping a property of a registered event type is still rejected with
EventTypeSchemaChangedin every event store; breaking changes need a new generation. Chronicle's own event types are never evolved in place. (#5946)
Fixed
- Chronicle now removes recommendations left behind for observers and projections that no longer exist when it starts (#5644)