Rocket v0.4.4 Release Notes

Release Date: 2020-03-09 // 5 months ago
  • Core

    • Removed use of unsupported cfg(debug_assertions) in Cargo.toml, allowing for builds on latest nightlies.

    📄 Docs

    • Fixed various broken links.

Previous changes from v0.4.3

  • Core

    • Added a new Debug 500 Responder that Debug-prints its contents on response.
    • Specialization on Result was deprecated. Debug can be used in place of non-Responder errors.
    • Fixed an issue that resulted in cookies not being set on error responses.
    • Various Debug implementations on Rocket types now respect formatting options.
    • Added Responders for various HTTP status codes: NoContent, Unauthorized, Forbidden, and Conflict.
    • FromParam is implemented for NonZero core types.

    Codegen

    • Docs for Rocket-generated macros are now hidden.
    • Generated code now works even when prelude imports like Some, Ok, and Err are shadowed.
    • Error messages referring to responder types in routes now point to the type correctly.

    📄 Docs

    • All code examples in the guide are now tested and guaranteed to compile.
    • All macros are documented in the core crate; rocket_codegen makes no appearances.

    Infrastructure

    • CI was moved from Travis to Azure Pipelines; Windows support is tested.
    • Rocket's chat moved to Matrix and Freenode.