diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8d1146b61..00facedbe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -74,7 +74,6 @@ jobs:
- run: |
dotnet pack src/bunit/ -c Release --output ${{ env.NUGET_DIRECTORY }} -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.template/ -c Release --output ${{ env.NUGET_DIRECTORY }} -p:ContinuousIntegrationBuild=true -p:publicrelease=true
- dotnet pack src/bunit.generators/ -c release --output ${{ env.NUGET_DIRECTORY }} -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.web.query/ -c release --output ${{ env.NUGET_DIRECTORY }} -p:ContinuousIntegrationBuild=true -p:publicrelease=true
# Publish the NuGet package as an artifact, so they can be used in the following jobs
@@ -114,6 +113,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
+ framework: [net8.0, net9.0]
runs-on: ${{ matrix.os }}
steps:
@@ -136,7 +136,7 @@ jobs:
dotnet tool restore
- name: ๐งช Run unit tests
- run: dotnet test -c release --no-restore
+ run: dotnet test -c release --no-restore -f ${{ matrix.framework }}
- name: ๐ Upload hang- and crash-dumps on test failure
if: success() || failure()
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c180547af..942c9fd5f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,12 @@ All notable changes to **bUnit** will be documented in this file. The project ad
## [Unreleased]
+## [1.40.0] - 2025-06-14
+
+### Fixed
+
+- Aligned Microsoft packages to their TFM version
+
## [1.39.5] - 2025-04-04
### Fixed
@@ -1447,7 +1453,8 @@ The latest version of the library is availble on NuGet:
- **Wrong casing on keyboard event dispatch helpers.**
The helper methods for the keyboard events was not probably cased, so that has been updated. E.g. from `Keypress(...)` to `KeyPress(...)`.
-[unreleased]: https://github.com/bUnit-dev/bUnit/compare/v1.39.5...HEAD
+[unreleased]: https://github.com/bUnit-dev/bUnit/compare/v1.40.0...HEAD
+[1.40.0]: https://github.com/bUnit-dev/bUnit/compare/v1.39.5...v1.40.0
[1.39.5]: https://github.com/bUnit-dev/bUnit/compare/v1.38.5...1.39.5
[1.38.5]: https://github.com/bUnit-dev/bUnit/compare/v1.37.7...v1.38.5
[1.37.7]: https://github.com/bUnit-dev/bUnit/compare/v1.36.0...1.37.7
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 0313ffddb..c3873ab65 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -1,110 +1,96 @@
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ true
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/bunit.generators.tests/bunit.generators.tests.csproj b/tests/bunit.generators.tests/bunit.generators.tests.csproj
index bc49de3f0..4c993f766 100644
--- a/tests/bunit.generators.tests/bunit.generators.tests.csproj
+++ b/tests/bunit.generators.tests/bunit.generators.tests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net8.0;net9.0
Bunit
Bunit.Generator.Tests
true