Rocket v0.4.2 Release Notes

Release Date: 2019-06-29 // 5 months 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.

Previous changes from v0.4.1

  • Core

    • Rocket's default Server HTTP header no longer overrides a user-set header.
    • Fixed encoding and decoding of certain URI characters.

    Codegen

    • Compiler diagnostic information is more reliably produced.

    Contrib

    • Database pool types now implement DerefMut.
    • Added support for memcache connection pools.
    • Stopped depending on default features from core.

    📄 Docs

    • Fixed many typos across the rustdocs and guide.
    • Added guide documentation on mounting more than one route at once.

    Infrastructure

    • Testing no longer requires "bootstrapping".
    • Removed deprecated isatty dependency in favor of atty.