Releases: dotnet/efcore
EF Core 6.0.32
This is a patch release of EF Core 6.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.0.31.
EF Core 8.0.6
This is a patch release of EF Core 8.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 8.0.5.
EF Core 9.0 Preview 4
The team has been working primarily on EF Core internals, so there are no new big features in EF Core 9 (EF9) Preview 4. However, this means we really need people like you to run your code on these new internals and report back what you find. We want to fix bugs in the new internals as soon as possible in order to have a strong GA release later in the year.
That being said, there are several smaller enhancements included in preview 4. For full details, see What's new in EF Core 9. To discuss the EF9 release, go to Try EF Core 9 now! on GitHub.
Enhanced database provider for Azure Cosmos DB for NoSQL
We are working on significant updates in EF9 to the EF Core database provider for Azure Cosmos DB for NoSQL. For preview 4, these include:
- 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 in the What's New docs for more information.
GroupBy complex types
In preview 4, EF9 now supports 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 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 in EF9 to include read-only collections declared as IReadOnlyList
, IReadOnlyCollection
, or ReadOnlyCollection
.
See Read-only primitive collections in the What's New docs for more information.
Everything else in preview 4
Preview 4 contains:
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:
EF Core 7.0.20
Note: EF Core 7 is now out-of-support.
This is a patch release of EF Core 7.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.19.
EF Core 6.0.31
This is a patch release of EF Core 6.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.30.
EF Core 8.0.5
This is a patch release of EF Core 8.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 8.0.4.
EF Core 7.0.19
Note: EF Core 7 is now out-of-support.
This is a patch release of EF Core 7.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.18.
EF Core 6.0.30
This is a patch release of EF Core 6.0 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.29.
EF Core 9.0 Preview 3
The team has been working primarily on EF Core internals, so there are no new big features in EF Core 9 (EF9) Preview 3. However, this means we really need people like you to run your code on these new internals and report back what you find. We want to fix bugs in the new internals as soon as possible in order to have a strong GA release later in the year.
That being said, there are several smaller enhancements included in preview 3. For full details, see What's new in EF Core 9. To discuss the EF9 release, go to Try EF Core 9 now! on GitHub.
Auto-compiled models
Auto-compiled models allow the EF Core compiled model to be automatically regenerated when the model project is built. This means you no longer need to remember to re-run the dotnet ef dbcontext optimize
command after your EF model changes. See Auto-compiled models in the What's New docs for more information.
Sugar for HierarchyId
path generation
First class support for the SQL Server HierarchyId
type was added in EF8. In EF9, a sugar method has been added to make it easier to create new child nodes in the tree structure. See Sugar for HierarchyId path generation in the What's New docs for more information.
Everything else in preview 3
Preview 3 contains:
EF Core 9 preview 3 (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 3 are:
- @lauxjpn: Cleanup duplicate tests (same test ID)
- @clement911: Fixed typo in getting-and-building-the-code.md
- @Rezakazemi890: 32943-Sugar for HierarchyId path generation
- @lauxjpn: Change Where_math(f)_log_new_base queries, so they fail if LOG() parameters are swapped
- @SteSinger: 33196 command timeout allow zero
EF Core 8.0.4
EF Core 8.0.4 is available on NuGet now. This is a patch release of EF Core 8 (EF8) containing only important bug fixes:
- Incorrect apply projection for complex properties
- The database default created by Migrations for primitive collections mapped to JSON is invalid
- Filtering by Contains with HierarchyId and AsSplitQuery is not working
- Unfulfillable nullable contraints are set for complex types with TPH entities
- OutOfMemoryException when creating migration using ef tool
- SQL Server: Should retry on 203