All Versions
59
Latest Version
Avg Release Cycle
30 days
Latest Release
61 days ago

Changelog History
Page 5

  • v0.8.4

    ๐Ÿ”‹ Features

    • โž• Add RequestBuilder::query to easily adjust query parameters of requests.
  • v0.8.3

    ๐Ÿ”‹ Features

    • โฌ†๏ธ Upgrades internal log crate usage to v0.4
  • v0.8.2

    ๐Ÿ›  Fixes

    • Enable hyper's no_proto config, fixing several bugs in hyper.
  • v0.8.1

    ๐Ÿ”‹ Features

    • โž• Add ClientBuilder::default_headers to set headers used for every request.
    • โž• Add async::ClientBuilder::dns_threads to set number of threads use for DNS.
    • โž• Add Response::text as shortcut to read the full body into a String.
    • โž• Add Response::copy_to as shortcut for std::io::copy.
  • v0.8.0

    ๐Ÿ”‹ Features

    • Client TLS Certificates (#43)
    • GZIP decoding has been added to the async Client (#161)
    • ClientBuilder and RequestBuilder hold their errors till consumed (#189)
    • async::Response::body() now returns a reference to the body instead of consuming the Response
    • 0๏ธโƒฃ A default timeout for reqwest::Client is used set to 30 seconds (#181)

    ๐Ÿ’ฅ Breaking Changes

    • Client::new no longer returns a Result.

    To handle any panics that come from Client::new, the builder can be used instead.

    • ClientBuilder and RequestBuilder hold their errors till consumed (#189).

    This means a bunch of ? will be going away, but means using the builders will be far easier now. Any error encountered inside the builders will now be returned when the builder is consumed.

    To get errors back immediately, the Request type can be used directly, by building pieces separately and calling setters.

    • async::Response::body() now returns a reference to the body instead of consuming the Response.
    • 0๏ธโƒฃ A default timeout for reqwest::Client is used set to 30 seconds (#181)

    For uses where the timeout is too short, it can be changed on the ClientBuilder, using the timeout method. Passing None will disable the timeout, reverting to the pre-0.8 behavior.

  • v0.7.3

    ๐Ÿ”‹ Features

    • Proxy::custom(fn) to allow dynamically picking a proxy URL

    ๐Ÿ›  Fixes

    • ๐Ÿ›  fix occasional panic when program exits while Client or Response are dropping.
  • v0.7.2

    ๐Ÿ›  Fixes

  • v0.7.1

    ๐Ÿ›  Fixes

    • ๐Ÿ›  fix remove accidental printlns in the sending of a body
    • ๐Ÿ“š some documentation improvements
  • v0.7.0

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ Proxy support (#30)
    • Self-signed TLS certificates (#97)
    • Disabling TLS hostname validation ย  (#89)
    • A Request type that can be used instead of the RequestBuilder (#85)
    • Add Response::error_for_status() to easily convert 400 and 500 status responses into an Error (#98)
    • โฌ†๏ธ Upgrade hyper to 0.11
      • Synchronous Client remains.
      • Timeouts now affect DNS and socket connection.
      • Pool much better at evicting sockets when they die.
      • An unstable Cargo feature to enable reqwest::unstable::async.
    • ๐Ÿ“„ A huge docs improvement!

    ๐Ÿ›  Fixes

    • Publicly exports RedirectAction and RedirectAttempt
    • ๐Ÿ”€ Error::get_ref returns Error + Send + Sync

    ๐Ÿ’ฅ Breaking Changes

    • โฌ†๏ธ hyper has been upgraded to 0.11, so header, StatusCode, and Method have breaking changes.
    • mime has been ugpraded to 0.3, with a very different API.
    • ๐Ÿ”ง All configuration methods have been removed from the Client, and moved to the ClientBuilder.
    • ๐Ÿšš The HttpVersion type was completely removed.
    • Error::cause() now returns Error::get_ref().cause().
    • ๐Ÿ“œ All methods on Client that start a RequestBuilder now return a Result immediately, instead of delaying the URL parse error for later.
    • ๐Ÿ— The RequestBuilder methods all take &mut self, instead of moving the builder, and return &mut Self. (This shouldn't actually affect most people who are building a request in a single chain.)
    • Response::status() returns a StatusCode instead of &StatusCode.
  • v0.6.2

    ๐Ÿ”‹ Features

    ๐Ÿ›  Fixes