dotnet/efcore (Microsoft.EntityFrameworkCore.Design)
### [`v8.0.6`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.6): EF Core 8.0.6
This is a [patch release of EF Core 8.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.6) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 8.0.5.
### [`v8.0.5`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.5): EF Core 8.0.5
This is a [patch release of EF Core 8.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.5) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 8.0.4.
### [`v8.0.4`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.4): EF Core 8.0.4
EF Core 8.0.4 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.4). This is a patch release of EF Core 8 (EF8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.4+is%3Aclosed):
- [Incorrect apply projection for complex properties](https://togithub.com/dotnet/efcore/issues/32911)
- [The database default created by Migrations for primitive collections mapped to JSON is invalid](https://togithub.com/dotnet/efcore/issues/32972)
- [Filtering by Contains with HierarchyId and AsSplitQuery is not working](https://togithub.com/dotnet/efcore/issues/32976)
- [Unfulfillable nullable contraints are set for complex types with TPH entities](https://togithub.com/dotnet/efcore/issues/33004)
- [OutOfMemoryException when creating migration using ef tool](https://togithub.com/dotnet/efcore/issues/33176)
- [SQL Server: Should retry on 203](https://togithub.com/dotnet/efcore/issues/33260)
### [`v8.0.3`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.3): EF Core 8.0.3
EF Core 8.0.3 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.3). This is a patch release of EF Core 8 (EF8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.3+is%3Aclosed):
- [Constructor calls when using inheritance with owned entities causes exceptions](https://togithub.com/dotnet/efcore/issues/31353)
- [Missing package README file](https://togithub.com/dotnet/efcore/issues/31947)
- [String properties with indexes are compared case insensitively on SQL Server](https://togithub.com/dotnet/efcore/issues/32898)
- [Using SqliteConnection from an ASP.NET MVC (.NET Framework) application results in a few different exceptions](https://togithub.com/dotnet/efcore/issues/32614)
- [Exception when using FromSql on entity with ComplexProperty](https://togithub.com/dotnet/efcore/issues/32699)
- [IndexOutOfRange for EntityEntry.GetDatabaseValues() with complex type and TPH](https://togithub.com/dotnet/efcore/issues/32701)
- [SQL Server Migrations - SqlOperation.Sql is stripped of all empty lines](https://togithub.com/dotnet/efcore/issues/32730)
- [NullReferenceException in Get-Migration in EF Core 8](https://togithub.com/dotnet/efcore/issues/32732)
- [Owned entity on genericly typed entity generates unwanted steps in new migrations](https://togithub.com/dotnet/efcore/issues/32763)
- [Dotnet-ef mismatch causes apply Entity Framework migration fails when publishing an individual web app.](https://togithub.com/dotnet/efcore/issues/32782)
- [Query never returns when DB value for column mapped to primitive collection is](https://togithub.com/dotnet/efcore/issues/32896)
### [`v8.0.2`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.2): EF Core 8.0.2
EF Core 8.0.2 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.2). This is a patch release of EF Core 8 (EF8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.2+is%3Aclosed):
- [Adding EF.Constant to prevent parameterization in query](https://togithub.com/dotnet/efcore/issues/32680)
- [Nav expansion visitor does not visit the Contains item argument](https://togithub.com/dotnet/efcore/issues/32217)
- [SqliteException "no such column : rX.value" when ordering on subquery value in combination with a "where contains" when upgrading from 7 to 8.0.0-rc.2.23480.1](https://togithub.com/dotnet/efcore/issues/32234)
- [DB Context pooling with proxies resulting in memory issues in 8.0 RC2](https://togithub.com/dotnet/efcore/issues/32267)
- [Nav expansion visitor does not visit the non-lambda arguments (Skip, Take, ElementAt)](https://togithub.com/dotnet/efcore/issues/32312)
- [LINQ "Contains" generates SQL with wrong char length](https://togithub.com/dotnet/efcore/issues/32325)
- [Using new\[\] in select query gives exception .NET 8](https://togithub.com/dotnet/efcore/issues/32331)
- [EF Core Cosmos 7.0.13 => 7.0.14 Value cannot be null. (Parameter 'derivedType')](https://togithub.com/dotnet/efcore/issues/32363)
- [New OpenJSON expression to SQL translation breaks aggregates on subquery with 'Cannot perform an aggregate function on an expression containing an aggregate or a subquery' exception](https://togithub.com/dotnet/efcore/issues/32374)
- [Did Contains stop working on empty list in EF Core 8?](https://togithub.com/dotnet/efcore/issues/32375)
- [LINQ "Contains" fails to generate SQL with custom converter](https://togithub.com/dotnet/efcore/issues/32376)
- [error on working with explicit many-to-many relations with OnDelete.Restrict](https://togithub.com/dotnet/efcore/issues/32383)
- [Lazy loader throwing invalid operation exceptions](https://togithub.com/dotnet/efcore/issues/32390)
- [Cosmos provider v7.0.14 and v8.0.0 breaks previous OwnsMany behaviour](https://togithub.com/dotnet/efcore/issues/32410)
- [Constructor not found for type 'Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NullableClassCurrentProviderValueComparer](https://togithub.com/dotnet/efcore/issues/32411)
- [Inconsistent behavior related to relationship cycle](https://togithub.com/dotnet/efcore/issues/32422)
- [Property conversions are lost on base type is subtype is registered to model afterwards after upgrade to EFCore 8](https://togithub.com/dotnet/efcore/issues/32430)
- [Incorrect parameter rewriting for string StartsWith/EndsWith/Contains](https://togithub.com/dotnet/efcore/issues/32432)
- [Migrations bug when creating stored procedure with GOTO statement](https://togithub.com/dotnet/efcore/issues/32457)
- [Unable to Scaffold DBContext if tables in SQL Server have certain names](https://togithub.com/dotnet/efcore/issues/32571)
- [Contains translates to correlated query when the item is nullable](https://togithub.com/dotnet/efcore/issues/32574)
- [FluentAPI configuration PrimitiveCollection on OwnedNavigationBuilder returns PropertyBuilder instead of PrimitiveCollectionBuilder](https://togithub.com/dotnet/efcore/issues/32601)
- [String comparison fails when using const and compiled Models.](https://togithub.com/dotnet/efcore/issues/32617)
- [Exception when writing a JSON column with negative enum value](https://togithub.com/dotnet/efcore/issues/32679)
- [Getting errors when mixing DbFunction and SqlQueryRaw](https://togithub.com/dotnet/efcore/issues/32680)
### [`v8.0.1`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.1): .NET 8.0.1
[Release](https://togithub.com/dotnet/core/releases/tag/v8.0.1)
### [`v8.0.0`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.0): EF Core 8 (EF8)
EF Core 8 (EF8) is [available from NuGet](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.0)
EF8 contains many new features and enhancements, including:
- [Allow Multi-region or Application Preferred Regions in EF Core Cosmos](https://togithub.com/dotnet/efcore/issues/29424)
- [Use C# structs or classes as value objects](https://togithub.com/dotnet/efcore/issues/9906)
- [Support primitive collections in the compiled model](https://togithub.com/dotnet/efcore/issues/31489)
- [Migrations and model snapshot for primitive collections](https://togithub.com/dotnet/efcore/issues/31414)
- [Query: add support for projecting JSON entities that have been composed on](https://togithub.com/dotnet/efcore/issues/31365)
- [SQLite: Add EF.Functions.Unhex](https://togithub.com/dotnet/efcore/issues/31355)
- [Add type mapping APIs to customize JSON value serialization/deserialization](https://togithub.com/dotnet/efcore/issues/30677)
- [SQL Server Index options SortInTempDB and DataCompression](https://togithub.com/dotnet/efcore/issues/30408)
- [Analyzer: warn (and code fix) for use of interpolation in SQL methods accepting raw strings](https://togithub.com/dotnet/efcore/issues/30965)
- [Translate Contains to IN with subquery instead of EXISTS where relevant](https://togithub.com/dotnet/efcore/issues/30955)
- [Allow inline primitive collections with parameters, translating to VALUES](https://togithub.com/dotnet/efcore/issues/30732)
- [Translate DateOnly.FromDateTime](https://togithub.com/dotnet/efcore/issues/30708)
- [Implement JSON serialization/deserialization via Utf8JsonReader/Utf8JsonWriter](https://togithub.com/dotnet/efcore/issues/30604)
- [Update pattern for scaffolding column default constraints](https://togithub.com/dotnet/efcore/issues/13613)
- [Use IN instead of EXISTS with ExecuteDelete and entity containment](https://togithub.com/dotnet/efcore/issues/31386)
- [Allow ExecuteUpdate to update properties of multiple queries as long as the map to a single table](https://togithub.com/dotnet/efcore/issues/31406)
- [Query: add support for projecting primitive collections from JSON entities](https://togithub.com/dotnet/efcore/issues/31364)
- [Switch to storing enums as ints in JSON instead of strings](https://togithub.com/dotnet/efcore/issues/31100)
- [Translate DegreesToRadians](https://togithub.com/dotnet/efcore/issues/30926)
- [Metadata and type mapping support for primitive collections](https://togithub.com/dotnet/efcore/issues/30730)
- [JSON type representations and conversions to store types](https://togithub.com/dotnet/efcore/issues/30727)
- [Allow stripping away all model building code to reduce application size](https://togithub.com/dotnet/efcore/issues/29755)
- [Json: add support for collection of primitive types inside JSON columns](https://togithub.com/dotnet/efcore/issues/28688)
- [Support LINQ querying of non-primitive collections within JSON](https://togithub.com/dotnet/efcore/issues/28616)
- [SQLite RevEng: Sample data to determine CLR type](https://togithub.com/dotnet/efcore/issues/8824)
- [Allow default value check in value generation to be customized](https://togithub.com/dotnet/efcore/issues/701)
- [Update handling of non-nullable store-generated properties](https://togithub.com/dotnet/efcore/issues/15070)
- [IN() list queries are not parameterized, causing increased SQL Server CPU usage](https://togithub.com/dotnet/efcore/issues/13617)
- [Allow 'unsharing' connection between contexts](https://togithub.com/dotnet/efcore/issues/30704)
- [Remove unneeded subquery and projection when using ordering without limit/offset in set operations](https://togithub.com/dotnet/efcore/issues/30684)
- [Make SequentialGuidValueGenerator non-allocating](https://togithub.com/dotnet/efcore/issues/30610)
- [Support querying over primitive collections](https://togithub.com/dotnet/efcore/issues/30426)
- [JSON/Sqlite: use -> and ->> where possible when traversing JSON, rather than json_extract](https://togithub.com/dotnet/efcore/issues/30334)
- [Add Generic version of EntityTypeConfiguration Attribute](https://togithub.com/dotnet/efcore/issues/30072)
- [NativeAOT/trimming compatibility for Microsoft.Data.Sqlite](https://togithub.com/dotnet/efcore/issues/29725)
- [Map collections of primitive types to JSON column in relational database](https://togithub.com/dotnet/efcore/issues/29427)
- [Translate DateTimeOffset.ToUnixTime(Seconds|Milliseconds)](https://togithub.com/dotnet/efcore/issues/28925)
- [Allow pooling DbContext with singleton services](https://togithub.com/dotnet/efcore/issues/27752)
- [Optional RestartSequenceOperation.StartValue](https://togithub.com/dotnet/efcore/issues/26560)
- [Generate compiled relational model](https://togithub.com/dotnet/efcore/issues/24896)
- [Global query filters produce too many parameters](https://togithub.com/dotnet/efcore/issues/24476)
- [Optimize update path for single property JSON element](https://togithub.com/dotnet/efcore/issues/30410)
- [JSON columns can be used in compiled models](https://togithub.com/dotnet/efcore/issues/29602)
- [Unneeded parentheses removed in SQL queries ](https://togithub.com/dotnet/efcore/issues/26767)
- [Set operations are supported over non-entity projections with different facets](https://togithub.com/dotnet/efcore/issues/19129)
- [Json: add support for Sqlite provider](https://togithub.com/dotnet/efcore/issues/28816)
- [SQL Server: Support hierarchyid](https://togithub.com/dotnet/efcore/issues/365)
- [Configuration to opt out of occasionally problematic SaveChanges optimizations](https://togithub.com/dotnet/efcore/issues/29916)
- [Add convention types for triggers](https://togithub.com/dotnet/efcore/issues/28687)
- [Translate element access of a JSON array](https://togithub.com/dotnet/efcore/issues/28648)
- [Raw SQL queries for unmapped types](https://learn.microsoft.com/ef/core/what-is-new/ef-core-8.0/plan#sql-queries-for-unmapped-types)
- [Support the new BCL DateOnly and TimeOnly structs for SQL Server](https://togithub.com/dotnet/efcore/issues/24507)
- [Translate ElementAt(OrDefault)](https://togithub.com/dotnet/efcore/issues/17066)
- [Opt-out of lazy-loading for specific navigations](https://togithub.com/dotnet/efcore/issues/10787)
- [Lazy-loading for no-tracking queries](https://togithub.com/dotnet/efcore/issues/10042)
- [Reverse engineer Synapse and Dynamics 365 TDS](https://togithub.com/dotnet/efcore/issues/29121)
- [Set MaxLength on TPH discriminator property by convention](https://togithub.com/dotnet/efcore/issues/10691)
- [Translate ToString() on a string column](https://togithub.com/dotnet/efcore/issues/20839)
- [Generic overload of ConventionSetBuilder.Remove](https://togithub.com/dotnet/efcore/issues/29476)
- [Lookup tracked entities by primary key, alternate key, or foreign key](https://togithub.com/dotnet/efcore/issues/29685)
- [Allow UseSequence and HiLo on non-key properties](https://togithub.com/dotnet/efcore/issues/29758)
- [Pass query tracking behavior to materialization interceptor](https://togithub.com/dotnet/efcore/issues/29910)
- [Use case-insensitive string key comparisons on SQL Server](https://togithub.com/dotnet/efcore/issues/27526)
- [Allow value converters to change the DbType](https://togithub.com/dotnet/efcore/issues/24771)
- [Resolve application services in EF services](https://togithub.com/dotnet/efcore/issues/13540)
- [Numeric rowersion properties automatically convert to binary](https://togithub.com/dotnet/efcore/issues/12434)
- [Allow transfer of ownership of DbConnection from application to DbContext](https://togithub.com/dotnet/efcore/issues/24199)
- [Provide more information when 'No DbContext was found' error is generated](https://togithub.com/dotnet/efcore/issues/18715)
See GitHub for all issues resolved in [8.0.0](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.0+is%3Aclosed).
### [`v7.0.20`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.20): .NET 7.0.20
[Release](https://togithub.com/dotnet/core/releases/tag/v7.0.20)
### [`v7.0.19`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.19): EF Core 7.0.19
#### Note: EF Core 7 is now [out-of-support](https://learn.microsoft.com/ef/core/what-is-new/).
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.19) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.18.
### [`v7.0.18`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.18): EF Core 7.0.18
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.18) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.17.
### [`v7.0.17`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.17): EF Core 7.0.17
EF Core 7.0.17 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.17). 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.17+is%3Aclosed):
- [SqlClient - Update 8.0 to 5.1.5](https://togithub.com/dotnet/efcore/issues/33010)
### [`v7.0.16`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.16): EF Core 7.0.16
EF Core 7.0.16 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.16). 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.16+is%3Aclosed):
- [Cancelled token does not prevent execution of ExecuteDeleteAsync(token)](https://togithub.com/dotnet/efcore/issues/31448)
### [`v7.0.15`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.15): .NET 7.0.15
[Release](https://togithub.com/dotnet/core/releases/tag/v7.0.15)
### [`v7.0.14`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.14): EF Core 7.0.14
This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.14) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.13.
### [`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): .NET 7.0.12
[Release](https://togithub.com/dotnet/core/releases/tag/v7.0.12)
### [`v7.0.11`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.11): .NET 7.0.11
[Release](https://togithub.com/dotnet/core/releases/tag/v7.0.11)
### [`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.31`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.31): .NET 6.0.31
[Release](https://togithub.com/dotnet/core/releases/tag/v6.0.31)
### [`v6.0.30`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.30): EF Core 6.0.30
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.30) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.29.
### [`v6.0.29`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.29): EF Core 6.0.29
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.29) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.28.
### [`v6.0.28`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.28): EF Core 6.0.28
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.28) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.27.
### [`v6.0.27`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.27): EF Core 6.0.27
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.27) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.26.
### [`v6.0.26`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.26): .NET 6.0.26
[Release](https://togithub.com/dotnet/core/releases/tag/v6.0.26)
### [`v6.0.25`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.25): EF Core 6.0.25
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.1.25) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 6.1.24.
### [`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): .NET 6.0.22
[Release](https://togithub.com/dotnet/core/releases/tag/v6.0.22)
### [`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)
### [`v6.0.4`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.4): EF Core 6.0.4
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.4) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.4+is%3Aclosed):
- [Exception from SQLite provider when application is shutting down](https://togithub.com/dotnet/efcore/issues/27168)
- [Collection_navigation_equal_to_null_for_subquery fails after merging from release/6.0](https://togithub.com/dotnet/efcore/issues/27356)
- [EF Core 6.0 temporal tables - migration rollback doesn't work](https://togithub.com/dotnet/efcore/issues/27375)
- [InvalidOperationException on save after upgrading from 5 to 6](https://togithub.com/dotnet/efcore/issues/27455)
### [`v6.0.3`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.3): EF Core 6.0.3
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.3) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.3+is%3Aclosed):
- [FirstOrDefault after custom projection == null cannot be translated](https://togithub.com/dotnet/efcore/issues/18476)
- [DbContext scaffolding creates reference error CS0120 in nameof() for InverseProperty in certain conditions](https://togithub.com/dotnet/efcore/issues/26588)
- [EF core 6 selecting null values despite where clause asking for not null](https://togithub.com/dotnet/efcore/issues/26744)
- [Query: Rownumber conversion needs better logic to figure out partitions](https://togithub.com/dotnet/efcore/issues/26756)
- [Suboptimal SQL generation for query with optional navigation, its collection navigation and lateral join](https://togithub.com/dotnet/efcore/issues/27072)
- [Aggregates on multiple child tables produces invalid SQL](https://togithub.com/dotnet/efcore/issues/27163)
- [ServiceProviderCache keeps initially created IServiceProvider indefinitely](https://togithub.com/dotnet/efcore/issues/27169)
- [Setting a Nullable Foreign Key property to Null triggers cascade delete](https://togithub.com/dotnet/efcore/issues/27174)
- [Optimize hangs and stops responding](https://togithub.com/dotnet/efcore/issues/27301)
### [`v6.0.2`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.2): EF Core 6.0.2
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.2) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A6.0.2+is%3Aclosed):
- [Exception when creating new migration after updating from 6.0-rc.1 to 6.0-rc.2 or 6.0-rtm](https://togithub.com/dotnet/efcore/issues/26405)
- [efcore6 produces wrong SELECT SQL when Where/OrderBy clauses are applied to Owned properties followed by .Take](https://togithub.com/dotnet/efcore/issues/26592)
- [Proxies using Records with a base class broken since .NET 6](https://togithub.com/dotnet/efcore/issues/26602)
- [Parentheses put around IS NULL only if operand is of type boolean](https://togithub.com/dotnet/efcore/issues/26652)
- [Self-referencing entity circular dependency happening just on EF Core 6.0](https://togithub.com/dotnet/efcore/issues/26750)
- [Many To Many Exception when adding and removing same entity](https://togithub.com/dotnet/efcore/issues/26779)
- [RelationalConnection.Close calls async function](https://togithub.com/dotnet/efcore/issues/26790)
- [Circular dependency while creating tables with DatabaseFacade.EnsureCreated on EF Core 6](https://togithub.com/dotnet/efcore/issues/26834)
- [EF Core Migration Bundles: no way to passthrough custom args to generated efbundle](https://togithub.com/dotnet/efcore/issues/26945)
- [Did the naming convention change for HasCheckConstraint in v.6? Is this a breaking change?](https://togithub.com/dotnet/efcore/issues/27059)
- [Generated JOIN for multiple MIN is wrong](https://togithub.com/dotnet/efcore/issues/27083)
- [StackOverflowException in nested GroupBy query](https://togithub.com/dotnet/efcore/issues/27094)
- [When trimming, queries fail because of missing System.Math](https://togithub.com/dotnet/efcore/issues/27097)
- [GroupBy with outer reference not translating properly, causing data loss](https://togithub.com/dotnet/efcore/issues/27102)
- [EF 6.0.0 and 6.0.1: sub-lists are no longer loaded](https://togithub.com/dotnet/efcore/issues/27105)
### [`v6.0.1`](https://togithub.com/dotnet/efcore/releases/tag/v6.0.1): EF Core 6.0.1
This is a [patch release of EF Core 6.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/6.0.1) containing only [important bug fixes](https://togithu
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 these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.0.17
->8.0.6
5.0.17
->8.0.6
5.0.0
->8.0.0
5.0.0
->8.0.0
6.0.0
->8.0.0
5.0.17
->8.0.6
7.0
->8.0
7.0
->8.0
Release Notes
dotnet/efcore (Microsoft.EntityFrameworkCore.Design)
### [`v8.0.6`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.6): EF Core 8.0.6 This is a [patch release of EF Core 8.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.6) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 8.0.5. ### [`v8.0.5`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.5): EF Core 8.0.5 This is a [patch release of EF Core 8.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.5) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 8.0.4. ### [`v8.0.4`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.4): EF Core 8.0.4 EF Core 8.0.4 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.4). This is a patch release of EF Core 8 (EF8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.4+is%3Aclosed): - [Incorrect apply projection for complex properties](https://togithub.com/dotnet/efcore/issues/32911) - [The database default created by Migrations for primitive collections mapped to JSON is invalid](https://togithub.com/dotnet/efcore/issues/32972) - [Filtering by Contains with HierarchyId and AsSplitQuery is not working](https://togithub.com/dotnet/efcore/issues/32976) - [Unfulfillable nullable contraints are set for complex types with TPH entities](https://togithub.com/dotnet/efcore/issues/33004) - [OutOfMemoryException when creating migration using ef tool](https://togithub.com/dotnet/efcore/issues/33176) - [SQL Server: Should retry on 203](https://togithub.com/dotnet/efcore/issues/33260) ### [`v8.0.3`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.3): EF Core 8.0.3 EF Core 8.0.3 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.3). This is a patch release of EF Core 8 (EF8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.3+is%3Aclosed): - [Constructor calls when using inheritance with owned entities causes exceptions](https://togithub.com/dotnet/efcore/issues/31353) - [Missing package README file](https://togithub.com/dotnet/efcore/issues/31947) - [String properties with indexes are compared case insensitively on SQL Server](https://togithub.com/dotnet/efcore/issues/32898) - [Using SqliteConnection from an ASP.NET MVC (.NET Framework) application results in a few different exceptions](https://togithub.com/dotnet/efcore/issues/32614) - [Exception when using FromSql on entity with ComplexProperty](https://togithub.com/dotnet/efcore/issues/32699) - [IndexOutOfRange for EntityEntry.GetDatabaseValues() with complex type and TPH](https://togithub.com/dotnet/efcore/issues/32701) - [SQL Server Migrations - SqlOperation.Sql is stripped of all empty lines](https://togithub.com/dotnet/efcore/issues/32730) - [NullReferenceException in Get-Migration in EF Core 8](https://togithub.com/dotnet/efcore/issues/32732) - [Owned entity on genericly typed entity generates unwanted steps in new migrations](https://togithub.com/dotnet/efcore/issues/32763) - [Dotnet-ef mismatch causes apply Entity Framework migration fails when publishing an individual web app.](https://togithub.com/dotnet/efcore/issues/32782) - [Query never returns when DB value for column mapped to primitive collection is](https://togithub.com/dotnet/efcore/issues/32896) ### [`v8.0.2`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.2): EF Core 8.0.2 EF Core 8.0.2 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.2). This is a patch release of EF Core 8 (EF8) containing only [important bug fixes](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.2+is%3Aclosed): - [Adding EF.Constant to prevent parameterization in query](https://togithub.com/dotnet/efcore/issues/32680) - [Nav expansion visitor does not visit the Contains item argument](https://togithub.com/dotnet/efcore/issues/32217) - [SqliteException "no such column : rX.value" when ordering on subquery value in combination with a "where contains" when upgrading from 7 to 8.0.0-rc.2.23480.1](https://togithub.com/dotnet/efcore/issues/32234) - [DB Context pooling with proxies resulting in memory issues in 8.0 RC2](https://togithub.com/dotnet/efcore/issues/32267) - [Nav expansion visitor does not visit the non-lambda arguments (Skip, Take, ElementAt)](https://togithub.com/dotnet/efcore/issues/32312) - [LINQ "Contains" generates SQL with wrong char length](https://togithub.com/dotnet/efcore/issues/32325) - [Using new\[\] in select query gives exception .NET 8](https://togithub.com/dotnet/efcore/issues/32331) - [EF Core Cosmos 7.0.13 => 7.0.14 Value cannot be null. (Parameter 'derivedType')](https://togithub.com/dotnet/efcore/issues/32363) - [New OpenJSON expression to SQL translation breaks aggregates on subquery with 'Cannot perform an aggregate function on an expression containing an aggregate or a subquery' exception](https://togithub.com/dotnet/efcore/issues/32374) - [Did Contains stop working on empty list in EF Core 8?](https://togithub.com/dotnet/efcore/issues/32375) - [LINQ "Contains" fails to generate SQL with custom converter](https://togithub.com/dotnet/efcore/issues/32376) - [error on working with explicit many-to-many relations with OnDelete.Restrict](https://togithub.com/dotnet/efcore/issues/32383) - [Lazy loader throwing invalid operation exceptions](https://togithub.com/dotnet/efcore/issues/32390) - [Cosmos provider v7.0.14 and v8.0.0 breaks previous OwnsMany behaviour](https://togithub.com/dotnet/efcore/issues/32410) - [Constructor not found for type 'Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NullableClassCurrentProviderValueComparer](https://togithub.com/dotnet/efcore/issues/32411) - [Inconsistent behavior related to relationship cycle](https://togithub.com/dotnet/efcore/issues/32422) - [Property conversions are lost on base type is subtype is registered to model afterwards after upgrade to EFCore 8](https://togithub.com/dotnet/efcore/issues/32430) - [Incorrect parameter rewriting for string StartsWith/EndsWith/Contains](https://togithub.com/dotnet/efcore/issues/32432) - [Migrations bug when creating stored procedure with GOTO statement](https://togithub.com/dotnet/efcore/issues/32457) - [Unable to Scaffold DBContext if tables in SQL Server have certain names](https://togithub.com/dotnet/efcore/issues/32571) - [Contains translates to correlated query when the item is nullable](https://togithub.com/dotnet/efcore/issues/32574) - [FluentAPI configuration PrimitiveCollection on OwnedNavigationBuilder returns PropertyBuilder instead of PrimitiveCollectionBuilder](https://togithub.com/dotnet/efcore/issues/32601) - [String comparison fails when using const and compiled Models.](https://togithub.com/dotnet/efcore/issues/32617) - [Exception when writing a JSON column with negative enum value](https://togithub.com/dotnet/efcore/issues/32679) - [Getting errors when mixing DbFunction and SqlQueryRaw](https://togithub.com/dotnet/efcore/issues/32680) ### [`v8.0.1`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.1): .NET 8.0.1 [Release](https://togithub.com/dotnet/core/releases/tag/v8.0.1) ### [`v8.0.0`](https://togithub.com/dotnet/efcore/releases/tag/v8.0.0): EF Core 8 (EF8) EF Core 8 (EF8) is [available from NuGet](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/8.0.0) EF8 contains many new features and enhancements, including: - [Allow Multi-region or Application Preferred Regions in EF Core Cosmos](https://togithub.com/dotnet/efcore/issues/29424) - [Use C# structs or classes as value objects](https://togithub.com/dotnet/efcore/issues/9906) - [Support primitive collections in the compiled model](https://togithub.com/dotnet/efcore/issues/31489) - [Migrations and model snapshot for primitive collections](https://togithub.com/dotnet/efcore/issues/31414) - [Query: add support for projecting JSON entities that have been composed on](https://togithub.com/dotnet/efcore/issues/31365) - [SQLite: Add EF.Functions.Unhex](https://togithub.com/dotnet/efcore/issues/31355) - [Add type mapping APIs to customize JSON value serialization/deserialization](https://togithub.com/dotnet/efcore/issues/30677) - [SQL Server Index options SortInTempDB and DataCompression](https://togithub.com/dotnet/efcore/issues/30408) - [Analyzer: warn (and code fix) for use of interpolation in SQL methods accepting raw strings](https://togithub.com/dotnet/efcore/issues/30965) - [Translate Contains to IN with subquery instead of EXISTS where relevant](https://togithub.com/dotnet/efcore/issues/30955) - [Allow inline primitive collections with parameters, translating to VALUES](https://togithub.com/dotnet/efcore/issues/30732) - [Translate DateOnly.FromDateTime](https://togithub.com/dotnet/efcore/issues/30708) - [Implement JSON serialization/deserialization via Utf8JsonReader/Utf8JsonWriter](https://togithub.com/dotnet/efcore/issues/30604) - [Update pattern for scaffolding column default constraints](https://togithub.com/dotnet/efcore/issues/13613) - [Use IN instead of EXISTS with ExecuteDelete and entity containment](https://togithub.com/dotnet/efcore/issues/31386) - [Allow ExecuteUpdate to update properties of multiple queries as long as the map to a single table](https://togithub.com/dotnet/efcore/issues/31406) - [Query: add support for projecting primitive collections from JSON entities](https://togithub.com/dotnet/efcore/issues/31364) - [Switch to storing enums as ints in JSON instead of strings](https://togithub.com/dotnet/efcore/issues/31100) - [Translate DegreesToRadians](https://togithub.com/dotnet/efcore/issues/30926) - [Metadata and type mapping support for primitive collections](https://togithub.com/dotnet/efcore/issues/30730) - [JSON type representations and conversions to store types](https://togithub.com/dotnet/efcore/issues/30727) - [Allow stripping away all model building code to reduce application size](https://togithub.com/dotnet/efcore/issues/29755) - [Json: add support for collection of primitive types inside JSON columns](https://togithub.com/dotnet/efcore/issues/28688) - [Support LINQ querying of non-primitive collections within JSON](https://togithub.com/dotnet/efcore/issues/28616) - [SQLite RevEng: Sample data to determine CLR type](https://togithub.com/dotnet/efcore/issues/8824) - [Allow default value check in value generation to be customized](https://togithub.com/dotnet/efcore/issues/701) - [Update handling of non-nullable store-generated properties](https://togithub.com/dotnet/efcore/issues/15070) - [IN() list queries are not parameterized, causing increased SQL Server CPU usage](https://togithub.com/dotnet/efcore/issues/13617) - [Allow 'unsharing' connection between contexts](https://togithub.com/dotnet/efcore/issues/30704) - [Remove unneeded subquery and projection when using ordering without limit/offset in set operations](https://togithub.com/dotnet/efcore/issues/30684) - [Make SequentialGuidValueGenerator non-allocating](https://togithub.com/dotnet/efcore/issues/30610) - [Support querying over primitive collections](https://togithub.com/dotnet/efcore/issues/30426) - [JSON/Sqlite: use -> and ->> where possible when traversing JSON, rather than json_extract](https://togithub.com/dotnet/efcore/issues/30334) - [Add Generic version of EntityTypeConfiguration Attribute](https://togithub.com/dotnet/efcore/issues/30072) - [NativeAOT/trimming compatibility for Microsoft.Data.Sqlite](https://togithub.com/dotnet/efcore/issues/29725) - [Map collections of primitive types to JSON column in relational database](https://togithub.com/dotnet/efcore/issues/29427) - [Translate DateTimeOffset.ToUnixTime(Seconds|Milliseconds)](https://togithub.com/dotnet/efcore/issues/28925) - [Allow pooling DbContext with singleton services](https://togithub.com/dotnet/efcore/issues/27752) - [Optional RestartSequenceOperation.StartValue](https://togithub.com/dotnet/efcore/issues/26560) - [Generate compiled relational model](https://togithub.com/dotnet/efcore/issues/24896) - [Global query filters produce too many parameters](https://togithub.com/dotnet/efcore/issues/24476) - [Optimize update path for single property JSON element](https://togithub.com/dotnet/efcore/issues/30410) - [JSON columns can be used in compiled models](https://togithub.com/dotnet/efcore/issues/29602) - [Unneeded parentheses removed in SQL queries ](https://togithub.com/dotnet/efcore/issues/26767) - [Set operations are supported over non-entity projections with different facets](https://togithub.com/dotnet/efcore/issues/19129) - [Json: add support for Sqlite provider](https://togithub.com/dotnet/efcore/issues/28816) - [SQL Server: Support hierarchyid](https://togithub.com/dotnet/efcore/issues/365) - [Configuration to opt out of occasionally problematic SaveChanges optimizations](https://togithub.com/dotnet/efcore/issues/29916) - [Add convention types for triggers](https://togithub.com/dotnet/efcore/issues/28687) - [Translate element access of a JSON array](https://togithub.com/dotnet/efcore/issues/28648) - [Raw SQL queries for unmapped types](https://learn.microsoft.com/ef/core/what-is-new/ef-core-8.0/plan#sql-queries-for-unmapped-types) - [Support the new BCL DateOnly and TimeOnly structs for SQL Server](https://togithub.com/dotnet/efcore/issues/24507) - [Translate ElementAt(OrDefault)](https://togithub.com/dotnet/efcore/issues/17066) - [Opt-out of lazy-loading for specific navigations](https://togithub.com/dotnet/efcore/issues/10787) - [Lazy-loading for no-tracking queries](https://togithub.com/dotnet/efcore/issues/10042) - [Reverse engineer Synapse and Dynamics 365 TDS](https://togithub.com/dotnet/efcore/issues/29121) - [Set MaxLength on TPH discriminator property by convention](https://togithub.com/dotnet/efcore/issues/10691) - [Translate ToString() on a string column](https://togithub.com/dotnet/efcore/issues/20839) - [Generic overload of ConventionSetBuilder.Remove](https://togithub.com/dotnet/efcore/issues/29476) - [Lookup tracked entities by primary key, alternate key, or foreign key](https://togithub.com/dotnet/efcore/issues/29685) - [Allow UseSequence and HiLo on non-key properties](https://togithub.com/dotnet/efcore/issues/29758) - [Pass query tracking behavior to materialization interceptor](https://togithub.com/dotnet/efcore/issues/29910) - [Use case-insensitive string key comparisons on SQL Server](https://togithub.com/dotnet/efcore/issues/27526) - [Allow value converters to change the DbType](https://togithub.com/dotnet/efcore/issues/24771) - [Resolve application services in EF services](https://togithub.com/dotnet/efcore/issues/13540) - [Numeric rowersion properties automatically convert to binary](https://togithub.com/dotnet/efcore/issues/12434) - [Allow transfer of ownership of DbConnection from application to DbContext](https://togithub.com/dotnet/efcore/issues/24199) - [Provide more information when 'No DbContext was found' error is generated](https://togithub.com/dotnet/efcore/issues/18715) See GitHub for all issues resolved in [8.0.0](https://togithub.com/dotnet/efcore/issues?q=is%3Aissue+milestone%3A8.0.0+is%3Aclosed). ### [`v7.0.20`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.20): .NET 7.0.20 [Release](https://togithub.com/dotnet/core/releases/tag/v7.0.20) ### [`v7.0.19`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.19): EF Core 7.0.19 #### Note: EF Core 7 is now [out-of-support](https://learn.microsoft.com/ef/core/what-is-new/). This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.19) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.18. ### [`v7.0.18`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.18): EF Core 7.0.18 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.18) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.17. ### [`v7.0.17`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.17): EF Core 7.0.17 EF Core 7.0.17 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.17). 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.17+is%3Aclosed): - [SqlClient - Update 8.0 to 5.1.5](https://togithub.com/dotnet/efcore/issues/33010) ### [`v7.0.16`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.16): EF Core 7.0.16 EF Core 7.0.16 is [available on NuGet now](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.16). 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.16+is%3Aclosed): - [Cancelled token does not prevent execution of ExecuteDeleteAsync(token)](https://togithub.com/dotnet/efcore/issues/31448) ### [`v7.0.15`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.15): .NET 7.0.15 [Release](https://togithub.com/dotnet/core/releases/tag/v7.0.15) ### [`v7.0.14`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.14): EF Core 7.0.14 This is a [patch release of EF Core 7.0](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/7.0.14) containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 7.0.13. ### [`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): .NET 7.0.12 [Release](https://togithub.com/dotnet/core/releases/tag/v7.0.12) ### [`v7.0.11`](https://togithub.com/dotnet/efcore/releases/tag/v7.0.11): .NET 7.0.11 [Release](https://togithub.com/dotnet/core/releases/tag/v7.0.11) ### [`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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.