Skip to content

JasperFx 2.35.0

Choose a tag to compare

@jeremydmiller jeremydmiller released this 24 Jul 13:23
· 636 commits to main since this release

JasperFx 2.35.0

Aspire command environment fix (#560)

When a JasperFx verb is invoked from the Aspire dashboard, the short-lived dotnet run child now
receives the resource's fully resolved Aspire environment. The EnvironmentCallbackContext is now
associated with the resource, so WithReference(...) endpoint/connection-string callbacks resolve
instead of throwing Resource is not set and blanking the entire environment. Resolution is now
resilient per-variable (one bad callback no longer discards the rest), cancellation propagates, and
genuine misconfiguration fails loudly rather than launching against a half-populated environment.

Slice ID support for RaiseSideEffects (#561)

Adds a new backwards-compatible virtual overload:

public virtual ValueTask RaiseSideEffects(TOperations operations, TId id, IEventSlice<TDoc> slice)

The slice's strongly-typed identity is now supplied directly. This lets you raise side effects (emit
follow-on events / publish messages) for a MultiStreamProjection slice even when the aggregate
snapshot is null — e.g. when the slice was deleted — where the identity was previously unavailable
from slice.Snapshot. The existing RaiseSideEffects(operations, slice) override continues to work
unchanged. Thanks to @lofbacke for the contribution.

Full changelog: V2.34.0...V2.35.0