-
#44 The new extractor
UntypedBody
allows API endpoints to accept either raw bytes or a UTF-8 string.
-
Dropshot now uses tokio 1.0 and hyper 0.14. tokio 1.0 is incompatible at runtime with previous versions (0.2 and earlier). Consumers must update to tokio 1.0 when updating to Dropshot {{version}}. tokio does not expect to introduce new breaking changes in the foreseeable future, so we do not expect to have to do this again.
-
ApiDescription::print_openapi()
is now deprecated. It’s been replaced withApiDescription::openapi()
. See #68 below.
-
#68 Improve ergonomics of OpenAPI definition generation. This change deprecates
ApiDescription::print_openapi()
, replacing it with the easier-to-useApiDescription::openapi()
, which provides a builder interface. -
#64 The maximum request size is now configurable. It defaults to the previously hardcoded value of 1024 bytes. (The default is aggressive just to ensure test coverage.)
-
#61 The schemars dependency is updated to 0.8. Consumers must be using the same version of schemars. (See #67.)