dotnet/efcore
### [`v7.0.13`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.13): .NET 7.0.13
[Release](https://togithub.com/dotnet/core/releases/tag/v7.0.13)
### [`v7.0.12`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.12): EF Core 7.0.12
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.12) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.11.
### [`v7.0.11`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.11): EF Core 7.0.11
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.11) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.10.
### [`v7.0.10`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.10): EF Core 7.0.10
EF Core 7.0.10 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.10). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.10+is%3Aclosed):
- [Scaffolding synapse fails when attempting to enumerate triggers](https://togithub.com/dotnet/efcore/issues/30998)
- [Silent data loss when adding objects to an sqlite DB with PRAGMA journal_mode=DELETE in a multi-threaded environment.](https://togithub.com/dotnet/efcore/issues/30851)
### [`v7.0.9`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.9): EF Core 7.0.9
EF Core 7.0.9 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.9). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.9+is%3Aclosed):
- [Error "Index was outside the bounds of the array." when reading from dataset without AsNoTracking()](https://togithub.com/dotnet/efcore/issues/30764)
### [`v7.0.8`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.8): EF Core 7.0.8
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.8) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.7.
### [`v7.0.7`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.7): EF Core 7.0.7
EF Core 7.0.7 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.7). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.7+is%3Aclosed):
- [IndexOutOfRangeException in CreateNavigationExpansionExpression](https://togithub.com/dotnet/efcore/issues/30115)
- [Linq select cannot project an entity containing both Json columns and ICollections](https://togithub.com/dotnet/efcore/issues/30266)
- [Json: updating property with conversion from string to other type fails on sql server](https://togithub.com/dotnet/efcore/issues/30330)
- [Duplicate table alias in generated select query (An item with the same key has already been added)](https://togithub.com/dotnet/efcore/issues/30358)
- [InvalidOperationException when calling ExecuteUpdate with owned entity & using current value](https://togithub.com/dotnet/efcore/issues/30528)
- [Query/Json: projecting entity collection along with json collection generates invalid shaper](https://togithub.com/dotnet/efcore/issues/30565)
- [AutoInclude causes ExecuteDelete to fail](https://togithub.com/dotnet/efcore/issues/30572)
- [Multiple LeftJoins (GroupJoins) lead to GroupJoin Exception when the same where is used twice](https://togithub.com/dotnet/efcore/issues/30575)
- [SaveChanges circular dependency in unique unfiltered index (when change doesn't affect any column from unique index).](https://togithub.com/dotnet/efcore/issues/30601)
### [`v7.0.5`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.5): EF Core 7.0.5
EF Core 7.0.5 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.5). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.5+is%3Aclosed):
- [Can't add migration renaming a column on TPC root](https://togithub.com/dotnet/efcore/issues/30321)
- [Scaffolded collection navigation properties do not have setters](https://togithub.com/dotnet/efcore/issues/30286)
- [EF7 generating incorrect SQL for the Concat/Union All](https://togithub.com/dotnet/efcore/issues/30273)
- [Added nullable property to Json mapped model resulting in errors instead of mapping non existing json property to null](https://togithub.com/dotnet/efcore/issues/30028)
### [`v7.0.4`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.4): EF Core 7.0.4
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.4) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.4+is%3Aclosed):
- [Exception replacing multi-level relationship in EF7](https://togithub.com/dotnet/efcore/issues/30135)
- [Deletion can cause error "The association between entity types A and B has been severed..."](https://togithub.com/dotnet/efcore/issues/30122)
- [Non-empty second migration in TPC scheme using inheritance](https://togithub.com/dotnet/efcore/issues/30058)
- [Entity Framework Core 7 keeps creating the same migration for Nullable DateTime field](https://togithub.com/dotnet/efcore/issues/29985)
- [TPC mapping strategy not respecting default database schema during migration](https://togithub.com/dotnet/efcore/issues/29899)
- [Count after Take throws "No column name was specified for column 1 of 't'."](https://togithub.com/dotnet/efcore/issues/29667)
And for [Microsoft.Data.Sqlite](https://www.nuget.org/packages/Microsoft.Data.Sqlite/7.0.4):
- [ArgumentOutOfRangeException in SqliteConnectionFactory.PruneCallback](https://togithub.com/dotnet/efcore/issues/29952)
### [`v7.0.3`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.3): EF Core 7.0.3
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.3) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.3+is%3Aclosed):
- [Add-Migration fails with "An item with the same key has already been added" when renaming entity](https://togithub.com/dotnet/efcore/issues/27504)
- [ExecuteUpdate fails when target entity has an owned entity](https://togithub.com/dotnet/efcore/issues/28727)
- [EF Core 7 Rev eng: Missing HasForeignKey when referencing a navigation property with a unique constraint with DataAnnotations on](https://togithub.com/dotnet/efcore/issues/29418)
- [Change in behaviour of CSharpHelper.Identifier(string name)](https://togithub.com/dotnet/efcore/issues/29450)
- [NullReferenceException scaffolding when no primary key set](https://togithub.com/dotnet/efcore/issues/29516)
- [Idempotent migration script not working on EFCore7.0 for AlterColumn when nullable changed from true to false](https://togithub.com/dotnet/efcore/issues/29530)
- [6.0.11 to 7.0.0: \[...\] are both mapped to column \[..\] but are configured to use differing provider types ('double' and 'double?').'](https://togithub.com/dotnet/efcore/issues/29531)
- [Generated Model Snapshot throws InvalidOperationException](https://togithub.com/dotnet/efcore/issues/29534)
- [SQL Server bulk insert broken when new command applies pending commands and goes over the batch parameter limit](https://togithub.com/dotnet/efcore/issues/29539)
- [Invalid singularization when scaffolding a manytomany table](https://togithub.com/dotnet/efcore/issues/29544)
- [In EF7, SqLite unable to load spatialite using the NetTopologySuite Package](https://togithub.com/dotnet/efcore/issues/29584)
- [Cannot access property through interface in ExecuteUpdate setter lambda](https://togithub.com/dotnet/efcore/issues/29618)
- [DbContext scaffold missing IndexerProperty for M2M relation after moving to EF Core 7](https://togithub.com/dotnet/efcore/issues/29634)
- [Performance regression in model building in Entity Framework Core 7](https://togithub.com/dotnet/efcore/issues/29642)
- [Mixing sproc and non-sproc commands in the same batch may fail with a NullReferenceException](https://togithub.com/dotnet/efcore/issues/29643)
- [Condition's order will cause different result when using .Contains() to search string cross varchar and nvarchar columns](https://togithub.com/dotnet/efcore/issues/29646)
- [SaveChanges circular dependency in unique unfiltered index](https://togithub.com/dotnet/efcore/issues/29647)
- [QueryTrackingBehavior resets to TrackAll when using DbContext pooling](https://togithub.com/dotnet/efcore/issues/29733)
- [EFCore 7.0.0 - Graph of entity insertion throws a FK exception](https://togithub.com/dotnet/efcore/issues/29741)
- [Replacing PK to PK TPH dependent with different type fails](https://togithub.com/dotnet/efcore/issues/29789)
- [dotnet ef migrations add freezes](https://togithub.com/dotnet/efcore/issues/29826)
- [InvalidOperationException when mapping properties of different types to the same column](https://togithub.com/dotnet/efcore/issues/29859)
- [Obsoletion message for AutoTransactionsEnabled is wrong](https://togithub.com/dotnet/efcore/issues/29990)
- [Incorrect NullReferenceException for parameter in split query with GroupBy](https://togithub.com/dotnet/efcore/issues/30022)
### [`v7.0.2`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.2): EF Core 7.0.2 (EF7)
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.2) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.2+is%3Aclosed):
- [Exception when inserting multiple rows into the same table on SQL Server](https://togithub.com/dotnet/efcore/issues/29502)
### [`v7.0.1`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.1): EF Core 7.0.1 (EF7)
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.1) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.1.
### [`v7.0.0`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.0): EF Core 7.0 (EF7)
EF Core 7.0 GA (commonly referred to as EF7) is now available from [NuGet](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.0).
See [What's New in EF7](https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew) for a detailed look at all the new features in EF7. In summary, the following new features are included in EF7:
- [Make basic EF scenarios work under aggressive trimming](https://togithub.com/dotnet/efcore/issues/29092)
- [Entity splitting support](https://togithub.com/dotnet/efcore/issues/620)
- [Support for GroupBy entityType](https://togithub.com/dotnet/efcore/issues/17653)
- [Support GroupJoin when it is final query operator](https://togithub.com/dotnet/efcore/issues/19930)
- [ExecuteUpdate: Add SetProperty overload that accepts a value directly (no lambda)](https://togithub.com/dotnet/efcore/issues/28968)
- [Support sproc input/output parameters on non-concurrency-token properties](https://togithub.com/dotnet/efcore/issues/28704)
- [Implement TagWith for ExecuteUpdate and DeleteUpdate](https://togithub.com/dotnet/efcore/issues/28690)
- [ExecuteDelete for owner when only its owned types are sharing the same table](https://togithub.com/dotnet/efcore/issues/28671)
- [Stop scaffolding DbSet initialization to null!](https://togithub.com/dotnet/efcore/issues/26877)
- [CSharpHelper: support more types of collection literals](https://togithub.com/dotnet/efcore/issues/19274)
- [Map JSON values stored in database to EF properties](https://togithub.com/dotnet/efcore/issues/4021)
- [ExecuteUpdate/Delete (AKA bulk update, without loading data into memory)](https://togithub.com/dotnet/efcore/issues/795)
- [Code templates for scaffolding entity types and DbContext from an existing database](https://togithub.com/dotnet/efcore/issues/4038)
- [Support raw SQL Queries for basic types like Guid, DateTime and int](https://togithub.com/dotnet/efcore/issues/11624)
- [Allow applications to create model building conventions (aka public conventions)](https://togithub.com/dotnet/efcore/issues/214)
- [Cosmos: Support AAD RBAC via the ClientSecretCredential](https://togithub.com/dotnet/efcore/issues/26491)
- [Map inserts, updates, and deletes (CUD operations) to stored procedures](https://togithub.com/dotnet/efcore/issues/245)
- [Add a static flag in EF that will be set when code is being executed for design-time discover](https://togithub.com/dotnet/efcore/issues/27306)
- [Support sequence key generation on SQL Server, which is useful for Table-per-concrete-type (TPC) mapping](https://togithub.com/dotnet/efcore/issues/28096)
- [Allow null connection string to be passed to UseProvider methods](https://togithub.com/dotnet/efcore/issues/26869)
- [Downgrade the ContextInitialized event from Information to Debug](https://togithub.com/dotnet/efcore/issues/28480)
- [Get an EntityEntry for Shared Entity Types](https://togithub.com/dotnet/efcore/issues/25354)
- [Make EntityEntryGraphIterator publicly usable](https://togithub.com/dotnet/efcore/issues/26461)
- [Support unidirectional many-to-many relationships](https://togithub.com/dotnet/efcore/issues/3864)
- [Translate string.Join and string.Concat](https://togithub.com/dotnet/efcore/issues/2981)
- [RevEng: Enable generating IEntityTypeConfiguration classes (avoids large OnModelCreating)](https://togithub.com/dotnet/efcore/issues/8434)
- [Interception to modify the LINQ expression tree](https://togithub.com/dotnet/efcore/issues/28505)
- [Interception for DbUpdateConcurrencyException](https://togithub.com/dotnet/efcore/issues/28315)
- [Add interception event to be fired when EF has finished consuming a result set](https://togithub.com/dotnet/efcore/issues/23535)
- [Add events for DetectChanges/state change](https://togithub.com/dotnet/efcore/issues/16256)
- [ChangeTracker: New event for "entity about to get tracked"](https://togithub.com/dotnet/efcore/issues/27093)
- [Translate EnvelopeCombiner.CombineAsGeometry aggregate function](https://togithub.com/dotnet/efcore/issues/28184)
- [SQL Server: Translate statistics aggregate functions](https://togithub.com/dotnet/efcore/issues/28104)
- [Filtered Includes for hidden navigation properties](https://togithub.com/dotnet/efcore/issues/27493)
- [Make it easier to pass a CancellationToken to FindAsync](https://togithub.com/dotnet/efcore/issues/22667)
- [Interception for object materialization (a.k.a. "ObjectMaterialized")](https://togithub.com/dotnet/efcore/issues/15911)
- [Provide a hook for identity resolution](https://togithub.com/dotnet/efcore/issues/20124)
- [Create lazy-loading and change-tracking proxy types lazily](https://togithub.com/dotnet/efcore/issues/20135)
- [Compiled model: Allow use of lazy loading and change tracking proxy types](https://togithub.com/dotnet/efcore/issues/24902)
- [Full support for custom provider aggregate functions](https://togithub.com/dotnet/efcore/issues/22957)
- [Spatial: Translate aggregate functions](https://togithub.com/dotnet/efcore/issues/13278)
- [Allow specifying different column names per table in TPT, TPC or entity splitting](https://togithub.com/dotnet/efcore/issues/19811)
- [Support for custom proxy generation](https://togithub.com/dotnet/efcore/issues/14554)
- [TPC inheritance mapping pattern](https://togithub.com/dotnet/efcore/issues/3170)
- [DeleteBehaviorAttribute](https://togithub.com/dotnet/efcore/issues/9621)
- [Translate GetType() for entity types with inheritance](https://togithub.com/dotnet/efcore/issues/13424)
- [Delay DbCommandInterceptor.CommandCreated until DbCommand properties are initialized](https://togithub.com/dotnet/efcore/issues/17261)
- [Remove unnecessary extra batches in SaveChanges](https://togithub.com/dotnet/efcore/issues/20664)
- [Don't check for a connection string until after ConnectionOpening has been called](https://togithub.com/dotnet/efcore/issues/23085)
- [Add ConnectionCreating/ConnectionCreated to DbConnectionInterceptor](https://togithub.com/dotnet/efcore/issues/23087)
- [Migration name filter](https://togithub.com/dotnet/efcore/issues/23222)
- [Add support for AT TIME ZONE](https://togithub.com/dotnet/efcore/issues/26199)
- [GroupBy aggregate lifting](https://togithub.com/dotnet/efcore/issues/27132)
- [Pascal-case the DbContext name when scaffolding](https://togithub.com/dotnet/efcore/issues/27886)
- [Support value generation with converters](https://togithub.com/dotnet/efcore/issues/11597)
- [Improve batching performance when using TPH mappings](https://togithub.com/dotnet/efcore/issues/3954)
- [Attribute (Data Annotations) mapping for composite primary keys](https://togithub.com/dotnet/efcore/issues/11003)
- [SQL Server UTF8 collations](https://togithub.com/dotnet/efcore/issues/25798)
- [Stop wrapping single changes in transactions where possible](https://togithub.com/dotnet/efcore/issues/27439)
- [Use RETURNING/OUTPUT clause for UPDATE/DELETE](https://togithub.com/dotnet/efcore/issues/27547)
- [SQLite SaveChanges: Use RETURNING clause](https://togithub.com/dotnet/efcore/issues/24835)
- [SQL Server: Optimize SQL Server OUTPUT clause usage when retrieving database-generated values](https://togithub.com/dotnet/efcore/issues/27372)
- [Stop automatically deleting orphans for optional relationships with cascade delete configured](https://togithub.com/dotnet/efcore/issues/27217)
- [Empty default interface implementations for all interceptor interface methods](https://togithub.com/dotnet/efcore/issues/27625)
- [Temporal tables support for owned entities and other table splitting scenarios](https://togithub.com/dotnet/efcore/issues/26469)
- [Support for index ordering (ASC/DESC)](https://togithub.com/dotnet/efcore/issues/4150)
- [Support "non-rooted" query expressions in compiled queries](https://togithub.com/dotnet/efcore/issues/7016)
- [Property/Reference/etc overloads that take IProperty/INavigation](https://togithub.com/dotnet/efcore/issues/7390)
- [Distinguish cancellation from failure to allow different logging strategies](https://togithub.com/dotnet/efcore/issues/19526)
- [Lift table from subquery when joining if no additional operations](https://togithub.com/dotnet/efcore/issues/21321)
- [DiagnosticSuppressor for CS8618 for DbSet properties](https://togithub.com/dotnet/efcore/issues/21608)
- [Stop generating a default DbContext constructor when using dotnet ef dbcontext scaffold --no-onconfiguring](https://togithub.com/dotnet/efcore/issues/23515)
- [Robust and extensible SQL precedence/parentheses mechanism](https://togithub.com/dotnet/efcore/issues/23895)
- [Translation for string.IndexOf(string, int)](https://togithub.com/dotnet/efcore/issues/25396)
- [Support SqlNullabilityProcessor and COALESCE with more than two arguments](https://togithub.com/dotnet/efcore/issues/26344)
- [Support Contains when using a IReadOnlySet](https://togithub.com/dotnet/efcore/issues/26437)
- [Overload of EnableRetryOnFailure that allows specifying errorCodesToAdd without count / delay](https://togithub.com/dotnet/efcore/issues/27074)
See GitHub for [all issues resolved in EF7](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.0+is%3Aclosed).
### [`v6.0.24`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.24): .NET 6.0.24
[Release](https://togithub.com/dotnet/core/releases/tag/v6.0.24)
### [`v6.0.23`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.23): EF Core 6.0.23
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.23) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.22.
### [`v6.0.22`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.22): EF Core 6.0.22
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.22) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.21.
### [`v6.0.21`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.21): EF Core 6.0.21
EF Core 6.0.21 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.21). This is a patch release of EF Core 6 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.21+is%3Aclosed):
- [Silent data loss when adding objects to an sqlite DB with PRAGMA journal_mode=DELETE in a multi-threaded environment.](https://togithub.com/dotnet/efcore/issues/30851)
### [`v6.0.20`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.20): EF Core 6.0.20
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.20) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.19.
### [`v6.0.19`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.19): EF Core 6.0.19
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.19) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.18.
### [`v6.0.18`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.18): EF Core 6.0.18
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.18) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.16.
### [`v6.0.16`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.16): EF Core 6.0.16
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.16) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.15.
### [`v6.0.15`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.15): EF Core 6.0.15
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.15) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.14.
### [`v6.0.14`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.14): EF Core 6.0.14
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.14) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.13.
### [`v6.0.13`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.13): EF Core 6.0.13
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.13) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.12.
### [`v6.0.12`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.12): EF Core 6.0.12
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.12) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.12+is%3Aclosed):
- [string.IndexOf throws NullReferenceException when applied on the result of a DbFunction ](https://togithub.com/dotnet/efcore/issues/29204)
- [Function StoreType is ignored for DateTime](https://togithub.com/dotnet/efcore/issues/27954)
- [RelationalMethodCallTranslatorProvider and explicit typeMapping](https://togithub.com/dotnet/efcore/issues/27524)
### [`v6.0.11`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.11): EF Core 6.0.11
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.11) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.11+is%3Aclosed):
- [Excessive memory usage after enabling DbContextFactory](https://togithub.com/dotnet/efcore/issues/28988)
- [Avoid re-sending PRAGMA KEY on pooled SQLite connections](https://togithub.com/dotnet/efcore/issues/28967)
### [`v6.0.10`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.10): EF Core 6.0.10
This is a [patch release of EF Core 6.0.](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.10) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.9.
### [`v6.0.9`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.9): EF Core 6.0.9
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.9) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.9+is%3Aclosed):
- [Scaffolding with NRT generates non-nullable navigation property from principal to dependent](https://togithub.com/dotnet/efcore/issues/27496)
- [Migrations containing strings with many line-breaks will truncate strings silently](https://togithub.com/dotnet/efcore/issues/27206)
### [`v6.0.8`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.8): EF Core 6.0.8
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.87+is%3Aclosed):
- [Regression in 6.0.2: The variable name '@p0' has already been declared.](https://togithub.com/dotnet/efcore/issues/27427)
### [`v6.0.7`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.7): EF Core 6.0.7
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.7) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.7+is%3Aclosed):
- [Don't add grouping key to projection when Distinct is applied](https://togithub.com/dotnet/efcore/issues/28039)
### [`v6.0.6`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.6): EF Core 6.0.6
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.6) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.6+is%3Aclosed):
- [Can't create a view with navigation property](https://togithub.com/dotnet/efcore/issues/27854)
- [Tools: Add dotnet-ef shims arm64](https://togithub.com/dotnet/efcore/issues/27827)
- [Diagnostics: DataReaderDisposingEventData.ReadCount accumulates the value from different readers](https://togithub.com/dotnet/efcore/issues/27652)
- [Consider setting NullabilityInfoContextSupport=true in EF's NuGet package](https://togithub.com/dotnet/efcore/issues/27474)
- [SQLite doesn't work when trimming](https://togithub.com/dotnet/efcore/issues/27311)
- [dotnet-ef needs to target 6](https://togithub.com/dotnet/efcore/issues/27787)
Note that this release contains a [breaking change for the `dotnet-ef` command line tool](https://docs.microsoft.com/ef/core/what-is-new/ef-core-6.0/breaking-changes#dotnet-ef).
### [`v6.0.5`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.5): EF Core 6.0.5
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.5) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.5+is%3Aclosed):
- [Query exception after upgrading from 6.0.1 to 6.0.2](https://togithub.com/dotnet/efcore/issues/27600)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
6.0.4
->7.0.13
Release Notes
dotnet/efcore
### [`v7.0.13`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.13): .NET 7.0.13 [Release](https://togithub.com/dotnet/core/releases/tag/v7.0.13) ### [`v7.0.12`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.12): EF Core 7.0.12 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.12) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.11. ### [`v7.0.11`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.11): EF Core 7.0.11 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.11) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.10. ### [`v7.0.10`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.10): EF Core 7.0.10 EF Core 7.0.10 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.10). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.10+is%3Aclosed): - [Scaffolding synapse fails when attempting to enumerate triggers](https://togithub.com/dotnet/efcore/issues/30998) - [Silent data loss when adding objects to an sqlite DB with PRAGMA journal_mode=DELETE in a multi-threaded environment.](https://togithub.com/dotnet/efcore/issues/30851) ### [`v7.0.9`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.9): EF Core 7.0.9 EF Core 7.0.9 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.9). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.9+is%3Aclosed): - [Error "Index was outside the bounds of the array." when reading from dataset without AsNoTracking()](https://togithub.com/dotnet/efcore/issues/30764) ### [`v7.0.8`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.8): EF Core 7.0.8 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.8) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.7. ### [`v7.0.7`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.7): EF Core 7.0.7 EF Core 7.0.7 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.7). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.7+is%3Aclosed): - [IndexOutOfRangeException in CreateNavigationExpansionExpression](https://togithub.com/dotnet/efcore/issues/30115) - [Linq select cannot project an entity containing both Json columns and ICollections](https://togithub.com/dotnet/efcore/issues/30266) - [Json: updating property with conversion from string to other type fails on sql server](https://togithub.com/dotnet/efcore/issues/30330) - [Duplicate table alias in generated select query (An item with the same key has already been added)](https://togithub.com/dotnet/efcore/issues/30358) - [InvalidOperationException when calling ExecuteUpdate with owned entity & using current value](https://togithub.com/dotnet/efcore/issues/30528) - [Query/Json: projecting entity collection along with json collection generates invalid shaper](https://togithub.com/dotnet/efcore/issues/30565) - [AutoInclude causes ExecuteDelete to fail](https://togithub.com/dotnet/efcore/issues/30572) - [Multiple LeftJoins (GroupJoins) lead to GroupJoin Exception when the same where is used twice](https://togithub.com/dotnet/efcore/issues/30575) - [SaveChanges circular dependency in unique unfiltered index (when change doesn't affect any column from unique index).](https://togithub.com/dotnet/efcore/issues/30601) ### [`v7.0.5`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.5): EF Core 7.0.5 EF Core 7.0.5 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.5). This is a patch release of EF Core 7 containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.5+is%3Aclosed): - [Can't add migration renaming a column on TPC root](https://togithub.com/dotnet/efcore/issues/30321) - [Scaffolded collection navigation properties do not have setters](https://togithub.com/dotnet/efcore/issues/30286) - [EF7 generating incorrect SQL for the Concat/Union All](https://togithub.com/dotnet/efcore/issues/30273) - [Added nullable property to Json mapped model resulting in errors instead of mapping non existing json property to null](https://togithub.com/dotnet/efcore/issues/30028) ### [`v7.0.4`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.4): EF Core 7.0.4 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.4) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.4+is%3Aclosed): - [Exception replacing multi-level relationship in EF7](https://togithub.com/dotnet/efcore/issues/30135) - [Deletion can cause error "The association between entity types A and B has been severed..."](https://togithub.com/dotnet/efcore/issues/30122) - [Non-empty second migration in TPC scheme using inheritance](https://togithub.com/dotnet/efcore/issues/30058) - [Entity Framework Core 7 keeps creating the same migration for Nullable DateTime field](https://togithub.com/dotnet/efcore/issues/29985) - [TPC mapping strategy not respecting default database schema during migration](https://togithub.com/dotnet/efcore/issues/29899) - [Count after Take throws "No column name was specified for column 1 of 't'."](https://togithub.com/dotnet/efcore/issues/29667) And for [Microsoft.Data.Sqlite](https://www.nuget.org/packages/Microsoft.Data.Sqlite/7.0.4): - [ArgumentOutOfRangeException in SqliteConnectionFactory.PruneCallback](https://togithub.com/dotnet/efcore/issues/29952) ### [`v7.0.3`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.3): EF Core 7.0.3 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.3) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.3+is%3Aclosed): - [Add-Migration fails with "An item with the same key has already been added" when renaming entity](https://togithub.com/dotnet/efcore/issues/27504) - [ExecuteUpdate fails when target entity has an owned entity](https://togithub.com/dotnet/efcore/issues/28727) - [EF Core 7 Rev eng: Missing HasForeignKey when referencing a navigation property with a unique constraint with DataAnnotations on](https://togithub.com/dotnet/efcore/issues/29418) - [Change in behaviour of CSharpHelper.Identifier(string name)](https://togithub.com/dotnet/efcore/issues/29450) - [NullReferenceException scaffolding when no primary key set](https://togithub.com/dotnet/efcore/issues/29516) - [Idempotent migration script not working on EFCore7.0 for AlterColumn when nullable changed from true to false](https://togithub.com/dotnet/efcore/issues/29530) - [6.0.11 to 7.0.0: \[...\] are both mapped to column \[..\] but are configured to use differing provider types ('double' and 'double?').'](https://togithub.com/dotnet/efcore/issues/29531) - [Generated Model Snapshot throws InvalidOperationException](https://togithub.com/dotnet/efcore/issues/29534) - [SQL Server bulk insert broken when new command applies pending commands and goes over the batch parameter limit](https://togithub.com/dotnet/efcore/issues/29539) - [Invalid singularization when scaffolding a manytomany table](https://togithub.com/dotnet/efcore/issues/29544) - [In EF7, SqLite unable to load spatialite using the NetTopologySuite Package](https://togithub.com/dotnet/efcore/issues/29584) - [Cannot access property through interface in ExecuteUpdate setter lambda](https://togithub.com/dotnet/efcore/issues/29618) - [DbContext scaffold missing IndexerProperty for M2M relation after moving to EF Core 7](https://togithub.com/dotnet/efcore/issues/29634) - [Performance regression in model building in Entity Framework Core 7](https://togithub.com/dotnet/efcore/issues/29642) - [Mixing sproc and non-sproc commands in the same batch may fail with a NullReferenceException](https://togithub.com/dotnet/efcore/issues/29643) - [Condition's order will cause different result when using .Contains() to search string cross varchar and nvarchar columns](https://togithub.com/dotnet/efcore/issues/29646) - [SaveChanges circular dependency in unique unfiltered index](https://togithub.com/dotnet/efcore/issues/29647) - [QueryTrackingBehavior resets to TrackAll when using DbContext pooling](https://togithub.com/dotnet/efcore/issues/29733) - [EFCore 7.0.0 - Graph of entity insertion throws a FK exception](https://togithub.com/dotnet/efcore/issues/29741) - [Replacing PK to PK TPH dependent with different type fails](https://togithub.com/dotnet/efcore/issues/29789) - [dotnet ef migrations add freezes](https://togithub.com/dotnet/efcore/issues/29826) - [InvalidOperationException when mapping properties of different types to the same column](https://togithub.com/dotnet/efcore/issues/29859) - [Obsoletion message for AutoTransactionsEnabled is wrong](https://togithub.com/dotnet/efcore/issues/29990) - [Incorrect NullReferenceException for parameter in split query with GroupBy](https://togithub.com/dotnet/efcore/issues/30022) ### [`v7.0.2`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.2): EF Core 7.0.2 (EF7) This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.2) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A7.0.2+is%3Aclosed): - [Exception when inserting multiple rows into the same table on SQL Server](https://togithub.com/dotnet/efcore/issues/29502) ### [`v7.0.1`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.1): EF Core 7.0.1 (EF7) This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.1) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.1. ### [`v7.0.0`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.0): EF Core 7.0 (EF7) EF Core 7.0 GA (commonly referred to as EF7) is now available from [NuGet](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.0). See [What's New in EF7](https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew) for a detailed look at all the new features in EF7. In summary, the following new features are included in EF7: - [Make basic EF scenarios work under aggressive trimming](https://togithub.com/dotnet/efcore/issues/29092) - [Entity splitting support](https://togithub.com/dotnet/efcore/issues/620) - [Support for GroupBy entityType](https://togithub.com/dotnet/efcore/issues/17653) - [Support GroupJoin when it is final query operator](https://togithub.com/dotnet/efcore/issues/19930) - [ExecuteUpdate: Add SetProperty overload that accepts a value directly (no lambda)](https://togithub.com/dotnet/efcore/issues/28968) - [Support sproc input/output parameters on non-concurrency-token properties](https://togithub.com/dotnet/efcore/issues/28704) - [Implement TagWith for ExecuteUpdate and DeleteUpdate](https://togithub.com/dotnet/efcore/issues/28690) - [ExecuteDelete for owner when only its owned types are sharing the same table](https://togithub.com/dotnet/efcore/issues/28671) - [Stop scaffolding DbSet initialization to null!](https://togithub.com/dotnet/efcore/issues/26877) - [CSharpHelper: support more types of collection literals](https://togithub.com/dotnet/efcore/issues/19274) - [Map JSON values stored in database to EF properties](https://togithub.com/dotnet/efcore/issues/4021) - [ExecuteUpdate/Delete (AKA bulk update, without loading data into memory)](https://togithub.com/dotnet/efcore/issues/795) - [Code templates for scaffolding entity types and DbContext from an existing database](https://togithub.com/dotnet/efcore/issues/4038) - [Support raw SQL Queries for basic types like Guid, DateTime and int](https://togithub.com/dotnet/efcore/issues/11624) - [Allow applications to create model building conventions (aka public conventions)](https://togithub.com/dotnet/efcore/issues/214) - [Cosmos: Support AAD RBAC via the ClientSecretCredential](https://togithub.com/dotnet/efcore/issues/26491) - [Map inserts, updates, and deletes (CUD operations) to stored procedures](https://togithub.com/dotnet/efcore/issues/245) - [Add a static flag in EF that will be set when code is being executed for design-time discover](https://togithub.com/dotnet/efcore/issues/27306) - [Support sequence key generation on SQL Server, which is useful for Table-per-concrete-type (TPC) mapping](https://togithub.com/dotnet/efcore/issues/28096) - [Allow null connection string to be passed to UseProvider methods](https://togithub.com/dotnet/efcore/issues/26869) - [Downgrade the ContextInitialized event from Information to Debug](https://togithub.com/dotnet/efcore/issues/28480) - [Get an EntityEntryConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.