Skip to content

Commit e251523

Browse files
authored
V9.0.0/major (#72)
* 💚 changed name for Linux and Windows preparation jobs * ✅ reduce risk of failing test due to optimistic wait time * ⬆️ updated to .NET 9 incl. tweaks for passing test * 💚 pipeline include .NET 9 preview * 🔥 removed Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc as it was marked obsolete * 🔥 removed obsolete members incl. consequence change * ✅ fixed to look for 9.0.0.0 instead of 8.0.0.0 * 💚 pack needs .NET 9 * 💚 added net9.0 to build * 🔥 removed obsolete members incl. consequence change for NonMvcResponseHandlers (HttpExceptionDescriptorResponseHandler) * 🔥 removed obsolete BadRequestMessage * 🔥 removed old YAML implementation and tweaked YamlDotNet to use same property exclusion (PropertyTypeInspector) * ✅ fixed to look for 9.0.0.0 instead of 8.0.0.0 - relates to a737cc4 * ✨ added support for deserializerFactory to provide full control of YAML deserialization * ➖ consequence changes of commit 13bed5b * ♻️ ReservedKeywordException -> ArgumentReservedKeywordException * ⬆️ updated dependencies * ♻️ refactor and consolidate members to Validator/Condition class including better name for HasDifferent/NoDifference * ✅ tied to 6241fb * ♻️ major refactoring of Validator class to comply with RSPEC-3343 incl. consequence changes and updated tests * 🚨 CA2263 * 🚨 excluded NU1903 for test projects * 💥 refactoring and consequence changes triggered by these wonderful news from .NET 9 team; https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/9.0/hostbuilder-validation * ✅ fixed to pass for .NET 9 * ✅ consequence change of cd59d4 * 🚨 fixed S6618, S4136, CS1571 and S3236 * ✅ increased waittime for disposable test * 📝 update release notes, changelog and complementary readmes * ⚰️ removed dead docfx reference to Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc
1 parent ad2cd5c commit e251523

File tree

276 files changed

+1601
-3652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+1601
-3652
lines changed

.docfx/docfx.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@
140140
"files": [
141141
"Cuemon.Extensions.Xunit/**.csproj",
142142
"Cuemon.Extensions.Xunit.Hosting/**.csproj",
143-
"Cuemon.Extensions.Xunit.Hosting.AspNetCore/**.csproj",
144-
"Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/**.csproj"
143+
"Cuemon.Extensions.Xunit.Hosting.AspNetCore/**.csproj"
145144
],
146145
"src": "../src"
147146
}

.github/workflows/pipelines.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929

3030
jobs:
3131
prepare_linux:
32-
name: Prepare Linux Runner
32+
name: 🐧 Prepare Linux
3333
runs-on: ubuntu-22.04
3434
outputs:
3535
restoreCacheKey: ${{ steps.dotnet-restore.outputs.restoreCacheKey }}
@@ -39,6 +39,8 @@ jobs:
3939

4040
- name: Install .NET
4141
uses: codebeltnet/install-dotnet@v1
42+
with:
43+
includePreview: true
4244

4345
- id: dotnet-restore
4446
name: Restore Dependencies
@@ -47,7 +49,7 @@ jobs:
4749
useRestoreCache: true
4850

4951
prepare_windows:
50-
name: Prepare Windows Runner
52+
name: 🪟 Prepare Windows
5153
runs-on: windows-2022
5254
outputs:
5355
restoreCacheKey: ${{ steps.dotnet-restore.outputs.restoreCacheKey }}
@@ -57,6 +59,8 @@ jobs:
5759

5860
- name: Install .NET
5961
uses: codebeltnet/install-dotnet@v1
62+
with:
63+
includePreview: true
6064

6165
- id: dotnet-restore
6266
name: Restore Dependencies
@@ -70,7 +74,7 @@ jobs:
7074
strategy:
7175
matrix:
7276
configuration: [Debug, Release]
73-
framework: [net8.0, net6.0, netstandard2.1, netstandard2.0]
77+
framework: [net9.0, net8.0, net6.0, netstandard2.1, netstandard2.0]
7478
needs: [prepare_linux]
7579
outputs:
7680
version: ${{ steps.minver-calculate.outputs.version }}
@@ -81,6 +85,8 @@ jobs:
8185

