Skip to content

Bump coverlet.collector and 29 others - #30

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/thessera-dependencies-bb46360583
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/thessera-dependencies-bb46360583

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

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

  • Add IsReachable to 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 @​pcshrosbree
  • coverlet.MTP: Narrow Dynamic Exclude Filters for Loaded Assemblies #​2069

Fixed

  • Fix Regression Prevent invalid IL from branch trampolines #​2067
  • Fix Regression coverlet.MTP does not instrument local functions #​2046

Maintenance

  • Update NuGet package versions #​2050

Diff between 10.1.0 and 10.1.1

10.1.0

Improvements

  • Publish Microsoft.Testing.Platform coverage messages from coverlet.MTP #​2019
  • Implement dynamic exclusion filters for assemblies (Coverlet.MTP) #​1946
  • Replace legacy .sln files with modern .slnx format #​1966
  • coverlet.console: add trace diagnostics and actionable warnings for instrumentation/hit/empty-result failures #​2005
  • Relax auto-property skip logic and improve coverage for records #​1941

Fixed

  • Fix coverlet.MTP does not collect coverage on the .NET Framework portion of a large project #​1980 #​1967
  • Fix Regression in branch coverage for lambda expressions #​1938
  • Fix When using "is" with "or" in pattern matching, branch coverage is lower than normal #​1979
  • Fix silent zero coverage on .NET Framework since 8.0.0 #​1985 by @​tobiwae
  • Fix Race condition between ProcessExit hit-file write and out-of-proc coverage read causes EndOfStreamException #​1987 #​1988 by @​bkoelman
  • Fix Regression TypeInitializationException when targeting .NET Framework - Could not load type 'System.Collections.Concurrent.ConcurrentBag #​2010
  • Fix use --config-file CLI arg in coverlet.MTP #​2030 by @​alexthornton1
  • Fix silently empty coverage for shared-framework assemblies missing from compileLibraries #​2032 by @​Eljees

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

  • ProjectLatest on 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. FetchLatest still returns the current state right after the commit.
  • Reading a Live or Async aggregate after FetchForWriting no longer applies the session's appended events twice (#​6104, #​6110).
  • With CacheAggregatesForWriting, FetchLatest or ProjectLatest after FetchForWriting and an append no longer leaves the write cache holding the folded aggregate (#​6147, #​6158). The next FetchForWriting used to apply those events a second time.
  • Inline aggregates with a strong-typed id, read by the stream's Guid (#​6148, #​6158):
    • ProjectLatest no longer leaves the stored snapshot one event ahead.
    • With UseIdentityMapForAggregates off, FetchLatest and ProjectLatest no longer throw DocumentIdTypeMismatchException.
  • On an identity session with UseIdentityMapForAggregates off, FetchLatest after FetchForWriting and a commit no longer returns the pre-commit Inline aggregate (#​6106, #​6110).

Multi-tenancy

  • Two tenants appending to the same stream id in one save, through ForTenant, now get a stream each. They used to write into one stream (#​6031, #​6041).
  • DeleteAllTenantDataAsync no longer drops every tenant that shares the departing tenant's partition suffix (#​6111, #​6113).

Other fixes

  • Batch query items no longer hang after a failed 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 after GinIndexJsonDataMember() no longer overwrites the member index (#​6017, #​6028). The next migration creates the index that went missing.
  • DCB tags and async side effects: in a store that registers a DCB tag type, an async projection side effect that appended events no longer fails every batch with a NullReferenceException (#​6124, backported from #​6121).
  • A fetch by natural key on an Async snapshot now includes the events after the snapshot. FetchForWriting and FetchLatest by natural key used to return the stored document labelled with the stream's current version (#​6124).
  • The event store explorer and CritterWatch's projection stepper now read and write through the store's serializer, so custom JSON configuration is honoured (#​6107, #​6110).
  • Duplicated-field upsert arguments and tracing event names are lowercased invariantly, independent of the machine's culture (#​6103, #​6110).

Upgrade notes

  • No schema changes, except that a missing GIN member index is created on the next migration if you were affected by #​6017.
  • JasperFx stays at 2.102.0, and Weasel at 9.51.0.

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

  • HiLo SetFloor() can no longer be undone by an id fetch already in progress (#​5998). Before this release, a NextLong() that had already reserved its next block could finish installing it after SetFloor(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.
  • Single instance tenancy no longer starves the thread pool on a tenant's first synchronous session (#​5985). GetTenant() for an uncached tenant now checks for the tenant's database, and runs CREATE DATABASE when it's missing, with synchronous I/O on the calling thread. It used to block on the async path. The exception is a Multiplexing master 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.0 branch)

  • Sharded tenancy never reassigns a tenant that already has a shard (#​5995). A store that hadn't loaded the database pool could re-run the assignment strategy for an already-assigned tenant. It then overwrote the assignment, moving the tenant to another shard while its data stayed on the old one. Two processes racing to assign the same new tenant could also end up on different shards. An existing assignment is now final. If the assigned shard is missing from the pool, Marten throws the new Marten.Exceptions.AssignedShardNotFoundException (TenantId, DatabaseId) and doesn't reassign the tenant.

Fixes

  • No more thread-pool starvation on the first synchronous session for a tenant. The synchronous session factories and 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.
    • Master table tenancy reads the tenant's row with synchronous I/O (#​5985). The exception is a Multiplexing control database, which Npgsql only supports asynchronously.
    • Sharded tenancy resolves a tenant that already has its shard, partitions and event sequence with synchronous I/O (#​5986). New tenants, repairs and the first resolution in a process still take the async path.
    • Single instance tenancy isn't fixed yet. The guidance is in the multi-tenancy docs: warm known tenants at startup, or resolve a new tenant with GetTenantAsync() before its first synchronous session.

Repository and test-only

  • The test harness's Dispose tolerates a half-built context (#​5976), and a MultiHostTests standby-replay fix (#​5979).
  • CI now runs tests.yml and the docs checks on pull requests and pushes to 9.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 BadLinqExpressionException instead of returning the wrong rows.

Behaviour changes (see the migration guide, "Key Changes in 9.60.0")

  • LINQ Count() after Take()/Skip() counts the page. Skip(k).Take(n).Count() used to return 0, and Take(n).Count() the full count (#​5920).
  • LINQ Take()/Skip() before SelectMany() pages the parent documents, not the flattened rows (#​5928).
  • LINQ Select() after SelectMany() projects the flattened rows. The projection used to be silently dropped (#​5933).
  • LINQ ordering:
    • A second OrderBy() re-sorts the results, as LINQ does (#​5959).
    • Computed keys such as 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).
  • LINQ indexes into document arrays translate in OrderBy/Select/jagged Where. A negative index now throws (#​5949).
  • A failed save reports the failing operation's exception. A FetchForWriting() version conflict in the same save as a StartStream() now throws EventStreamUnexpectedMaxEventIdException (a ConcurrencyException) instead of a wrong ExistingStreamIdCollisionException (#​5914).
  • DCB: a boundary save no longer conflicts with boundaries it didn't change. There's also an opt-in scope that conflicts by event type (#​5887).

Schema change

  • mt_get_next_hi is now an atomic increment (#​5938). Under concurrent load, HiLo could use up its retry limit and throw HiloSequenceAdvanceToNextHiAttemptsExceededException. The function body changes, so your next schema migration applies it. Until then the old function keeps working.

Other fixes

  • The async daemon loads events from the primary under ReadSessionPreference, so a lagging standby can no longer make it skip events (#​5888).
  • A session no longer leaks a pooled connection when BeginTransactionAsync is cancelled or fails (#​5881).
  • A HiLo type's first burst of synchronous Store() calls no longer stalls the process through thread-pool starvation (#​5969).
  • More LINQ shapes now work:
    • First/Single after SelectMany (#​5921)
    • Any() over a GroupJoin
    • SelectMany over duplicated arrays (#​5934) and enum arrays (#​5940)
    • string Length after SelectMany (#​5941)
    • computed top-level Select() (#​5942)
    • static members and array indexing inside predicates (#​5943)
    • ordering by a value that reads nothing from the document (#​5950)

What's Changed

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

  • DCB tag queries through a query session: EventsExistAsync, QueryByTagsAsync and AggregateByTagsAsync are now on IQuerySession.Events, so a read-only endpoint no longer needs a document session to read by tags (thanks to new contributor @​alekbarszczewski, #​5841). FetchForWritingByTags still needs a document session. Existing calls through IDocumentSession.Events are unchanged, both in source and in compiled assemblies. A class that implements Marten.Events.IQueryEventStore itself has three more members to implement.
  • Pending event ages: Marten implements JasperFx 2.102.0's 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).
  • Explicit projection coordinator shutdown race: overlapping StopAsync / PauseAsync calls, such as the second stop JasperFx's RunCommand issues when WebApplicationFactory or 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).
  • The command line under Native AOT: JasperFx 2.101.0 runs the command line from a Native AOT binary, and with Weasel 9.50.0 the 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).
  • Docs: schema management now explains when to use lazy AutoCreate, apply at startup, db-apply / resources setup as a deployment step, or db-patch scripts 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

  • Per-tenant composite rebuilds: composite members' per-tenant progression is reset before a per-tenant rebuild, and a store-wide composite rebuild under per-tenant partitioning no longer fails on pk_mt_event_progression (#​5829, #​5833).
  • Cursor paging: the configured identity is honored, value-type keys work (thanks to new contributor @​BinaryTENSHi), and a nullable sort key with null rows is paged correctly instead of silently dropping rows (#​5836).
  • FetchForExclusiveWriting in a batch throws StreamLockedException on a locked stream (thanks to new contributor @​esond).
  • DCB tag queries exclude archived events.
  • An async fetch no longer folds events onto a document the session can reach.
  • LogFactory is set when a custom IMartenLogger is configured.
  • Compliance: takes JasperFx 2.100.0's compliance additions (#​5827), and a per-tenant composite rebuild stress harness reports peak physical footprint.

What's Changed

New Contributors

Full Changelog: JasperFx/marten@V9.57.0...v9.58.0

9.57.0

Highlights

  • Compaction no longer deletes the history of a stream that folds to null. A stream deleted by its own aggregate, through ShouldDelete or DeleteEvent<T>, used to lose its whole history to an empty snapshot. Compaction now leaves it alone and logs an information line. (#​5797)
  • Event data masking now reaches archived and skipped events. IncludeStream and IncludeEvents used to leave those rows in plain text and report success. (#​5797)
  • opts.Events.AutoDiscoverTagTypes turns off automatic DCB tag type registration, for stores that use strong-typed identifiers but not DCB. It's on by default, and explicit RegisterTagType<T>() calls work either way. Thanks to @​gschuager for the report and the design. (#​5806)
  • EventStoreUsage reports the event store's TenancyStyle, so a console can tell conjoined events from conjoined documents. (#​5805)
  • JasperFx 2.98.0 and Weasel 9.48.0.

Action needed after upgrading

If you rely on masking for archived or skipped events: run the same ApplyEventDataMasking call 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.IsArchived to an IncludeEvents filter that still names the same subject:

x.IncludeEvents(e => e.StreamId == streamId && e.IsArchived)

Never use x.IsArchived as 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:

select stream_id, version, tenant_id
from <schema>.mt_events
where mt_dotnet_type like 'JasperFx.Events.Compacted%'
  and 'null'::jsonb in (data->'Snapshot', data->'snapshot');

An archiver closed over IDocumentSession was never called for past compactions, so that copy won't exist.

Behaviour changes

  • IncludeEvents now includes archived events. A masking filter that needs only live events should add !x.IsArchived.
  • An events archiver closed over anything other than IDocumentOperations or IDocumentSession now throws InvalidOperationException before anything is queued. It used to be skipped silently, with the events deleted anyway. An archiver closed over IDocumentSession is now called.
  • Weasel 9.48.0: ToParameterType now throws for an unmapped type where it used to return a character catch-all. An enum resolves through its underlying type, so a long-backed enum gives Bigint. 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 uppercase I. Document aliases (#​5778), DdlTemplate lookups and flat-table upsert function names (#​5783) are now lowered with the invariant culture. Before this release, those cultures turned I into a dotless ı, so a document type Invoice was stored in mt_doc_ınvoice. From 9.55.0 it maps to mt_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.Version for projection documents (#​5773). For a mapping that uses UseVersionFromMatchingStream with 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 be mt_version alone, 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 bumps mt_version past the stream's version.

Fixes worth calling out

  • HiLo ids recover after an outage (#​5784). If the first id allocation on a fresh store hit a database outage, every later allocation on that store rethrew the same exception after the database came back. Thanks to @​kentcooper for the report and the reproduction the regression test is built from.
  • Subclass queries use nested duplicated-field columns (#​5777). A query on a subclass now uses the duplicated column for a nested member such as x.Inner.Value, instead of falling back to the JSONB path.
  • Verbose connection tracing (#​5772). With TrackConnections = TrackLevel.Verbose, a marten.append.event activity event is now emitted on every append route, including the Quick routes that are the V9 default. Expect more events per append than before.
  • Weasel 9.47.1 fixes index readback for a DatabaseSchemaName that is a reserved word or contains uppercase. Before, every schema apply after the first failed with 42P07 (weasel#​750, contributed by @​marc-RocketRez).
  • StreamPagedByCursor writes 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 shared DocumentQueryableExtensions terminators (ToListAsync, CountAsync, AnyAsync, FirstOrDefaultAsync).
    • It is QueryRawEventDataOnly<T>() under the shared name. Events in archived streams are excluded, as they are there.
    • An untranslatable member is refused with BadLinqExpressionException naming it.
    • The tenant rule is the same as QueryStreamStates:
      • a non-null tenant without conjoined event tenancy throws NotSupportedException;
      • with conjoined tenancy, a non-null tenant scopes the query to that tenant;
      • null uses the session's tenant.
  • IDocumentStoreDiagnosticsWriter.PreviewDocumentJsonAsync (jasperfx#​1071): a dry run of SaveDocumentJsonAsync.
    • It shares the save's type resolution, deserialization and id check, so it refuses exactly what a save refuses.
    • It returns the JSON as the store's serializer (System.Text.Json or Newtonsoft) would store it, so a console can show that a member is about to be dropped.
    • It opens no session and ignores ExpectedVersion.
  • DocumentTypeRef.IsSoftDeleted (jasperfx#​1070): IDocumentStoreDiagnostics.DocumentTypesAsync reports whether each type uses DeleteStyle.SoftDelete. A sub-class reports its root mapping's delete style.

Compliance

  • EventDataQueryCompliance is newly enrolled.
  • The ReportsDocumentDeleteStyle and SupportsDocumentWritePreview gates are on.

Dependencies

  • JasperFx, JasperFx.Events, JasperFx.Events.ComplianceTests, JasperFx.SourceGenerator and JasperFx.Events.SourceGenerator: 2.93.1 → 2.94.0 (release notes).

9.52.0

Highlights and behaviour changes

Built on JasperFx 2.93.1.

  • New table: mt_event_projection_floors. Every event store gets this table as a schema migration on its next
    apply (#​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, DeleteAllEventDataAsync and ResetAllData, and they are removed along with a tenant.
  • New option: StoreOptions.Advanced.ExceptionTransforms (#​5682). Register your own exception transforms, consulted
    before Marten's built-in ones, to turn a PostgresException with your own SQLSTATE into a typed exception.
  • Document diagnostics for CritterWatch (#​5740): restore a soft-deleted document (UndeleteDocumentAsync), and order
    a document page by last modified, numeric revision or created time ("newest first").
  • A permanent database error in projection code is now attributed to the event that hit it (#​5741). The paused
    shard reports ShardFailureCategory.ApplyEvent and names the event, where it used to report Other with no event.
    It is still not dead-lettered, and it was never retried before either.
  • IEventStore.PreviewHighWaterAdvanceAsync / AdvanceHighWaterMarkToLatestAsync (#​5738): preview, then
    advance, the high-water mark to the latest event, the store-agnostic operation CritterWatch calls.
  • Fixes:
    • removing a tenant under UseTenantPartitionedEvents no longer fails with 23503, whether the store has DCB tag
      rows (#​5720) or a [NaturalKey] aggregate (#​5742);
    • a multi-stream projection's revision is no longer truncated through int past int.MaxValue, so ILongVersioned
      works as #​4526 advised (#​5723);
    • UndoDeleteWhere / HardDeleteWhere no longer cause a false ConcurrencyException on a numeric-revision write
      later in the same session (#​5743).
  • The Aspire sample now uses Aspire.AppHost.Sdk 13.6.3 with a PostgreSQL resource. The NuGet publish workflow no
    longer 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.

Note on these notes. They were rewritten after publication. 9.50.3 was cut as the JasperFx 2.90.1 dependency bump, but five pull requests had merged in the minutes before the tag, so the tag carried all of them too. The original notes described only the dependency bump and said no code change was needed. Everything below is what 9.50.3 actually contains; nothing about the published packages changed.

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 the mt_streams_identity row 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 until SaveChangesAsync, like every other write.

    It is on the shared IEventStoreOperations contract as a default member that throws NotSupportedException, so a store without a hard delete stays source-compatible, and the shared StreamTombstoningCompliance suite 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.

    opts.Events.RegisterTagType<StudentId, Guid>(x => x.Value, "student")
        .ForAggregate<StudentCourseEnrollment>();

    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's ForAggregate<T>().

    With explicit registrations, tagging, tag rules, EventTagQuery, EventsExistAsync, AggregateByTagsAsync and FetchForWritingByTags into 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_id to the front of a document foreign key regenerated the key's name unconditionally, so a name set through the foreignKeyConfiguration callback 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 a ForeignKey added by hand.

  • Archiving a tagged stream no longer fails with a foreign key violation (#​5675, #​5679). With UseArchivedStreamPartitioning on and any DCB tag type registered, ArchiveStream came back as 23503. Each mt_event_tag_* table is partitioned by is_archived and carries a composite foreign key to mt_events; mt_archive_stream moved 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

  • A commit that only starts streams no longer queries for a snapshot that cannot exist (#​5671, thanks @​lahma). An inline single-stream projection asks storage only for the ids of streams being appended to, so a start-only commit passed an empty id array — and still paid a round trip on id = ANY($1) that could only return no rows, plus a second connection with the default UseIdentityMapForAggregates = false. The same guard removes a wasted round trip from an async daemon batch whose slices all hit the aggregate write cache.

Behaviour changes

  1. An empty DCB tag table suffix is refused. RegisterTagType<T>("") used to be accepted and named mt_event_tag_ — a real table that every tag type registered that way would share. Pass a suffix, or null for the tag type's own name.

  2. A tag type that cannot be read now throws InvalidOperationException, with the original InvalidValueTypeException as 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.

  3. 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 NAMEDATALEN and 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

  • The NuGet vulnerability audit is clean (#​5666). Marten's shipped packages were never affected by GHSA-846f-f764-76mx (CVE-2026-84008, System.Security.Cryptography.Pkcs). Npgsql doesn't bring that package in. Every finding was in the Nuke build tool or the samples:
    • The build tool now uses patched System.Security.Cryptography.Pkcs, System.Security.Cryptography.Xml and NuGet.Packaging.
    • The OpenTelemetry packages used by the EventPublisher sample 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 of TryCreateUsage(). 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

  • JasperFx 2.87.1.

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.

Observable changes

  • TotalResults changes value for Stats() + Include() + Select() + Take(). It was reporting the size of the page; it now reports the number of matches (#​5654). If you compute page counts from it, those counts change — to the correct ones.
  • A new warning may appear at startup if tag-type auto-discovery cannot register a projection's identity type. That condition is not new; it was previously silent (#​5649).
  • db-patch drop files no longer DROP ... CASCADE every schema — they roll back only what the patch touched (Weasel 9.45.0, weasel#​706). This is the one to look at if you apply drop files in an environment you care about.

LINQ — Include() joined on the queried document's own id

Three 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.

  • #​5650 — failed with 42703: column d.id does not exist in 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).
  • #​5653 — the same 42703, in a query session, when the query also called Stats(). 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.
  • #​5654 — Stats() with an Include() and a Select() projection reported TotalResults as the size of the page rather than the number of matches, whenever Take() 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 before LIMIT — but re-applying the projection emitted a second count(*) over() against the already-truncated temp table.

If you page a projected grid with Stats() and Include(), #​5654 is the one to read.

Event store

  • #​5652 — a store with no event types and no projections never has its event tables migrated, so building a usage descriptor asked Postgres for a table that was not there. Marten swallowed the failure, but Postgres logged an ERROR for every attempt; under UseWolverineManagedEventSubscriptionDistribution the leader does this for every store on a ten-second heartbeat, which is tens of thousands of server-side ERROR lines 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.
  • #​5658 — IEventStore.FindDatabaseForTenantAsync, so a caller waiting on or querying a single tenant touches only that tenant's database instead of all of them. Goes through ITenancy.TryFindDatabase, never FindOrCreateDatabase, so a lookup cannot bring an unknown tenant into existence.

Native AOT

  • #​5649 (partial) — a DCB [BoundaryAggregate] fetch failed natively with MissingMethodException, because EventGraph.Build<TDoc>() closed SingleStreamProjection<,> 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

  • Weasel 9.45.0 — db-patch drop files no longer drop every schema with CASCADE; 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).
  • JasperFx 2.87.0 — across all five packages.

Known issue

Stats() with Include() and a Select() projection is fixed here, but note that the Include() itself still follows the page, not the match set — it reads from the same truncated temp table. Only the statistics column outlives the Take(). 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.AotRuntimeSmoke natively and running it showed
something 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.

MissingMethodException: No parameterless constructor defined for type
'Marten.Linq.SqlGeneration.SelectDataSelectClause`1[YourDto]'

A projection is parsed out of an expression tree, so the parser only has selectExpression.Type and
closed its select clause over that Type with MakeGenericType + Activator.CreateInstance — the
defect class of #​5328, one step later in the pipeline. Only a bare string scalar survived, because
its 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 DTO
  • Select(x => x.Lines) — a collection member, and the element type of a SelectMany(x => x.Lines)
  • Select(x => x.Amount) for every framework scalar type, decimal? and the other nullable ones included
  • Select(x => x.Status) and MaxAsync(x => x.Status) for an enum of your own — see the one line below
  • GroupBy(...).Select(g => new Tally { ... })

The fix is SelectClauseResolvers, which does for projected types what #​5328's
DocumentStorageResolvers does for document types: a registry populated from
MartenLinqQueryable<T>'s constructor, which every projected type reaches because
Queryable.Select<TSource, TResult>() asks the provider for CreateQuery<TResult>(). The reflective
path 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 : struct and the registration point above
constrains its own T to notnull, so Marten can root the scalar types it renders itself —
decimal, Guid, DateOnly and the rest need nothing — but not one out of your assembly:

opts.Schema.For<Order>();
opts.RegisterScalarType<OrderStatus>();   // new in 9.49.0; no-op under a JIT

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 JsonSerializerContext assigned to
... (truncated)

9.48.0

Document diagnostics: filter and order by document properties (jasperfx#​869, #​5631)

IDocumentStoreDiagnostics.QueryDocumentsAsync now applies DocumentQueryOptions.Where / OrderBy / Arguments instead of refusing them. The text goes onto Query<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:

  • Refused: range comparisons on, and ordering by, an enum stored as its name (string serializer storage or a varchar duplicated field), and <> / a negated comparison on a nullable member unless the text says what null should do (JasperFx's SqlNullSemantics). Date-part members and inline in (…) lists are refused honestly by the provider.
  • Fixed rather than refused: criteria orderings put nulls first ascending, as .NET does (PostgreSQL defaults to last), and DateTime arguments compare correctly against timestamp without time zone locators.
  • String ordering follows the database's collation (note: Alpine images use musl and sort bytewise).
  • Under Native AOT, criteria are refused.

Fixes

  • Grouped projections translate Count / LongCount predicates through the Where parser, with null semantics and bound parameters (#​5625).
  • A quick-mode StartStream that loses a race for the same stream id now throws ExistingStreamIdCollisionException instead of a raw 23505, so QuickWithServerTimestamps behaves like Rich and Quick (#​5628).

Dependencies

JasperFx 2.84.0

9.47.0

The FetchForWriting / FetchLatest consistency 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.

⚠️ Behaviour changes

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 ProgressionProgressOutOfOrderException and a
Stopped 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:

opts.Projections.StopAndDrainTimeout = 30.Seconds();

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

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>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 27, 2026
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>
@gaweCodes gaweCodes closed this Nov 27, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
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
dependabot Bot deleted the dependabot/nuget/thessera-dependencies-bb46360583 branch November 27, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant