Rust SDK 0.10.0
Changed
- Updated
http
crate to 1.1.0, which changes some of the types re-exported from this crate such asfastly::http::HeaderValue
. If your application has an explicit dependency on thehttp
crate, you may need to update that dependency as well in order to interact with thefastly
crate. - Usage of the
handoff_websocket
andhandoff_fanout
methods onRequest
andRequestHandle
is no longer considered experimental. TheRequestUpgradeWebsocket
andRequestHandleUpgradeWebsocket
traits are no longer required to use these functions, and the trait methods have been marked as deprecated. - Conversion functions between low-level handles and
Request
andResponse
no longer return errors following the removal of thelimits
module. Response::with_header()
has been changed to have appending behavior rather than set behavior. As a result, chained invocations ofwith_header()
will add multiple values for the same header to the response, just likeResponse::append_header()
. Users that prefer the old behavior should useResponse::with_set_header()
, instead.
Deprecated
- Deprecated
write_bytes()
andwrite_str()
methods onBody
andStreamingBody
in favor ofstd::io::Write
methods.
Removed
- Removed the previously-deprecated
limits
module. Fastly's network services resource limits do and will continue to apply. - Removed
Request::try_from_client()
, which is no longer useful following the removal of thelimits
module. - Removed the previously-deprecated Object Store items that have been renamed to KV Store.
- Removed the previously-deprecated
TransactionUpdateBuilder::sensitive_data()
method. - Removed several previously-deprecated variants of
SendErrorCause
in favor of new, more-specific variants. - Removed the previously-deprecated
BackendExt::builder()
trait method in favor of theBackend::builder()
method. - Removed the previously-deprecated
write_bytes()
andwrite_str()
methods forBodyHandle
andStreamingBodyHandle
in favor ofstd::io::Write
methods.
Prior change: Fastly Terraform Provider 5.8.0
Following change: Go SDK 1.3.1