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 callingAddApiExceptionHandler()
. ApiExceptionHandlerMiddleware
will now retrieve the handler byIApiExceptionHandler
interface.- QoL improvements, added inline documentation for ApiExceptionHandlerOptions properties.