diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index bbf114d8f..9c50f0eb9 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -10,6 +10,7 @@ - MongoDB - MSSQL - PostgreSQL +* Breaking: `EventFlow.Sql` from .NET 8 and above uses dbup version 6 to migrate databases. *Sorry for the delay.* diff --git a/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj b/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj index efaad38f5..8073e6011 100644 --- a/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj +++ b/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj @@ -6,12 +6,12 @@ - - - + + + - - + + diff --git a/Source/EventFlow.MsSql/EventFlow.MsSql.csproj b/Source/EventFlow.MsSql/EventFlow.MsSql.csproj index ff686d64c..36da833b9 100644 --- a/Source/EventFlow.MsSql/EventFlow.MsSql.csproj +++ b/Source/EventFlow.MsSql/EventFlow.MsSql.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0 EventFlow.MsSql Rasmus Mikkelsen Rasmus Mikkelsen @@ -12,9 +12,27 @@ + + + + + + + + + + + + + + + + + + + - diff --git a/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj b/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj index 1a60b0ed7..a97da78d4 100644 --- a/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj +++ b/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0 EventFlow.PostgreSql Rida Messaoudene Rasmus Mikkelsen @@ -25,8 +25,26 @@ - + + + + + + + + + + + + + + + + + + + diff --git a/Source/EventFlow.SQLite/EventFlow.SQLite.csproj b/Source/EventFlow.SQLite/EventFlow.SQLite.csproj index ed9480299..3efec7135 100644 --- a/Source/EventFlow.SQLite/EventFlow.SQLite.csproj +++ b/Source/EventFlow.SQLite/EventFlow.SQLite.csproj @@ -9,11 +9,26 @@ - + + + + + + + + + + + + + + + + diff --git a/Source/EventFlow.Sql/EventFlow.Sql.csproj b/Source/EventFlow.Sql/EventFlow.Sql.csproj index 1f6164a38..fb813e9b0 100644 --- a/Source/EventFlow.Sql/EventFlow.Sql.csproj +++ b/Source/EventFlow.Sql/EventFlow.Sql.csproj @@ -4,7 +4,7 @@ EventFlow.Sql Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2021 + Copyright (c) Rasmus Mikkelsen 2015 - 2025 Generic SQL support for EventFlow CQRS ES event sourcing SQL UPDATED BY BUILD @@ -13,11 +13,26 @@ - + + + + + + + + + + + + + + + + diff --git a/Source/EventFlow.Sql/Integrations/DbUpUpgradeLog.cs b/Source/EventFlow.Sql/Integrations/DbUpUpgradeLog.cs index 1acbe9fad..15e003206 100644 --- a/Source/EventFlow.Sql/Integrations/DbUpUpgradeLog.cs +++ b/Source/EventFlow.Sql/Integrations/DbUpUpgradeLog.cs @@ -20,6 +20,7 @@ // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +using System; using DbUp.Engine.Output; using Microsoft.Extensions.Logging; @@ -35,6 +36,36 @@ public DbUpUpgradeLog( _logger = logger; } + public void LogTrace(string format, params object[] args) + { + _logger.LogError(format, args); + } + + public void LogDebug(string format, params object[] args) + { + _logger.LogError(format, args); + } + + public void LogInformation(string format, params object[] args) + { + _logger.LogError(format, args); + } + + public void LogWarning(string format, params object[] args) + { + _logger.LogError(format, args); + } + + public void LogError(string format, params object[] args) + { + _logger.LogError(format, args); + } + + public void LogError(Exception ex, string format, params object[] args) + { + _logger.LogError(ex, format, args); + } + public void WriteInformation(string format, params object[] args) { _logger.LogInformation(format, args); @@ -50,4 +81,4 @@ public void WriteError(string format, params object[] args) _logger.LogError(format, args); } } -} +} \ No newline at end of file