Skip to content

6.1.0

Compare
Choose a tag to compare
@oskardudycz oskardudycz released this 08 Sep 09:55
· 1262 commits to master since this release

🚀 What's New

  • Added AsyncDaemonHealthCheck to track events handling lag in async projections. Marten now supports a customizable HealthChecks. This can be useful when running the async daemon in a containerized environment such as Kubernetes. The check will verify that no projection's progression lags more than maxEventLag behind the HighWaterMark. The default maxEventLag is 100. Read more in HealthChecks documentation by @daveHylde in #2679

✏️ What's Changed

  • Fixed Marten Exceptions transformations when NpgslCommand is null. Now you'll see all exception details again when connection to the database cannot be established because of wrong credentials, database unavailability, etc., by @oskardudycz in #2689, #2670
  • Set DeadLetterEvent as single tenanted for conjoined tenancy. Previously, it was following the global conventions around tenancy, which could be confusing. A dead letter event represents an event skipped for the particular projection. It references that event at a specific global event store sequence. Thus, it has to be global and does not have a tenant. If we rebuild the projection, all read models will be rebuilt using events from all tenants. Read more in the poison event detection docs. by @oskardudycz in #2690, #2686
  • Enhanced ProjectionUpdateBatch disposal. There could be a race condition when the session was released, but the processing Queue wasn't completed, which caused the session to be null. Added nullable annotations to make that explicit and fixes accordingly (by checking the cancellation token and implementing disposal consistently). by @oskardudycz in #2690, #2686
  • Fixed NGramIndex schema SQL diff generation. Now it won't be always dropped & recreated. by @mysticmind JasperFx/weasel#96, #2677
  • Updated Weasel to 6.1.0 and other dependencies by @oskardudycz in #2677, #2701
  • Added readonly modifier to fields that are never changed in various places throughout the codebase by @Lehonti in #2669

📄 Docs updates

See also related Weasel 6.1.0 release notes.

New Contributors

Full Changelog: 6.0.4...6.1.0