Skip to content

Commit 18e5e14

Browse files
committed
Version 8.0.2
1 parent f370201 commit 18e5e14

File tree

7 files changed

+18
-17
lines changed

7 files changed

+18
-17
lines changed

DataLayer/DataLayer.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
9-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
109
</ItemGroup>
1110

1211
</Project>

EfSchemaCompare/EfSchemaCompare.csproj

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,22 @@
1111
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1212
</PackageReference>
1313
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
1614
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
15+
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.5.1" />
1716
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1817
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" />
1918
</ItemGroup>
2019

2120
<PropertyGroup>
2221
<PackageId>EfCore.SchemaCompare</PackageId>
23-
<PackageVersion>8.0.1</PackageVersion>
24-
<Version>8.0.1</Version>
25-
<AssemblyVersion>8.0.1</AssemblyVersion>
26-
<FileVersion>8.0.0</FileVersion>
22+
<PackageVersion>8.0.2</PackageVersion>
23+
<Version>8.0.2</Version>
2724
<Authors>Jon P Smith</Authors>
2825
<Description>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.</Description>
2926
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
3027
<PackageReleaseNotes>
31-
- Fixed problems with TablesToIgnoreCommaDelimited with databases not supporting schema - see issue #30
28+
- Removed vulnerable NuGets
29+
- Removed EF Core database NuGets, e.g. Microsoft.EntityFrameworkCore.SqlServer, because its uses provided DbContext
3230
</PackageReleaseNotes>
3331
<Copyright>Copyright (c) 2020 Jon P Smith. Licenced under MIT licence</Copyright>
3432
<PackageTags>Entity Framework Core, Database</PackageTags>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ If you are changing the schema of your database's schema outside of EF Core' mig
44

55
The first number in the version number of this library defines what version of NET framework it works for. e.g.
66

7-
- EfCore.SchemaCompare version 6 is works with to NET 6.
8-
- EfCore.SchemaCompare version 7 is works with to NET 7 ... an so
7+
- EfCore.SchemaCompare version 8.?.? works with to NET 8.
8+
- EfCore.SchemaCompare version 7.?.? works with to NET 7 ... an so
99

1010
**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).
1111

ReleaseNotes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release notes
22

3+
## 8.0.2
4+
5+
- Removed vulnerable NuGets
6+
- Removed EF Core database NuGets, e.g. Microsoft.EntityFrameworkCore.SqlServer, because its uses provided DbContext
7+
38
## 8.0.1
49

510
- Fixed problems with TablesToIgnoreCommaDelimited with databases not supporting schema - see issue #30

Test/Test.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="EfCore.TestSupport" Version="6.0.2" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
10+
<PackageReference Include="EfCore.TestSupport" Version="8.0.1" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.2" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
1414
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
15-
<PackageReference Include="xunit" Version="2.5.1" />
15+
<PackageReference Include="xunit" Version="2.5.3" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>

Test/UnitTests/TestSchemas.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
// Licensed under MIT license. See License.txt in the project root for license information.
33

44
using System;
5-
using DataLayer.MyEntityDb;
65
using DataLayer.SchemaDb;
76
using EfSchemaCompare;
8-
using Microsoft.EntityFrameworkCore.Infrastructure;
97
using Microsoft.EntityFrameworkCore;
108
using TestSupport.EfHelpers;
119
using TestSupport.Helpers;

Test/UnitTests/TestTemporal.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public void CompareTemporal()
2121
var options = this.CreateUniqueClassOptions<MyEntityDbContext>(
2222
builder => builder.ReplaceService<IModelCacheKeyFactory, MyEntityModelCacheKeyFactory>());
2323
using var context = new MyEntityDbContext(options, MyEntityDbContext.Configs.Temporal);
24+
context.Database.EnsureDeleted();
2425
context.Database.EnsureCreated();
2526
foreach (var entityType in context.GetService<IDesignTimeModel>().Model.GetEntityTypes())
2627
context.Database.ExecuteSqlRaw(

0 commit comments

Comments
 (0)