Skip to content

Upgrading warp 0.3 to 0.4

Breaking0.3.7 → 0.4.3Breaking6New4Changed1Fixed3Other1

BreakingUpgrade verdict

6 breaking changes.

  • Multipart and WebSocket support are no longer on unless you explicitly turn them on.
  • To use the built-in server you must now enable the server feature.
  • TLS support and its related types are gone from the crate.
  • The address filters are no longer available.
Top 3 of 6 that need code or config changes
Breaking6
Removes the multipart and websocket features from being enabled by default.
multipartwebsocket
Moves warp::serve() behind a server feature that is not enabled by default.
warp::serve()server
Removes the tls feature and its types.
tls
Removes the warp::addr filters.
warp::addr
Upgrades hyper, http, and http-body dependencies to v1.
hyperhttphttp-body
Moves warp::test behind a test feature that is not enabled by default.
warp::testtest