Download Latest Version V9.20.1 source code.zip (20.1 MB)
Email in envelope

Get an email when there's a new version of Marten

Home / V9.19.0
Name Modified Size InfoDownloads / Week
Parent folder
Marten 9.19.0 source code.tar.gz 2026-07-24 18.3 MB
Marten 9.19.0 source code.zip 2026-07-24 20.1 MB
README.md 2026-07-24 1.9 kB
Totals: 3 Items   38.4 MB 2

Marten 9.19.0 is a maintenance release adopting the coordinated JasperFx / JasperFx.Events 2.35.0 drop, with a new projection side-effect capability and a secondary-store fix.

Event sourcing

  • RaiseSideEffects slice-identity overload — JasperFx.Events 2.35.0 (jasperfx#561) adds a backwards-compatible aggregation-projection overload RaiseSideEffects(IDocumentOperations operations, TId id, IEventSlice<TDoc> slice). The new id parameter hands you the slice identity even when slice.Snapshot is null because the aggregate was deleted in the same batch — so a MultiStreamProjection can recover the aggregate key to emit a follow-on event or publish a message on deletion. The original two-argument overload is unchanged, and the new one delegates to it by default. Documented with a compiled sample in Side Effects.

Fixes

  • #5039SecondaryStoreConfig.Build threw UriFormatException when a secondary store was registered with a generic marker interface (e.g. AddMartenStore<IMartenStoreMarker<MyContext>>()). A closed generic CLR type name contains a backtick + arity, which is not a valid URI host. The marten:// subject is now sanitized (arity stripped, generic argument names folded in so distinct closed generics still map to distinct subjects).

Dependencies

  • JasperFx / JasperFx.Events / JasperFx.Events.SourceGenerator / JasperFx.SourceGenerator → 2.35.0
  • Weasel.Postgresql / Weasel.Storage → 9.17.0 (unchanged)

Notes

  • The LINQ query-plan cache proposal (#5013 / [#5018]) is not in this release — review surfaced a correctness gap on null filter values; it remains open for a follow-up.
  • [#5001] (running_on_node under managed distribution) is resolved on the Marten side and closed; the node-stamping half ships in the JasperFx 2.35.0 / Wolverine distribution layer.
Source: README.md, updated 2026-07-24