Skip to content

Suppress trim and AOT diagnostics in Dapper fallback paths - #2233

Merged
mgravell merged 1 commit into
DapperLib:mainfrom
JamesNK:fix/2232-dapper-aot-diagnostics
Sep 23, 2026
Merged

mgravell merged 1 commit into
DapperLib:mainfrom
JamesNK:fix/2232-dapper-aot-diagnostics

Conversation

@JamesNK

@JamesNK JamesNK commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #2232.

Summary

Add method-level UnconditionalSuppressMessage attributes for the reflection, runtime generic construction, and DynamicMethod paths reported by the Dapper.AOT-enabled Native AOT dashboard application:

  • DefaultTypeMap property/field discovery and inherited property setter lookup (IL2070, IL2075).
  • StructuredHelper.CreateFor provider-specific structured parameters (IL2070, IL3050).
  • SqlMapper.AddTypeHandlerCore and LookupDbType runtime generic construction (IL3050).
  • SqlMapper.CreateParamInfoGenerator runtime parameter-object generation (IL2075, IL3050).
  • TypeExtensions.GetPublicInstanceMethod framework method lookup (IL2070).

Includes an internal compatibility definition of UnconditionalSuppressMessageAttribute for the legacy target frameworks. No public signatures or execution paths change.

This is a diagnostic-suppression change, not an AOT-safe rewrite: it does not preserve reflected members, root arbitrary generic instantiations, or remove the fallback implementations from the reachable graph. Unsupported fallback usage remains unsupported.

Validation

  • dotnet build .\Dapper\Dapper.csproj --no-restore succeeded for net461, netstandard2.0, net8.0, and net10.0.
  • The standalone Dapper.AOT/SQLite sample below published for win-x64 with Native AOT and zero Dapper IL diagnostics. The check included all Dapper IL warning IDs, not just the three reported in the issue.
  • Running the published native executable printed 42.
  • SDK used: 11.0.100-rc.1.26425.128; sample target framework: net10.0.
  • The sample restore/publish also reported NU1903 for transitive SQLitePCLRaw.lib.e_sqlite3 2.1.11 (advisory). This was separate from the Dapper IL diagnostics; these are the exact package versions tested, not a dependency-version recommendation.
  • Full test suite attempted with dotnet test .\tests\Dapper.Tests\Dapper.Tests.csproj --no-restore --framework net10.0: 66 passed, 30 skipped, 704 failed. SQL Server connection failures were reported because the required database instance was unavailable, so the full suite is not validated as passing.
  • No source diagnostics were reported for the changed files. CRLF-aware git diff --check passed.

The standalone sample was created outside the repository and is included below rather than added to the solution. It validates the scalar DynamicParameters scenario; the full Aspire dashboard was not republished for this patch.

DapperIssue2232.csproj

This is the project used for validation. Adjust the absolute ProjectReference to point to the Dapper checkout being tested.

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net10.0</TargetFramework>
    <PublishAot>true</PublishAot>
    <TrimmerSingleWarn>false</TrimmerSingleWarn>
    <InterceptorsNamespaces>$(InterceptorsNamespaces);Dapper.AOT</InterceptorsNamespaces>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="C:\Development\Source\Dapper\Dapper\Dapper.csproj" />
    <PackageReference Include="Dapper.AOT" Version="1.1.0" />
    <PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.8" />
  </ItemGroup>
</Project>

Program.cs

using System;
using Dapper;
using Microsoft.Data.Sqlite;

[module: DapperAot]

using var connection = new SqliteConnection("Data Source=:memory:");
connection.Open();

var parameters = new DynamicParameters();
parameters.Add("Value", 42);
Console.WriteLine(connection.QuerySingle<int>("select @Value", parameters));

Publish And Run

Run from the standalone sample directory with the Windows Native AOT build prerequisites installed:

dotnet publish .\DapperIssue2232.csproj -c Release -r win-x64 --self-contained true -p:ContinuousIntegrationBuild=false
.\bin\Release\net10.0\win-x64\publish\DapperIssue2232.exe

Observed native executable output:

42

@JamesNK

JamesNK commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Vibe coded. Please double check this is good. I'm not very fimilar about how Dapper and Dapper.AOT interact.

