Rocket v0.4.2 Release Notes

Release Date: 2019-06-28 // almost 5 years ago
  • Core

    • Replaced use of FnBox with Box<dyn FnOnce>.
    • Removed the stablized feature gates try_from and transpose_result.
    • Derive macros are reexported alongside their respective traits.
    • Minimum required rustc is 1.35.0-nightly (2019-04-05).

    Codegen

    • JsonValue now implements FromIterator.
    • non_snake_case errors are silenced in generated code.
    • Minimum required rustc is 1.33.0-nightly (2019-01-03).

    Contrib

    • Allow setting custom ranks on StaticFiles via StaticFiles::rank().
    • MsgPack correctly sets a MessagePack Content-Type on responses.

    📄 Docs

    • Fixed typos across rustdocs and guide.
    • Documented library versions in contrib database documentation.

    Infrastructure

    • Updated internal dependencies to their latest versions.