From 92fb643c6927bdbdae2b2b1282f88ca41c24460a Mon Sep 17 00:00:00 2001 From: bUnit bot Date: Fri, 1 Nov 2024 09:16:29 +0000 Subject: [PATCH 1/7] Set version to '1.35-preview' --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index 1e437534b..ada8bc084 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.34-preview", + "version": "1.35-preview", "assemblyVersion": { "precision": "revision" }, From 52a009b5980ff18ee7d9951b83e5a4ffc95082f3 Mon Sep 17 00:00:00 2001 From: Steven Giesel Date: Sat, 2 Nov 2024 19:25:43 +0100 Subject: [PATCH 2/7] chore: Update templates for .net9 and make .net9 default (#1598) * chore: Update templates for .net9 and make .net9 default * chore: Update package versions * Use net9.0 for templates --- .github/workflows/ci.yml | 5 ++++- .../template/.template.config/template.json | 7 ++++++- .../template/Company.BlazorTests1.csproj | 12 ++++++------ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55859e1d7..6e106dd43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -163,8 +163,11 @@ jobs: with: fetch-depth: 0 # Get all history to allow automatic versioning using MinVer - - name: Setup .NET + - name: ⚙️ Setup dotnet uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 9.0.x - uses: actions/download-artifact@v4 with: diff --git a/src/bunit.template/template/.template.config/template.json b/src/bunit.template/template/.template.config/template.json index f926c5c55..646e9a8ef 100644 --- a/src/bunit.template/template/.template.config/template.json +++ b/src/bunit.template/template/.template.config/template.json @@ -82,7 +82,7 @@ "description": "The target framework sdk for the project.", "displayName": "Target framework sdk", "datatype": "choice", - "defaultValue": "net7.0", + "defaultValue": "net9.0", "replaces": "targetSdk", "choices": [ { @@ -99,6 +99,11 @@ "choice": "net8.0", "description": ".net 8.0", "displayName": ".net 8.0" + }, + { + "choice": "net9.0", + "description": ".net 9.0", + "displayName": ".net 9.0" } ] } diff --git a/src/bunit.template/template/Company.BlazorTests1.csproj b/src/bunit.template/template/Company.BlazorTests1.csproj index 2801d2147..35e5fe7d5 100644 --- a/src/bunit.template/template/Company.BlazorTests1.csproj +++ b/src/bunit.template/template/Company.BlazorTests1.csproj @@ -25,21 +25,21 @@ - - + + all runtime; build; native; contentfiles; analyzers - - + + - - + + From 760383cc9f59121c9f4b75479b014ade9c0592f6 Mon Sep 17 00:00:00 2001 From: Steven Giesel Date: Fri, 1 Nov 2024 21:14:14 +0000 Subject: [PATCH 3/7] feat: Flag extensions as stable --- .github/workflows/release.yml | 3 ++- CHANGELOG.md | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b93f5fbca..9447b5192 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -102,7 +102,8 @@ jobs: dotnet pack src/bunit/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true dotnet pack src/bunit.core/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true dotnet pack src/bunit.web/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true - dotnet pack src/bunit.template/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true + dotnet pack src/bunit.generators/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true + dotnet pack src/bunit.web.query/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true - name: 🛠️ Upload library to NuGet.org repository run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 8730a3dfc..b92a5588e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ All notable changes to **bUnit** will be documented in this file. The project ad ## [Unreleased] +### Added +- Extension packages (`bunit.generators` and `bunit.web.query`) are flagged as stable. + ## [1.34.0] - 2024-11-01 ### Fixed From 2e45d1dd9428d0ea16b0b4e452c80dc316cfaf90 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 6 Nov 2024 18:19:57 +0800 Subject: [PATCH 4/7] remove source link package reference not necessary --- Directory.Packages.props | 1 - src/Directory.Build.props | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index f54917fb8..7e21294b6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -23,7 +23,6 @@ - diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 9bfb6c0e8..89a13faaa 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -60,10 +60,6 @@ See the full changelog at https://github.com/bUnit-dev/bUnit/releases - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - all runtime; build; native; contentfiles; analyzers; buildtransitive From bc8e41c0e5b5647d3b944fc4569aecba5fd088bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:54:19 +0000 Subject: [PATCH 5/7] build(deps): Bump dotnet-dump from 8.0.547301 to 9.0.553101 Bumps [dotnet-dump](https://github.com/dotnet/diagnostics) from 8.0.547301 to 9.0.553101. - [Release notes](https://github.com/dotnet/diagnostics/releases) - [Commits](https://github.com/dotnet/diagnostics/compare/v8.0.547301...v9.0.553101) --- updated-dependencies: - dependency-name: dotnet-dump dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .config/dotnet-tools.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index ebcf504c5..b2c7d1536 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -17,11 +17,11 @@ "rollForward": false }, "dotnet-dump": { - "version": "8.0.547301", + "version": "9.0.553101", "commands": [ "dotnet-dump" ], "rollForward": false } } -} +} \ No newline at end of file From 7c633cb0a572b6a2f9e35e97a4b0235310b8ac1f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:00:50 +0000 Subject: [PATCH 6/7] build(deps): Bump docfx from 2.76.0 to 2.77.0 Bumps [docfx](https://github.com/dotnet/docfx) from 2.76.0 to 2.77.0. - [Release notes](https://github.com/dotnet/docfx/releases) - [Changelog](https://github.com/dotnet/docfx/blob/main/RELEASENOTE.md) - [Commits](https://github.com/dotnet/docfx/compare/v2.76.0...v2.77.0) --- updated-dependencies: - dependency-name: docfx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index b2c7d1536..10bd8b7a3 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -10,7 +10,7 @@ "rollForward": false }, "docfx": { - "version": "2.76.0", + "version": "2.77.0", "commands": [ "docfx" ], From b4879d2b380d6882701dd86ff962e400f6fcfa62 Mon Sep 17 00:00:00 2001 From: bUnit bot Date: Tue, 12 Nov 2024 20:09:54 +0000 Subject: [PATCH 7/7] Set version to '1.35' --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index ada8bc084..336d90668 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.35-preview", + "version": "1.35", "assemblyVersion": { "precision": "revision" },