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