Skip to content

Commit

Permalink
Artifacts for .NET 9 Preview 4 Release (#9315)
Browse files Browse the repository at this point in the history
* Artifacts for .NET 9 Preview 4 Release

* Update 9.0.0-preview.4.md
  • Loading branch information
rbhanda committed May 21, 2024
1 parent d4435f7 commit 6147bed
Show file tree
Hide file tree
Showing 19 changed files with 2,157 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ The following [.NET releases](./releases.md) are currently supported:

| Version | Release Date | Support | Latest Patch Version | End of Support |
| :-- | :-- | :-- | :-- | :-- |
| [.NET 9](release-notes/9.0/README.md) | November 12, 2024 | [STS][policies] | [9.0.0-preview.3][9.0.0-preview.3] | |
| [.NET 9](release-notes/9.0/README.md) | November 12, 2024 | [STS][policies] | [9.0.0-preview.4][9.0.0-preview.4] | |
| [.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 |
| [.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 |


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

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

Expand Down
820 changes: 820 additions & 0 deletions release-notes/9.0/preview/preview4/9.0.0-preview.4.md

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions release-notes/9.0/preview/preview4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# .NET 9 Preview 4 - Release Notes

.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:

* [Libraries](./libraries.md)
* [Runtime](./runtime.md)

### Feature Release Notes

* [.NET Data and EF Core](./efcoreanddata.md)
* [.NET MAUI](./dotnetmaui.md)
* [ASP.NET Core](./aspnetcore.md)
* [WPF](./wpf.md)

## Get Started

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).

## Announcements & Discussions

Discuss this release with the product teams on GitHub through the announcements for this release.

* [.NET 9 Preview 4 Announcement](https://aka.ms/dotnet/9/preview4)

## Stay up-to-date

You can find a detailed overview of all new features in .NET 9:

* [What's new in .NET 9](https://learn.microsoft.com/dotnet/core/whats-new/dotnet-9/overview)
* [What's new in ASP.NET Core](https://learn.microsoft.com/aspnet/core/release-notes/aspnetcore-9.0)
* [What's new in .NET MAUI](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9)
* [What's new in EF Core](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)

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).
292 changes: 292 additions & 0 deletions release-notes/9.0/preview/preview4/aspnetcore.md

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions release-notes/9.0/preview/preview4/dotnetmaui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# .NET MAUI in .NET 9 Preview 4 - Release Notes

Here's a summary of what's new in .NET MAUI in this preview release:

- [New Input Keyboards](#new-input-keyboards)
- [Android 15 Beta 1 Support](#android-15-beta-1-support)
- [NativeAOT improvements for iOS & Mac Catalyst](#native-aot-for-ios--mac-catalyst)

.NET MAUI updates in .NET 9 Preview 4:

* [What's new in .NET MAUI in .NET 9](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9) documentation
* [GitHub Release](https://aka.ms/maui9p4)

.NET 9 Preview 4:
* [Discussion](https://aka.ms/dotnet/9/preview4)
* [Release notes](./README.md)


## New Input Keyboards

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:

```xml
<Entry Keyboard="Date" />
```

## .NET for Android

### Android 15 Beta 1 Support

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.

```xml
<TargetFramework>net9.0-android35</TargetFramework>
```

Additional release information can be found on [GitHub releases](https://github.com/xamarin/xamarin-android/releases/).

## .NET for iOS

### Native AOT for iOS & Mac Catalyst

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.

```
dotnet publish -f net9.0-maccatalyst -r maccatalyst-arm64
```

![benchmark results of app size reduction and performance improvement](./media/nativeaot-perf.png)

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).

## Community Contributions

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).
47 changes: 47 additions & 0 deletions release-notes/9.0/preview/preview4/efcoreanddata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Entity Framework Core 9 Preview 4 - Release Notes

Here's a summary of what's new in Entity Framework Core in this preview release:

- [Enhanced database provider for Azure Cosmos DB for NoSQL](#enhanced-database-provider-for-azure-cosmos-db-for-nosql)
- [GroupBy complex types](#groupby-complex-types)
- [Read-only primitive collections](#read-only-primitive-collections)

Entity Framework Core 9:

- [What's new in Entity Framework Core](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew) documentation.
- [Discussion](https://github.com/dotnet/efcore/issues/33030)

.NET 9 Preview 4:

- [Discussion](https://aka.ms/dotnet/9/preview4)
- [Release notes](./README.md)

## Enhanced database provider for Azure Cosmos DB for NoSQL
The EF Core database provider for Azure Cosmos DB for NoSQL has received the following updates:

* Role-based access control (RBAC) is supported by EF9 for both management and use of containers.
* 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.
* Cosmos primitive collection support has been updated to use the metadata and model building APIs from EF8

> 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.

## GroupBy complex types
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.

> 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.
## Read-only primitive collections
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`.

> 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.
## Everything else in preview 4

* [10 enhancements](https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A9.0.0-preview4+is%3Aclosed+label%3Atype-enhancement+)
* [15 bug fixes](https://github.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A9.0.0-preview4+is%3Aclosed+label%3Atype-bug)

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:

* @y0ung3r: [InMemoryTable: Make IsConcurrencyConflict() method more readable](https://github.com/dotnet/efcore/pull/33561)

Loading

0 comments on commit 6147bed

Please sign in to comment.