Repository navigation
Bump coverlet.collector and 29 others - #30
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps coverlet.collector from 10.0.1 to 10.1.1 Bumps Marten from 9.30.0 to 9.63.0 Bumps Microsoft.EntityFrameworkCore from 10.0.11 to 10.0.15 Bumps Microsoft.EntityFrameworkCore.InMemory from 10.0.11 to 10.0.15 Bumps Microsoft.EntityFrameworkCore.Sqlite from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.DependencyInjection from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.Diagnostics.HealthChecks from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.Diagnostics.Testing from 10.9.0 to 10.11.1 Bumps Microsoft.Extensions.Hosting from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.Hosting.Abstractions from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.Logging.Abstractions from 10.0.11 to 10.0.15 Bumps Microsoft.Extensions.TimeProvider.Testing from 10.9.0 to 10.11.1 Bumps Microsoft.NET.Test.Sdk from 18.9.0 to 18.12.0 Bumps Microsoft.SourceLink.GitHub from 10.0.400 to 10.0.404 Bumps MinVer from 7.0.0 to 8.0.0 Bumps Npgsql from 10.0.3 to 10.0.4 Bumps Npgsql.EntityFrameworkCore.PostgreSQL from 10.0.3 to 10.0.4 Bumps Testcontainers.Kafka from 4.14.0 to 4.17.0 Bumps Testcontainers.PostgreSql from 4.14.0 to 4.17.0 Bumps Testcontainers.RabbitMq from 4.14.0 to 4.17.0 Bumps WolverineFx.EntityFrameworkCore from 6.32.0 to 6.65.1 Bumps WolverineFx.Kafka from 6.32.0 to 6.65.1 Bumps WolverineFx.Marten from 6.32.0 to 6.65.1 Bumps WolverineFx.Postgresql from 6.32.0 to 6.65.1 Bumps WolverineFx.RabbitMQ from 6.32.0 to 6.65.1 Bumps WolverineFx.RuntimeCompilation from 6.32.0 to 6.65.1 Bumps WolverineFx.Sqlite from 6.32.0 to 6.65.1 Bumps xunit.runner.visualstudio from 4.0.0 to 4.0.1 Bumps xunit.v3.extensibility.core from 4.0.0 to 4.0.3 --- updated-dependencies: - dependency-name: coverlet.collector dependency-version: 10.1.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Marten dependency-version: 9.63.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Microsoft.EntityFrameworkCore dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.DependencyInjection dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.Logging.Abstractions dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.EntityFrameworkCore.InMemory dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.EntityFrameworkCore.Sqlite dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.Hosting.Abstractions dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.Diagnostics.Testing dependency-version: 10.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.15 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Microsoft.Extensions.TimeProvider.Testing dependency-version: 10.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Microsoft.SourceLink.GitHub dependency-version: 10.0.404 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: MinVer dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: thessera-dependencies - dependency-name: Npgsql dependency-version: 10.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Npgsql.EntityFrameworkCore.PostgreSQL dependency-version: 10.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: Testcontainers.Kafka dependency-version: 4.17.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Testcontainers.PostgreSql dependency-version: 4.17.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: Testcontainers.RabbitMq dependency-version: 4.17.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.EntityFrameworkCore dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.Kafka dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.Marten dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.Postgresql dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.RabbitMQ dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.RuntimeCompilation dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: WolverineFx.Sqlite dependency-version: 6.65.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: thessera-dependencies - dependency-name: xunit.runner.visualstudio dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies - dependency-name: xunit.v3.extensibility.core dependency-version: 4.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: thessera-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
gaweCodes
pushed a commit
that referenced
this pull request
Nov 27, 2026
Take the updates proposed in Dependabot PRs #29 and #30: EF Core, Microsoft.Extensions.*, Npgsql and SourceLink patches within .NET 10, Marten 9.63, Wolverine 6.65.1, Testcontainers 4.17, RabbitMQ.Client 7.3.0, Microsoft.NET.Test.Sdk 18.12, coverlet 10.1.1 and MinVer 8. xunit.v3 stays aligned at 4.0.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
dependabot
Bot
deleted the
dependabot/nuget/thessera-dependencies-bb46360583
branch
November 27, 2026 22:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Updated coverlet.collector from 10.0.1 to 10.1.1.
Release notes
Sourced from coverlet.collector's releases.
10.1.1
Improvements
IsReachableto branch points, computed from the method's control-flow graph, and exclude unreachable branches from branch-coverage totals and from branch details in Cobertura, LCOV and OpenCover reports #2056 by @pcshrosbreeFixed
Maintenance
Diff between 10.1.0 and 10.1.1
10.1.0
Improvements
Fixed
Diff between 10.0.1 and 10.1.0
Commits viewable in compare view.
Updated Marten from 9.30.0 to 9.63.0.
Release notes
Sourced from Marten's releases.
9.63.0
Marten 9.63.0 is a bug-fix release from the 9.0 branch. Most of these fixes are for bugs reported by people outside the core team, and they're backported from the Marten 10 work.
Fixes
Aggregates read back in the same session
ProjectLateston an Async aggregate no longer stores a snapshot for the daemon to fold again (#6145, #6157). The stored snapshot ended up counting the session's events twice once the daemon caught up.FetchLateststill returns the current state right after the commit.FetchForWritingno longer applies the session's appended events twice (#6104, #6110).CacheAggregatesForWriting,FetchLatestorProjectLatestafterFetchForWritingand an append no longer leaves the write cache holding the folded aggregate (#6147, #6158). The nextFetchForWritingused to apply those events a second time.Guid(#6148, #6158):ProjectLatestno longer leaves the stored snapshot one event ahead.UseIdentityMapForAggregatesoff,FetchLatestandProjectLatestno longer throwDocumentIdTypeMismatchException.UseIdentityMapForAggregatesoff,FetchLatestafterFetchForWritingand a commit no longer returns the pre-commit Inline aggregate (#6106, #6110).Multi-tenancy
ForTenant, now get a stream each. They used to write into one stream (#6031, #6041).DeleteAllTenantDataAsyncno longer drops every tenant that shares the departing tenant's partition suffix (#6111, #6113).Other fixes
Execute()(#6034, #6038). Items it hadn't read yet now fail with the same exception, or are cancelled when its token was cancelled. Items read before the failure keep their results.GinIndexJsonData()declared afterGinIndexJsonDataMember()no longer overwrites the member index (#6017, #6028). The next migration creates the index that went missing.NullReferenceException(#6124, backported from #6121).FetchForWritingandFetchLatestby natural key used to return the stored document labelled with the stream's current version (#6124).Upgrade notes
Thanks to @esond and @Esquetta for the bug reports and fixes.
9.62.0
Marten 9.62.0 is a small bug-fix release on Weasel 9.51.0.
Fixes
SetFloor()can no longer be undone by an id fetch already in progress (#5998). Before this release, aNextLong()that had already reserved its next block could finish installing it afterSetFloor(n)returned. That handed out ids below the new floor, and under the same race an id could also be issued twice.SetFloor()now waits for that fetch and installs its own block after it. The fix is in Weasel 9.51.0 (weasel#849, weasel#853); there's no Marten code change.GetTenant()for an uncached tenant now checks for the tenant's database, and runsCREATE DATABASEwhen it's missing, with synchronous I/O on the calling thread. It used to block on the async path. The exception is aMultiplexingmaster connection, which Npgsql only supports asynchronously. Together with 9.61.0, all three per-tenant database tenancies (master table, single instance, sharded) now resolve known tenants without sync-over-async.No schema changes. Weasel goes from 9.50.0 to 9.51.0 (additive). JasperFx stays at 2.102.0.
What's Changed
Full Changelog: JasperFx/marten@V9.61.0...V9.62.0
9.61.0
Marten 9.61.0 is a bug-fix release for multi-tenancy. Its two themes are synchronous tenant resolution under load and sharded tenant assignments.
Behaviour change (see the migration guide, "Key Changes in 9.61.0", on the
9.0branch)Marten.Exceptions.AssignedShardNotFoundException(TenantId,DatabaseId) and doesn't reassign the tenant.Fixes
ForTenant(tenantId)resolve a tenant that isn't cached yet. They used to do that with sync-over-async, so a burst of first sessions for new tenants could stall the whole process. That burst is typical right after a deploy.Multiplexingcontrol database, which Npgsql only supports asynchronously.GetTenantAsync()before its first synchronous session.Repository and test-only
Disposetolerates a half-built context (#5976), and a MultiHostTests standby-replay fix (#5979).tests.ymland the docs checks on pull requests and pushes to9.0(#5977).No schema changes and no dependency changes: JasperFx 2.102.0 and Weasel 9.50.0, as in 9.60.0.
What's Changed
Full Changelog: JasperFx/marten@V9.60.0...V9.61.0
9.60.0
Marten 9.60.0 is a bug-fix release, mostly for LINQ correctness. Several queries that silently returned wrong results now return what LINQ to Objects returns. Shapes Marten can't translate exactly now throw
BadLinqExpressionExceptioninstead of returning the wrong rows.Behaviour changes (see the migration guide, "Key Changes in 9.60.0")
Count()afterTake()/Skip()counts the page.Skip(k).Take(n).Count()used to return 0, andTake(n).Count()the full count (#5920).Take()/Skip()beforeSelectMany()pages the parent documents, not the flattened rows (#5928).Select()afterSelectMany()projects the flattened rows. The projection used to be silently dropped (#5933).OrderBy()re-sorts the results, as LINQ does (#5959).OrderBy(x => -x.Number)are computed, including over child documents and joins, or refused. They used to sort by the underlying member (#5957, #5968).OrderBy()after a projection orders the projected values (#5955).OrderBy/Select/jaggedWhere. A negative index now throws (#5949).FetchForWriting()version conflict in the same save as aStartStream()now throwsEventStreamUnexpectedMaxEventIdException(aConcurrencyException) instead of a wrongExistingStreamIdCollisionException(#5914).Schema change
mt_get_next_hiis now an atomic increment (#5938). Under concurrent load, HiLo could use up its retry limit and throwHiloSequenceAdvanceToNextHiAttemptsExceededException. The function body changes, so your next schema migration applies it. Until then the old function keeps working.Other fixes
ReadSessionPreference, so a lagging standby can no longer make it skip events (#5888).BeginTransactionAsyncis cancelled or fails (#5881).Store()calls no longer stalls the process through thread-pool starvation (#5969).First/SingleafterSelectMany(#5921)Any()over aGroupJoinSelectManyover duplicated arrays (#5934) and enum arrays (#5940)LengthafterSelectMany(#5941)Select()(#5942)What's Changed
... (truncated)
9.59.0
Marten 9.59.0 moves to JasperFx 2.102.0 and Weasel 9.50.0. It adds read-only DCB tag queries on a query session, reports how old a projection's oldest unprocessed event is, and fixes a shutdown race in the explicit projection coordinator.
Highlights
EventsExistAsync,QueryByTagsAsyncandAggregateByTagsAsyncare now onIQuerySession.Events, so a read-only endpoint no longer needs a document session to read by tags (thanks to new contributor @alekbarszczewski, #5841).FetchForWritingByTagsstill needs a document session. Existing calls throughIDocumentSession.Eventsare unchanged, both in source and in compiled assemblies. A class that implementsMarten.Events.IQueryEventStoreitself has three more members to implement.IEventDatabase.FetchFirstEventTimestampsAfterAsync. It returns the timestamp of the oldest event a shard hasn't processed yet, in one round trip. CritterWatch uses it to report projection lag as time instead of a count of events (#5844).StopAsync/PauseAsynccalls, such as the second stop JasperFx'sRunCommandissues whenWebApplicationFactoryor Alba stops the host, no longer stop and dispose the same daemons twice or log "Error while trying to stop daemon agents". A start that overlaps a stop no longer starts a disposed daemon, and a daemon resolved during a stop is no longer dropped without being disposed (#5842, #5843).db-*commands (db-apply,db-assert,db-patch,db-dump,db-list) now appear and run there too. JIT applications see no change (#5840, #5845).AutoCreate, apply at startup,db-apply/resources setupas a deployment step, ordb-patchscripts for a DBA, with links to the Weasel CLI and JasperFx stateful resource docs (#5839).What's Changed
New Contributors
Full Changelog: JasperFx/marten@v9.58.0...V9.59.0
9.58.0
Marten 9.58.0 moves to JasperFx 2.100.0 and Weasel 9.49.0, and makes per-tenant composite rebuilds work on per-tenant partitioned stores.
Highlights
pk_mt_event_progression(#5829, #5833).FetchForExclusiveWritingin a batch throwsStreamLockedExceptionon a locked stream (thanks to new contributor @esond).LogFactoryis set when a customIMartenLoggeris configured.What's Changed
New Contributors
Full Changelog: JasperFx/marten@V9.57.0...v9.58.0
9.57.0
Highlights
ShouldDeleteorDeleteEvent<T>, used to lose its whole history to an empty snapshot. Compaction now leaves it alone and logs an information line. (#5797)IncludeStreamandIncludeEventsused to leave those rows in plain text and report success. (#5797)opts.Events.AutoDiscoverTagTypesturns off automatic DCB tag type registration, for stores that use strong-typed identifiers but not DCB. It's on by default, and explicitRegisterTagType<T>()calls work either way. Thanks to @gschuager for the report and the design. (#5806)EventStoreUsagereports the event store'sTenancyStyle, so a console can tell conjoined events from conjoined documents. (#5805)Action needed after upgrading
If you rely on masking for archived or skipped events: run the same
ApplyEventDataMaskingcall again. Data that was archived or skipped when you last ran it is still in plain text until you do.That call runs your rules again over everything the first pass reached. If a rule isn't safe to run twice, such as one that draws a new pseudonym, add
x.IsArchivedto anIncludeEventsfilter that still names the same subject:Never use
x.IsArchivedas the whole filter, because that masks every archived event in the store.If you compact streams: the deleted events can't be rebuilt from Marten. To find affected streams, replace
<schema>and run this, then restore those streams from a backup or from wherever an archiver copied them:An archiver closed over
IDocumentSessionwas never called for past compactions, so that copy won't exist.Behaviour changes
IncludeEventsnow includes archived events. A masking filter that needs only live events should add!x.IsArchived.IDocumentOperationsorIDocumentSessionnow throwsInvalidOperationExceptionbefore anything is queued. It used to be skipped silently, with the events deleted anyway. An archiver closed overIDocumentSessionis now called.ToParameterTypenow throws for an unmapped type where it used to return a character catch-all. An enum resolves through its underlying type, so along-backed enum givesBigint. Marten's own call sites are not affected.What's Changed
Full Changelog: JasperFx/marten@v9.56.0...V9.57.0
... (truncated)
9.56.0
What's Changed
Full Changelog: JasperFx/marten@V9.55.0...v9.56.0
9.55.0
Read before upgrading
Apps running under a Turkish or Azerbaijani culture (
tr-TR,az-AZ) with document types whose names contain an uppercaseI. Document aliases (#5778),DdlTemplatelookups and flat-table upsert function names (#5783) are now lowered with the invariant culture. Before this release, those cultures turnedIinto a dotlessı, so a document typeInvoicewas stored inmt_doc_ınvoice. From 9.55.0 it maps tomt_doc_invoice, and Marten will create that table empty. Rename the existing tables (and their upsert functions) to the invariant name before upgrading, or the existing documents will appear to be missing. Apps on any other culture are unaffected: the names they generate are unchanged.Behaviour change:
StoredDocument.Versionfor projection documents (#5773). For a mapping that usesUseVersionFromMatchingStreamwith revisions, the diagnostics version token is now<mt_version>:<mt_last_modified as epoch microseconds>(or an md5 of the document body when last-modified tracking is disabled). It used to bemt_versionalone, which did not change when the daemon rewrote the document at the same stream version. Anything that parsed the token as an integer must be updated. Undeleting a projection document through the diagnostics writer also no longer bumpsmt_versionpast the stream's version.Fixes worth calling out
x.Inner.Value, instead of falling back to the JSONB path.TrackConnections = TrackLevel.Verbose, amarten.append.eventactivity event is now emitted on every append route, including the Quick routes that are the V9 default. Expect more events per append than before.DatabaseSchemaNamethat is a reserved word or contains uppercase. Before, every schema apply after the first failed with42P07(weasel#750, contributed by @marc-RocketRez).StreamPagedByCursorwrites each page's bytes directly and disposes its pooled stream (#5776, @chrisbbe).What's Changed
New Contributors
Full Changelog: JasperFx/marten@v9.54.2...V9.55.0
9.54.2
What's Changed
New Contributors
Full Changelog: JasperFx/marten@V9.54.1...v9.54.2
9.54.1
Full Changelog: JasperFx/marten@V9.54.0...V9.54.1
9.54.0
Full Changelog: JasperFx/marten@v9.53.0...V9.54.0
9.53.0
9.53.0 is a minor release. It picks up JasperFx 2.94.0 and implements the three members that release adds, for CritterWatch's Document Store Explorer and Event Store Explorer (#5756).
New
IReadOnlyEventStore.QueryEventData<T>(tenantId)(jasperfx#1073): store-agnostic LINQ over the bodies of one event type, across every stream. It runs through the sharedDocumentQueryableExtensionsterminators (ToListAsync,CountAsync,AnyAsync,FirstOrDefaultAsync).QueryRawEventDataOnly<T>()under the shared name. Events in archived streams are excluded, as they are there.BadLinqExpressionExceptionnaming it.QueryStreamStates:NotSupportedException;IDocumentStoreDiagnosticsWriter.PreviewDocumentJsonAsync(jasperfx#1071): a dry run ofSaveDocumentJsonAsync.ExpectedVersion.DocumentTypeRef.IsSoftDeleted(jasperfx#1070):IDocumentStoreDiagnostics.DocumentTypesAsyncreports whether each type usesDeleteStyle.SoftDelete. A sub-class reports its root mapping's delete style.Compliance
EventDataQueryComplianceis newly enrolled.ReportsDocumentDeleteStyleandSupportsDocumentWritePreviewgates are on.Dependencies
9.52.0
Highlights and behaviour changes
Built on JasperFx 2.93.1.
mt_event_projection_floors. Every event store gets this table as a schema migration on its nextapply (#5740). It holds the persisted projection start floors behind the new
AsyncOptions.SubscribeFromFirstRun().A database whose schema has not been migrated yet keeps starting its projections exactly as before. Floors survive
DeleteAllDocumentsAsync,DeleteAllEventDataAsyncandResetAllData, and they are removed along with a tenant.StoreOptions.Advanced.ExceptionTransforms(#5682). Register your own exception transforms, consultedbefore Marten's built-in ones, to turn a
PostgresExceptionwith your own SQLSTATE into a typed exception.UndeleteDocumentAsync), and ordera document page by last modified, numeric revision or created time ("newest first").
shard reports
ShardFailureCategory.ApplyEventand names the event, where it used to reportOtherwith no event.It is still not dead-lettered, and it was never retried before either.
IEventStore.PreviewHighWaterAdvanceAsync/AdvanceHighWaterMarkToLatestAsync(#5738): preview, thenadvance, the high-water mark to the latest event, the store-agnostic operation CritterWatch calls.
UseTenantPartitionedEventsno longer fails with23503, whether the store has DCB tagrows (#5720) or a
[NaturalKey]aggregate (#5742);intpastint.MaxValue, soILongVersionedworks as #4526 advised (#5723);
UndoDeleteWhere/HardDeleteWhereno longer cause a falseConcurrencyExceptionon a numeric-revision writelater in the same session (#5743).
Aspire.AppHost.Sdk13.6.3 with a PostgreSQL resource. The NuGet publish workflow nolonger installs the obsolete aspire workload (#5724).
What's Changed
Full Changelog: JasperFx/marten@v9.51.0...v9.52.0
9.51.0
What's Changed
Full Changelog: JasperFx/marten@V9.50.3...v9.51.0
9.50.3
The Native AOT and hard-delete release. One new feature on the event store, two schema-naming fixes that could not be worked around, and three behaviour changes — read those before upgrading.
New
TombstoneStream— a hard stream delete (#5673, #5674).session.Events.TombstoneStream(id)queues a single-statement delete of a stream's tag rows, its events and its stream row — plus themt_streams_identityrow under strict identity enforcement — scoped to the session tenant under conjoined tenancy. The event sequence is never touched, and projected documents are deliberately left alone. Queued untilSaveChangesAsync, like every other write.It is on the shared
IEventStoreOperationscontract as a default member that throwsNotSupportedException, so a store without a hard delete stays source-compatible, and the sharedStreamTombstoningCompliancesuite now runs against Marten.DCB tag types can be registered for Native AOT (#5649, #5674, #5676).
RegisterTagType<TTag>()discovers the tag's inner type by reflecting over its members and closes a generic registration at runtime, neither of which a native image can do — so a store with a DCB tag type could not even be configured under AOT.Naming the inner type closes the generic at compile time and the unwrapper replaces the reflection. The suffix is optional and defaults to the tag type's own name, so for a tag the inferring overload could register, this one registers the same inner type and the same table. It works identically under a JIT.
The inferring overloads are now annotated
[RequiresUnreferencedCode]/[RequiresDynamicCode], and — because an analyzer warning only reaches an application that is itself AOT-analyzed, while a store configured from inside a library gets nothing — a failure at runtime now throws naming the exact line to write, keeping the original exception as its inner exception. Automatic tag registration from projection identities logs a warning naming the same line, including the projection'sForAggregate<T>().With explicit registrations, tagging, tag rules,
EventTagQuery,EventsExistAsync,AggregateByTagsAsyncandFetchForWritingByTagsinto a[BoundaryAggregate]all run from a native binary. A CI job publishes and runs them.Fixed
A custom foreign key name is no longer discarded under conjoined tenancy (#5672, #5678). Moving
tenant_idto the front of a document foreign key regenerated the key's name unconditionally, so a name set through theforeignKeyConfigurationcallback was thrown away. That is what made the identifier-length failure unfixable: the exception tells you to override the database object name, and overriding it had no effect. A generated name is still regenerated; a chosen one survives, as does the name of aForeignKeyadded by hand.Archiving a tagged stream no longer fails with a foreign key violation (#5675, #5679). With
UseArchivedStreamPartitioningon and any DCB tag type registered,ArchiveStreamcame back as23503. Eachmt_event_tag_*table is partitioned byis_archivedand carries a composite foreign key tomt_events;mt_archive_streammoved the events between partitions without moving the tag rows that referenced them. It now moves them, in the order that keeps both sides of a non-deferrable key consistent at every statement.AllObjects()no longer applies the Hi-Lo DDL (#5665, #5670). Describing the schema provisioned part of it. The describing seam is now separate from the applying one, and is proven offline against an unreachable host.A failed Rebuild-mode run can be restarted and finished from its committed progress (#5668, #5669).
Performance
id = ANY($1)that could only return no rows, plus a second connection with the defaultUseIdentityMapForAggregates = false. The same guard removes a wasted round trip from an async daemon batch whose slices all hit the aggregate write cache.Behaviour changes
An empty DCB tag table suffix is refused.
RegisterTagType<T>("")used to be accepted and namedmt_event_tag_— a real table that every tag type registered that way would share. Pass a suffix, ornullfor the tag type's own name.A tag type that cannot be read now throws
InvalidOperationException, with the originalInvalidValueTypeExceptionas its inner exception, and a message naming the explicit registration. This happens whether or not dynamic code is available, because the same exception means "not a single-value wrapper" under a JIT and "the members were trimmed away" in a trimmed image, and nothing at runtime tells those apart.Document foreign key and index names longer than 63 characters are shortened with a deterministic hash suffix, the same treatment the document table's primary key already got. If you raised PostgreSQL's
NAMEDATALENand have a foreign key or index whose generated name is between 64 characters and your own limit, that object will be renamed and you will see it in a migration diff.Known, not fixed
DCB tag queries return archived events, where every other event query excludes them by default — #5677. It matters most for
EventsExistAsync, which is what a consistency boundary assertion is built on: an archived stream still answers yes. Independent of storage mode and of archived-stream partitioning.Dependencies
... (truncated)
9.50.2
A maintenance release. Nothing in a shipped Marten package changed, and nothing here requires a configuration or code change.
Dependencies
System.Security.Cryptography.Pkcs). Npgsql doesn't bring that package in. Every finding was in the Nuke build tool or the samples:System.Security.Cryptography.Pkcs,System.Security.Cryptography.XmlandNuGet.Packaging.EventPublishersample and the Aspire sample moved from 1.8.x to 1.19.x.The same advisory does reach Polecat and Weasel's SQL Server and Oracle packages, through their database drivers. Those are fixed in Polecat 5.40.2 and Weasel 9.45.1.
9.50.1
A patch release with one addition, for Wolverine's agent assignment. Nothing here requires a configuration or code change.
Event store
IEventStore.TryDescribeDatabasesAsync()is answered straight from the tenancy (#5664). JasperFx 2.87.1 adds this narrower call, the database half ofTryCreateUsage(). It returns each database's server, name and tenant ids without reading the highest event sequence or describing every projection, subscription, event type and tag type. Wolverine 6.50.0 asks for it on every leader heartbeat, for every store, where it used to build the full usage (JasperFx/wolverine#5002). It follows on from #5652, so thanks again to @uniquelau for a report that came with the heartbeat maths already done.Dependencies
9.50.0
A bug-fix release. Nothing here requires a configuration or code change, but three things change what an application observes — read the box below before upgrading.
LINQ —
Include()joined on the queried document's own idThree separate defects in the same corner, found by pulling on the first one. An
Include()joined on the queried document's own id builds a temp table, and that temp table was missing the id it is joined on.42703: column d.id does not existin a query session when the queried document had any duplicated field. Lightweight, identity-map and dirty-tracked sessions were unaffected. Thanks to @Blackclaws for the report and the fix (#5651).42703, in a query session, when the query also calledStats(). Unlike #5650 this did not depend on a duplicated field;Stats()wraps the select clause, which hid it from the check that puts the id back.Stats()with anInclude()and aSelect()projection reportedTotalResultsas the size of the page rather than the number of matches, wheneverTake()was used. No exception, just a wrong number, on every session kind. The temp table already held the correct count — PostgreSQL evaluates a window function beforeLIMIT— but re-applying the projection emitted a secondcount(*) over()against the already-truncated temp table.If you page a projected grid with
Stats()andInclude(), #5654 is the one to read.Event store
ERRORfor every attempt; underUseWolverineManagedEventSubscriptionDistributionthe leader does this for every store on a ten-second heartbeat, which is tens of thousands of server-sideERRORlines a day for a store that can never hold an event. Marten now asks the catalog first, so nothing reaches the server log. Thanks to @uniquelau for a report that came with the heartbeat maths already done.IEventStore.FindDatabaseForTenantAsync, so a caller waiting on or querying a single tenant touches only that tenant's database instead of all of them. Goes throughITenancy.TryFindDatabase, neverFindOrCreateDatabase, so a lookup cannot bring an unknown tenant into existence.Native AOT
#5649 (partial) — a DCB
[BoundaryAggregate]fetch failed natively withMissingMethodException, becauseEventGraph.Build<TDoc>()closedSingleStreamProjection<,>at runtime even though both type arguments were known at compile time. And tag-type auto-discovery swallowed the AOT failure in the same breath as a benign one, leaving a store running with the tag type quietly absent; it now says so. Verified by publishing and running the native binary, not by a clean publish.Still open:
RegisterTagType<TTag>()closes its own open generic and remains broken under Native AOT. That needs a reflection-free construction path in JasperFx.Events plus a new overload — see the discussion on #5649. Thanks to @skoging for an unusually thorough report, with native runs and three costed alternatives.Dependencies
db-patchdrop files no longer drop every schema withCASCADE; they roll back only what the patch touched (weasel#706). This changes what an existing drop file does. Primary keys can also now be added to and removed from existing tables (weasel#707).Known issue
Stats()withInclude()and aSelect()projection is fixed here, but note that theInclude()itself still follows the page, not the match set — it reads from the same truncated temp table. Only the statistics column outlives theTake(). That is existing, intended behaviour; it is called out because #5654 makes the distinction visible for the first time.9.49.0
The LINQ projection surface works under Native AOT
The theme of this release. #5624 came in as "a projection into an anonymous type cannot be
materialized under Native AOT". Publishing
Marten.AotRuntimeSmokenatively and running it showedsomething much wider: every
Select()projection into a new object failed from a native binary,a named DTO exactly as hard as an anonymous one, and it failed before the serializer was ever
reached.
A projection is parsed out of an expression tree, so the parser only has
selectExpression.Typeandclosed its select clause over that
TypewithMakeGenericType+Activator.CreateInstance— thedefect class of #5328, one step later in the pipeline. Only a bare
stringscalar survived, becauseits clause happens not to be generic, which is what made the surface look healthy.
Shapes that threw from a native binary before this release and run now:
Select(x => new Summary { ... })— a named DTOSelect(x => x.Lines)— a collection member, and the element type of aSelectMany(x => x.Lines)Select(x => x.Amount)for every framework scalar type,decimal?and the other nullable ones includedSelect(x => x.Status)andMaxAsync(x => x.Status)for an enum of your own — see the one line belowGroupBy(...).Select(g => new Tally { ... })The fix is
SelectClauseResolvers, which does for projected types what #5328'sDocumentStorageResolversdoes for document types: a registry populated fromMartenLinqQueryable<T>'s constructor, which every projected type reaches becauseQueryable.Select<TSource, TResult>()asks the provider forCreateQuery<TResult>(). The reflectivepath remains the fallback wherever a JIT is available, so nothing changes for JIT-mode apps.
One line for an enum or struct of your own
Marten's scalar select clause is declared
where T : structand the registration point aboveconstrains its own
Ttonotnull, so Marten can root the scalar types it renders itself —decimal,Guid,DateOnlyand the rest need nothing — but not one out of your assembly:Only bare scalar projections need it. Projecting the same enum as a member of a named type, and
filtering on it, never did. When the registration is missing, the failure now names that exact call
instead of reporting a missing parameterless constructor on an internal generic.
An anonymous projection is refused with the remedy
With a source-generated
JsonSerializerContextassigned to... (truncated)
9.48.0
Document diagnostics: filter and order by document properties (jasperfx#869, #5631)
IDocumentStoreDiagnostics.QueryDocumentsAsyncnow appliesDocumentQueryOptions.Where/OrderBy/Argumentsinstead of refusing them. The text goes ontoQuery<T>()through JasperFx 2.84.0's Dynamic LINQ helper, so member casing, enum storage, duplicated fields, conjoined tenancy, soft deletes and hierarchies are Marten's own; only the SELECT list is swapped for the diagnostics read's columns, so the JSON comes back byte-exact with its metadata, and the total counts the filtered rows. Operator text is never spliced into SQL, and the read issues no DDL.Measured against a LINQ-to-objects oracle over 83 shapes and three storage configurations; every shape is either right or refused:
<>/ a negated comparison on a nullable member unless the text says what null should do (JasperFx'sSqlNullSemantics). Date-part members and inlinein (…)lists are refused honestly by the provider.DateTimearguments compare correctly againsttimestamp without time zonelocators.Fixes
Count/LongCountpredicates through the Where parser, with null semantics and bound parameters (#5625).StartStreamthat loses a race for the same stream id now throwsExistingStreamIdCollisionExceptioninstead of a raw 23505, soQuickWithServerTimestampsbehaves like Rich and Quick (#5628).Dependencies
JasperFx 2.84.0
9.47.0
The
FetchForWriting/FetchLatestconsistency release, plus a bounded async-daemon shutdown.Read the behaviour changes before upgrading. Two of them can change how your projections and
subscriptions behave on every deployment, and two more refuse a batch shape that used to be accepted.
Subscription and projection drains are now bounded by
StopAndDrainTimeout([#5610])Via JasperFx 2.81.0 (jasperfx#953 and jasperfx#983). When a shard stops — host shutdown, or reassignment
to another node — the page in flight finishes, pages still queued are skipped and resumed by the next
owner from committed progression, and a page still running at
Projections.StopAndDrainTimeout(default 5 seconds) is cancelled with its transaction rolled back.
This fixes a real failure: a node that loses a shard's lock no longer keeps applying its backlog
alongside the new owner, an overlap that could end in
ProgressionProgressOutOfOrderExceptionand aStopped shard. Graceful shutdown is also bounded now, rather than waiting out the whole backlog and
potentially overrunning a Kubernetes termination grace period.
If your projection or subscription pages take longer than 5 seconds, raise the timeout:
Otherwise those pages are cancelled and re-processed on every shutdown and rebalance. Delivery was
always at-least-once, so no guarantee changed, but duplicates become much more likely — and side effects
performed outside the Marten session (HTTP calls, sends that bypass the transactiona...
Description has been truncated