Skip to content

Commit 44b8ff8

Browse files
committed
feat: Make net11 available
1 parent d57e704 commit 44b8ff8

File tree

19 files changed

+56
-13
lines changed

19 files changed

+56
-13
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ dotnet_diagnostic.BL0004.severity = none
466466
dotnet_diagnostic.BL0005.severity = none
467467
dotnet_diagnostic.BL0006.severity = none
468468
dotnet_diagnostic.BL0007.severity = none
469+
dotnet_diagnostic.BL0010.severity = none
469470

470471
##########################################
471472
# Custom Test Code Analyzers Rules

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
8.0.x
4848
9.0.x
4949
10.0.x
50+
11.0.x
5051
5152
- name: ⚙️ Setup GIT versioning
5253
uses: dotnet/nbgv@v0.5.1
@@ -128,6 +129,7 @@ jobs:
128129
8.0.x
129130
9.0.x
130131
10.0.x
132+
11.0.x
131133
132134
- name: ⚙️ Restore packages and tools
133135
run: |
@@ -159,7 +161,7 @@ jobs:
159161
uses: actions/setup-dotnet@v5
160162
with:
161163
dotnet-version: |
162-
9.0.x
164+
10.0.x
163165
164166
- uses: actions/download-artifact@v7
165167
with:
@@ -222,6 +224,7 @@ jobs:
222224
8.0.x
223225
9.0.x
224226
10.0.x
227+
11.0.x
225228
226229
- name: ⚙️ Setup GIT versioning
227230
uses: dotnet/nbgv@v0.5.1

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
8.0.x
7777
9.0.x
7878
10.0.x
79+
11.0.x
7980
8081
- name: 🎨 Setup color
8182
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
8.0.x
6767
9.0.x
6868
10.0.x
69+
11.0.x
6970
7071
- name: 🛠️ Update changelog
7172
uses: thomaseizinger/keep-a-changelog-new-release@3.1.0

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ All notable changes to **bUnit** will be documented in this file. The project ad
66

77
## [Unreleased]
88

9-
## [2.5.3] - 2026-01-21
9+
### Added
10+
11+
- net11.0 support
1012

1113
## [2.5.3] - 2026-01-08
1214

Directory.Packages.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,21 @@
7171
<PackageVersion Include="System.Text.Json" Version="10.0.0"/>
7272
</ItemGroup>
7373

74+
<ItemGroup Condition="'$(TargetFramework)' == 'net11.0'">
75+
<PackageVersion Include="Microsoft.Extensions.Logging" Version="11.0.0-preview.1.26104.118"/>
76+
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="11.0.0-preview.1.26104.118"/>
77+
<PackageVersion Include="Microsoft.AspNetCore.Components" Version="11.0.0-preview.1.26104.118"/>
78+
79+
<PackageVersion Include="Microsoft.AspNetCore.Components.Authorization" Version="11.0.0-preview.1.26104.118"/>
80+
<PackageVersion Include="Microsoft.Extensions.Localization.Abstractions" Version="11.0.0-preview.1.26104.118"/>
81+
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="11.0.0-preview.1.26104.118"/>
82+
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="11.0.0-preview.1.26104.118"/>
83+
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="11.0.0-preview.1.26104.118"/>
84+
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="11.0.0-preview.1.26104.118"/>
85+
86+
<PackageVersion Include="System.Text.Json" Version="11.0.0-preview.1.26104.118"/>
87+
</ItemGroup>
88+
7489
<ItemGroup Label="Test Dependencies">
7590
<PackageVersion Include="AutoFixture" Version="4.18.1"/>
7691
<PackageVersion Include="AutoFixture.Xunit3" Version="4.19.0"/>

docs/samples/components/bunit.docs.samples.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
55
<RootNamespace>Bunit.Docs.Samples</RootNamespace>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<NoWarn>CA1014,NU5104</NoWarn>

docs/samples/tests/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<SonarQubeTestProject>true</SonarQubeTestProject>
66
<IsPackable>false</IsPackable>

src/bunit.template/template/.template.config/template.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"description": "The target framework sdk for the project.",
9292
"displayName": "Target framework sdk",
9393
"datatype": "choice",
94-
"defaultValue": "net9.0",
94+
"defaultValue": "net10.0",
9595
"replaces": "targetSdk",
9696
"choices": [
9797
{
@@ -103,6 +103,16 @@
103103
"choice": "net9.0",
104104
"description": ".net 9.0",
105105
"displayName": ".net 9.0"
106+
},
107+
{
108+
"choice": "net10.0",
109+
"description": ".net 10.0",
110+
"displayName": ".net 10.0"
111+
},
112+
{
113+
"choice": "net11.0",
114+
"description": ".net 11.0",
115+
"displayName": ".net 11.0"
106116
}
107117
]
108118
}

src/bunit.web.query/bunit.web.query.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
55
<RootNamespace>Bunit</RootNamespace>
66
<AssemblyName>Bunit.Web.Query</AssemblyName>
77
</PropertyGroup>

0 commit comments

Comments
 (0)