v0.9.0
v0.9.0 (Dec 24, 2024)
Breaking Changes
-
To propagate more request context to the caller,
crate::error::Errorwas updated to provide a requset URL, a header map,
and a request body (if available).This reason for doing this comes down to how
reqwest'sResponsefunctions
are designed: the ones that consume and parse the body also consumeself,
which means propagating aResponseto the caller is not very useless at best,
and arguably is misleading.
Enhancements
-
crate::apinow provides an async API.crate::blocking_apiprovides the
original synchronous API.Contributed by @ikrivosheev.
-
Client#overviewis a new function that corresponds to theGET /api/overviewAPI endpoint.Contributed by @ikrivosheev.
GitHub issue: #31