Repository navigation
Bump the nuget-minor-patch group with 15 updates - #303
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps Aspire.Hosting.Docker from 13.6.0 to 13.6.1 Bumps Aspire.Hosting.PostgreSQL from 13.6.0 to 13.6.1 Bumps Aspire.Hosting.Testing from 13.6.0 to 13.6.1 Bumps Marten from 9.45.0 to 9.50.3 Bumps Microsoft.AspNetCore.DataProtection.Abstractions from 10.0.12 to 10.0.13 Bumps Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.12 to 10.0.13 Bumps Microsoft.Extensions.Http from 10.0.12 to 10.0.13 Bumps Microsoft.Extensions.Http.Resilience from 10.10.0 to 10.11.0 Bumps Microsoft.Extensions.Localization.Abstractions from 10.0.12 to 10.0.13 Bumps Microsoft.NET.Test.Sdk from 18.10.1 to 18.11.0 Bumps Quartz.Extensions.Hosting from 4.3.0 to 4.5.1 Bumps Radzen.Blazor from 12.0.5 to 12.1.4 Bumps WolverineFx.Marten from 6.45.0 to 6.51.0 Bumps xunit.runner.visualstudio from 4.0.0 to 4.0.1 Bumps xunit.v3 from 4.0.1 to 4.0.2 --- updated-dependencies: - dependency-name: Aspire.Hosting.Docker dependency-version: 13.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Aspire.Hosting.PostgreSQL dependency-version: 13.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Aspire.Hosting.Testing dependency-version: 13.6.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Marten dependency-version: 9.50.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-patch - dependency-name: Microsoft.AspNetCore.DataProtection.Abstractions dependency-version: 10.0.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions dependency-version: 10.0.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Microsoft.Extensions.Http dependency-version: 10.0.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Microsoft.Extensions.Http.Resilience dependency-version: 10.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-patch - dependency-name: Microsoft.Extensions.Localization.Abstractions dependency-version: 10.0.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-patch - dependency-name: Quartz.Extensions.Hosting dependency-version: 4.5.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-patch - dependency-name: Radzen.Blazor dependency-version: 12.1.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-patch - dependency-name: WolverineFx.Marten dependency-version: 6.51.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-minor-patch - dependency-name: xunit.runner.visualstudio dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch - dependency-name: xunit.v3 dependency-version: 4.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
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.
Updated Aspire.Hosting.Docker from 13.6.0 to 13.6.1.
Release notes
Sourced from Aspire.Hosting.Docker's releases.
13.6.1
What's New in Aspire 13.6.1
Patch release for Aspire 13.6 that reduces dashboard CPU usage during sustained metric ingestion, restores scrolling in the Metrics tree, improves dashboard navigation, fixes container exec watch failures, and ensures session-scoped containers are cleaned up when stopping .NET AppHosts on Windows.
🐛 Fixes
📊 Dashboard CPU usage could increase during long-running metric ingestion — Metric retention repeatedly scanned retained history on every insertion, causing steadily increasing CPU usage even with a fixed workload. Cleanup now skips dimensions below capacity and removes only the oldest surplus points when needed. Existing retention limits and exemplar behavior are unchanged, and no configuration changes are required. Regression introduced in 13.6. Fixes #20725. (#20747, backport of #20736, @JamesNK)
📈 The Metrics tree could not be scrolled — The meter and instrument tree now scrolls when it exceeds the viewport, allowing you to reach and select instruments below the fold. Regression introduced in 13.6. Fixes #20728. (#20762, backport of #20758, @heyysiri)
🧭 Dashboard navigation could fail after a browser disconnect — Pending page-state updates now persist session state before navigating and skip navigation when the browser has disconnected, avoiding an unhandled navigation failure. The navigation rail's overflow button also has consistent sizing, icon alignment, and hover styling in expanded and collapsed layouts and both light and dark themes. (#20545, backport of #20527, @JamesNK)
🖥️ Container exec watches could terminate shortly after AppHost startup — A stalled DCP watch connection could produce a critical
Watch task over Kubernetes ContainerExec resources terminated unexpectedlyerror and stop subsequent terminal state and log updates from being observed. Watch connection attempts now retry after timeouts, and periodic restarts correctly recreate connections without swallowing unrelated cancellation. Regression introduced in 13.6.0. (#20664, backport of #20466, @radical)🪟 Session-scoped containers could remain running after stopping a .NET AppHost on Windows — AppHosts launched through
dotnet runordotnet watchnow allow DCP to finish resource cleanup during shutdown, including existing Ctrl+C andaspire stopflows. Persistent resources remain unaffected, while direct .NET launches and TypeScript/polyglot AppHosts retain their existing process protection. Fixes #20495. (#20514, backport of #20494, @danegsta)Full Changelog: v13.6.0...v13.6.1
Full commit: 3751e615ad660621f2a7aa4c390ef48e08a0eed8
Commits viewable in compare view.
Updated Aspire.Hosting.PostgreSQL from 13.6.0 to 13.6.1.
Release notes
Sourced from Aspire.Hosting.PostgreSQL's releases.
13.6.1
What's New in Aspire 13.6.1
Patch release for Aspire 13.6 that reduces dashboard CPU usage during sustained metric ingestion, restores scrolling in the Metrics tree, improves dashboard navigation, fixes container exec watch failures, and ensures session-scoped containers are cleaned up when stopping .NET AppHosts on Windows.
🐛 Fixes
📊 Dashboard CPU usage could increase during long-running metric ingestion — Metric retention repeatedly scanned retained history on every insertion, causing steadily increasing CPU usage even with a fixed workload. Cleanup now skips dimensions below capacity and removes only the oldest surplus points when needed. Existing retention limits and exemplar behavior are unchanged, and no configuration changes are required. Regression introduced in 13.6. Fixes #20725. (#20747, backport of #20736, @JamesNK)
📈 The Metrics tree could not be scrolled — The meter and instrument tree now scrolls when it exceeds the viewport, allowing you to reach and select instruments below the fold. Regression introduced in 13.6. Fixes #20728. (#20762, backport of #20758, @heyysiri)
🧭 Dashboard navigation could fail after a browser disconnect — Pending page-state updates now persist session state before navigating and skip navigation when the browser has disconnected, avoiding an unhandled navigation failure. The navigation rail's overflow button also has consistent sizing, icon alignment, and hover styling in expanded and collapsed layouts and both light and dark themes. (#20545, backport of #20527, @JamesNK)
🖥️ Container exec watches could terminate shortly after AppHost startup — A stalled DCP watch connection could produce a critical
Watch task over Kubernetes ContainerExec resources terminated unexpectedlyerror and stop subsequent terminal state and log updates from being observed. Watch connection attempts now retry after timeouts, and periodic restarts correctly recreate connections without swallowing unrelated cancellation. Regression introduced in 13.6.0. (#20664, backport of #20466, @radical)🪟 Session-scoped containers could remain running after stopping a .NET AppHost on Windows — AppHosts launched through
dotnet runordotnet watchnow allow DCP to finish resource cleanup during shutdown, including existing Ctrl+C andaspire stopflows. Persistent resources remain unaffected, while direct .NET launches and TypeScript/polyglot AppHosts retain their existing process protection. Fixes #20495. (#20514, backport of #20494, @danegsta)Full Changelog: v13.6.0...v13.6.1
Full commit: 3751e615ad660621f2a7aa4c390ef48e08a0eed8
Commits viewable in compare view.
Updated Aspire.Hosting.Testing from 13.6.0 to 13.6.1.
Release notes
Sourced from Aspire.Hosting.Testing's releases.
13.6.1
What's New in Aspire 13.6.1
Patch release for Aspire 13.6 that reduces dashboard CPU usage during sustained metric ingestion, restores scrolling in the Metrics tree, improves dashboard navigation, fixes container exec watch failures, and ensures session-scoped containers are cleaned up when stopping .NET AppHosts on Windows.
🐛 Fixes
📊 Dashboard CPU usage could increase during long-running metric ingestion — Metric retention repeatedly scanned retained history on every insertion, causing steadily increasing CPU usage even with a fixed workload. Cleanup now skips dimensions below capacity and removes only the oldest surplus points when needed. Existing retention limits and exemplar behavior are unchanged, and no configuration changes are required. Regression introduced in 13.6. Fixes #20725. (#20747, backport of #20736, @JamesNK)
📈 The Metrics tree could not be scrolled — The meter and instrument tree now scrolls when it exceeds the viewport, allowing you to reach and select instruments below the fold. Regression introduced in 13.6. Fixes #20728. (#20762, backport of #20758, @heyysiri)
🧭 Dashboard navigation could fail after a browser disconnect — Pending page-state updates now persist session state before navigating and skip navigation when the browser has disconnected, avoiding an unhandled navigation failure. The navigation rail's overflow button also has consistent sizing, icon alignment, and hover styling in expanded and collapsed layouts and both light and dark themes. (#20545, backport of #20527, @JamesNK)
🖥️ Container exec watches could terminate shortly after AppHost startup — A stalled DCP watch connection could produce a critical
Watch task over Kubernetes ContainerExec resources terminated unexpectedlyerror and stop subsequent terminal state and log updates from being observed. Watch connection attempts now retry after timeouts, and periodic restarts correctly recreate connections without swallowing unrelated cancellation. Regression introduced in 13.6.0. (#20664, backport of #20466, @radical)🪟 Session-scoped containers could remain running after stopping a .NET AppHost on Windows — AppHosts launched through
dotnet runordotnet watchnow allow DCP to finish resource cleanup during shutdown, including existing Ctrl+C andaspire stopflows. Persistent resources remain unaffected, while direct .NET launches and TypeScript/polyglot AppHosts retain their existing process protection. Fixes #20495. (#20514, backport of #20494, @danegsta)Full Changelog: v13.6.0...v13.6.1
Full commit: 3751e615ad660621f2a7aa4c390ef48e08a0eed8
Commits viewable in compare view.
Updated Marten from 9.45.0 to 9.50.3.
Release notes
Sourced from Marten's releases.
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 transactional outbox) are not
rolled back with the page. Note this applies to async projections as well as subscriptions; the upstream
note covers only subscriptions and is out of date.
A batched
FetchLatestor expected-versionFetchForWritingmust be first in its batch ([#5604])For an aggregate projected with
ProjectionLifecycle.Asynconly. Both now bracket their reads inbegin transaction isolation level repeatable read read only…endso those reads share one snapshot,and PostgreSQL accepts that only as a transaction's first statement. So:
batch.Events.FetchLatest<T>(id)andbatch.Events.FetchForWriting<T>(id, version)have to be thefirst operation in their batch, and
FetchForExclusiveWriting.Both are refused at the enlisting call, naming the call to move, rather than surfacing later as a bare
25001. Inline and Live aggregates are unaffected, and inside a caller-owned transaction no bracket isemitted so neither rule applies. If you batch a
FetchLatestbehind aLoad, move it to the front.New
SnapshotRaceExceptionfrom a batched exclusive fetch ([#5613])A batched
FetchForExclusiveWritingon an Async aggregate now throwsMarten.Exceptions.SnapshotRaceExceptionin the rare case where the daemon commits a snapshot between that batch's two reads. Retry the batch, or
fetch outside a batch — outside a batch Marten retries for you and you will never see it.
... (truncated)
9.46.0
Mostly a resiliency and Native AOT release. Five behaviour changes — the retry ones are the most likely to be noticed, because Marten now surfaces failures it used to absorb.
Behaviour changes
A command timeout is no longer retried on reads (#5566, #5580). An attempt that timed out has already spent the whole
CommandTimeout, so retrying it three times held the caller for four timeouts instead of one. This covers both shapes: Npgsql's client-sideCommandTimeout, and a server-sidestatement_timeout, which arrives as57014 query_canceledwith noTimeoutExceptionanywhere in the exception. Connection-pool exhaustion arrives in the same shape and so is no longer retried either — a deliberate trade, documented in the resiliency guide along with what to do instead.Sticky, ambient and external session lifetimes now fail loudly (#5582, #5598), via the new
SessionTransactionUnusableException. Two things used to go wrong silently. A broken connection reportedConnectionState.Closed, so Marten reopened it — onto a different backend — and handed the command the stale transaction, which Npgsql accepts; aSerializablesession then quietly answered from a newer snapshot. And a command timeout inside a transaction aborted it, after which every later call returned a bare25P02naming neither the timeout nor the way out. For caller-owned transactions Marten records the cause and reports it but rolls nothing back — the scope is still yours.The async serializable session builders now produce a serializable session (#5594).
OpenSerializableSessionAsync(new SessionOptions())previously returned a session that was neither serializable nor auto-closing: it held one connection open for its lifetime with no transaction. These two methods now pinIsolationLeveltoSerializableand begin the transaction eagerly. A non-Serializable level passed to them is overridden rather than silently honoured.The async daemon spends one retry budget instead of two (#5593).
ResilientEventLoaderand theQuerySessioninside it were both given the same pipeline, so a handled failure ran up to sixteen times.A retried write no longer accumulates exceptions across attempts (#5591). The exception list was shared, and
ExecuteBatchPagesAsyncbranches on its count — so one operation failing twice turned a rethrow into anAggregateException, making the caller's exception type depend on how many retries happened.Native AOT
Strong-typed document ids now work (#5589, #5579), with one registration per document type:
Previously a single strong-typed id anywhere in the store killed the application while the first document's mapping was built. The identity path closes a chain of generics over your id type, and a native image has no instantiation for them unless something roots it; naming all three types is what roots them. Under a JIT the call does nothing — unregistered types still take the reflective path. Not yet covered: F# single-case discriminated-union ids, and
.IsOneOfover a strong-typed id. The intent is forMarten.SourceGeneratorto emit these registrations so the call becomes unnecessary.Also AOT: a decimal comparison in a LINQ filter is documented with a tested workaround (#5597) — it is the BCL expression-tree factory rather than Marten, but it only shows up from a native binary. Marten's AOT runtime gate now covers strong-typed ids and decimals, so these stay pinned.
Fixes
PrefixSearchquotes each word as a tsquery lexeme (#5571, #5568), so a search box containing&,|,!,(,:or a tab no longer produces42601: syntax error in tsquery. Not an injection — the term was already a parameter — but the documented contract says each word is treated as a prefix, and raw input has to be escaped to honour that.AdvisoryLockshutdown release is bounded, and the vendored copy moves back to Weasel (#5572, #5576).catch-and-Console.WriteLine-and-rethrow blocks removed (#5584) — they bypassedIMartenSessionLoggerand any configuredILogger, and one of them also closed a connection on the line above the one that opened it.Dependencies
JasperFx 2.80.2 (#5590) and Weasel 9.41.0 (#5596, #5576). Both carry Native AOT work of their own on the identity path — JasperFx's
ValueTypeInfowrappers and aggregate identity sources, Weasel's non-genericIIdentificationfacade.🤖 Generated with Claude Code
https://claude.ai/code/session_01481eiEZg1Bv6pu4DrgPRg3
Commits viewable in compare view.
Updated Microsoft.AspNetCore.DataProtection.Abstractions from 10.0.12 to 10.0.13.
Release notes
Sourced from Microsoft.AspNetCore.DataProtection.Abstractions's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.12 to 10.0.13.
Release notes
Sourced from Microsoft.Extensions.DependencyInjection.Abstractions's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Extensions.Http from 10.0.12 to 10.0.13.
Release notes
Sourced from Microsoft.Extensions.Http's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Extensions.Http.Resilience from 10.10.0 to 10.11.0.
Release notes
Sourced from Microsoft.Extensions.Http.Resilience's releases.
10.11.0
.NET Extensions 10.11.0
This release adds optional scope capture for buffered logs and updates experimental HTTP latency enrichment APIs. It also includes fixes for AI streaming and function invocation, evaluation reports, HybridCache invalidation, and logging.
Experimental API Changes
New Experimental APIs
GlobalLogBufferingOptions.IncludeScopesandPerRequestLogBufferingOptions.IncludeScopes(EXTEXP0003) #7813Breaking Changes to Experimental APIs
AddHttpLatencyTelemetryis renamed toAddHttpServerLatencyTelemetryand moves fromHttpLatencyTelemetryServiceCollectionExtensionstoHttpLoggingServiceCollectionExtensions. It remains experimental underEXTEXP0013in this release. #7730What's Changed
AI
AI Evaluation
Telemetry and Observability
ASP.NET Core Extensions
AI Project Templates
Caching
... (truncated)
10.10.1
This release fixes two OpenAI integration issues: a TypeLoadException on tool-carrying Responses API calls and a streaming crash against third-party OpenAI-compatible endpoints, by upgrading the OpenAI SDK to 2.14.0.
Packages in this release
10.10.110.10.1What's Changed
AI
Acknowledgements
Full Changelog: dotnet/extensions@v10.10.0...v10.10.1
Commits viewable in compare view.
Updated Microsoft.Extensions.Localization.Abstractions from 10.0.12 to 10.0.13.
Release notes
Sourced from Microsoft.Extensions.Localization.Abstractions's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.NET.Test.Sdk from 18.10.1 to 18.11.0.
Release notes
Sourced from Microsoft.NET.Test.Sdk's releases.
18.11.0
What's Changed
New Contributors
Full Changelog: microsoft/vstest@v18.10.1...v18.11.0
Commits viewable in compare view.
Updated Quartz.Extensions.Hosting from 4.3.0 to 4.5.1.
Release notes
Sourced from Quartz.Extensions.Hosting's releases.
4.5.1
Three packages take the fixed versions of dependencies named in Microsoft's October 13 security advisories. There is no public API change and no schema change, and no other package changes.
Fixed
Quartz.Dashboard.AgentrequiresMicrosoft.AspNetCore.SignalR.Client10.0.13. 4.5.0 required 10.0.0, and every SignalR client before 10.0.13 brings aMicrosoft.AspNetCore.SignalR.Commoncovered by GHSA-334f-vvp4-7g6p (CVE-2026-70159). So an application referencing the agent got NU1903 at restore, and that is an error wherever warnings are errors. The fixed client asks forMicrosoft.Extensions.DependencyInjection,LoggingandLogging.Abstractions10.0.13 or later, so an application referencing the agent now resolves those at least that high. The agent's own nuspec no longer repeats the framework-extension floors it inherits fromQuartz. (#4065)Quartz.Weasel.OracleandQuartz.Weasel.SqlServerrequireSystem.Security.Cryptography.Pkcs9.0.21. Their database drivers, reached through Weasel, bring Pkcs 8.0.0 and 9.0.4, which GHSA-2fmv-rv2c-59x7 and GHSA-846f-f764-76mx cover. Neither package calls it. The direct reference lifts an application's graph to the fixed version, and can go once the drivers require a fixed one themselves. (#4065)The same SignalR fix ships for 3.x's
Quartz.Dashboardin 3.22.6.What's Changed
Other changes
Full Changelog: quartznet/quartznet@v4.5.0...v4.5.1
4.5.0
Quartz.NET 4.5 is one dashboard for a fleet. It fronts schedulers in other processes, on other machines and in other clusters, and tells apart workers that all run
QuartzScheduler. Targets fronting one clustered store show as one row with its nodes. A new package,Quartz.Dashboard.Agent, lets a worker dial out to the dashboard, so the worker opens no inbound port. Six more packages are proven under native AOT on every pull request. An application on 4.4 compiles on 4.5 unchanged, and the database schema did not change.Highlights
target/name. EachAddQuartzHttpClientregistration names its process withHttpClientOptions.Target, sow1/QuartzSchedulerandw2/QuartzSchedulerare two rows, beside store-attached windows and the local schedulers. Fleetw1+w2+w3/QuartzScheduler, whose Cluster page starts, stands by, shuts down and interrupts each node. FleetQuartz.Dashboard.Agent.UseDashboardAgentconnects a scheduler to a dashboard over SignalR. The dashboard enables it withAcceptAgents. The worker needs no inbound port, no HTTP API and no web framework. Dashboard agentIsJobTypeAllowedis set. The hub reads its token from theAuthorizationheader only. A hub with neither tokens nor a policy fails at startup. Dashboard agentQuartz.Jobs,Quartz.Plugins,Quartz.Plugins.TimeZoneConverter,Quartz.HttpClient,Quartz.AspNetCoreandQuartz.Dashboard.Agentnow sayIsAotCompatible. Each one is published as a native executable and run on Windows, Linux and macOS on every pull request. Trimming and native AOTFleet
target/name(#4042, closes #3774).SchedulerRef(SchedulerName, Target)is the key a dashboard addresses a scheduler by.Parsesplits at the first/. A bare name is the key of a scheduler reached through no target.HttpClientOptions.Targetnames the process. It becomes the client's service key and the first half of the key./and+are refused.qz_schedulercookie.{name}resolves to the untargeted entry only. A name held only by targets answers404, naming the targets./keeps that name everywhere: in resolution, authorization, history and live logs.QuartzDashboardOptions.ClusterDetectionInterval, one minute by default. Targets on one clustered store merge intoa+b+c/name.9105–9110.SchedulerRegistrationgainsKey,MembersandLastSeenUtc.GET …/schedulersrows gainmembersandlastSeenUtc.SchedulerResource.Targetlets an authorization policy see which process it is asked about.Dashboard agent
Quartz.Dashboard.Agent(#4044, closes #3773).UseDashboardAgent(o => { o.Endpoint = new("https://ops.example/quartz/agents"); o.Token = …; o.Target = "w1"; }).AcceptAgents(a => a.Tokens.Primary = …).ForgetAfter, one hour by default. A restarted worker comes back on the same row.Microsoft.AspNetCore.App.ReadOnly,IsOperationAllowed,MaxConcurrentOperations(a bounded queue; overflow answers503),MaxPageSize, and a message cap of 4 MiB by default.IsJobTypeAllowedunset refuses every request that stores a job by type name, with403. Triggering, pausing, rescheduling and deleting existing jobs all work.PrimaryandSecondary, for rotation. They are compared in constant time and read from theAuthorizationheader only, never from a query string, because a URL ends up in access logs.AuthorizationPolicy.9111–9117(dashboard) and9300–9305(agent).Trimming and native AOT
... (truncated)
4.4.0
Quartz.NET 4.4 is history you can run a business on. Each run says what it achieved: succeeded, failed,
cancelled or skipped, with a summary and metrics. The history keeps that per job, sweeps it by result and charts
it over time, and a health check degrades when a required job stops succeeding. Recovery respects rolling
deploys, and triggers already due fire in the transaction that acquires them: at 20 triggers a second on
PostgreSQL, 95–99 % of firings land within ±50 ms, up from 54 % on 4.3.0. Quartz.Weasel now manages the job store's schema on six databases, adding MySQL, Oracle and Firebird.
Highlights
context.Result, a status per job, retentionby result, and a chart of runs over time. Execution history and outcomes
RequireSuccessWithin(jobKey, TimeSpan.FromHours(26))degrades when a nightly jobstops succeeding. Execution history and outcomes
RunAtStartup, scheduling a triggeralready paused, and pausing a set of keys with a reason in one call. Scheduling
420–429 firings a second. Reliability and clustering
or the restarted node. Reliability and clustering
Quartz.Weasel.MySQL,Quartz.Weasel.OracleandQuartz.Weasel.FirebirdjoinPostgreSQL, SQL Server and SQLite. Databases and Weasel
HTTP API and dashboard
Execution history and outcomes
context.Result = JobRunReport.Skipped("…").With("released", 3).JobRunResult {Succeeded, Failed, Cancelled, Skipped}.1059/1060).
MisfireReason.Vetoed). Manual runs (TriggerJob) are marked.JobRunStatus: last run, last success and failure, consecutive failures, counts.RetentionByResult,MisfireRetention) andMaxEntriesPerJob.sweeps per cluster.
with history on went from 113–248 to 77–189 firings a second. Tracked in #3979.
database/migrations/database/migrations/…. (#3972)and the HTTP API's
JobExecutedevent carry it, not the wrapper's "Job threw an unhandled exception". Logtemplates are unchanged.
... (truncated)
Commits viewable in compare view.
Updated Radzen.Blazor from 12.0.5 to 12.1.4.
Release notes
Sourced from Radzen.Blazor's releases.
12.1.4
12.1.4 - 2026-10-16
Improvements
AllowDateSelectionparameter that turns the date title into a button opening a date picker, so users can jump straight to a date. Month and year views offer months instead of days, and changing only the year just browses (#626). Thanks to @panoskentros!CloseOnScrolloption inContextMenuOptionsthat closes the menu when the container of the clicked element is scrolled, also after the menu was reopened while open, for example by right-clicking one row after another. Thanks to @Radium001!Fixes
FilterTemplatebound toFilterValueandSecondFilterValueare cleared, instead of showing an empty grid or throwing "A second operation was started on this context instance".ClearFiltersreset the operator to the type default (Equalsfor dates) while the filter value fell back to the bound parameter, and changing both bound values started overlappingLoadDatacalls. The declared operator is now restored, cleared template values no longer fall back to the parameter, and both values changing together reload the grid once (#2768).SimpleWithMenufilter operator menu of a grid nested in another grid's row template open when clicked. The click bubbled to every ancestor grid's listener, so the popup was toggled once per nesting level and closed right after opening (#2767).12.1.3
12.1.3 - 2026-10-15
Improvements
Columnsparameter that sets how many columns fit on each line, so a layout with a fixed number of columns per line no longer needsSizeon everyRadzenColumn.ColumnsXS,ColumnsSM,ColumnsMD,ColumnsLG,ColumnsXLandColumnsXXchange it per breakpoint. Counts that do not divide 12, such as 5 or 7, work as well andGapis respected. A column with its ownSizefor the current breakpoint keeps it (#2760).Fixes
/xl/worksheets/sheet1.xmlwas prefixed withxl/so the sheet was not found, and a<c>or<row>without the optionalrattribute was dropped. Relationship targets are now resolved against their source part, for sheets as well as drawings, images, charts and tables, and a cell or row without a reference takes the position after the previous one (#2757).@, soif (!string.IsNullOrEmpty(tick.Value))was emitted as a text node in each tick, which screen readers read once per tick, and an empty tick label was rendered even withShowTickLabels="false".scrollLeft, so the index computed from the scroll position was negative, got clamped to 0 and reset the selection right afterNavigateor a pager click. The scroll handler now uses the absolute scroll offset.PersistentComponentState.TryTakeFromJson<T>orJsonSerializer.Deserialize<T>behind an unannotated helper. A trimmed Blazor WebAssembly app kept the type but lost its parameterless constructor and theCountandValuesetters, so System.Text.Json threwNotSupportedException. Radzen.Blazor now embeds a trimmer descriptor that keeps these members whenever an app keeps the type.12.1.2
12.1.2 - 2026-10-12
Improvements
12.1.1
12.1.1 - 2026-10-12
Improvements
QueueMessagesaccepts messages sent while an answer streams instead of ignoring them: the message shows right away marked as queued, is sent when the answer completes, andStopreturns its text to the box. A service can take such a message mid-response throughIAIChatService.TryQueueMessageAsyncor anIChatMessageQueueits chat client exposes viaGetService; a user-roleChatResponseUpdatewith the message id tells the chat the model read it, which moves the message under the answer so far and starts a new assistant message. The send button stays next to the stop button while streaming.HeaderTemplate,InputHeaderTemplateandInputFooterTemplateslots for a conversation switcher, status line, model picker or action buttons around the conversation and the input.@bind-Inputreads and sets the text in the box,FocusAsyncfocuses it.ChatToolCall.TextPositionandChatMessage.GetParts()expose it for custom templates.ChatMessage.KindwithStatus,ProgressandErrorentries rendered as a centered note, a spinner line and an alert;AddMessage(ChatMessage),RemoveMessageandRefreshmanage them.RenderMessagerenders a message the default way from insideMessageTemplate.ShowAvatars,SendButtonText,SendButtonIcon,StopButtonTextandStopButtonIcon.AttachmentAddingreceives every picked file and can cancel or replace it, for example with a scaled down image;MaxTotalAttachmentSizelimits the attachments of a message as a whole.UsageTemplateandMessageFooterTemplaterender usage and extra content per message;ChatMessage.AdditionalPropertiescollects theAdditionalPropertiesof the streamed updates, for example credits or changed files.Fixes
12.1.0
12.1.0 - 2026-10-12
Improvements
Microsoft.Extensions.AI.AIChatServicetalks to the model throughIChatClient: register the client of any provider (OpenAI, Azure OpenAI, Ollama and others) withAddChatClientand the chat picks it up, or keep the built-inOpenAICompatibleChatClient, which streams from any OpenAI-compatible chat completions endpoint and now parses tool calls.IAIChatService.GetChatClient()exposes the configured pipeline, with theModel,MaxTokensandTemperaturedefaults applied, to your own code.Toolstakes theAIFunctions created withAIFunctionFactory; calls run automatically and render as cards with the arguments, status and result,ToolCallTemplaterenders a result with Radzen components (generative UI),ApprovalRequiredAIFunctionmakes the chat ask the user before a tool runs (ApproveToolCall,RejectToolCall), andToolCallCompleted,ShowToolCallsandAllowMultipleToolCallscontrol the rest. Multiple approvals in one answer are batched and the answer continues once all of them are decided.ShowReasoning), lists the sources of an answer under it (ChatMessage.Citations,ShowCitations,CitationTemplate) from the ..._Description h...
Description has been truncated