Skip to content

Commit 6147bed

Browse files
authored
Artifacts for .NET 9 Preview 4 Release (#9315)
* Artifacts for .NET 9 Preview 4 Release * Update 9.0.0-preview.4.md
1 parent d4435f7 commit 6147bed

19 files changed

+2157
-14
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ The following [.NET releases](./releases.md) are currently supported:
1818

1919
| Version | Release Date | Support | Latest Patch Version | End of Support |
2020
| :-- | :-- | :-- | :-- | :-- |
21-
| [.NET 9](release-notes/9.0/README.md) | November 12, 2024 | [STS][policies] | [9.0.0-preview.3][9.0.0-preview.3] | |
21+
| [.NET 9](release-notes/9.0/README.md) | November 12, 2024 | [STS][policies] | [9.0.0-preview.4][9.0.0-preview.4] | |
2222
| [.NET 8](release-notes/8.0/README.md) | [November 14, 2023](https://devblogs.microsoft.com/dotnet/announcing-dotnet-8/) | [LTS][policies] | [8.0.5][8.0.5] | November 10, 2026 |
2323
| [.NET 6](release-notes/6.0/README.md) | [November 8, 2021](https://devblogs.microsoft.com/dotnet/announcing-net-6/) | [LTS][policies] | [6.0.30][6.0.30] | November 12, 2024 |
2424

2525

2626
You can find release notes for all releases, including out-of-support releases, in the [release-notes](release-notes) directory.
2727

28-
[9.0.0-preview.3]: release-notes/9.0/preview/preview3/9.0.0-preview.3.md
28+
[9.0.0-preview.4]: release-notes/9.0/preview/preview4/9.0.0-preview.4.md
2929
[8.0.5]: release-notes/8.0/8.0.5/8.0.5.md
3030
[6.0.30]: release-notes/6.0/6.0.30/6.0.30.md
3131

release-notes/9.0/preview/preview4/9.0.0-preview.4.md

+820
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# .NET 9 Preview 4 - Release Notes
2+
3+
.NET 9 Preview 4 was released on May 21st, 2024. Find more information on new features released in .NET 9 Preview 4 by browsing through the release notes below:
4+
5+
* [Libraries](./libraries.md)
6+
* [Runtime](./runtime.md)
7+
8+
### Feature Release Notes
9+
10+
* [.NET Data and EF Core](./efcoreanddata.md)
11+
* [.NET MAUI](./dotnetmaui.md)
12+
* [ASP.NET Core](./aspnetcore.md)
13+
* [WPF](./wpf.md)
14+
15+
## Get Started
16+
17+
Instructions on getting started with .NET 9 can be found in the [getting started guide](../../get-started.md). Installers and binaries for .NET 9 Preview 4 can be found [here on GitHub](./9.0.0-preview.4.md).
18+
19+
## Announcements & Discussions
20+
21+
Discuss this release with the product teams on GitHub through the announcements for this release.
22+
23+
* [.NET 9 Preview 4 Announcement](https://aka.ms/dotnet/9/preview4)
24+
25+
## Stay up-to-date
26+
27+
You can find a detailed overview of all new features in .NET 9:
28+
29+
* [What's new in .NET 9](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview)
30+
* [What's new in ASP.NET Core](https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0)
31+
* [What's new in .NET MAUI](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9)
32+
* [What's new in EF Core](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)
33+
34+
The latest .NET 9 release is always available at [dotnet.microsoft.com](https://dotnet.microsoft.com/download/dotnet/9.0) and [.NET 9 Releases](../../README.md).

release-notes/9.0/preview/preview4/aspnetcore.md

+292
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# .NET MAUI in .NET 9 Preview 4 - Release Notes
2+
3+
Here's a summary of what's new in .NET MAUI in this preview release:
4+
5+
- [New Input Keyboards](#new-input-keyboards)
6+
- [Android 15 Beta 1 Support](#android-15-beta-1-support)
7+
- [NativeAOT improvements for iOS & Mac Catalyst](#native-aot-for-ios--mac-catalyst)
8+
9+
.NET MAUI updates in .NET 9 Preview 4:
10+
11+
* [What's new in .NET MAUI in .NET 9](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9) documentation
12+
* [GitHub Release](https://aka.ms/maui9p4)
13+
14+
.NET 9 Preview 4:
15+
* [Discussion](https://aka.ms/dotnet/9/preview4)
16+
* [Release notes](./README.md)
17+
18+
19+
## New Input Keyboards
20+
21+
In this release we have added new soft keyboard input support for `Password`, `Date`, and `Time`. Enable these on the `Editor` and `Entry` input controls like:
22+
23+
```xml
24+
<Entry Keyboard="Date" />
25+
```
26+
27+
## .NET for Android
28+
29+
### Android 15 Beta 1 Support
30+
31+
This release introduces .NET bindings for Beta 1 of Android 15 codenamed "Vanilla Ice Cream". To build for these APIs, update the target framework of your project.
32+
33+
```xml
34+
<TargetFramework>net9.0-android35</TargetFramework>
35+
```
36+
37+
Additional release information can be found on [GitHub releases](https://github.com/xamarin/xamarin-android/releases/).
38+
39+
## .NET for iOS
40+
41+
### Native AOT for iOS & Mac Catalyst
42+
43+
Native AOT (Ahead of Time) compilation for iOS and Mac Catalyst now takes advantage of full trimming to greatly reduce your application's package size and startup performance. This is a publishing feature that you can use when you're ready to ship your application. Your application and all dependencies must be fully trimmable in order to utilize this feature.
44+
45+
```
46+
dotnet publish -f net9.0-maccatalyst -r maccatalyst-arm64
47+
```
48+
49+
![benchmark results of app size reduction and performance improvement](./media/nativeaot-perf.png)
50+
51+
This release was focused on quality, additional information can be found on [GitHub releases](https://github.com/xamarin/xamarin-macios/releases/) and [known issues in .NET 9](https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET9).
52+
53+
## Community Contributions
54+
55+
Thanks to contributors [@MartyIX](https://github.com/MartyIX), [@beeradmoore](https://github.com/beeradmoore), [@atoghyani](https://github.com/atoghyani), [@taublast](https://github.com/taublast), [@VladislavAntonyuk](https://github.com/VladislavAntonyuk), [@Axemasta](https://github.com/Axemasta), [@kubaflo](https://github.com/kubaflo), and [@ivanpovazan](https://github.com/ivanpovazan).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Entity Framework Core 9 Preview 4 - Release Notes
2+
3+
Here's a summary of what's new in Entity Framework Core in this preview release:
4+
5+
- [Enhanced database provider for Azure Cosmos DB for NoSQL](#enhanced-database-provider-for-azure-cosmos-db-for-nosql)
6+
- [GroupBy complex types](#groupby-complex-types)
7+
- [Read-only primitive collections](#read-only-primitive-collections)
8+
9+
Entity Framework Core 9:
10+
11+
- [What's new in Entity Framework Core](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew) documentation.
12+
- [Discussion](https://github.com/dotnet/efcore/issues/33030)
13+
14+
.NET 9 Preview 4:
15+
16+
- [Discussion](https://aka.ms/dotnet/9/preview4)
17+
- [Release notes](./README.md)
18+
19+
## Enhanced database provider for Azure Cosmos DB for NoSQL
20+
The EF Core database provider for Azure Cosmos DB for NoSQL has received the following updates:
21+
22+
* Role-based access control (RBAC) is supported by EF9 for both management and use of containers.
23+
* Azure Cosmos DB for NoSQL does not support synchronous (blocking) access from application code. EF Core now blocks synchronous access by default, helping people fall into the pit-of-success of using async I/O.
24+
* Cosmos primitive collection support has been updated to use the metadata and model building APIs from EF8
25+
26+
> See [Azure Cosmos DB for NoSQL](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew#cosmos) in the _What's New_ docs for more information.
27+
28+
29+
## GroupBy complex types
30+
Support for grouping (`GroupBy` queries) that group by a complex type instance. The resulting SQL uses groups by all members, reflecting the value object semantics of complex types.
31+
32+
> See [GroupBy complex types](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew#groupby-complex-types) in the _What's New_ docs for more information.
33+
34+
## Read-only primitive collections
35+
EF8 introduced support for mapping arrays and mutable lists of primitive types. This has been expanded to include read-only collections declared as `IReadOnlyList`, `IReadOnlyCollection`, or `ReadOnlyCollection`.
36+
37+
> See [Read-only primitive collections](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew#read-only-primitives) in the _What's New_ docs for more information.
38+
39+
## Everything else in preview 4
40+
41+
* [10 enhancements](https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A9.0.0-preview4+is%3Aclosed+label%3Atype-enhancement+)
42+
* [15 bug fixes](https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A9.0.0-preview4+is%3Aclosed+label%3Atype-bug)
43+
44+
EF Core 9 Preview 4 (and Microsoft.Data.Sqlite) contains work from the EF Team at Microsoft (@roji @AndriySvyryd @maumar @ajcvickers @cincuranet @SamMonoRT @luisquintanilla) as well as contributions from the EF Core community. The community PRs in EF9 Preview 4 are:
45+
46+
* @y0ung3r: [InMemoryTable: Make IsConcurrencyConflict() method more readable](https://github.com/dotnet/efcore/pull/33561)
47+

0 commit comments

Comments
 (0)