Skip to content

Latest commit

 

History

History
137 lines (65 loc) · 5.83 KB

CHANGELOG.md

File metadata and controls

137 lines (65 loc) · 5.83 KB

2.4.0 (2024-11-13)

Features

2.3.0 (2024-07-14)

Features

2.2.1 (2023-06-17)

Bug Fixes

2.2.0 (2023-02-13)

Features

  • Added UnauthorizedAccessException as default mapped to 401 (07ac0ed)

2.1.0 (2022-11-09)

Features

  • Added support to .NET 7.0 (4966500)

2.0.2 (2022-09-03)

Bug Fixes

  • Chnages protected level of the PROBLEM_MEDIA_TYPE_JSON (953bf23)

2.0.1 (2022-09-03)

Bug Fixes

  • Chnages protected level of the PROBLEM_MEDIA_TYPE_JSON; (de6ad18)
  • Property handler in IProblemFactory (fddd15f)

2.0.0 (2022-09-03)

Code Refactoring

  • Add new ProblemDetails DTO ErrorProblemDetails extended from ProblemDetails; (21c2e22)
  • Improved property handler (38b827f)
  • rename default property from RequestBody to Payload (d13a56d)

Features

  • 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)

Tests

  • Add support a tests para multi frameworks (f072c98)

BREAKING CHANGES

  • Removed dependecy from PowerUtils.Text
  • Change the structure of error list in ErrorProblemDetails
  • Change ApiProblemDetailsFactory from public to internal
  • Rename default property from RequestBody to Payload
  • Change ProblemDetailsResponse to ErrorProblemDetails
  • Rename custom ProblemDetailsFactory from ProblemDetailsFactory to ApiProblemDetailsFactory
  • Remove dependency from PowerUtils.Net.Primitives
  • Remove support for .NET 3.1

1.1.1 (2022-05-30)

Fixes

  • Fixed validation payload too large;

1.1.0 (2022-05-29)

Enhancements

  • Added support to error code 413 when the payload too large;

1.0.1 (2022-05-28)

Fixes

  • Fix System.IndexOutOfRangeException when format the properties name to camel case;

1.0.0 (2022-03-15)

  • Kickoff;
  • Moved the ErrorHandler from PowerUtils.AspNetCore.WebAPI project to this one so it can be used individually;

Breaking Changes

  • Extension .AddProblemDetails(); named to .AddErrorHandler();
  • Extension .UseProblemDetails(); named to .UseErrorHandler();

New Features

  • Added options to be able to define the behavior of the error handler;

Enhancements

  • Normalized logs;