Skip to content

Release v19.128.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 08:53
1972170

Summary

This release adds per-event-store Ed25519 webhook signing keys and an opt-in shared metric naming convention. It reduces storage load when many client replicas connect at once, and fixes several SQL read model, projection and replay issues.

Added

  • Each event store now keeps its own Ed25519 webhook signing keys, encrypted at rest, with overlap during rotation (part of #5117)
  • The kernel can now sign and verify Standard Webhooks payloads with Ed25519 (v1a) keys, groundwork for signed webhook deliveries (part of #5117)

Changed

  • Client connection and token diagnostics no longer include endpoint addresses or underlying error text in logs and exceptions.
  • Chronicle metrics can now use the shared cratis.chronicle.* naming convention. Existing metric names stay the default; set Telemetry:MetricNames=Convention to switch, or Both while migrating dashboards (part of #4459)
  • In Both mode each measurement is recorded under both names, so do not sum legacy and convention series (part of #4459)
  • Recording kernel metrics no longer allocates on the append and observer delivery paths (part of #4459)
  • Re-registering an unchanged reactor or reducer no longer rewrites its stored definition, which reduces MongoDB load when many client replicas connect at once (part of #5514)
  • When another instance of the same client connects, an observer that is already running now adds it as a subscriber without repeating the full subscription setup, which greatly reduces storage load during rolling deployments (part of #5514)

Fixed

  • Event sequence names can no longer match a collection or table that the event store itself uses, for every storage provider. (part of #932)
  • Projections now encrypt [PII] and [Encrypted] values that reach a read model through a deferred update, such as a child event that arrives before its parent, so these values are no longer stored in plaintext and erasing the subject makes them unreadable. Values written before this release stay in plaintext until the projection is replayed. (#4599)
  • SQL read models (SQLite, PostgreSQL, SQL Server) keep their row identity when a join or property mapping sets id to a different value, and still apply the other mapped values, as MongoDB does. (#5577)
  • Mapping null onto an object property of a SQL read model now stores and returns null, as MongoDB does, instead of an empty object; this also applies to isolated replacement. Existing rows are not converted; see Null nested objects. (#5578)
  • Full replays of a projection are now refused, with a named reason, in an event store where projection-generation initialization has begun. A replay that was already running when initialization began may finish, but no new replay starts, and a refused replay leaves the observer active rather than stuck replaying. This holds even after the ProjectionGenerations flag is turned off. (part of #5223)
  • The generation initializer checks for legacy replay work again just before it marks a store enabled, and stays blocked if any work appeared during adoption. (part of #5223)
  • Generation initialization now refuses unsupported storage providers before recording initialization progress, keeping legacy projection replay available when adoption cannot start. (part of #5223)
  • Integration specs on a shared in-process host now fail with a clear error instead of resolving a service from an earlier fixture's test assembly with that fixture's context (#5458)
  • Ignored projection recommendations are removed when their observer is removed or a newer projection version supersedes them, instead of staying forever. (#5468)
  • SQL storage start-up retries schema-lock timeouts and deadlocks, but no longer retries cancelled or failed lock requests; a kernel waiting on a lock another node holds can now take up to about 25 minutes to give up (part of #5503)

Deprecated

  • WithBasicAuth, WithBearerToken and WithOAuth on the .NET client's webhook capture source builder (IWebhookSourceBuilder, configured through FromWebhook) are obsolete. Webhook capture sources do not support authentication yet: the kernel never received, stored or enforced these settings, so remove the calls. Authentication for outbound webhooks and External Services is unchanged. (#4591)