{"ecosystem":"cargo","package":"hyper","from_version":null,"to_version":null,"changes":[{"from_version":"1.7.0","to_version":"1.8.0","change_type":"breaking","description":"The HTTP/2 client connection no longer allows an executor","migration_hint":null},{"from_version":"1.5.2","to_version":"1.6.0","change_type":"breaking","description":"`http2::Builder::max_local_error_reset_streams()` now takes `&mut self` and returns `&mut Self`. In practice, this shouldn't break almost anyone. It was the wrong receiver and return types.","migration_hint":null},{"from_version":"1.1.0","to_version":"1.2.0","change_type":"breaking","description":"The returned lifetime from `Sleep::downcast_mut_pin()`","migration_hint":null},{"from_version":"1.0.0","to_version":"1.0.1","change_type":"breaking","description":"Pin is #[fundamental], so providing a Read/Write impl for it theoretically conflicts","migration_hint":null},{"from_version":"1.0.0-rc.3","to_version":"1.0.0-rc.4","change_type":"breaking","description":"`client::conn::http2` types now use another generic for an `Executor`.","migration_hint":null},{"from_version":"1.0.0-rc.3","to_version":"1.0.0-rc.4","change_type":"breaking","description":"The Service::call function no longer takes a mutable reference to self.","migration_hint":null},{"from_version":"1.0.0-rc.3","to_version":"1.0.0-rc.4","change_type":"breaking","description":"Any IO transport type provided must now implement `hyper::rt::{Read, Write}` instead of","migration_hint":null},{"from_version":"1.0.0-rc.2","to_version":"1.0.0-rc.3","change_type":"api","description":"`hyper::client::conn::Http2::Builder::new` now requires an executor argument.","migration_hint":null},{"from_version":"1.0.0-rc.1","to_version":"1.0.0-rc.2","change_type":"breaking","description":"The return types for `Frame::into_data()` and `Frame::into_trailers()` have been changed from `Option<T>` to `Result<T, Self>`.","migration_hint":null},{"from_version":"1.0.0-rc.1","to_version":"1.0.0-rc.2","change_type":"breaking","description":"The return types of `Timer` have been changed.","migration_hint":null},{"from_version":"1.0.0-rc.1","to_version":"1.0.0-rc.2","change_type":"removed","description":"removes `server::conn::http2::Builder::with_executor()`","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"A pooling client is in the hyper-util crate.","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"The polling functions of the `Body` trait have been","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"Either choose a version-specific `Connection` type, or","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"Pick a version-specific connection, or use the combined","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"A channel body will be available in `hyper-util`.","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"Use the types from `http-body-util`.","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"Use `connect` from `hyper-util`.","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"breaking","description":"Tower `Service` utilities will exist in `hyper-util`.","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"removed","description":"Change any manual `impl tower::Service` to implement `hyper::service::Service` instead. The `poll_ready` method has been removed.","migration_hint":null},{"from_version":"0.14.19","to_version":"1.0.0-rc.1","change_type":"renamed","description":"The trait has been renamed.","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"behavior","description":"HTTP/2 server builder now has a default max concurrent streams. This is a","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"breaking","description":"The format no longer prints the error chain. Be sure to","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"breaking","description":"Do not build any logic depending on the exact types of","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"breaking","description":"If you use client HTTP/1 upgrades, you must call","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"breaking","description":"Upgrade to `http` 1.0.","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"breaking","description":"The `ReasonPhrase::from_bytes_unchecked()` method is","migration_hint":null},{"from_version":"1.0.0-rc.4","to_version":"1.0.0","change_type":"renamed","description":"(From previous RCs) `ExecutorClient` is renamed to","migration_hint":null},{"from_version":"0.8.1","to_version":"0.9.0","change_type":"breaking","description":"The re-exported Url type has breaking changes.","migration_hint":null},{"from_version":"0.7.2","to_version":"0.8.0","change_type":"breaking","description":"mime 0.2 depends on serde 0.7, so any instances of","migration_hint":null},{"from_version":"0.6.16","to_version":"0.7.0","change_type":"api","description":"LanguageTags api is changed.","migration_hint":null},{"from_version":"0.6.16","to_version":"0.7.0","change_type":"breaking","description":"This adds 2 required methods to the `NetworkStream`","migration_hint":null},{"from_version":"0.6.5","to_version":"0.6.7","change_type":"breaking","description":"Any custom implementation of NetworkStream must now","migration_hint":null},{"from_version":"0.6.1","to_version":"0.6.2","change_type":"breaking","description":"Access-Control-Allow-Origin does no longer use Url","migration_hint":null},{"from_version":"0.6.1","to_version":"0.6.2","change_type":"breaking","description":"Technically a break, since `Response::new()` takes an","migration_hint":null},{"from_version":"0.6.15","to_version":"0.6.16","change_type":"breaking","description":"`RequestBuilder<U>` should be replaced by `RequestBuilder`.","migration_hint":null},{"from_version":"0.6.10","to_version":"0.6.11","change_type":"api","description":"This changes the signature of HttpWriter.end(),","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"`hyper::client::request::Response` is no longer generic","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"A new variant `Http2` added to a public enum","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"Adds a new variant to public Error enum. The proper fix","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"parse_header returns Result instead of Option, related","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"Connectors and Protocols passed to the `Client` must","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"Server::https was changed to allow any implementation","migration_hint":null},{"from_version":"0.5.2","to_version":"0.6.0","change_type":"breaking","description":"AcceptLanguage and ContentLanguage use LanguageTag now,","migration_hint":null},{"from_version":"0.5.0","to_version":"0.5.1","change_type":"breaking","description":"Error enum extended. Return type of header/shared/","migration_hint":null},{"from_version":"0.4.0","to_version":"0.5.0","change_type":"breaking","description":"Adding a new required method to a public trait is a","migration_hint":null},{"from_version":"0.4.0","to_version":"0.5.0","change_type":"breaking","description":"Usage of Response.deconstruct() and construct() now use","migration_hint":null},{"from_version":"0.4.0","to_version":"0.5.0","change_type":"breaking","description":"If you use deref! from the header module, you'll need","migration_hint":null},{"from_version":"0.4.0","to_version":"0.5.0","change_type":"breaking","description":"Any custom Connectors will need to change to &self in","migration_hint":null},{"from_version":"0.3.16","to_version":"0.4.0","change_type":"breaking","description":"Upgrade header Protocol changed.","migration_hint":null},{"from_version":"0.3.16","to_version":"0.4.0","change_type":"breaking","description":"Add variant to Access-Control-Allow-Origin enum","migration_hint":null},{"from_version":"0.3.16","to_version":"0.4.0","change_type":"breaking","description":"Adds a variant to `hyper::Error`, which may break any","migration_hint":null},{"from_version":"0.3.16","to_version":"0.4.0","change_type":"breaking","description":"`from_one_raw_str()` returns `None` on empty values.","migration_hint":null},{"from_version":"0.3.16","to_version":"0.4.0","change_type":"removed","description":"The terms `Http` and `Error` have been removed from the Error","migration_hint":null},{"from_version":"0.3.7","to_version":"0.3.8","change_type":"removed","description":"Removed impl_header!() and impl_list_header!() macros,","migration_hint":null},{"from_version":"0.3.14","to_version":"0.3.15","change_type":"removed","description":"This removes the trait `IntoBody`, and instead using","migration_hint":null},{"from_version":"0.3.10","to_version":"0.3.11","change_type":"behavior","description":"For people using the default HttpConnector and Client,","migration_hint":null},{"from_version":"0.3.10","to_version":"0.3.11","change_type":"breaking","description":"`AccessControlAllowHeaders` and `AccessControlRequestHeaders` values","migration_hint":null},{"from_version":"0.3.10","to_version":"0.3.11","change_type":"breaking","description":"`If-Match`, `If-None-Match` and `Vary` item variant name changed to `Items`","migration_hint":null},{"from_version":"0.3.10","to_version":"0.3.11","change_type":"breaking","description":"`Etag` header field is now `ETag` header field","migration_hint":null},{"from_version":"0.3.0","to_version":"0.3.1","change_type":"breaking","description":"Several public functions and types in the `http` module","migration_hint":null},{"from_version":"0.2.1","to_version":"0.3.0","change_type":"breaking","description":"added requirement that all HeaderFormat implementations","migration_hint":null},{"from_version":"0.2.1","to_version":"0.3.0","change_type":"breaking","description":"Check the docs. Everything was touched.","migration_hint":null},{"from_version":"0.14.18","to_version":"0.14.19","change_type":"behavior","description":"`hyper_clientconn_options_new` no longer sets the `http1_preserve_header_case` connection option by default.","migration_hint":null},{"from_version":"0.14.18","to_version":"0.14.19","change_type":"breaking","description":"**ffi (unstable):**","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"behavior","description":"All optional features have been disabled by default.","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"This puts all HTTP/2 methods and support behind an","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"This puts all HTTP/1 methods and support behind an","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"The HTTP client of hyper is now an optional feature. To","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"The HTTP server code is now an optional feature. To","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"The method `Body::on_upgrade()` is gone. It is","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"hyper depends on `tokio` v1 and `bytes` v1.","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"hyper no longer emits `log` records automatically.","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"breaking","description":"Custom resolvers used with `HttpConnector` must change","migration_hint":null},{"from_version":"0.13.9","to_version":"0.14.0","change_type":"removed","description":"Removed `http1_writev` methods from `client::Builder`,","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"behavior","description":"The server's behavior will now by default close","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"All usage of `hyper::body::Payload` should be replaced","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Any type passed to the `executor` builder methods must","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"All usage of `hyper::Chunk` should be replaced with","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Using a `Body` as a `Stream`, and constructing one via","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Calls to `GaiResolver::new` and `HttpConnector::new` no","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"All usage of `hyper::client::connect::Destination`","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Connectors no longer return a tuple of","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Passing a `Stream` to `Server::builder` or","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Usage of `send_data` should either be changed to","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"Any manual implementations of `Connect` must instead","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"The `Resolve` trait is gone. All custom resolvers should","migration_hint":null},{"from_version":"0.12.35","to_version":"0.13.0","change_type":"breaking","description":"All usage of async traits (`Future`, `Stream`,","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`tokio_proto::streaming::Body::from(hyper::Body)`","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`Body::is_empty()` is gone. Replace with","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"Each payload chunk must implement `Buf`, instead of","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"Replace any references of","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The `Service` trait has changed: it has some changed","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The `Server` is no longer created from `Http::bind`,","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`Client:new(&handle)` and `Client::configure()` are now","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`Error` is no longer an enum to pattern match over, or","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"All uses of `Handle` now need to be new-tokio `Handle`.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"Custom connectors should now implement `Connect`","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"All code that was generic over the body as `Stream` must","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`Method`, `Request`, `Response`, `StatusCode`,","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The variants of `Method` are now uppercase, for instance, `Method::Get` is now `Method::GET`.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The variants of `StatusCode` are now uppercase, for instance, `StatusCode::Ok` is now `StatusCode::OK`.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The variants of `Version` are now uppercase, for instance, `HttpVersion::Http11` is now `Version::HTTP_11`.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The typed headers from `hyper::header` are gone for now.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The `mime` crate is no longer re-exported as `hyper::mime`.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"The `server-proto` cargo feature, which included `impl ServerProto for Http`, and related associated types.","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`client::Config::no_proto()`","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`hyper::Body::from(tokio_proto::streaming::Body)`","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`hyper::Body::from(futures::sync::mpsc::Receiver)`","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"breaking","description":"`Http::no_proto()`","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"removed","description":"Removed deprecated APIs:","migration_hint":null},{"from_version":"0.11.27","to_version":"0.12.0","change_type":"removed","description":"Removed `compat` cargo feature, and `compat` related API. This was the conversion methods for hyper's","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The fields of the `Host` header are no longer","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The name of `RequestUri` has changed to `Uri`. It is no","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"`Server` is no longer the primary entry point. Instead,","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The `Preference` header had a typo in a variant and it's string representation,","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"This makes `Request.remote_addr` an","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The `Url` type is no longer used. Any instance in the","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"If you were explicitly checking the `StatusCode`, such as","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"`Origin.scheme` and `Origin.host` now return `Option`s, since the `Origin` could be `null`.","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The `Encoding` enum has an additional variant, `Trailers`.","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The `fmt_header` method has changed to take a different","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The `link_extensions` methods of the `Link` header are","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"`HttpDate` no longer has public fields. Convert between","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"Any use of `Quality(num)` should change to `q(num)`.","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"The `Cookie` header is no longer a wrapper over a","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"Some headers used `UniCase`, but now use","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"To use `RawStatus`, you must enable the `raw_status`","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"Most uses of `mime` will likely break. There is no more","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"All usage of `status.class()` should change to","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"LanguageTag used to be at the crate root, but it is now","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"`Header::parse_header` now receives `&Raw`, instead of","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"A big sweeping set of breaking changes.","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"breaking","description":"This adds a new variant to the `Encoding` enum, which","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"removed","description":"`Headers.remove()` used to return a `bool`,","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"removed","description":"Removes the undocumented `from_u16` function. Use","migration_hint":null},{"from_version":"0.10.9","to_version":"0.11.0","change_type":"removed","description":"This removes several deprecated methods for converting","migration_hint":null},{"from_version":"0.10.1","to_version":"0.10.2","change_type":"breaking","description":"This technically will cause code that a calls","migration_hint":null},{"from_version":"0.9.14","to_version":"0.10.0","change_type":"breaking","description":"hyper will no longer provide OpenSSL support out of the","migration_hint":null},{"from_version":"0.9.14","to_version":"0.10.0","change_type":"breaking","description":"Usage of `with_proxy_config` will need to change to","migration_hint":null},{"from_version":"0.9.14","to_version":"0.10.0","change_type":"breaking","description":"There is no more `hyper::http::h2`.","migration_hint":null},{"from_version":"0.9.14","to_version":"0.10.0","change_type":"breaking","description":"There is no longer a `serde-serialization` feature.","migration_hint":null},{"from_version":"0.9.14","to_version":"0.10.0","change_type":"breaking","description":"The `Cookie` and `SetCookie` headers no longer use the","migration_hint":null},{"from_version":"0.1.7","to_version":"0.1.8","change_type":"breaking","description":"Change header `Cookie` to `Cookie`","migration_hint":null},{"from_version":"0.1.6","to_version":"0.1.7","change_type":"breaking","description":"Implementations of Header will need to adjust the","migration_hint":null},{"from_version":"0.1.12","to_version":"0.1.13","change_type":"removed","description":"This removes unregistered status codes from the enum. Use","migration_hint":null},{"from_version":"0.1.10","to_version":"0.1.11","change_type":"breaking","description":"for any consumers of the Etag header, since the entity","migration_hint":null}],"total":147,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"miss"}