From fc2dc057a636d2edf576f1f373a65c6513ebbf42 Mon Sep 17 00:00:00 2001 From: maumar Date: Sun, 5 Jan 2025 00:40:36 -0800 Subject: [PATCH] whats new in EF 10 --- .../ef-core-10.0/breaking-changes.md | 16 +++++++++ .../core/what-is-new/ef-core-10.0/whatsnew.md | 33 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md create mode 100644 entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md diff --git a/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md b/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md new file mode 100644 index 0000000000..da847c6fe4 --- /dev/null +++ b/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md @@ -0,0 +1,16 @@ +--- +title: Breaking changes in EF Core 10 (EF10) - EF Core +description: List of breaking changes introduced in Entity Framework Core 10 (EF10) +author: maumarajcvickers +ms.date: 01/03/2025 +uid: core/what-is-new/ef-core-10.0/breaking-changes +--- + +# Breaking changes in EF Core 10 (EF10) + +This page documents API and behavior changes that have the potential to break existing applications updating from EF Core 9 to EF Core 10. Make sure to review earlier breaking changes if updating from an earlier version of EF Core: + +- [Breaking changes in EF Core 9](xref:core/what-is-new/ef-core-9.0/breaking-changes) +- [Breaking changes in EF Core 8](xref:core/what-is-new/ef-core-8.0/breaking-changes) +- [Breaking changes in EF Core 7](xref:core/what-is-new/ef-core-7.0/breaking-changes) +- [Breaking changes in EF Core 6](xref:core/what-is-new/ef-core-6.0/breaking-changes) \ No newline at end of file diff --git a/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md b/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md new file mode 100644 index 0000000000..8954eb04a9 --- /dev/null +++ b/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md @@ -0,0 +1,33 @@ +--- +title: What's New in EF Core 10 +description: Overview of new features in EF Core 10 +author: maumar +ms.date: 01/05/2025 +uid: core/what-is-new/ef-core-10.0/whatsnew +--- + +# What's New in EF Core 10 + +EF Core 10 (EF10) is the next release after EF Core 9 and is scheduled for release in November 2025. + +EF10 is available as [daily builds](https://github.com/dotnet/efcore/blob/main/docs/DailyBuilds.md) which contain all the latest EF10 features and API tweaks. The samples here make use of these daily builds. + +> [!TIP] +> You can run and debug into the samples by [downloading the sample code from GitHub](https://github.com/dotnet/EntityFramework.Docs). Each section below links to the source code specific to that section. + +EF10 requires the .NET 10 SDK to build and requires the .NET 10 runtime to run. EF10 will not run on earlier .NET versions, and will not run on .NET Framework. + +> [!TIP] +> The _What's New_ docs are updated for each preview. All the samples are set up to use the [EF10 daily builds](https://github.com/dotnet/efcore/blob/main/docs/DailyBuilds.md), which usually have several additional weeks of completed work compared to the latest preview. We strongly encourage use of the daily builds when testing new features so that you're not doing your testing against stale bits. + + + +## LINQ and SQL translation + + + +### Other query improvements + +* Translation for DateOnly.ToDateTime(timeOnly) ([#35194](https://github.com/dotnet/efcore/pull/35194), contributed by [@mseada94](https://github.com/mseada94)). +* Optimization for multiple consecutive `LIMIT`s ([#35384](https://github.com/dotnet/efcore/pull/35384)), contributed by [@ranma42](https://github.com/ranma42)). +* Optimization for use of `Count` operation on `ICollection` ([#35381](https://github.com/dotnet/efcore/pull/35381)), contributed by [@ChrisJollyAU](https://github.com/ChrisJollyAU)). \ No newline at end of file