Skip to content

v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Oct 08:46
73d2167

Breaking changes

  1. router::Checker::check now returns Result<(), actix_web::Error> instead of Result<bool>. Return Ok(()) to allow the request, or an error (e.g. ErrorUnauthorized, ErrorForbidden) to reject it with that error's status code and message. The error is returned to the client as-is — the framework no longer generates 403/500 responses for failed checks.

Changes

  1. Error messages start with a lowercase letter.

Full Changelog: v0.6.7...v0.7.0