@mgravell
mgravell merged commit d970cf2 into DapperLib:main Sep 23, 2026
2 checks passed
This was referenced Sep 23, 2026
github-actions Bot pushed a commit to sloweyyy/cloud-native-ecommerce-platform that referenced this pull request Sep 27, 2026
Updated [Dapper](https://github.com/DapperLib/Dapper) from 2.1.86 to
2.1.89.

<details>
<summary>Release notes</summary>

_Sourced from [Dapper's
releases](https://github.com/DapperLib/Dapper/releases)._

## 2.1.89

## What's Changed
* Fully sign the StrongName assemblies on every platform by @​mgravell
in DapperLib/Dapper#2237
* Suppress trim and AOT diagnostics in Dapper fallback paths by
@​JamesNK in DapperLib/Dapper#2233
* Run the main build on every push to main, not just root-file pushes by
@​mgravell in DapperLib/Dapper#2238

## New Contributors
* @​JamesNK made their first contribution in
DapperLib/Dapper#2233

**Full Changelog**:
DapperLib/Dapper@2.1.86...2.1.89

Commits viewable in [compare
view](DapperLib/Dapper@2.1.86...2.1.89).
</details>

Updated [Grpc.AspNetCore](https://github.com/grpc/grpc-dotnet) from
2.83.0 to 2.84.0.

<details>
<summary>Release notes</summary>

_Sourced from [Grpc.AspNetCore's
releases](https://github.com/grpc/grpc-dotnet/releases)._

## 2.84.0

## What's Changed
* Document complete release version updates by @​JamesNK in
grpc/grpc-dotnet#2748
* Bump axios from 1.16.0 to 1.18.1 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2745
* Bump fast-uri from 3.1.2 to 3.1.4 in /examples/Browser/Server/wwwroot
by @​dependabot[bot] in grpc/grpc-dotnet#2749
* Avoid blocking SemaphoreSlim.Wait(0) on single-threaded browser WASM
by @​pavelsavara in grpc/grpc-dotnet#2756
* Update package dependencies and examples by @​JamesNK in
grpc/grpc-dotnet#2759
* Bump fast-uri from 3.1.4 to 3.1.5 in /examples/Browser/Server/wwwroot
by @​dependabot[bot] in grpc/grpc-dotnet#2754
* Bump brace-expansion in /testassets/InteropTestsGrpcWebWebsite/Tests
by @​dependabot[bot] in grpc/grpc-dotnet#2755
* Bump ip-address from 10.2.0 to 10.5.0 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2757
* Stabilize unobserved exception retry test by @​JamesNK in
grpc/grpc-dotnet#2758
* Fix corrupted bytes sent after GOAWAY by @​DeagleGross in
grpc/grpc-dotnet#2766
* Bump fast-uri from 3.1.5 to 3.1.7 in /examples/Browser/Server/wwwroot
by @​dependabot[bot] in grpc/grpc-dotnet#2761
* Bump js-yaml in /testassets/InteropTestsGrpcWebWebsite/Tests by
@​dependabot[bot] in grpc/grpc-dotnet#2765
* Bump joi from 17.13.4 to 17.13.7 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2764
* Bump baseline-browser-mapping from 2.9.19 to 2.11.21 in
/examples/Browser/Server/wwwroot by @​dependabot[bot] in
grpc/grpc-dotnet#2763
* Bump browserslist from 4.25.1 to 4.28.8 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2762
* Bump @​babel/core from 7.28.0 to 7.29.7 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2767
* Update the versions for pre release. by @​asheshvidyut in
grpc/grpc-dotnet#2768
* Update version for 2.84.x-pre1 by @​asheshvidyut in
grpc/grpc-dotnet#2769
* Remove pre suffix for 2.84.0 stable release by @​asheshvidyut in
grpc/grpc-dotnet#2770

## New Contributors
* @​pavelsavara made their first contribution in
grpc/grpc-dotnet#2756
* @​DeagleGross made their first contribution in
grpc/grpc-dotnet#2766

**Full Changelog**:
grpc/grpc-dotnet@v2.83.0...v2.84.0

## 2.84.0-pre1

## What's Changed
* Document complete release version updates by @​JamesNK in
grpc/grpc-dotnet#2748
* Bump axios from 1.16.0 to 1.18.1 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2745
* Bump fast-uri from 3.1.2 to 3.1.4 in /examples/Browser/Server/wwwroot
by @​dependabot[bot] in grpc/grpc-dotnet#2749
* Avoid blocking SemaphoreSlim.Wait(0) on single-threaded browser WASM
by @​pavelsavara in grpc/grpc-dotnet#2756
* Update package dependencies and examples by @​JamesNK in
grpc/grpc-dotnet#2759
* Bump fast-uri from 3.1.4 to 3.1.5 in /examples/Browser/Server/wwwroot
by @​dependabot[bot] in grpc/grpc-dotnet#2754
* Bump brace-expansion in /testassets/InteropTestsGrpcWebWebsite/Tests
by @​dependabot[bot] in grpc/grpc-dotnet#2755
* Bump ip-address from 10.2.0 to 10.5.0 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2757
* Stabilize unobserved exception retry test by @​JamesNK in
grpc/grpc-dotnet#2758
* Fix corrupted bytes sent after GOAWAY by @​DeagleGross in
grpc/grpc-dotnet#2766
* Bump fast-uri from 3.1.5 to 3.1.7 in /examples/Browser/Server/wwwroot
by @​dependabot[bot] in grpc/grpc-dotnet#2761
* Bump js-yaml in /testassets/InteropTestsGrpcWebWebsite/Tests by
@​dependabot[bot] in grpc/grpc-dotnet#2765
* Bump joi from 17.13.4 to 17.13.7 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2764
* Bump baseline-browser-mapping from 2.9.19 to 2.11.21 in
/examples/Browser/Server/wwwroot by @​dependabot[bot] in
grpc/grpc-dotnet#2763
* Bump browserslist from 4.25.1 to 4.28.8 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2762
* Bump @​babel/core from 7.28.0 to 7.29.7 in
/testassets/InteropTestsGrpcWebWebsite/Tests by @​dependabot[bot] in
grpc/grpc-dotnet#2767
* Update the versions for pre release. by @​asheshvidyut in
grpc/grpc-dotnet#2768
* Update version for 2.84.x-pre1 by @​asheshvidyut in
grpc/grpc-dotnet#2769

## New Contributors
* @​pavelsavara made their first contribution in
grpc/grpc-dotnet#2756
* @​DeagleGross made their first contribution in
grpc/grpc-dotnet#2766

**Full Changelog**:
grpc/grpc-dotnet@v2.83.0...v2.84.0-pre1

Commits viewable in [compare
view](grpc/grpc-dotnet@v2.83.0...v2.84.0).
</details>

Updated
[Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/dotnet)
from 10.0.11 to 10.0.12.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.EntityFrameworkCore.Design's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.EntityFrameworkCore.SqlServer](https://github.com/dotnet/dotnet)
from 10.0.11 to 10.0.12.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.EntityFrameworkCore.SqlServer's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[Microsoft.EntityFrameworkCore.Tools](https://github.com/dotnet/dotnet)
from 10.0.11 to 10.0.12.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.EntityFrameworkCore.Tools's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated
[OpenTelemetry.Exporter.OpenTelemetryProtocol](https://github.com/open-telemetry/opentelemetry-dotnet)
from 1.19.0 to 1.19.1.

<details>
<summary>Release notes</summary>

_Sourced from [OpenTelemetry.Exporter.OpenTelemetryProtocol's
releases](https://github.com/open-telemetry/opentelemetry-dotnet/releases)._

## 1.19.1

For highlights and announcements pertaining to this release see:
[Release Notes >
1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#​1191).

The following changes are from the previous release
[1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0).

* NuGet: [OpenTelemetry
v1.19.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1)

* Fixed `NotSupportedException` thrown when building a `TracerProvider`
or `MeterProvider` with a large number of wildcard source/meter patterns
on `net8.0`, and a related `OutOfMemoryException` that could occur when
many such providers were built over the lifetime of a process.

([#​7788](open-telemetry/opentelemetry-dotnet#7788))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Console
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.InMemory
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Zipkin
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Extensions.Hosting
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1)

  No notable changes.
 ... (truncated)

## 1.19.1-rc.1

The following changes are from the previous release
[1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0).

* NuGet: [OpenTelemetry
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1-rc.1)

* Fixed `NotSupportedException` thrown when building a `TracerProvider`
or `MeterProvider` with a large number of wildcard source/meter patterns
on `net8.0`, and a related `OutOfMemoryException` that could occur when
many such providers were built over the lifetime of a process.

([#​7788](open-telemetry/opentelemetry-dotnet#7788))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Console
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.InMemory
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Zipkin
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Extensions.Hosting
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md)
for details.
 ... (truncated)

## 1.19.1-beta.1

The following changes are from the previous release
[1.19.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.19.0-beta.1).

* NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore
v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.19.1-beta.1)

  * Updated OpenTelemetry core component version(s) to `1.19.1`.

([#​7796](open-telemetry/opentelemetry-dotnet#7796))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener
v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.19.1-beta.1)

  * Updated OpenTelemetry core component version(s) to `1.19.1`.

([#​7796](open-telemetry/opentelemetry-dotnet#7796))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Shims.OpenTracing
v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.19.1-beta.1)

  * Updated OpenTelemetry core component version(s) to `1.19.1`.

([#​7796](open-telemetry/opentelemetry-dotnet#7796))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md)
for details.



Commits viewable in [compare
view](open-telemetry/opentelemetry-dotnet@core-1.19.0...core-1.19.1).
</details>

Updated
[OpenTelemetry.Extensions.Hosting](https://github.com/open-telemetry/opentelemetry-dotnet)
from 1.19.0 to 1.19.1.

<details>
<summary>Release notes</summary>

_Sourced from [OpenTelemetry.Extensions.Hosting's
releases](https://github.com/open-telemetry/opentelemetry-dotnet/releases)._

## 1.19.1

For highlights and announcements pertaining to this release see:
[Release Notes >
1.19.1](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md#​1191).

The following changes are from the previous release
[1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0).

* NuGet: [OpenTelemetry
v1.19.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1)

* Fixed `NotSupportedException` thrown when building a `TracerProvider`
or `MeterProvider` with a large number of wildcard source/meter patterns
on `net8.0`, and a related `OutOfMemoryException` that could occur when
many such providers were built over the lifetime of a process.

([#​7788](open-telemetry/opentelemetry-dotnet#7788))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Console
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.InMemory
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Zipkin
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Extensions.Hosting
v1.19.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1)

  No notable changes.
 ... (truncated)

## 1.19.1-rc.1

The following changes are from the previous release
[1.19.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.19.0).

* NuGet: [OpenTelemetry
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry/1.19.1-rc.1)

* Fixed `NotSupportedException` thrown when building a `TracerProvider`
or `MeterProvider` with a large number of wildcard source/meter patterns
on `net8.0`, and a related `OutOfMemoryException` that could occur when
many such providers were built over the lifetime of a process.

([#​7788](open-telemetry/opentelemetry-dotnet#7788))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Api.ProviderBuilderExtensions
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Api.ProviderBuilderExtensions/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Console
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Console/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Console/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.InMemory
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.InMemory/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.OpenTelemetryProtocol
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.OpenTelemetryProtocol/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Zipkin
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Zipkin/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Extensions.Hosting
v1.19.1-rc.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Hosting/1.19.1-rc.1)

  No notable changes.

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/core-1.19.1-rc.1/src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md)
for details.
 ... (truncated)

## 1.19.1-beta.1

The following changes are from the previous release
[1.19.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/coreunstable-1.19.0-beta.1).

* NuGet: [OpenTelemetry.Exporter.Prometheus.AspNetCore
v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.AspNetCore/1.19.1-beta.1)

  * Updated OpenTelemetry core component version(s) to `1.19.1`.

([#​7796](open-telemetry/opentelemetry-dotnet#7796))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Exporter.Prometheus.HttpListener
v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Exporter.Prometheus.HttpListener/1.19.1-beta.1)

  * Updated OpenTelemetry core component version(s) to `1.19.1`.

([#​7796](open-telemetry/opentelemetry-dotnet#7796))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md)
for details.

* NuGet: [OpenTelemetry.Shims.OpenTracing
v1.19.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Shims.OpenTracing/1.19.1-beta.1)

  * Updated OpenTelemetry core component version(s) to `1.19.1`.

([#​7796](open-telemetry/opentelemetry-dotnet#7796))

See
[CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet/blob/coreunstable-1.19.1-beta.1/src/OpenTelemetry.Shims.OpenTracing/CHANGELOG.md)
for details.



Commits viewable in [compare
view](open-telemetry/opentelemetry-dotnet@core-1.19.0...core-1.19.1).
</details>

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will 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 version` will 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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dapper.AOT leaves trim-unsafe Dapper reflection paths reachable during Native AOT publish

2 participants