diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c901144f..eb8518a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,11 +62,6 @@ jobs: - uses: actions/checkout@v2 - - name: Setup .NET Core 2.1.x - uses: actions/setup-dotnet@v1 - with: - dotnet-version: "2.1.x" - - name: Setup .NET Core 3.1.x uses: actions/setup-dotnet@v1 with: @@ -86,7 +81,18 @@ jobs: run: dotnet tool install -g --version 0.12.24-beta Bake - name: Run Bake - run: bake run --build-version 1.0.$GITHUB_RUN_NUMBER + run: | + declare -i REVISION + REVISION=5000+$GITHUB_RUN_NUMBER + bake run --build-version 1.0.$REVISION + + - name: Upload NuGet packages + uses: actions/upload-artifact@v2 + if: success() || failure() + with: + name: packages + path: "**/*nupkg" + if-no-files-found: error - name: Upload test results uses: actions/upload-artifact@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0f41f7d9..bf10ce542 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,11 +62,6 @@ jobs: - uses: actions/checkout@v2 - - name: Setup .NET Core 2.1.x - uses: actions/setup-dotnet@v1 - with: - dotnet-version: "2.1.x" - - name: Setup .NET Core 3.1.x uses: actions/setup-dotnet@v1 with: @@ -86,7 +81,10 @@ jobs: run: dotnet tool install -g --version 0.12.24-beta Bake - name: Run Bake - run: bake-it/bake run --convention=Release --build-version 1.0.$GITHUB_RUN_NUMBER --destination="nuget>github,nuget,release>github" + run: | + declare -i REVISION + REVISION=5000+$GITHUB_RUN_NUMBER + bake run --convention=Release --build-version 1.0.$REVISION --destination="nuget>github,nuget,release>github" - name: Upload test results uses: actions/upload-artifact@v2 diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index 81ef5a418..bf8d2a5a6 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -13,12 +13,13 @@ public API surface. Here is the general motivation for introducing breaking changes to EventFlow. - The initial version of EventFlow had its own IoC and logger implementation, - but with the introduction of standardized `Microsoft.Extensions` packages, - many of these custom made implementations can be removed -- Focus on LTS versions of .NET (Core) and removing support .NET Framework. + but with the introduction of the standardized `Microsoft.Extensions` packages, + EventFlow's custom implementations are removed +- Focus on LTS versions of .NET (Core) and remove support .NET Framework as many + of the new C# language features are not available here - Fix misssssspelled API - Add obviously missing async/await on critical methods -- Remove non-async methods wrapper methods +- Remove non-async methods wrapper methods related to the bundled `AsyncHelper` ## Notable new features in 1.x @@ -39,7 +40,8 @@ that wasn't possible to add before as introducing them would cause breaking chan ``` If the connection string is not known at initialization, provide your own instance - of the `IMsSqlConfiguration` which now has a new method. + of the `IMsSqlConfiguration` which now has a new method that allows reading connection + strings at runtime. ```csharp Task GetConnectionStringAsync( diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 360d27d25..ff62d771b 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -27,7 +27,7 @@ https://github.com/eventflow/EventFlow/blob/develop-v1/MIGRATION_GUIDE.md - `MsSqlReadModelVersionColumn` * Breaking: Methods on `IMsSqlDatabaseMigrator` and `ISqlDatabaseMigrator` have been made async and have an extra `CancellationToken` argument -* Breaking: Remove support for .NET Framework and consolidate on .NET Core LTS versions +* Breaking: Remove support for .NET Framework and consolidate on .NET (Core) LTS versions * Breaking: Replace internal in-memory caching with `Microsoft.Extensions.Caching.Memory` * Breaking: Removed `IAmAsyncReadModelFor` and made `IAmReadModelFor` async * Breaking: Removed `EventFlow.Core.AsyncHelper` as well as all async wrapper methods diff --git a/Source/Common.props b/Source/Common.props index e9b0f3119..f96ee45e6 100644 --- a/Source/Common.props +++ b/Source/Common.props @@ -13,5 +13,6 @@ +