Update What's new in .NET 11 for Preview 3#53004
Merged
BillWagner merged 4 commits intomainfrom Apr 14, 2026
Merged
Conversation
- Updated all 4 What's new articles for .NET 11 to Preview 3 - Updated ms.date to 04/14/2026 in all files - runtime.md: simplified Runtime Async opt-in (no EnablePreviewFeatures needed), added NativeAOT/R2R support, added JIT switch folding and uint-float cast improvements, added WebAssembly section - libraries.md: added System.Text.Json naming/ignore enhancements, Zstandard in System.IO.Compression, ZIP CRC32 validation, SafeFileHandle pipe support, RandomAccess pipe support, Regex AnyNewLine option - sdk.md: added solution filter CLI support, file-based app #:include, dotnet run -e, dotnet watch improvements, other CLI improvements - overview.md: updated summaries to reflect Preview 3 features, added union types to C# 15 list - Updated Libraries.cs snippet with new code samples for Preview 3 features - Updated Runtime.cs snippet to remove EnablePreviewFeatures comment Agent-Logs-Url: https://github.com/dotnet/docs/sessions/b44af3f0-172c-4e4f-bb38-d79eed5ce99c Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update What's new articles for .NET 11 Preview 3
Update What's new in .NET 11 for Preview 3
Apr 14, 2026
BillWagner
approved these changes
Apr 14, 2026
Member
BillWagner
left a comment
There was a problem hiding this comment.
This is ready.
The snippets issues is because preview 3 docker images aren't available yet.
We should verify the build before merging.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the .NET 11 “What’s new” content set to reflect Preview 3 (dated 04/14/2026), including new runtime, libraries, and SDK additions, plus refreshed snippets that demonstrate new APIs and behaviors.
Changes:
- Refreshes all four .NET 11 “What’s new” articles to Preview 3 (including updated
ms.dateand “last updated” text). - Adds new Preview 3 content across runtime (Runtime Async opt-in change, JIT items, WebAssembly section), libraries (Json naming/ignore defaults, ZIP CRC32 validation, low-level I/O, regex), and SDK tooling (solution filters,
#:include,dotnet run -e, watch improvements). - Updates/extends snippets to cover the new library features and removes the runtime-async preview opt-in property from the snippet comment.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/core/whats-new/dotnet-11/snippets/csharp/Runtime.cs | Removes the <EnablePreviewFeatures> line from the runtime-async opt-in snippet comment. |
| docs/core/whats-new/dotnet-11/snippets/csharp/Libraries.cs | Adds new snippet regions for Json naming/ignore, SafeFileHandle pipe APIs, and RegexOptions.AnyNewLine, plus a new EventData model. |
| docs/core/whats-new/dotnet-11/sdk.md | Updates Preview 3 messaging and adds new CLI/tooling sections and examples. |
| docs/core/whats-new/dotnet-11/runtime.md | Updates Preview 3 messaging and adds Runtime Async clarifications, new JIT bullets, and a new WebAssembly section. |
| docs/core/whats-new/dotnet-11/overview.md | Updates the summary bullets to include Preview 3 runtime/libraries/SDK additions and adds a C# 15 “Union types” link. |
| docs/core/whats-new/dotnet-11/libraries.md | Updates Preview 3 messaging and adds new sections for ZIP CRC32 validation, Json naming/ignore defaults, low-level I/O, and regex improvements. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
adegeo
approved these changes
Apr 14, 2026
Contributor
adegeo
left a comment
There was a problem hiding this comment.
Approved to unblock. Does it just need the preview 3 packages fully published?
Contributor
|
@BillWagner Verified that .NET 11 Preview 3 is installed for the snippets testing, so that isn't the source of failure. |
It should be `asyncRead` and `asyncWrite`, not `asyncReads` and `asyncWrites`.
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.
Updates all four .NET 11 "What's new" articles to cover Preview 3 (released April 14, 2026). All
ms.datefields updated to04/14/2026.Runtime (
runtime.md)net11.0projects no longer need<EnablePreviewFeatures>true</EnablePreviewFeatures>— only<Features>runtime-async=on</Features>required. Added NativeAOT/ReadyToRun support and continuation object reuse optimization.uint→float/doublecasts on pre-AVX-512 x86; extended bounds-check elimination to cover index-from-end access.float[]/Span<float>JS marshaling.Libraries (
libraries.md)JsonNamingPolicy.PascalCase, per-member[JsonNamingPolicy]attribute, and type-level[JsonIgnore(Condition = ...)].System.IO.Compression(package reference removal noted).InvalidDataExceptionon corrupt entries.SafeFileHandle.Type,SafeFileHandle.CreateAnonymousPipe,RandomAccessread/write on non-seekable handles (pipes).RegexOptions.AnyNewLinetreats all Unicode newline sequences (\r\n,\u0085,\u2028,\u2029) as line terminators.SDK (
sdk.md)dotnet slncan create/edit solution filters (.slnf).#:includefor splitting across files.dotnet run -e KEY=VALUEpasses environment variables without shell state changes.dotnet watch: Aspire app-host integration, automatic crash recovery, improved Ctrl+C on Windows desktop apps.dotnet format --framework,dotnet test --artifacts-path(MTP), anddotnet tool execapproval prompt removal.Overview (
overview.md)Snippets
Libraries.cs: addedJsonNamingIgnore,SafeFileHandlePipe, andRegexAnyNewLinesnippet regions; addedEventDatamodel with new attributes.Runtime.cs: removed<EnablePreviewFeatures>from the opt-in comment block.Internal previews