8286
- name: Install .NET
8387
uses: codebeltnet/install-dotnet@v1
88+
with:
89+
includePreview: true
8490

8591
- name: Install MinVer
8692
uses: codebeltnet/dotnet-tool-install-minver@v1
@@ -167,14 +173,18 @@ jobs:
167173
- name: Checkout
168174
uses: codebeltnet/git-checkout@v1
169175

176+
- name: Install .NET
177+
uses: codebeltnet/install-dotnet@v1
178+
with:
179+
includePreview: true
180+
170181
- name: Pack for ${{ matrix.configuration }}
171182
uses: codebeltnet/dotnet-pack@v2
172183
with:
173184
configuration: ${{ matrix.configuration }}
174185
uploadPackedArtifact: true
175186
version: ${{ needs.build.outputs.version }}
176187
restoreCacheKey: ${{ needs.prepare_linux.outputs.restoreCacheKey }}
177-
downloadBuildArtifact: true
178188

179189
test:
180190
name: 🧪 Test
@@ -192,6 +202,8 @@ jobs:
192202

193203
- name: Install .NET
194204
uses: codebeltnet/install-dotnet@v1
205+
with:
206+
includePreview: true
195207

196208
- name: Install .NET Tool - Report Generator
197209
uses: codebeltnet/dotnet-tool-install-reportgenerator@v1
@@ -238,6 +250,8 @@ jobs:
238250

239251
- name: Install .NET
240252
uses: codebeltnet/install-dotnet@v1
253+
with:
254+
includePreview: true
241255

242256
- name: Install .NET Tool - Sonar Scanner
243257
uses: codebeltnet/dotnet-tool-install-sonarscanner@v1
@@ -291,6 +305,8 @@ jobs:
291305

292306
- name: Install .NET
293307
uses: codebeltnet/install-dotnet@v1
308+
with:
309+
includePreview: true
294310

295311
- name: Restore Dependencies
296312
uses: codebeltnet/dotnet-restore@v2

.nuget/Cuemon.AspNetCore.App/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ More documentation available at our documentation site:
100100
* [Cuemon.Extensions.Xunit.App](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.App/) 🏭
101101
* [Cuemon.Extensions.Xunit.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting/) 📦
102102
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore/) 📦
103-
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/) 📦
104103
* [Cuemon.Extensions.YamlDotNet](https://www.nuget.org/packages/Cuemon.Extensions.YamlDotNet/) 📦
105104
* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) 📦
106105
* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) 📦

.nuget/Cuemon.AspNetCore.Authentication/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ More documentation available at our documentation site:
6565
* [Cuemon.Extensions.Xunit.App](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.App/) 🏭
6666
* [Cuemon.Extensions.Xunit.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting/) 📦
6767
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore/) 📦
68-
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/) 📦
6968
* [Cuemon.Extensions.YamlDotNet](https://www.nuget.org/packages/Cuemon.Extensions.YamlDotNet/) 📦
7069
* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) 📦
7170
* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) 📦

.nuget/Cuemon.AspNetCore.Mvc/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ More documentation available at our documentation site:
6969
* [Cuemon.Extensions.Xunit.App](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.App/) 🏭
7070
* [Cuemon.Extensions.Xunit.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting/) 📦
7171
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore/) 📦
72-
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/) 📦
7372
* [Cuemon.Extensions.YamlDotNet](https://www.nuget.org/packages/Cuemon.Extensions.YamlDotNet/) 📦
7473
* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) 📦
7574
* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) 📦

.nuget/Cuemon.AspNetCore.Razor.TagHelpers/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ More documentation available at our documentation site:
6262
* [Cuemon.Extensions.Xunit.App](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.App/) 🏭
6363
* [Cuemon.Extensions.Xunit.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting/) 📦
6464
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore/) 📦
65-
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/) 📦
6665
* [Cuemon.Extensions.YamlDotNet](https://www.nuget.org/packages/Cuemon.Extensions.YamlDotNet/) 📦
6766
* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) 📦
6867
* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) 📦

