Skip to content

Releases: dotnet/efcore

2.2.0-preview3

17 Oct 23:29
Compare
Choose a tag to compare

2.1.4

15 Nov 17:49
Compare
Choose a tag to compare

This servicing release was part of the .NET Core 2.1.5 release. It is versioned on NuGet and tagged here are 2.1.4 because EF Core did not make any changes for one of the .NET Core 2.1.x releases. (Going forward we will instead bump up all the versions so that they align.)

The issues fixed in this release can be found in the 2.1.5 milestone

2.2.0-preview2

17 Oct 23:28
Compare
Choose a tag to compare
2.2.0-preview2 Pre-release
Pre-release
v2.2.0-preview2

2.1.2

19 Sep 16:00
Compare
Choose a tag to compare

The 2.1.2 release to NuGet contains issues that were fixed in the 2.1.3 release of the ASP.NET Core metapackage, and hence are tracked on this GitHub repo in the 2.1.3 milestone.

2.1.1

08 Aug 23:48
Compare
Choose a tag to compare

This is a servicing release containing bug fixes made since the 2.1.0 release.

2.1.0

08 Aug 23:43
Compare
Choose a tag to compare

More than 500 bug fixes and enhancements have been made since EF Core 2.0 was released. Because EF Core is developed as an open-source project on GitHub, a complete list of these changes can be found in the GitHub issue tracker:

Changes from 2.1-rc1 to 2.1.0
Changes from 2.1-preview2 to 2.1-rc1
Changes from 2.1-preview1 to 2.1-preview2
Changes from 2.0 to 2.1-preview1

You can read more about this release on the .NET Blog announcement post.

In EF Core 2.1 the dotnet ef command-line tools have been integrated into the .NET Core SDK, but the new versions of the tools cannot be used with EF Core versions older than 2.0. For information on how to install and use dotnet ef tools with different versions of EF Core, see https://go.microsoft.com/fwlink/?linkid=871254.

2.1.0-rc1

08 Aug 23:36
Compare
Choose a tag to compare
2.1.0-rc1 Pre-release
Pre-release

This release includes the following new enhancements and bug fixes: https://github.com/aspnet/EntityFrameworkCore/milestone/39?closed=1

2.1.0-preview2

08 Aug 23:37
Compare
Choose a tag to compare
2.1.0-preview2 Pre-release
Pre-release

