Skip to content

Upgrading actix-web 0.3 to 0.4

Breaking0.3.3 → 0.4.10Breaking2New24Changed10Fixed22

BreakingUpgrade verdict

2 breaking changes.

  • A method on routes has a new name, so code calling the old name must be updated.
  • Error-handling helpers now return the general error type instead of the internal error type.
2 items need code or config changes
Breaking2
Renames Route::p() to Route::filter().
Route::p()Route::filter()
Uses Error instead of InternalError for error::ErrorXXXX methods.
ErrorInternalErrorerror::ErrorXXXX