Skip to content

Commit 11c206a

Browse files
authored
V9.0.0/problem details (#74)
* 💚 removed push due to having to add version tag to GitHub and set timeout to 15 min to avoid risk of 6 hour run * 💬 added NBSP * ✨ added support for ProblemDetails while being backward-compatible to original HttpExceptionDescriptor (which was extended with TraceId and Instance) * ✅ fixed to pass after support for ProblemDetails * ⚡ experimental support for parallel testing * ✏️ chore * ♻️ rename Default to FaultDetails (consistency with ProblemDetails) * 💬 added credits and appreciation to our sponsor * 📝 updated changelog and release notes * ✅ fixed to pass after recent refactorings * 🐛 fixed stacktrace split for XML converter * ✅ consequence changes of typos and brainfarts * ⬆️ updated docker test environment * 📝 updated changelog and releasenotes
1 parent e251523 commit 11c206a

File tree

78 files changed

+3949
-181
lines changed

Some content is hidden

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

78 files changed

+3949
-181
lines changed

.github/workflows/pipelines.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
name: Cuemon CI/CD Pipeline
22
on:
3-
push:
4-
branches: [main]
5-
paths-ignore:
6-
- .codecov/**
7-
- .docfx/**
8-
- .github/**
9-
- .nuget/**
10-
- '**.md'
113
pull_request:
124
branches: [main]
135
paths-ignore:
@@ -31,6 +23,7 @@ jobs:
3123
prepare_linux:
3224
name: 🐧 Prepare Linux
3325
runs-on: ubuntu-22.04
26+
timeout-minutes: 15
3427
outputs:
3528
restoreCacheKey: ${{ steps.dotnet-restore.outputs.restoreCacheKey }}
3629
steps:
@@ -51,6 +44,7 @@ jobs:
5144
prepare_windows:
5245
name: 🪟 Prepare Windows
5346
runs-on: windows-2022
47+
timeout-minutes: 15
5448
outputs:
5549
restoreCacheKey: ${{ steps.dotnet-restore.outputs.restoreCacheKey }}
5650
steps:
@@ -71,6 +65,7 @@ jobs:
7165
build:
7266
name: 🛠️ Build
7367
runs-on: ubuntu-22.04
68+
timeout-minutes: 15
7469
strategy:
7570
matrix:
7671
configuration: [Debug, Release]
@@ -165,6 +160,7 @@ jobs:
165160
pack:
166161
name: 📦 Pack
167162
runs-on: ubuntu-22.04
163+
timeout-minutes: 15
168164
strategy:
169165
matrix:
170166
configuration: [Debug, Release]
@@ -196,6 +192,7 @@ jobs:
196192
configuration: [Debug, Release]
197193
project: ${{ fromJson(needs.build.outputs.testProjects) }}
198194
runs-on: ${{ matrix.os }}
195+
timeout-minutes: 15
199196
steps:
200197
- name: Checkout
201198
uses: codebeltnet/git-checkout@v1
@@ -244,6 +241,7 @@ jobs:
244241
name: 🔬 Code Quality Analysis
245242
needs: [prepare_linux, build, test]
246243
runs-on: ubuntu-22.04
244+
timeout-minutes: 25
247245
steps:
248246
- name: Checkout
249247
uses: codebeltnet/git-checkout@v1
@@ -285,6 +283,7 @@ jobs:
285283
name: 📊 Code Coverage Analysis
286284
needs: [build, test]
287285
runs-on: ubuntu-22.04
286+
timeout-minutes: 15
288287
steps:
289288
- name: Checkout
290289
uses: codebeltnet/git-checkout@v1
@@ -299,6 +298,7 @@ jobs:
299298
name: 🛡️ Security Analysis
300299
needs: [prepare_linux, build, test]
301300
runs-on: ubuntu-22.04
301+
timeout-minutes: 15
302302
steps:
303303
- name: Checkout
304304
uses: codebeltnet/git-checkout@v1
@@ -330,6 +330,7 @@ jobs:
330330
if: github.event_name != 'pull_request'
331331
name: 🚀 Deploy v${{ needs.build.outputs.version }}
332332
runs-on: ubuntu-22.04
333+
timeout-minutes: 15
333334
needs: [build, pack, test, sonarcloud, codecov, codeql]
334335
environment: Production
335336
steps:

.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
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+
# Improvements
8+
- EXTENDED ExceptionDescriptorResult class in the Cuemon.AspNetCore.Mvc namespace to have an extra overload that accepts ProblemDetails
9+
- CHANGED FaultDescriptorFilter class in the Cuemon.AspNetCore.Mvc.Filters.Diagnostics namespace to support preferred fault descriptor (e.g., FaultDetails or ProblemDetails)
10+
 
11+
Version 8.3.2
212
Availability: .NET 8 and .NET 6
313

414
# ALM

.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ Availability: .NET9, .NET 8 and .NET 6
33

44
# ALM
55
- CHANGED Dependencies to latest and greatest with respect to TFMs
6-
6+
 
77
# Breaking Changes
88
- REMOVED BadRequestMessage property from the class from the ApiKeySentinelOptions class in the Cuemon.AspNetCore.Http.Headers namespace
99

10+
# New Features
11+
- ADDED PreferredFaultDescriptor enum in the Cuemon.AspNetCore.Diagnostics namespace that specifies the preferred output format of an Exception raised in the context of either vanilla ASP.NET or ASP.NET MVC
12+
 
13+
# Improvements
14+
- EXTENDED FaultDescriptorOptions class in the Cuemon.AspNetCore.Diagnostics namespace to include a property named FaultDescriptor (PreferredFaultDescriptor); default is PreferredFaultDescriptor.FaultDetails
15+
- EXTENDED HttpExceptionDescriptor class in the Cuemon.AspNetCore.Diagnostics namespace to include two new properties; Instance (Uri) and TraceId (string)
16+
 
1017
Version 8.3.2
1118
Availability: .NET 8 and .NET 6
1219

.nuget/Cuemon.Core/PackageReleaseNotes.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Availability: .NET9, .NET 8, .NET 6 and .NET Standard 2.0
33

44
# ALM
55
- CHANGED Dependencies to latest and greatest with respect to TFMs
6-
6+
 
77
# Breaking Changes
88
- REMOVED DefaultYamlConverter class from the Cuemon.Runtime.Serialization.Converters namespace
99
- REMOVED YamlSerializer class from the Cuemon.Runtime.Serialization namespace
@@ -19,6 +19,10 @@ Availability: .NET9, .NET 8, .NET 6 and .NET Standard 2.0
1919
- REMOVED YamlConverterFactory class from the Cuemon.Text.Yaml namespace
2020
- REMOVED YamlNamingPolicy class from the Cuemon.Text.Yaml namespace
2121
- RENAMED ReservedKeywordException class in the Cuemon namespace to ArgumentReservedKeywordException
22+
 
23+
# New Features
24+
- ADDED Failure record in the Cuemon.Diagnostics namespace that represents a failure model with detailed information about an exception
25+
2226

2327
# Improvements
2428
- EXTENDED Condition class in the Cuemon namespace with an additional method: HasDifference

.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json/PackageReleaseNotes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Availability: .NET9, .NET 8 and .NET 6
33

44
# ALM
55
- CHANGED Dependencies to latest and greatest with respect to TFMs
6-
6+
 
77
# Breaking Changes
88
- REMOVED HttpExceptionDescriptorResponseHandlerExtensions class from the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace
99

.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json/PackageReleaseNotes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Availability: .NET9, .NET 8 and .NET 6
33

44
# ALM
55
- CHANGED Dependencies to latest and greatest with respect to TFMs
6-
6+
 
77
# Breaking Changes
88
- REMOVED HttpExceptionDescriptorResponseHandlerExtensions class from the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json namespace
99

.nuget/Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml/PackageReleaseNotes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Availability: .NET9, .NET 8 and .NET 6
33

44
# ALM
55
- CHANGED Dependencies to latest and greatest with respect to TFMs
6-
6+
 
77
# Breaking Changes
88
- REMOVED HttpExceptionDescriptorResponseHandlerExtensions class from the Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml namespace
99

.nuget/Cuemon.Extensions.AspNetCore.Newtonsoft.Json/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+
# Improvements
8+
- EXTENDED JsonConverterCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Newtonsoft.Json.Converters namespace to include one new extension method: AddProblemDetailsConverter
9+
 
10+
Version 8.3.2
211
Availability: .NET 8 and .NET 6
312

413
# ALM

.nuget/Cuemon.Extensions.AspNetCore.Text.Json/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+
# Improvements
8+
- EXTENDED JsonConverterCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Text.Json.Converters namespace to include one new extension method: AddProblemDetailsConverter
9+
 
10+
Version 8.3.2
211
Availability: .NET 8 and .NET 6
312

413
# ALM

.nuget/Cuemon.Extensions.AspNetCore.Xml/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+
# Improvements
8+
- EXTENDED XmlConverterExtensions class in the Cuemon.Extensions.AspNetCore.Xml.Converters namespace to include one new extension method: AddProblemDetailsConverter
9+
 
10+
Version 8.3.2
211
Availability: .NET 8 and .NET 6
312

413
# ALM

0 commit comments

Comments
 (0)