Skip to content

Release 1.18

Latest
Compare
Choose a tag to compare
@YuriyDurov YuriyDurov released this 05 Sep 09:51
· 9 commits to main since this release

Overview

This release provides some important quality of life improvements, improves the interface of the package, and adds new functionality.

Overall changes:

  • Package interface improvements. Made some things internal instead of public.

Asp.Net Core changes:

  • Added a new attribute [ApiExceptionFilter]. You can now use it with your controllers instead of a global middleware-based exception filter.
  • Added a possibility to define your own ApiExceptionHandler when calling AddApiExceptionHandler().
  • ApiExceptionHandlerMiddleware will now retrieve the handler by IApiExceptionHandler interface.
  • QoL improvements, added inline documentation for ApiExceptionHandlerOptions properties.