.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
Version 8.3.2
1+
Version 9.0.0
2+
Availability: .NET9, .NET 8 and .NET 6
3+
 
4+
# ALM
5+
- CHANGED Dependencies to latest and greatest with respect to TFMs
6+
7+
# Breaking Changes
8+
- REMOVED BadRequestMessage property from the class from the ApiKeySentinelOptions class in the Cuemon.AspNetCore.Http.Headers namespace
9+
 
10+
Version 8.3.2
211
Availability: .NET 8 and .NET 6
312

413
# ALM

.nuget/Cuemon.AspNetCore/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ More documentation available at our documentation site:
6969
* [Cuemon.Extensions.Xunit.App](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.App/) 🏭
7070
* [Cuemon.Extensions.Xunit.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting/) 📦
7171
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore/) 📦
72-
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/) 📦
7372
* [Cuemon.Extensions.YamlDotNet](https://www.nuget.org/packages/Cuemon.Extensions.YamlDotNet/) 📦
7473
* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) 📦
7574
* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) 📦

.nuget/Cuemon.Core.App/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ More documentation available at our documentation site:
124124
* [Cuemon.Extensions.Xunit.App](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.App/) 🏭
125125
* [Cuemon.Extensions.Xunit.Hosting](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting/) 📦
126126
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore/) 📦
127-
* [Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc](https://www.nuget.org/packages/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc/) 📦
128127
* [Cuemon.Extensions.YamlDotNet](https://www.nuget.org/packages/Cuemon.Extensions.YamlDotNet/) 📦
129128
* [Cuemon.IO](https://www.nuget.org/packages/Cuemon.IO/) 📦
130129
* [Cuemon.Net](https://www.nuget.org/packages/Cuemon.Net/) 📦

.nuget/Cuemon.Core/PackageReleaseNotes.txt

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
Version 8.3.2
1+
Version 9.0.0
2+
Availability: .NET9, .NET 8, .NET 6 and .NET Standard 2.0
3+
 
4+
# ALM
5+
- CHANGED Dependencies to latest and greatest with respect to TFMs
6+
7+
# Breaking Changes
8+
- REMOVED DefaultYamlConverter class from the Cuemon.Runtime.Serialization.Converters namespace
9+
- REMOVED YamlSerializer class from the Cuemon.Runtime.Serialization namespace
10+
- REMOVED YamlSerializerOptions class from the Cuemon.Runtime.Serialization namespace
11+
- REMOVED YamlTextReader class from the Cuemon.Runtime.Serialization namespace
12+
- REMOVED YamlTextWriter class from the Cuemon.Runtime.Serialization namespace
13+
- REMOVED YamlTokenType class from the Cuemon.Runtime.Serialization namespace
14+
- REMOVED ExceptionConverter class from the Cuemon.Text.Yaml.Converters namespace
15+
- REMOVED ExceptionDescriptorConverter class from the Cuemon.Text.Yaml.Converters namespace
16+
- REMOVED YamlConverter class from the Cuemon.Text.Yaml.Converters namespace
17+
- REMOVED YamlFormatter class from the Cuemon.Text.Yaml.Converters namespace
18+
- REMOVED YamlFormatterOptions class from the Cuemon.Text.Yaml.Converters namespace
19+
- REMOVED YamlConverterFactory class from the Cuemon.Text.Yaml namespace
20+
- REMOVED YamlNamingPolicy class from the Cuemon.Text.Yaml namespace
21+
- RENAMED ReservedKeywordException class in the Cuemon namespace to ArgumentReservedKeywordException
22+
 
23+
# Improvements
24+
- EXTENDED Condition class in the Cuemon namespace with an additional method: HasDifference
25+
- EXTENDED Validator class in the Cuemon namespace with five new methods: ThrowIfContainsReservedKeyword, ThrowIfNotDifferent, ThrowIfDifferent, ThrowIfContainsAny and ThrowIfNotContainsAny
26+
- CHANGED Validator class in the Cuemon namespace to comply with RSPEC-3343
27+
 
28+
Version 8.3.2
229
Availability: .NET 8, .NET 6 and .NET Standard 2.0
330

431
# ALM

0 commit comments

Comments
 (0)