2.4.0 (2024-11-13)
- Added support to .NET9 (c0061d9)
2.3.0 (2024-07-14)
- Added support to .NET8 (2c1c0d3)
2.2.1 (2023-06-17)
2.2.0 (2023-02-13)
- Added UnauthorizedAccessException as default mapped to 401 (07ac0ed)
2.1.0 (2022-11-09)
- Added support to .NET 7.0 (4966500)
2.0.2 (2022-09-03)
- Chnages protected level of the
PROBLEM_MEDIA_TYPE_JSON
(953bf23)
2.0.1 (2022-09-03)
- Chnages protected level of the
PROBLEM_MEDIA_TYPE_JSON
; (de6ad18) - Property handler in IProblemFactory (fddd15f)
2.0.0 (2022-09-03)
- Add new ProblemDetails DTO
ErrorProblemDetails
extended fromProblemDetails
; (21c2e22) - Improved property handler (38b827f)
- rename default property from
RequestBody
toPayload
(d13a56d)
- Add
TimeoutException
as default mapped exception to 504 status code (cf42e26) - Add human-readable description in error list (089cee3)
- Add new
ExceptionMapper<T>(Status, Property, Code, Description)
in options; (e5a01e4) - Add support to costumize the status code link and title (4ffde18)
- Add support to debug in runtime
Microsoft.SourceLink.GitHub
(e61dc02) - Create
IProblemFactory
(bfeac44) - Override default
ProblemDetailsFactory
(0fb082d)
- Add support a tests para multi frameworks (f072c98)
- Removed dependecy from
PowerUtils.Text
- Change the structure of error list in
ErrorProblemDetails
- Change
ApiProblemDetailsFactory
from public to internal - Rename default property from
RequestBody
toPayload
- Change
ProblemDetailsResponse
toErrorProblemDetails
- Rename custom
ProblemDetailsFactory
fromProblemDetailsFactory
toApiProblemDetailsFactory
- Remove dependency from
PowerUtils.Net.Primitives
- Remove support for
.NET 3.1
1.1.1 (2022-05-30)
- Fixed validation payload too large;
1.1.0 (2022-05-29)
- Added support to error code 413 when the payload too large;
1.0.1 (2022-05-28)
- Fix
System.IndexOutOfRangeException
when format the properties name to camel case;
- Kickoff;
- Moved the ErrorHandler from
PowerUtils.AspNetCore.WebAPI
project to this one so it can be used individually;
- Extension
.AddProblemDetails();
named to.AddErrorHandler()
; - Extension
.UseProblemDetails();
named to.UseErrorHandler()
;
- Added options to be able to define the behavior of the error handler;
- Normalized logs;