Skip to content

JasperFx 2.98.0 - #5801

Merged
jeremydmiller merged 1 commit into
masterfrom
chore/jasperfx-2.98.0
Nov 2, 2026
Merged

jeremydmiller merged 1 commit into
masterfrom
chore/jasperfx-2.98.0

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Moves Marten to the JasperFx 2.98.0 line. Newest stable versions were read from the NuGet flat container, not assumed.

What moved

Package From To
JasperFx 2.97.0 2.98.0
JasperFx.Events 2.97.0 2.98.0
JasperFx.Events.ComplianceTests 2.97.0 2.98.0
JasperFx.Events.SourceGenerator 2.97.0 2.98.0
JasperFx.SourceGenerator 2.97.0 2.98.0

All five live in Directory.Packages.props. There is no VersionOverride, no nested props file and no doc stating the version. JasperFx.RuntimeCompiler has no pin here. Weasel pins are unchanged.

What had to change

Nothing beyond the pins, plus the usual dated note above them in Directory.Packages.props. The solution compiles as it stands, with no name clash on IPublishesTypes or EventModelEntryPoint, and the compliance suites that compile inside EventSourcingTests still compile. No test expectation was changed.

What 2.98.0 brings (release notes):

Run locally

  • Build: dotnet build src/Marten.slnx -c Release, all 57 projects on net9.0 and net10.0: 0 errors, 2,925 warnings. Restore resolved 2.98.0 in EventSourcingTests.
  • Marten.SourceGenerator.Tests, which needs no database: 19 of 19 passed on net9.0 and on net10.0.
  • EventSourcingTests and CoreTests with the connection pointed at a closed port, to pick out what needs no database (DEFAULT_SERIALIZER=SystemTextJson). testing_projections was excluded because it hard-codes port 5432. Results were identical on both frameworks:
Suite (each framework) Passed Skipped Failed
EventSourcingTests 155 12 2,552
CoreTests 443 9 422

Those failures are expected in this setup: every one was checked and traces to the closed port (Failed to connect, or the store fixture failing to start). They say nothing about the database behaviour, and passing counts are the only signal from that run.

Left to CI

No database suite ran locally, because no Marten test database was available. That is all of the real coverage for this bump: EventSourcingTests (including the compliance suites) and CoreTests against Postgres, DaemonTests, TenantPartitionedEventsTests, DocumentDbTests, LinqTests, MultiTenancyTests, PatchingTests, ValueTypeTests, CompiledQueryTests, ContainerScopedProjectionTests, ModularConfigTests, and the extension suites. The side effect correlation change is only exercised there. A search found no test that pins the old correlation id on a side effect, but that was by reading, not by running.

🤖 Generated with Claude Code

Carries the correlation id a slice's events agree on onto its side effects
(#1101, #1105), correlation and causation on cloned events
(#1107), SubscriptionDescriptor.PublishedTypes and the descriptor fixes
(#1102, #1106, #1108), and the 2.97.1 fixes that never reached NuGet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremydmiller
jeremydmiller merged commit 0e3d77b into master Nov 2, 2026
32 checks passed
@jeremydmiller
jeremydmiller deleted the chore/jasperfx-2.98.0 branch November 2, 2026 14:58
@jeremydmiller jeremydmiller mentioned this pull request Nov 2, 2026
elexisvenator pushed a commit to elexisvenator/marten that referenced this pull request Nov 2, 2026
Three of the six issues in this Weasel release are SQL Server only and inert
here. What reaches Marten is the PostgreSQL parameter-type work and one
PostgreSQL partitioning fix.

weasel#758/JasperFx#759 is the headline: a private helper in five providers ended in
`?? <catch-all>`, which can never return null, so every fall-through branch
after the first was dead code. PostgreSQL was one of the two providers that
already fell through correctly, so the resolution behaviour Marten sees is
unchanged. The part that was a hard failure rather than a slow query: both
AddParameters overloads resolved through ToParameterType on the TYPE, going
around the value-aware seam weasel#403 added for Npgsql, so a UTC DateTime in a
parameter bag was bound as `timestamp without time zone` and Npgsql threw
outright, while the same value through AddNamedParameter worked.

weasel#764 fixes PostgreSQL's numeric arm in PartitionExtensions.FormatSqlValue,
which rendered with the current culture: a decimal partition bound carried a
comma separator under de-DE and a negative one a U+2212 minus sign under sv-SE,
fi-FI, lt-LT or nb-NO. The date arms were already invariant, which is what made
the numeric one read as deliberate.

No Marten code changes. Restores and builds clean against the published
packages; the JasperFx 2.98.0 floor Weasel.Core now declares was already
satisfied by JasperFx#5801.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant