diff --git a/DataLayer/DataLayer.csproj b/DataLayer/DataLayer.csproj index e6b82de..15645d7 100644 --- a/DataLayer/DataLayer.csproj +++ b/DataLayer/DataLayer.csproj @@ -5,8 +5,7 @@ - - + diff --git a/EfSchemaCompare/EfSchemaCompare.csproj b/EfSchemaCompare/EfSchemaCompare.csproj index 757232a..acd4a4f 100644 --- a/EfSchemaCompare/EfSchemaCompare.csproj +++ b/EfSchemaCompare/EfSchemaCompare.csproj @@ -11,24 +11,22 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + EfCore.SchemaCompare - 8.0.1 - 8.0.1 - 8.0.1 - 8.0.0 + 8.0.2 + 8.0.2 Jon P Smith Useful tool if you are changing the schema of your database's schema outside of EF Core' migrations, say by using SQL change scripts. See readme file on github. false - - Fixed problems with TablesToIgnoreCommaDelimited with databases not supporting schema - see issue #30 + - Removed vulnerable NuGets + - Removed EF Core database NuGets, e.g. Microsoft.EntityFrameworkCore.SqlServer, because its uses provided DbContext Copyright (c) 2020 Jon P Smith. Licenced under MIT licence Entity Framework Core, Database diff --git a/README.md b/README.md index 030a9db..1545dd8 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ If you are changing the schema of your database's schema outside of EF Core' mig The first number in the version number of this library defines what version of NET framework it works for. e.g. -- EfCore.SchemaCompare version 6 is works with to NET 6. -- EfCore.SchemaCompare version 7 is works with to NET 7 ... an so +- EfCore.SchemaCompare version 8.?.? works with to NET 8. +- EfCore.SchemaCompare version 7.?.? works with to NET 7 ... an so **WARNING**: Version 8 contains a **BREAKING CHANGE**. You need to add the Microsoft.EntityFrameworkCore.Design NuGet to your application when using this library. This is needed as the EfCore.SchemaCompare library now supports multiple database providers does - see [What database providers does it support](https://github.com/JonPSmith/EfCore.SchemaCompare/blob/master/README.md#what-database-providers-does-it-support). diff --git a/ReleaseNotes.md b/ReleaseNotes.md index fa996e1..273cfc6 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,10 @@ # Release notes +## 8.0.2 + +- Removed vulnerable NuGets +- Removed EF Core database NuGets, e.g. Microsoft.EntityFrameworkCore.SqlServer, because its uses provided DbContext + ## 8.0.1 - Fixed problems with TablesToIgnoreCommaDelimited with databases not supporting schema - see issue #30 diff --git a/Test/Test.csproj b/Test/Test.csproj index 7c3af06..adba6e0 100644 --- a/Test/Test.csproj +++ b/Test/Test.csproj @@ -7,12 +7,12 @@ - - - + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Test/UnitTests/TestSchemas.cs b/Test/UnitTests/TestSchemas.cs index cac3935..2434a31 100644 --- a/Test/UnitTests/TestSchemas.cs +++ b/Test/UnitTests/TestSchemas.cs @@ -2,10 +2,8 @@ // Licensed under MIT license. See License.txt in the project root for license information. using System; -using DataLayer.MyEntityDb; using DataLayer.SchemaDb; using EfSchemaCompare; -using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore; using TestSupport.EfHelpers; using TestSupport.Helpers; diff --git a/Test/UnitTests/TestTemporal.cs b/Test/UnitTests/TestTemporal.cs index 79fe5d4..57ae58a 100644 --- a/Test/UnitTests/TestTemporal.cs +++ b/Test/UnitTests/TestTemporal.cs @@ -21,6 +21,7 @@ public void CompareTemporal() var options = this.CreateUniqueClassOptions( builder => builder.ReplaceService()); using var context = new MyEntityDbContext(options, MyEntityDbContext.Configs.Temporal); + context.Database.EnsureDeleted(); context.Database.EnsureCreated(); foreach (var entityType in context.GetService().Model.GetEntityTypes()) context.Database.ExecuteSqlRaw(