Repository navigation
chore(deps): move to .NET 11 (supersedes #181, #182, #184) - #191
Merged
Merged
Conversation
- net11.0 in Directory.Build.props; the test projects drop their own copy of the TargetFramework so the props file is the one owner. - Microsoft.AspNetCore.*, Microsoft.EntityFrameworkCore.*, Npgsql EF and Microsoft.Extensions.* to 11.0.x; sdk/aspnet images and setup-dotnet to 11. - Roslyn pinned to 5.9.0: EF Core Design 11 needs it, and the 5.0.0 metapackages that WolverineFx.RuntimeCompilation pulls pin each other exactly (NU1608). JasperFx.RuntimeCompiler accepts [4.14, 6.0). - Drop the SQLitePCLRaw pin: EF Core 11 requires the patched 3.0.5+. - Drop Microsoft.Extensions.Hosting.Abstractions: the framework provides it on .NET 11 (NU1510). - PriceParserTests: .NET 11 converts double to decimal exactly, so the InlineData doubles go through a round-trip string. Production code never converts double to decimal; agent-notes records the rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 2, 2026
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.
Replaces #190, which GitHub closed when its base branch (#188) was deleted. Moves the backend from .NET 10 to .NET 11. This replaces Dependabot's #181 (aspnet image), #182 (sdk image) and #184 (Microsoft.Extensions 11). None of those can merge alone: a net10.0 app does not run on the aspnet 11 image.
Changes
net11.0inDirectory.Build.props. The five test projects drop their own copy ofTargetFramework, soDirectory.Build.propsis its one owner.Microsoft.AspNetCore.*,Microsoft.EntityFrameworkCore.*,Npgsql.EntityFrameworkCore.PostgreSQLandMicrosoft.Extensions.*move to 11.0.x. The sdk/aspnet images andsetup-dotnet(ci, e2e) move to 11.Microsoft.CodeAnalysis.*5.9.0 or later.WolverineFx.RuntimeCompilation→JasperFx.RuntimeCompilerpulls the 5.0.0 metapackages, whose members pin each other exactly (NU1608 with warnings as errors). Mixed versions are a runtime risk, because Scripting uses Roslyn internals. The compiler accepts[4.14.0, 6.0.0), so pinning both metapackages at 5.9.0 keeps every Roslyn assembly the same version.Microsoft.Extensions.Hosting.Abstractionsreference removed. The framework provides it on .NET 11 (NU1510)..NET 11 behavior change: double → decimal
.NET 11 converts
doubletodecimalwith the exact binary value:(decimal)499.9is499.8999999999999772…. 20PriceParserTestscases failed because[InlineData]passesdoubleliterals intodecimalparameters. They now convert through a round-trip string.Production code never converts
doubletodecimal. Prices reachdecimalonly through strings:PriceParser, andJsonValue.ToString()inJsonPathExtractor. The(double)casts go the other way (sorting, metrics) and are not affected.docs/agent-notes.md§ Pricing records the rule.Gate (local, .NET SDK 11.0.100)
dotnet build: 0 warnings, 0 errors (TreatWarningsAsErrors,latest-recommendedanalyzers)dotnet ef migrations has-pending-model-changes: no changes[🤖 Generated by Claude Opus 5.5]