Repository navigation
Release v19.171.0
Summary
Chronicle now accepts additive changes to a registered event type's schema in every event store by default. Adding an optional or nullable property no longer needs a new generation, a configuration entry or a registry repair; breaking changes still need a new generation and a migration.
Added
- New
StrictEventTypeSchemaEventStoressetting lists event stores that keep strict schema validation, where any change to a registered generation is rejected (#5955) - The event type check result reports properties removed by a client and compliance metadata added to an existing property as their own classifications instead of as tolerated differences (#5955)
Changed
- Additive changes to a client-owned event type's schema are accepted in place for every event store and recorded with an
EventTypeSchemaEvolvedsystem event;AdditiveEventTypeSchemaEvolutionEventStoresis obsolete, ignored, and logs a warning at startup when set (#5955) - Adding a required non-nullable property, with or without a default, is treated as a breaking change, because older clients cannot append events without it (#5955)
- The event type evolution documentation explains that older events read new non-nullable properties as their type's default, that new properties should not be used as keys or joins, and that adding PII or encryption to an existing property does not protect events already stored (#5955)
Fixed
- An older client re-registering an event type after a newer client added a required nullable or defaulted property no longer fails with
EventTypeSchemaChangedduring rolling deploys and rollbacks (#5955)