Dex.RfcExceptionsHandler 8.1.0

dotnet add package Dex.RfcExceptionsHandler --version 8.1.0
                    
NuGet\Install-Package Dex.RfcExceptionsHandler -Version 8.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dex.RfcExceptionsHandler" Version="8.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dex.RfcExceptionsHandler" Version="8.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Dex.RfcExceptionsHandler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dex.RfcExceptionsHandler --version 8.1.0
                    
#r "nuget: Dex.RfcExceptionsHandler, 8.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Dex.RfcExceptionsHandler@8.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dex.RfcExceptionsHandler&version=8.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Dex.RfcExceptionsHandler&version=8.1.0
                    
Install as a Cake Tool

Package Description

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Dex.RfcExceptionsHandler:

Package Downloads
Dex.IdentityServer4

OpenID Connect and OAuth 2.0 Framework for ASP.NET Core

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.1.0 62 7/24/2026
8.0.1 390 6/3/2026
8.0.0 119 6/3/2026

# Changelog — Dex.RfcExceptionsHandler

Формат основан на [Keep a Changelog](https://keepachangelog.com/ru/1.1.0/).
Мажорная версия привязана к версии .NET; breaking-изменения помечаются в заголовке релиза.

## [8.1.0] — BREAKING

### Изменено
- Работает с новым контрактом `Dex.RfcAbstractions` 8.1.0 (`ErrorCategory` + `ErrorCode`
 вместо `StatusCode` / `RfcType`). HTTP-статус и RFC 9457 `type` резолвит middleware.
- Новая категория `IntegrationError` мапится в HTTP 503 (серверная retriable-семантика,
 попадает в `LogError` и алерты).
- Новая категория `Timeout` даёт `type` `timeout` (совпадает с fallback-путём 408).
- Fallback-`type` для незамапленных статусов стал URI-подобным: `/problems/unknown`
 (ранее `unknown`), 418 → `/problems/im-a-teapot`.
- Доменный `ErrorCode` нормализуется и валидируется: снимаются префикс `/problems/` и
 ведущие слэши; значение проверяется на формат lowercase-kebab
 `^[a-z0-9]+(-[a-z0-9]+)*(/[a-z0-9]+(-[a-z0-9]+)*)*$`. Невалидное или вырожденное
 значение отбрасывается с откатом на код по категории.
- Кастомные `Extensions` не могут перезаписать зарезервированные ключи RFC 9457
 (`type`/`title`/`status`/`detail`/`instance`) и служебные (`exceptionType`/
 `exceptionData`/`stackTrace`/`traceId`) — такие ключи пропускаются.

### Совместимость
- Минимально совместимая пара `Dex.RfcExceptionsHandler` + `Dex.RfcAbstractions` = 8.1.0.
- Сборки не strong-named: при смешении 8.0.x и 8.1.0 в рантайме возможен
 `TypeLoadException`. Общие библиотеки исключений требуют одновременной пересборки.