Features

  • Data Seeding: Enable for InMemory (#11474)
  • Allow precision on type mappings with scale (#11439)
  • Perf: make TypeMappingInfo a struct (#11424)
  • Query: rewrite predicate with constanList.Any(e =>e == someProperty) to Contains (#11389)
  • Consider making RelationalTypeMappingInfo concrete (#11363)
  • Feature parity: Add IQueryTypeConfiguration (#11257)
  • Consider renaming the Attributes package to Abstractions and moving other types there (#11170)
  • Possible issue in RelationalTypeMappingExtensions.CloneWithFacetedName (#11167)
  • Consider moving attributes to new Attributes package (#11144)
  • Property expression exception for fluent api should be more explicit (#11135)
  • EF migration MigrationBuilder.InsertData enables IDENTITY_INSERT when it is not needed. (#11115)
  • ValueComparers, mappings and genericity (#11072)
  • Reveng: custom naming of properties, dbset and entity? (#11056)
  • Query: Make EF.Functions.DateDiff SqlServer specific (#11038)
  • Using IQueryable.Contains() in an expression causes a memory leak (#11015)
  • Update SQL Server and SQLite type mappings to not use fallbacks (#10987)
  • Query: convert ExpressionEqualityComparer to a singleton (#10983)
  • Benchmarks: Run EF Core dev benchmarks with netcoreapp2.1 runtime (#10972)
  • Review log-levels for 2.1 logging (#10966)
  • Exception when removing migration (#10921)
  • Add events for entity state changes (#10895)
  • For API review: Consider renaming fluent method SeedData() to HasData() or HasSeedData() (#10875)
  • Update API test for fluent method chaining (#10863)
  • Decide on which constructor to call by convention (#10852)
  • Tools: Consolidate -Force and -Revert on Remove-Migration (#10781)
  • Query: remove redundant ToList calls on top of correlated collections that get optimized (#10762)
  • Query: we inject redundant MaterializeCollectionNavigation calls into some queries that take advantage of correlated collection optimizations (#10733)
  • CompareString in VB Project will be evaluated locally (#10707)
  • Add MaterializationContext parameter object (#10641)
  • EF Core Drop Database Command runs the "ConfigureServices" method twice (#10636)
  • Change parameter log formatting to not show DbType = String when it isn't (#10634)
  • Question:Design Core(Rev Eng):Context Class: How to add namespace while generating Context class (#10629)
  • CLI Tools: Convert to a Dotnet (global) Tool (#10554)
  • Make IEntityEntryGraphIterator public (#10540)
  • Sqlite: Translate DateTime.Millisecond (#10523)
  • Implement lazy-loading of navigation properties (#10509)
  • Allow a second type argument AddDbContext to support inheritance (#10451)
  • Add logging event for client-side cascade delete (#10435)
  • Update "More than twenty 'IServiceProvider'..." message to be more helpful (#10235)
  • Mix of owned and normal entity types in hierarchy should cause validation error (#10200)
  • Better SaveChanges exception messages for "conceptual nulls" (#10170)
  • HasIndex does not work as expected (#10135)
  • Better LINQ support for Microsoft.SqlServer.Types (#10109)
  • DbSet.Find for null values (#10096)
  • Query: Translate GroupBy constant value followed by aggregate as table aggregate (#9969)
  • EF generates very unclear error message in case too generic key types in M:M relationship (#9817)
  • Data type 'nvarchar' is not supported in this form should also say which property (#9761)
  • Support change tracking of non-primitive types (#9753)
  • Update DeleteBehavior.Restrict to not apply when navigations are changed (#9703)
  • Improve exception for incorrect FK value (#9696)
  • Re-consider how default values are reverse engineered (#9627)
  • Throw better exception for .Set() (#9626)
  • Consider simplifying roadmap page (#9615)
  • Metadata: Implement IsFixedLength API (#9579)
  • Query: Apply CompositePredicateExpressionVisitor to join predicates (#9395)
  • Remotion Linq: Upgrade package to RTM version (#9311)
  • efcore2 warns about default values for bool (#9291)
  • Add generic overloads for relationship API with navigations passed as strings (#9191)
  • Make warning as error exception more helpful (#9178)
  • Expose ChangeTrackingStrategy on IEntityType and IMutableEntityType (#9087)
  • Allow fields to be used for navigation 'properties' (#9059)
  • Query: Filter out entities that are using table splitting with a derived type (#8973)
  • Improve the conceptual null exception (#8365)
  • Improve SaveChanges circular dependency exception (#8363)
  • TrackGraph stop tracking if current State is not set, but setting state throw InvalidOperationException (#8226)
  • Warn when runtime version newer than tools (#7065)
  • Minor: if possible improve error message (add UK to message also) (#5944)
  • Query: Allow EF.Property to be used for navigations. (#4834)
  • Support specifying a default value for a column corresponding to an enum model property (#4081)
  • Support for database enums (#3620)
  • Reverse Engineer: Allow reading connection strings from configuration (#2464)
  • Logging: add to Change Tracker (#221)

Bugs Fixed

  • InvalidOperationException when use enum as discriminator (#11454)
  • Query Types don't work with compiled queries (#11413)
  • Query: compilation error for queries streaming correlated collection with FirstOrDefault (#11403)
  • Benchmarks scenarios broken ([#11399]...
Read more

2.0.1

15 Nov 06:23
Compare
Choose a tag to compare

Features

  • Update reverse engineering of non-nullable bool columns with default values for SQL Server (#9826)
  • Should quirk switch names contain bug number? (#9608)
  • UWP compat: .NET Native tracking perf improvements (port to patch) (#9492)

Bugs Fixed

  • Regression in 2.0.3 preview: NullReferenceException in RelationalDataReader.Dispose() on Migrate() (#10147)
  • System.ArgumentOutOfRangeException after upgrade to EF Core 2.0 (#10045)
  • Scaffolding fix for nvarchar(4000) (port to patch) (#9963)
  • Enum.ToString() results in SQL translation and returns underlying integer value (#9894)
  • GroupJoin to parent with no child throws invalid operation exception (#9892)
  • Access to context bound variable can incorrectly be optimized out (#9825)
  • Update of owned entity fails (#9803)
  • Metadata: Discovering derived type with self ref relationship before base causes exception (#9704)
  • Exception in Client vs. Server Evaluation with async/await in EF Core 2.0.0 (#9570)
  • Expression of type 'System.Object' cannot be used for parameter of type 'Microsoft.EntityFrameworkCore.Metadata.IEntityType' (#9551)
  • ModelBuilder: stackoverflow for may be invalid relationship via fluent api (#9478)
  • Diagnostics logging is incompatible with windows EventLog (#9437)
  • UWP compat: Don't use reflection on emitted types (port to patch) (#9355)
  • Migrations after field rename with Datetime type doesn't work (#9344)
  • Query: Output parameter in FromSql is always null (#9309)
  • Remove-Migration null-refs when generating report (#9280)
  • Projection with nested projection hangs/does not complete in 2.0 Preview 2 (#9128)
  • Including collection navigation after optional navigation throws NRE with async in 2.0.0 (#9038)

1.1.4

15 Nov 05:42
Compare
Choose a tag to compare
Update dependencies to the latest patch