From 588e4671e1682aa31e92f3a70cab689d3f9713bd Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Sat, 6 Dec 2025 12:40:15 +0100 Subject: [PATCH 1/4] Add .NET 10 --- RELEASE_NOTES.md | 4 ++-- .../EventFlow.EntityFramework.Tests.csproj | 14 +++++++++++--- .../EventFlow.EntityFramework.csproj | 8 ++++++-- .../EventFlow.Hangfire.Tests.csproj | 2 +- .../EventFlow.Hangfire/EventFlow.Hangfire.csproj | 2 +- .../EventFlow.MongoDB.Tests.csproj | 2 +- Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj | 2 +- Source/EventFlow.MsSql/EventFlow.MsSql.csproj | 2 +- .../EventFlow.RabbitMQ.Tests.csproj | 2 +- .../EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj | 2 +- .../EventFlow.SQLite.Tests.csproj | 2 +- Source/EventFlow.SQLite/EventFlow.SQLite.csproj | 2 +- .../EventFlow.Sql.Tests/EventFlow.Sql.Tests.csproj | 2 +- Source/EventFlow.Sql/EventFlow.Sql.csproj | 2 +- .../EventFlow.TestHelpers.csproj | 2 +- Source/EventFlow.Tests/EventFlow.Tests.csproj | 2 +- Source/EventFlow/EventFlow.csproj | 9 ++++++++- global.json | 6 ++++++ 18 files changed, 46 insertions(+), 21 deletions(-) create mode 100644 global.json diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0a9e4d017..28cdb6843 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ -### New in 1.2.3 (not released yet) +### New in 1.3.0 (not released yet) -- *Nothing yet...* +- New: Compiled and packaged for .NET 10 ### New in 1.2.2 (released 2025-10-11) diff --git a/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj b/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj index efaad38f5..5e5870ec1 100644 --- a/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj +++ b/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net10.0 False @@ -10,12 +10,20 @@ - - + + + + + + + + + + diff --git a/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj b/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj index 55788830a..dc1564994 100644 --- a/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj +++ b/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj @@ -1,6 +1,6 @@ - net8.0 + net8.0;net10.0 True EventFlow.EntityFramework Frank Ebersoll @@ -19,10 +19,14 @@ - + + + + + diff --git a/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj b/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj index fd228330a..95838e918 100644 --- a/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj +++ b/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0 + netcoreapp3.1;net6.0;net10.0 False diff --git a/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj b/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj index d051b07f7..446e01679 100644 --- a/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj +++ b/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0;net8.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow.Hangfire EventFlow.Hangfire Rasmus Mikkelsen diff --git a/Source/EventFlow.MongoDB.Tests/EventFlow.MongoDB.Tests.csproj b/Source/EventFlow.MongoDB.Tests/EventFlow.MongoDB.Tests.csproj index d55130097..2ba987c7e 100644 --- a/Source/EventFlow.MongoDB.Tests/EventFlow.MongoDB.Tests.csproj +++ b/Source/EventFlow.MongoDB.Tests/EventFlow.MongoDB.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0 + netcoreapp3.1;net6.0;net8.0;net10.0 False diff --git a/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj b/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj index 8d9b0b49a..ed5506a9f 100644 --- a/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj +++ b/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj @@ -1,6 +1,6 @@ - netstandard2.1;netcoreapp3.1;net6.0;net8.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow.MongoDB EventFlow.MongoDB Jan Feyen, Warren Pieterse diff --git a/Source/EventFlow.MsSql/EventFlow.MsSql.csproj b/Source/EventFlow.MsSql/EventFlow.MsSql.csproj index ff686d64c..d6ef77d12 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;net10.0 EventFlow.MsSql Rasmus Mikkelsen Rasmus Mikkelsen diff --git a/Source/EventFlow.RabbitMQ.Tests/EventFlow.RabbitMQ.Tests.csproj b/Source/EventFlow.RabbitMQ.Tests/EventFlow.RabbitMQ.Tests.csproj index 6fcfcb625..3a8e5dd91 100644 --- a/Source/EventFlow.RabbitMQ.Tests/EventFlow.RabbitMQ.Tests.csproj +++ b/Source/EventFlow.RabbitMQ.Tests/EventFlow.RabbitMQ.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0 + netcoreapp3.1;net6.0;net8.0;net10.0 False diff --git a/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj b/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj index e9e675940..dfc626fb9 100644 --- a/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj +++ b/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow.RabbitMQ EventFlow.RabbitMQ Rasmus Mikkelsen diff --git a/Source/EventFlow.SQLite.Tests/EventFlow.SQLite.Tests.csproj b/Source/EventFlow.SQLite.Tests/EventFlow.SQLite.Tests.csproj index 66a337527..f788cea16 100644 --- a/Source/EventFlow.SQLite.Tests/EventFlow.SQLite.Tests.csproj +++ b/Source/EventFlow.SQLite.Tests/EventFlow.SQLite.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0;net8.0 + netcoreapp3.1;net6.0;net8.0;net10.0 False diff --git a/Source/EventFlow.SQLite/EventFlow.SQLite.csproj b/Source/EventFlow.SQLite/EventFlow.SQLite.csproj index ed9480299..0a8d70635 100644 --- a/Source/EventFlow.SQLite/EventFlow.SQLite.csproj +++ b/Source/EventFlow.SQLite/EventFlow.SQLite.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0;net8.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow.SQLite SQLite event store for EventFlow CQRS ES event sourcing SQLite diff --git a/Source/EventFlow.Sql.Tests/EventFlow.Sql.Tests.csproj b/Source/EventFlow.Sql.Tests/EventFlow.Sql.Tests.csproj index bce9cbffd..e5e12244b 100644 --- a/Source/EventFlow.Sql.Tests/EventFlow.Sql.Tests.csproj +++ b/Source/EventFlow.Sql.Tests/EventFlow.Sql.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0;net8.0 + netcoreapp3.1;net6.0;net8.0;net10.0 False diff --git a/Source/EventFlow.Sql/EventFlow.Sql.csproj b/Source/EventFlow.Sql/EventFlow.Sql.csproj index ef9160bd1..8ee2ede7e 100644 --- a/Source/EventFlow.Sql/EventFlow.Sql.csproj +++ b/Source/EventFlow.Sql/EventFlow.Sql.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0;net8.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow.Sql Rasmus Mikkelsen Rasmus Mikkelsen diff --git a/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj b/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj index 6bcd904fb..0de96c53d 100644 --- a/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj +++ b/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0;net8.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow.TestHelpers Rasmus Mikkelsen Rasmus Mikkelsen diff --git a/Source/EventFlow.Tests/EventFlow.Tests.csproj b/Source/EventFlow.Tests/EventFlow.Tests.csproj index 29f1502c4..05a5f0f88 100644 --- a/Source/EventFlow.Tests/EventFlow.Tests.csproj +++ b/Source/EventFlow.Tests/EventFlow.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0;net8.0 + netcoreapp3.1;net6.0;net8.0;net10.0 False diff --git a/Source/EventFlow/EventFlow.csproj b/Source/EventFlow/EventFlow.csproj index 239c2e66a..2ebbb0abf 100644 --- a/Source/EventFlow/EventFlow.csproj +++ b/Source/EventFlow/EventFlow.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netcoreapp3.1;net6.0;net8.0 + netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0 EventFlow Async/await first CQRS+ES and DDD framework for .NET - https://docs.geteventflow.net/ CQRS ES event sourcing @@ -45,4 +45,11 @@ + + + + + + + diff --git a/global.json b/global.json new file mode 100644 index 000000000..512142d2b --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.100", + "rollForward": "latestFeature" + } +} From 722fcb06f17d979aca0d264834972fd60c3d12fa Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Sat, 6 Dec 2025 12:44:56 +0100 Subject: [PATCH 2/4] Fix compile error --- RELEASE_NOTES.md | 2 +- Source/EventFlow/EventFlow.csproj | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 28cdb6843..53e84b5e7 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ ### New in 1.3.0 (not released yet) -- New: Compiled and packaged for .NET 10 +- New: Compiled and packaged for .NET 10, which has the dependency on `System.Linq.Async` removed ### New in 1.2.2 (released 2025-10-11) diff --git a/Source/EventFlow/EventFlow.csproj b/Source/EventFlow/EventFlow.csproj index 2ebbb0abf..22e862349 100644 --- a/Source/EventFlow/EventFlow.csproj +++ b/Source/EventFlow/EventFlow.csproj @@ -12,11 +12,11 @@ - + @@ -25,6 +25,7 @@ + @@ -32,6 +33,7 @@ + @@ -39,6 +41,7 @@ + From 63546242a0d0f7992219b7ef78ad032793fe8ec2 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Sat, 6 Dec 2025 12:51:46 +0100 Subject: [PATCH 3/4] Add missing .NET 8 in tests --- Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj b/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj index 95838e918..2124e5385 100644 --- a/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj +++ b/Source/EventFlow.Hangfire.Tests/EventFlow.Hangfire.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0;net10.0 + netcoreapp3.1;net6.0;net8.0;net10.0 False From 6f530f376a1ac038c292938870a1525f8814215e Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Sat, 6 Dec 2025 12:56:51 +0100 Subject: [PATCH 4/4] Correct dependencies for .NET 10 --- .../EventFlow.EntityFramework.Tests.csproj | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj b/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj index 5e5870ec1..02e965084 100644 --- a/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj +++ b/Source/EventFlow.EntityFramework.Tests/EventFlow.EntityFramework.Tests.csproj @@ -6,20 +6,23 @@ - - - + + + + + +