Draft
Conversation
This was referenced Apr 30, 2026
* [release-notes] .NET Libraries in .NET 11 Preview 4 (initial)
* [release-notes] Author libraries.md content
* Remove S.S.Crypto.Xml and LDAP change entries
* Fix verified API errors in 11.0 Preview 4 libraries release notes
Verified each API claim against Microsoft.NETCore.App.Ref 11.0.0-preview.4
from the dotnet11 feed and against the locally installed runtime. Fixes
six issues (five compile-time, one runtime):
- Process snippet: ProcessResult does not exist (it is ProcessTextOutput),
result.ExitCode does not exist (it is result.ExitStatus.ExitCode), and
the ProcessStartInfo overload of RunAndCaptureTextAsync throws at
runtime unless RedirectStandardOutput/Error are set. Switched to the
cleaner (string fileName, IList<string> arguments) overload.
- ZLib snippet: ZLibEncoder.Compress is an instance method, and the 5th
parameter is bool isFinalBlock (not CompressionLevel). Switched to
instantiating the encoder and calling Compress with isFinalBlock: true.
- Floating-point hex snippet: double.Parse requires NumberStyles.HexFloat
to parse the hex form; without it, the snippet throws FormatException
at runtime. Also corrected the example output casing to match what
ToString("X") actually emits (uppercase 0X and P).
- F# discriminated unions: System.Text.Json's PR 125610 ships an
adjacently-tagged shape with $type discriminator and named fields,
not the {Case, Fields} envelope shown in the snippet.
- LINQ tuple-overload section: removed entirely. PR 126624 reverted all
four tuple overloads (Join/LeftJoin/RightJoin/GroupJoin), and the
reinstatement (PR 126649) merged to main only and was not back-ported
to release/11.0-preview4. Updated the filtered-features comment to
reflect this.
Removed the four resolved TODO markers. Three TODO markers remain
(ConfigurationIgnoreAttribute namespace verified separately, MemoryCache
OTel instrument names, and the C# DU language proposal link).
Co-authored-by: Copilot <[email protected]>
* Resolve remaining TODOs in 11.0 Preview 4 libraries notes
- ConfigurationIgnore: drop verification marker (already in
Microsoft.Extensions.Configuration namespace, confirmed via
dotnet-inspect against PR 126396).
- MemoryCache OTel: name the four observable instruments emitted by
the new Microsoft.Extensions.Caching.Memory.MemoryCache meter
(dotnet.cache.requests with dotnet.cache.request.type=hit|miss,
dotnet.cache.evictions, dotnet.cache.entries,
dotnet.cache.estimated_size); document the
MemoryCacheOptions.TrackStatistics opt-in and the IMeterFactory
parameter on the new constructor. Confirmed at runtime against
Microsoft.Extensions.Caching.Memory 11.0.0-preview.4.26224.122
using a MeterListener probe.
- Discriminated unions: link to the C# unions language proposal
(dotnet/csharplang/blob/main/proposals/unions.md) and champion
issue dotnet/csharplang#9662.
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: danroth27 <[email protected]>
Co-authored-by: Jeff Handley <[email protected]>
Co-authored-by: Copilot <[email protected]>
* [release-notes] Containers in .NET 11 Preview 4 (initial) * Add .NET containers preview 4 release notes --------- Co-authored-by: danroth27 <[email protected]> Co-authored-by: Logan Bussell <[email protected]>
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.
Release notes for .NET 11 Preview 4.
This is the base PR for the milestone — it carries the shared metadata
(
README.md,changes.json,build-metadata.json,features.json). Eachcomponent file ships in its own PR targeting this branch so component teams
review their own file in isolation. See
release-notesskill /pr-layout.md.The component PRs will be linked back here as they open.
Generated end-to-end by the
release-notesskill (dry-run promoted to realPRs after local validation). AI-authored content; component teams should vet
for accuracy and resolve any inline
<!-- TODO -->placeholders beforemarking their PR ready for review.