Repository navigation
Bump the dotnet group with 10 updates - #25
Merged
Merged
Conversation
Bumps Azure.Storage.Blobs from 12.30.1 to 12.30.2 Bumps Dapper from 2.1.89 to 2.1.100 Bumps Microsoft.Extensions.Http.Resilience from 11.0.0 to 11.0.1 Bumps Microsoft.Extensions.ServiceDiscovery from 11.0.0 to 11.0.1 Bumps Npgsql.EntityFrameworkCore.PostgreSQL from 10.0.3 to 10.0.4 Bumps Npgsql.OpenTelemetry from 10.0.3 to 10.0.4 Bumps OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.21.0-beta.1 to 1.21.0-beta.2 Bumps Quartz.Extensions.Hosting from 4.7.3 to 4.8.1 Bumps RabbitMQ.Client from 7.2.2 to 7.3.0 Bumps Scalar.AspNetCore from 3.0.1 to 3.2.0 --- updated-dependencies: - dependency-name: Azure.Storage.Blobs dependency-version: 12.30.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Dapper dependency-version: 2.1.100 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Http.Resilience dependency-version: 11.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.ServiceDiscovery dependency-version: 11.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Npgsql.EntityFrameworkCore.PostgreSQL dependency-version: 10.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Npgsql.OpenTelemetry dependency-version: 10.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: OpenTelemetry.Instrumentation.EntityFrameworkCore dependency-version: 1.21.0-beta.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Quartz.Extensions.Hosting dependency-version: 4.8.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: RabbitMQ.Client dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Scalar.AspNetCore dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... 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 Azure.Storage.Blobs from 12.30.1 to 12.30.2.
Release notes
Sourced from Azure.Storage.Blobs's releases.
12.30.2
12.30.2 (2026-11-19)
Bugs Fixed
BlobBaseClientandBlobContainerClient, so culture-equivalent but service-distinct Unicode names are rejected when generating SAS URIs.BlobClient.Upload(..., overwrite: false)with upload checksum validation configured asStorageChecksumAlgorithm.StorageCrc64could throwInvalidDataExceptionwhen the blob already existed. The operation now surfaces the expectedRequestFailedExceptionfor409 *AlreadyExists.DateTimeOffsetvalues. SAS times are now normalized to UTC before formatting/signing, preventing unintended validity windows in st/se (Start Time, Expiry Time) and related delegation key fields. Affected APIs include:BlobBaseClient.GenerateSasUri(...)BlobBaseClient.GenerateUserDelegationSasUri(...)BlobContainerClient.GenerateSasUri(...)BlobContainerClient.GenerateUserDelegationSasUri(...)BlobServiceClient.GenerateAccountSasUri(...)BlobSasBuilderCommits viewable in compare view.
Updated Dapper from 2.1.89 to 2.1.100.
Release notes
Sourced from Dapper's releases.
2.1.100
What's Changed
New Contributors
Full Changelog: DapperLib/Dapper@2.1.89...2.1.100
Commits viewable in compare view.
Updated Microsoft.Extensions.Http.Resilience from 11.0.0 to 11.0.1.
Release notes
Sourced from Microsoft.Extensions.Http.Resilience's releases.
11.0.1
This servicing release updates the OpenAI SDK used by
Microsoft.Extensions.AI.OpenAIto 2.15.0. It also fixes GenAI telemetry modality reporting, route parameter redaction inMicrosoft.AspNetCore.Diagnostics.Middleware, HybridCache invalidation, and AI template dependencies.What's Changed
AI and AI project templates
ASP.NET Core extensions
Caching
Acknowledgements
Packages in this release
The release includes 41 stable packages and 13 preview packages, including
Microsoft.Extensions.AI.Templates.11.0.111.0.111.0.111.0.111.0.111.0.111.0.111.0.111.0.1-preview.1.26570.211.0.111.0.111.0.111.0.1-preview.1.26570.211.0.111.0.1-preview.3.26570.211.0.1Commits viewable in compare view.
Updated Microsoft.Extensions.ServiceDiscovery from 11.0.0 to 11.0.1.
Release notes
Sourced from Microsoft.Extensions.ServiceDiscovery's releases.
11.0.1
This servicing release updates the OpenAI SDK used by
Microsoft.Extensions.AI.OpenAIto 2.15.0. It also fixes GenAI telemetry modality reporting, route parameter redaction inMicrosoft.AspNetCore.Diagnostics.Middleware, HybridCache invalidation, and AI template dependencies.What's Changed
AI and AI project templates
ASP.NET Core extensions
Caching
Acknowledgements
Packages in this release
The release includes 41 stable packages and 13 preview packages, including
Microsoft.Extensions.AI.Templates.11.0.111.0.111.0.111.0.111.0.111.0.111.0.111.0.111.0.1-preview.1.26570.211.0.111.0.111.0.111.0.1-preview.1.26570.211.0.111.0.1-preview.3.26570.211.0.1Commits viewable in compare view.
Updated Npgsql.EntityFrameworkCore.PostgreSQL from 10.0.3 to 10.0.4.
Release notes
Sourced from Npgsql.EntityFrameworkCore.PostgreSQL's releases.
10.0.4
Milestone issue
What's Changed
Full Changelog: npgsql/efcore.pg@v10.0.3...v10.0.4
Commits viewable in compare view.
Updated Npgsql.OpenTelemetry from 10.0.3 to 10.0.4.
Release notes
Sourced from Npgsql.OpenTelemetry's releases.
10.0.4
Release milestone
Full Changelog: npgsql/npgsql@v10.0.3...v10.0.4
Commits viewable in compare view.
Updated OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.21.0-beta.1 to 1.21.0-beta.2.
Release notes
Sourced from OpenTelemetry.Instrumentation.EntityFrameworkCore's releases.
1.21.0-beta.2
NuGet: OpenTelemetry.Instrumentation.EntityFrameworkCore v1.21.0-beta.2
server.addressandpeer.servicebeing set to a meaningless value, suchas the first directory of the path, from the path to the database file when using
SQLite. These attributes are no longer set for SQLite.
(#6076)
See CHANGELOG for details.
Commits viewable in compare view.
Updated Quartz.Extensions.Hosting from 4.7.3 to 4.8.1.
Release notes
Sourced from Quartz.Extensions.Hosting's releases.
4.8.1
4.8.1 publishes the dashboard container image that 4.8.0 did not. Every NuGet package of 4.8.1 has the same contents as 4.8.0's, apart from its version, so an application on 4.8.0 needs it only for
Quartz.Aspire.Hosting.Fixed
ghcr.io/quartznet/quartz-dashboardpublishes, forlinux-x64andlinux-arm64(#4390). It is tagged4.8.1,4.8,4andlatest, with an attested digest. 4.8.0's tag run failed before it pushed anything, for three reasons:linux-arm64half built the analyzer project for arm64, and the x64 compiler could not load it (CS8034);;, which split the label list (MSB4184);objfolder at once (CS2012).Quartz.Aspire.Hosting4.8.1 has an image to pull. It runs the image at its own version, and 4.8.0 had none, so upgrade the AppHost's package to 4.8.1.:4.8, the tag that follows the newest 4.8 patch.Build
ContainerSmokepublishes both architectures to a throwaway local registry on every pull request, through the same command a release runs, and checks that the index lists both.What's Changed
Other changes
Full Changelog: quartznet/quartznet@v4.8.0...v4.8.1
4.8.0
🎉🥳 The
Quartzpackage has passed 200 million downloads on NuGet. Thank you to everyone who schedules with it, reports what breaks and sends fixes. 🎂🎊Quartz.NET 4.8 is about operating schedulers: who may do what to them, and where their dashboard runs. It adds:
View,OperateandAdminister, checked per operation on the HTTP API, the dashboard and the dashboard agent.quartz-dashboardtool, theghcr.io/quartznet/quartz-dashboardimage, andQuartz.Aspire.Hostingto run it from an Aspire AppHost.GetOccurrence(), which says which occurrence a firing serves and why it runs.net11.0asset ofQuartz, compiled with runtime async.An application on 4.7 compiles on 4.8 unchanged. There is no database migration. The behaviour changes most likely to need a look: a clustered node that shuts down cleanly deletes its scheduler state row, so its peers no longer log
3503for it; the dashboard's Pause group and Resume group act on the group itself; a firing recovered by cluster recovery or a shutdown hand-back runs at the original's scheduled time and is never a misfire;ISchedulerFactory.GetScheduler()builds the container's own scheduler beside a proxy bound under the same name; disposing a container shuts down every scheduler it built; and an execution history store that cannot be built now stops the application from starting. See Upgrading from 4.7 to 4.8.Highlights
OperationAuthorizationPolicyholds the HTTP API and the dashboard to it. With no policy set, nothing changes. Operators and the dashboard hostQuartz.Dashboard.Hostships as thequartz-dashboardtool and a container image (from 4.8.1), configured from settings alone, andQuartz.Aspire.Hostingruns it from an AppHost. Operators and the dashboard host/quartz/timelineplots each trigger's runs and upcoming fires on one axis, for a window from 10 minutes to 7 days. Dashboard and HTTP APItrigger.DescribeSchedule()saysEvery weekday at 07:00 (America/Chicago), and the Triggers listing shows it beside the next and previous fire. Dashboard and HTTP APIquartz.job.execution.start_delaymeasures from when the attempt was due, andcontext.GetOccurrence()gives a key that is the same across retries and recovery. TelemetryAdoJobStoreOptions.EnlistmentSourceis asked as each scheduler call begins. Clustering and persistenceQuartzships anet11.0asset besidenet10.0, with the same public API. .NET 11Operators and the dashboard host
SchedulerAccessisView,OperateorAdminister, and every HTTP API route states the one it needs. A viewer reads, an operator also pauses, resumes, triggers and interrupts, and an administrator also adds, edits and deletes.TriggerJobwith job data needsAdminister, because a storedNativeJobreads its command from job data.OperationAuthorizationPolicyonQuartzHttpApiOptionsorQuartzDashboardOptions, and build the policy withRequireSchedulerRoles.DashboardAgentOptions.MaxAccesscaps what a dashboard may ask of an agent.403and logs event9009. The dashboard hides what the visitor's role would refuse, logs9118, and adds a Refused entry to the Action Log.MaxAccess, every surface allows and refuses what it did on 4.7. See Operator roles.Administer. The execution page says so in place of the button (#4238).Quartz.Dashboard.Hostis the dashboard as a program of its own, configured fromQuartz:Dashboardalone. It is thequartz-dashboard.NET tool and, from 4.8.1, theghcr.io/quartznet/quartz-dashboardimage, forlinux-x64andlinux-arm64. It fronts schedulers over their HTTP API, reads every scheduler in a database, and accepts agents that dial in.Authentication:Modeis required:Token,OpenIdConnectorUnsecured. Without it, or with any other mistake in its settings, the host logs9402and refuses to start. Its events are9400–9409.Quartz.Aspire.Hostingruns that image from an Aspire AppHost (#4226); use 4.8.1, the first version with an image to pull.AddQuartzDashboardadds the resource,WithAttachedStoreshows a database's schedulers, andWithReference(dashboard)lets a worker dial in as an agent. See Aspire Hosting.UseDashboardAgent()has an overload with no callback (#4226). Both overloads readQuartz:DashboardAgent, or a named scheduler'sQuartz:Schedulers:{name}:DashboardAgent.UseDashboardAgent(configure)reads it before it runs the callback, so an application with no such section is unaffected.Dashboard and HTTP API
/quartz/timeline, under Monitoring, plots each trigger's finished and executing runs on one axis, and its upcoming fires as marks. The window runs from 10 minutes to 7 days, and the page reads at most 500 runs per window. Rows are grouped by job group, filtered by group and name, and paged. A trigger's menu runs, pauses, resumes, resets or unschedules it.TriggerHeaderDtogainsStartTimeUtc,EndTimeUtc,NextFireTimeUtcandPreviousFireTimeUtc, which an older agent leavesnull. See Timeline. Thanks @dzmitrymatus.qz_sidebar_collapsed. Thanks @dzmitrymatus.TriggerScheduleDescriptionExtensions.DescribeSchedule(this ITrigger)says a trigger's schedule in English, in its time zone, for display only. A shape it cannot phrase falls back to the expression or rule, and a trigger kind it does not know givesnull.... (truncated)
Commits viewable in compare view.
Updated RabbitMQ.Client from 7.2.2 to 7.3.0.
Release notes
Sourced from RabbitMQ.Client's releases.
7.3.0
GitHub milestone
Supported versions
7.2.xand6.xare end of life, as are earlier series: they receive no further releases, including security fixes. The security fixes below ship only in 7.3.0.v7-MIGRATION.mdcovers moving from6.x.Security
amqps://URI now verifies the broker's certificate against the host name (GHSA-7xr9-fg47-hh5x). Assigning anamqps://URI toConnectionFactory.Uriaccepted a certificate issued for any host. This also affected a factory bound from configuration withSsl:Enabledset, because the reflection-based configuration binder assignsUrieven when noUrikey is present.Ssl.ServerName, which assigningUrisets to the URI's host unlessServerNamewas set explicitly. A certificate that does not carry that name, as a DNS name or an IP address, now fails the handshake. That includes aHostNamechanged after theUri, which does not updateServerName. For several nodes with their own certificates, give eachAmqpTcpEndpointits ownSslOptioninstance withEnabled = trueand that node'sServerName. SettingSsl.AcceptablePolicyErrors = SslPolicyErrors.RemoteCertificateNameMismatchrestores the old behavior, and has no effect whenSsl.CertificateValidationCallbackis set.Urino longer discards settings made before it. It replacesSslwith a copy that keeps the certificates, callbacks, revocation check, policy and version already set, so permissive settings made before theUrinow take effect: review them. WhenSsl.Versionis not set, anamqps://URI still sets it fromAmqpUriSslProtocols.MaxInboundMessageBodySizeset before theUriis now kept rather than reset to 64 MiB.AmqpTcpEndpoints or anIEndpointResolver, or an assignedEndpoint, the factory used each endpoint's ownSslOption, whose TLS is off unless set, so the connection and its recoveries went unencrypted, to port 5672 when the endpoint had no port of its own. Such an endpoint now uses the factory'sSsl, including its oneServerName, and port 5671 when it has no port of its own; nodes with their own certificates need their ownSslOption, as above. An endpoint bound by the reflection-based configuration binder stores port 5672 when none is given, so give it the TLS port.IConnection.Endpointreports a copy rather than the instance passed in, and its port can differ: 5671 where the instance passed in reports 5672.ConnectionFactory.Urilikewise names port 5671 for a factory with TLS enabled and no port. A deployment that relied on the cleartext connection fails to connect after upgrading unless the broker accepts TLS on that port with a certificate forSsl.ServerName.SslOptionor an endpoint afterwards, on the factory, on an endpoint passed in or onIConnection.Endpoint, no longer reaches it; create a new connection to use different options. AnIEndpointResolver, passed in or returned byEndpointResolverFactory, is still asked for its endpoints on every recovery, and their options are read then. To follow endpoints that change while a connection is open, such as from service discovery, return them from the resolver'sAll(), not from the sequence passed toEndpointResolverFactory, which is now copied when the connection is created.amqp://URI no longer turns TLS off: assigning one to a factory with TLS enabled throwsInvalidOperationException, which the reflection-based configuration binder wraps inTargetInvocationException. To connect without TLS, assignSsla newSslOptionfirst; settingSsl.Enabled = falsealso turns TLS off for any other factory or endpoint that shares that instance.connection.tunewhose negotiatedframe_maxis from 1 to 4095, below the AMQP minimum, now fails the connection:CreateConnectionAsyncthrowsBrokerUnreachableExceptionwith aProtocolViolationExceptioninside (GHSA-qqh4-4hmj-6ph2). A broker, or anything between client and broker, that sent 1 to 8 broke publishing, and 1 to 7 could make it write past the end of a buffer. ARequestedFrameMaxfrom 1 to 4095 fails the same way. 0 still means no limit, and a value above about 2 GiB is now also treated as no limit instead of making every publish fail.connection.startfrom the broker, or message headers set by any publisher, could overflow the stack and terminate the application. Such a value now fails the connection and every channel on it, as an unknown field type already did:CreateConnectionAsyncthrowsBrokerUnreachableException, and a delivery, abasic.returnor aBasicGetAsyncreply closes the connection with reply code 502. Deeper nesting was read before. This client now refuses to send it as well:BasicPublishAsync, or any method taking an arguments table, throwsWireFormattingExceptionbefore anything is sent, and a table that contains itself fails the same way instead of overflowing the stack. A message carrying such headers closes the connection again each time it is redelivered. From RabbitMQ 4.0, a quorum queue's default delivery limit eventually removes it; on other queues it stays until removed, for example by purging the queue, or on a stream until retention discards it.BasicGetAsyncno longer waits forever when the reply's headers cannot be read (#2076). It throws the parse error, such asSyntaxErrorException, and the connection closes with reply code 502.Publishing a caller-owned or sequence body
Adds API and breaks implementors of
IChannel(#1913, #1983):IChannelgained four new abstract members, with no default implementations. The interface went from twoBasicPublishAsyncoverloads to six, the new ones taking anIDisposable? bodyOwneralongside either aReadOnlyMemory<byte>or aReadOnlySequence<byte>body. Any type implementingIChanneldirectly, such as a test double or a decorator, will not compile against 7.3.0 until it implements them. This is the release's only hard source break, and it affects implementors rather than callers. Five new[Obsolete]warnings also fail a warnings-as-errors build; they are listed below.ReadOnlySequence<byte>without being copied. Ten newIChannelExtensionsoverloads takebodyOwner, five of them for a sequence and five for aReadOnlyMemory<byte>. Ownership ofbodyOwnertransfers to the client, which disposes it once, after the message reaches the wire or when publication fails, so every segment must stay valid and unmodified until then. Passingnullis permitted but copies the body into one pooled buffer. A body that cannot be read when the client writes it closes the connection, and every channel on it (#2108). An exception from the owner'sDisposeis contained, so a failed publish still throws its own exception.Byte slices as field table values
ReadOnlyMemory<byte>,Memory<byte>orArraySegment<byte>(#2144). It is sent as a long string, like abyte[], and received as abyte[]. These types previously failed withWireFormattingException, whichCreateConnectionAsyncwraps inBrokerUnreachableExceptionwhen the value is inConnectionFactory.ClientProperties.BasicPublishAsynccompletes, which can be after the call returns. With topology recovery, exchange, queue, binding and consumer arguments are sent again on each recovery, andConnectionFactory.ClientPropertiesis sent by every connection the factory opens, so a slice in either must stay valid and unchanged until those connections are closed.byte[]only for values longer than 8 bytes, and it takes longer to encode than abyte[].OpenTelemetry span status and duration
Two changes visible to anyone with dashboards or alerts on this client's spans (#1978):
publishspan will move;docs/internal/opentelemetry-tracing-review.mdhas the measurements.Errorspans. Publisher and subscriber spans previously set no status, so a throwing consumer traced as a success, as did a nacked or returned publish on a channel with confirmations and tracking both enabled. They now setError,error.typeand an exception event, so error rates keyed on these spans go from zero to real. Cancellation the caller's own token requested is exempt and rethrows unmarked; any other cancellation, such as a client-internal timeout, is recorded as an error.error.typeholds the exception's full type name.OpenTelemetry tracing configuration
Now settable per factory (#2026, #2009):
ConnectionFactory.TracingOptions, instead of only through process-wide statics. Every member of the newConnectionTracingOptionsis nullable andnullmeans inherit, resolved per member, so setting one span-shaping flag leaves whatever propagation is configured process-wide untouched. Each connection copies the factory'sTracingOptionswhen it is created and keeps that copy across recovery, so later changes to it affect only connections created afterwards.DistributedContextPropagator, not a pair of delegates.RabbitMQActivitySource.ContextInjector,ContextExtractor,UseRoutingKeyAsOperationNameandTracingOptionsare now[Obsolete]warnings, so a warnings-as-errors build touching any of them fails; they keep working and will be removed in a future major version.ContextInjectorandContextExtractorare replaced byConnectionTracingOptions.Propagator,UseRoutingKeyAsOperationNameby the member of the same name onConnectionTracingOptions, andTracingOptionsbyConnectionFactory.TracingOptions.nulltoRabbitMQActivitySource.ContextInjector,ContextExtractororTracingOptionsnow throwsArgumentNullExceptionat the assignment, instead of surfacing as aNullReferenceExceptionfrom inside the client on a later publish or delivery.TracerProviderconfiguration remains unachievable, and theRabbitMQ.Client.OpenTelemetryREADME now says so, along with the three activity sources, their span names, and both options. OneActivitySourceproduces a singleActivityshared by every listener, and one publish injects a single set of headers, so neither span shape nor propagated context can differ per provider. Where the configuration needs an owner, configure the factory.RabbitMQ.Client.OpenTelemetryaddsConnectionFactory.UseOpenTelemetryTracing, which installs propagation on a factory and is the entry point to use in a generic-host application, where the factory is resolved afterWithTracingruns. Subscribing a provider withAddRabbitMQInstrumentationstill installs the process-wide propagation default as a side effect; separating the two is #2042.RabbitMQ.Client.OpenTelemetrylifts the application toSystem.Diagnostics.DiagnosticSource10.x, whose default propagator emits baggage in the standardbaggageheader rather than the non-standardCorrelation-Contextthat 9.x uses, and encodes the value differently. This reaches the wire only for connections still using the client's own default propagation:UseOpenTelemetryTracingandAddRabbitMQInstrumentationinstall OpenTelemetry's own propagator instead, as does settingConnectionTracingOptions.Propagatorto anOpenTelemetryPropagator. #2040 carries it.OpenTelemetry semantic-convention conformance
... (truncated)
7.3.0-beta.0
7.3.0
User-visible behavior changes.
CHANGELOG.mdcarries the full merged pull request and issue list.Security
amqps://URI now verifies the broker's certificate against the host name (GHSA-7xr9-fg47-hh5x). Assigning anamqps://URI toConnectionFactory.Uriaccepted a certificate issued for any host. This also affected a factory bound from configuration withSsl:Enabledset, because the reflection-based configuration binder assignsUrieven when noUrikey is present.Ssl.ServerName, which assigningUrisets to the URI's host unlessServerNamealready holds a different name. A certificate that does not carry that name, as a DNS name or an IP address, now fails the handshake. That includes aHostNamechanged after theUri, which does not updateServerName. For several nodes with their own certificates, give eachAmqpTcpEndpointits ownSslOptioninstance withEnabled = trueand that node'sServerName. SettingSsl.AcceptablePolicyErrors = SslPolicyErrors.RemoteCertificateNameMismatchrestores the old behavior, and has no effect whenSsl.CertificateValidationCallbackis set.Urino longer discards settings made before it. It replacesSslwith a copy that keeps the certificates, callbacks, revocation check, policy and version already set, so permissive settings made before theUrinow take effect: review them. WhenSsl.Versionis not set, anamqps://URI still sets it fromAmqpUriSslProtocols.MaxInboundMessageBodySizeset before theUriis now kept rather than reset to 64 MiB.AmqpTcpEndpoints or anIEndpointResolver, or an assignedEndpoint, the factory used each endpoint's ownSslOption, whose TLS is off unless set, so the connection and its recoveries went unencrypted, to port 5672 when the endpoint had no port of its own. Such an endpoint now uses the factory'sSsl, including its oneServerName, and port 5671 when it has no port of its own; nodes with their own certificates need their ownSslOption, as above. An endpoint bound by the reflection-based configuration binder stores port 5672 when none is given, so give it the TLS port.IConnection.Endpointreports a copy rather than the instance passed in, and its port can differ: 5671 where the instance passed in reports 5672.ConnectionFactory.Urilikewise names port 5671 for a factory with TLS enabled and no port. A deployment that relied on the cleartext connection fails to connect after upgrading unless the broker accepts TLS on that port with a certificate forSsl.ServerName.SslOptionor an endpoint afterwards, on the factory, on an endpoint passed in or onIConnection.Endpoint, no longer reaches it; create a new connection to use different options. AnIEndpointResolver, passed in or returned byEndpointResolverFactory, is still asked for its endpoints on every recovery, and their options are read then. To follow endpoints that change while a connection is open, such as from service discovery, return them from the resolver'sAll(), not from the sequence passed toEndpointResolverFactory, which is now copied when the connection is created.amqp://URI no longer turns TLS off: assigning one to a factory with TLS enabled throwsInvalidOperationException, which the reflection-based configuration binder wraps inTargetInvocationException. To connect without TLS, assignSsla newSslOptionfirst; settingSsl.Enabled = falsealso turns TLS off for any other factory or endpoint that shares that instance.connection.tunewhose negotiatedframe_maxis from 1 to 4095, below the AMQP minimum, now fails the connection:CreateConnectionAsyncthrowsBrokerUnreachableExceptionwith aProtocolViolationExceptioninside (GHSA-qqh4-4hmj-6ph2). A broker, or anything between client and broker, that sent 1 to 8 broke publishing, and 1 to 7 could make it write past the end of a buffer. ARequestedFrameMaxfrom 1 to 4095 fails the same way. 0 still means no limit, and a value above about 2 GiB is now also treated as no limit instead of making every publish fail.connection.startfrom the broker, or message headers set by any publisher, could overflow the stack and terminate the application. Such a value now fails the connection and every channel on it, as an unknown field type already did:CreateConnectionAsyncthrowsBrokerUnreachableException, and a delivery, abasic.returnor aBasicGetAsyncreply closes the connection with reply code 502. Deeper nesting was read before. This client now refuses to send it as well:BasicPublishAsync, or any method taking an arguments table, throwsWireFormattingExceptionbefore anything is sent, and a table that contains itself fails the same way instead of overflowing the stack. A message carrying such headers closes the connection again each time it is redelivered. From RabbitMQ 4.0, a quorum queue's default delivery limit eventually removes it; on other queues it stays until removed, for example by purging the queue, or on a stream until retention discards it.BasicGetAsyncno longer waits forever when the reply's headers cannot be read (#2076). It throws the parse error, such asSyntaxErrorException, and the connection closes with reply code 502.Publishing a caller-owned or sequence body
Adds API and breaks implementors of
IChannel(#1913, #1983):IChannelgained four new abstract members, with no default implementations. The interface went from twoBasicPublishAsyncoverloads to six, the new ones taking anIDisposable? bodyOwneralongside either aReadOnlyMemory<byte>or aReadOnlySequence<byte>body. Any type implementingIChanneldirectly, such as a test double or a decorator, will not compile against 7.3.0 until it implements them. This is the release's only hard source break, and it affects implementors rather than callers. Five new[Obsolete]warnings also fail a warnings-as-errors build; they are listed below.ReadOnlySequence<byte>without being copied. Ten newIChannelExtensionsoverloads takebodyOwner, five of them for a sequence and five for aReadOnlyMemory<byte>. Ownership ofbodyOwnertransfers to the client, which disposes it once, after the message reaches the wire or when publication fails, so every segment must stay valid and unmodified until then. Passingnullis permitted but copies the body into one pooled buffer. A body that cannot be read when the client writes it closes the connection, and every channel on it (#2108). An exception from the owner'sDisposeis contained, so a failed publish still throws its own exception.Byte slices as field table values
ReadOnlyMemory<byte>,Memory<byte>orArraySegment<byte>(#2144). It is sent as a long string, like abyte[], and received as abyte[]. These types previously failed withWireFormattingException, whichCreateConnectionAsyncwraps inBrokerUnreachableExceptionwhen the value is inConnectionFactory.ClientProperties.BasicPublishAsynccompletes, which can be after the call returns. With topology recovery, exchange, queue, binding and consumer arguments are sent again on each recovery, andConnectionFactory.ClientPropertiesis sent by every connection the factory opens, so a slice in either must stay valid and unchanged until those connections are closed.byte[]only for values longer than 8 bytes, and it takes longer to encode than abyte[].OpenTelemetry span status and duration
Two changes visible to anyone with dashboards or alerts on this client's spans (#1978):
publishspan will move;docs/internal/opentelemetry-tracing-review.mdhas the measurements.Errorspans. Publisher and subscriber spans previously set no status, so a throwing consumer traced as a success, as did a nacked or returned publish on a channel with confirmations and tracking both enabled. They now setError,error.typeand an exception event, so error rates keyed on these spans go from zero to real. Cancellation the caller's own token requested is exempt and rethrows unmarked; a client-internal timeout, such asRequestedConnectionTimeout, is recorded as an error witherror.typeofBrokerUnreachableException.OpenTelemetry tracing configuration
Now settable per factory (#2026, #2009):
ConnectionFactory.TracingOptions, instead of only through process-wide statics. Every member of the newConnectionTracingOptionsis nullable andnullmeans inherit, resolved per member, so setting one span-shaping flag leaves whatever propagation is configured process-wide untouched. Each connection copies the factory'sTracingOptionswhen it is created and keeps that copy across recovery, so later changes to it affect only connections created afterwards.DistributedContextPropagator, not a pair of delegates.RabbitMQActivitySource.ContextInjector,ContextExtractor,UseRoutingKeyAsOperationNameandTracingOptionsare now[Obsolete]warnings, so a warnings-as-errors build touching any of them fails; they keep working and will be removed in a future major version.ContextInjectorandContextExtractorare replaced byConnectionTracingOptions.Propagator,UseRoutingKeyAsOperationNameby the member of the same name onConnectionTracingOptions, andTracingOptionsbyConnectionFactory.TracingOptions.nulltoRabbitMQActivitySource.ContextInjector,ContextExtractororTracingOptionsnow throwsArgumentNullExceptionat the assignment, instead of surfacing as aNullReferenceExceptionfrom inside the client on a later publish or delivery.TracerProviderconfiguration remains unachievable, and theRabbitMQ.Client.OpenTelemetryREADME now says so, along with the three activity sources, their span names, and both options. OneActivitySourceproduces a singleActivityshared by every listener, and one publish injects a single set of headers, so neither span shape nor propagated context can differ per provider. Where the configuration needs an owner, configure the factory.RabbitMQ.Client.OpenTelemetryaddsConnectionFactory.UseOpenTelemetryTracing, which installs propagation on a factory and is the entry point to use in a generic-host application, where the factory is resolved afterWithTracingruns. Subscribing a provider withAddRabbitMQInstrumentationstill installs the process-wide propagation default as a side effect; separating the two is #2042.RabbitMQ.Client.OpenTelemetrylifts the application toSystem.Diagnostics.DiagnosticSource10.x, whose default propagator emits baggage in the standardbaggageheader rather than the non-standardCorrelation-Contextthat 9.x uses, and encodes the value differently. This reaches the wire only for connections still using the client's own default propagation:UseOpenTelemetryTracing,AddRabbitMQInstrumentationandConnectionTracingOptions.Propagatorall route through OpenTelemetry's own propagator instead. #2040 carries it.... (truncated)
Commits viewable in compare view.
Updated Scalar.AspNetCore from 3.0.1 to 3.2.0.
Release notes
Sourced from Scalar.AspNetCore's releases.
No release notes found for this version range.
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions