Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x

- name: Restore dependencies
run: dotnet restore
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Represents the **NuGet** versions.

## v2.8.0
- *Enhancement:* Added `net9.0` support.
- *Enhancement:* Deprecated `net7.0` support; no longer supported by [Microsoft](https://dotnet.microsoft.com/en-us/platform/support/policy).
- *Enhancement:* Updated dependencies to latest; including transitive where applicable.

## v2.7.1
- *Fixed:* Re-publish of packages.

Expand Down
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.7.1</Version>
<Version>2.8.0</Version>
<LangVersion>preview</LangVersion>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down
6 changes: 3 additions & 3 deletions src/DbEx.MySql/DbEx.MySql.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
<RootNamespace>DbEx.MySql</RootNamespace>
<Product>DbEx</Product>
<Title>DbEx MySQL Migration Tool.</Title>
Expand Down Expand Up @@ -41,8 +41,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database.MySql" Version="3.27.0" />
<PackageReference Include="dbup-mysql" Version="5.0.44" />
<PackageReference Include="CoreEx.Database.MySql" Version="3.29.0" />
<PackageReference Include="dbup-mysql" Version="6.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/DbEx.Postgres/DbEx.Postgres.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
<RootNamespace>DbEx.Postgres</RootNamespace>
<Product>DbEx</Product>
<Title>DbEx PostgreSQL Migration Tool.</Title>
Expand Down Expand Up @@ -54,7 +54,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database.Postgres" Version="3.27.0" />
<PackageReference Include="CoreEx.Database.Postgres" Version="3.29.0" />
<PackageReference Include="dbup-postgresql" Version="5.0.40" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/DbEx.SqlServer/DbEx.SqlServer.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net9.0;netstandard2.1</TargetFrameworks>
<RootNamespace>DbEx.SqlServer</RootNamespace>
<Product>DbEx</Product>
<Title>DbEx SQL Server Migration Tool.</Title>
Expand Down Expand Up @@ -44,8 +44,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.27.0" />
<PackageReference Include="dbup-sqlserver" Version="5.0.41" />
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.29.0" />
<PackageReference Include="dbup-sqlserver" Version="6.0.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/DbEx/DbEx.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net9.0;netstandard2.1</TargetFrameworks>
<RootNamespace>DbEx</RootNamespace>
<Product>DbEx</Product>
<Title>DbEx Database Migration Tool.</Title>
Expand All @@ -20,8 +20,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database" Version="3.27.0" />
<PackageReference Include="OnRamp" Version="2.2.3" />
<PackageReference Include="CoreEx.Database" Version="3.29.0" />
<PackageReference Include="OnRamp" Version="2.2.4" />
</ItemGroup>

<Import Project="..\..\Common.targets" />
Expand Down
2 changes: 1 addition & 1 deletion src/DbEx/Migration/DatabaseMigrationBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public virtual async Task<bool> MigrateAsync(CancellationToken cancellationToken
}

// Database schema scripts.
if (!await CommandExecuteAsync(MigrationCommand.Schema, "DATABASE SCHEMA: Drops and creates the database objects...", DatabaseSchemaAsync, null, cancellationToken).ConfigureAwait(false))
if (!await CommandExecuteAsync(MigrationCommand.Schema, "DATABASE SCHEMA: Drops and creates/replaces the database objects...", DatabaseSchemaAsync, null, cancellationToken).ConfigureAwait(false))
return false;

// Database reset.
Expand Down
13 changes: 6 additions & 7 deletions tests/DbEx.Test/DbEx.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>

<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
Expand Down