Skip to content

Release v19.168.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 17:37
0e6b5cf

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 AdditiveEventTypeSchemaEvolutionEventStores setting 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, in chronicle.json or with Cratis__Chronicle__AdditiveEventTypeSchemaEvolutionEventStores__0=<event store>. (#5946)
  • Chronicle records an EventTypeSchemaEvolved system 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 EventTypeSchemaChanged in 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)