Rocket v0.4.3 Release Notes
Release Date: 2020-02-29 // about 4 years ago-
Core
- Added a new
Debug
500
Responder
thatDebug
-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
Responder
s for various HTTP status codes:NoContent
,Unauthorized
,Forbidden
, andConflict
. FromParam
is implemented forNonZero
core types.
Codegen
- Docs for Rocket-generated macros are now hidden.
- Generated code now works even when prelude imports like
Some
,Ok
, andErr
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
- Added a new