Tweak CHANGELOG a little bit. (#242)
Mention cloning Agent, default timeout, and removal of Request::build.
This commit is contained in:
committed by
GitHub
parent
61a6d1c5b1
commit
de4aab7472
14
CHANGELOG.md
14
CHANGELOG.md
@@ -8,20 +8,30 @@
|
|||||||
* Move more configuration to Agent. Timeouts, TLS config, and proxy config
|
* Move more configuration to Agent. Timeouts, TLS config, and proxy config
|
||||||
now require building an Agent.
|
now require building an Agent.
|
||||||
* Create AgentBuilder to separate the process of building an agent from using
|
* Create AgentBuilder to separate the process of building an agent from using
|
||||||
the resulting agent.
|
the resulting agent. Headers can be set on an AgentBuilder, not the
|
||||||
* Rewrite README and top-level documentation.
|
resulting Agent.
|
||||||
|
* Agent is cheaply cloneable with an internal Arc. This makes it easy to
|
||||||
|
share a single agent throughout your program.
|
||||||
|
* There is now a default timeout_connect of 30 seconds. Read and write
|
||||||
|
timeouts continue to be unset by default.
|
||||||
* Add ureq::request_url and Agent::request_url, to send requests with
|
* Add ureq::request_url and Agent::request_url, to send requests with
|
||||||
already-parsed URLs.
|
already-parsed URLs.
|
||||||
* Remove native_tls support.
|
* Remove native_tls support.
|
||||||
* Remove convenience methods `options(url)`, `trace(url)`, and `patch(url)`.
|
* Remove convenience methods `options(url)`, `trace(url)`, and `patch(url)`.
|
||||||
To send requests with those verbs use `request(method, url)`.
|
To send requests with those verbs use `request(method, url)`.
|
||||||
|
* Remove Request::build. This was a workaround because some of Request's
|
||||||
|
methods took `&mut self` instead of `mut self`, and is no longer needed.
|
||||||
|
You can simply delete any calls to `Request::build`.
|
||||||
* Remove Agent::set_cookie.
|
* Remove Agent::set_cookie.
|
||||||
* Remove Header from the public API. The type wasn't used by any public
|
* Remove Header from the public API. The type wasn't used by any public
|
||||||
methods.
|
methods.
|
||||||
|
* Remove basic auth support. The API was incomplete. We may add back something
|
||||||
|
better in the future.
|
||||||
* Remove into_json_deserialize. Now into_json handles both serde_json::Value
|
* Remove into_json_deserialize. Now into_json handles both serde_json::Value
|
||||||
and other types that implement serde::Deserialize. If you were using
|
and other types that implement serde::Deserialize. If you were using
|
||||||
serde_json before, you will probably have to explicitly annotate a type,
|
serde_json before, you will probably have to explicitly annotate a type,
|
||||||
like: `let v: serde_json::Value = response.into_json();`.
|
like: `let v: serde_json::Value = response.into_json();`.
|
||||||
|
* Rewrite README and top-level documentation.
|
||||||
|
|
||||||
# 1.5.2
|
# 1.5.2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user