Skip to content

Commit 6b3ef8f

Browse files
committed
2.0.0-alpha.6
This is an alpha release in preparation of 2.0.0, so you can start using Surf with stable futures. The aim is for this to be the last 2.0 alpha release. As of this release, `surf::get()`, `surf::post()`, etc, now use a globally shared client internally, allowing for easier access to optimizations such as connection pooling. - Removed `native-client` feature flag in favor of direct `curl-client` default. - `wasm-client` feature is no longer automatic and must be set via cargo features. - All client feature flags are now mutually exclusive. `curl-client` is the default. - `surf::method_name` "one-off" methods now use a shared client internally if the client is `curl-client`. (Default) - `Client::with_http_client()` is now generic for any `HttpClient` rather than taking an `Arc<dyn HttpClient>`. - (The http client is still stored internally as a dynamic pointer.) - `HttpClient` has been upgraded to 6.0, removing `Clone` from the built in client backends. - Surf can once again build with `--no-default-features` (and no client). - Doc updates - `wasm-client` now has proper headless browser CI testing.
1 parent b523131 commit 6b3ef8f

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
77

88
## [Unreleased]
99

10+
## [2.0.0-alpha.6] - 2020-09-27
11+
12+
This is an alpha release in preparation of 2.0.0, so you can start using Surf with stable futures. The aim is for this to be the last 2.0 alpha release.
13+
14+
As of this release, `surf::get()`, `surf::post()`, etc, now use a globally shared client internally, allowing for easier access to optimizations such as connection pooling.
15+
16+
### Removals
17+
- Removed `native-client` feature flag in favor of direct `curl-client` default.
18+
19+
### Changes
20+
- `wasm-client` feature is no longer automatic and must be set via cargo features.
21+
- All client feature flags are now mutually exclusive. `curl-client` is the default.
22+
- `surf::method_name` "one-off" methods now use a shared client internally if the client is `curl-client`. (Default)
23+
- `Client::with_http_client()` is now generic for any `HttpClient` rather than taking an `Arc<dyn HttpClient>`.
24+
- (The http client is still stored internally as a dynamic pointer.)
25+
- `HttpClient` has been upgraded to 6.0, removing `Clone` from the built in client backends.
26+
27+
### Fixes
28+
- Surf can once again build with `--no-default-features` (and no client).
29+
- Doc updates
30+
31+
### Internal
32+
- `wasm-client` now has proper headless browser CI testing.
33+
1034
## [2.0.0-alpha.5] - 2020-09-07
1135

1236
This is an alpha release in preparation of 2.0.0, so you can start using Surf with stable futures. There may be significant breaking changes before the final 2.0 release. Until thin, we recommend pinning to the particular alpha:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "surf"
3-
version = "2.0.0-alpha.5"
3+
version = "2.0.0-alpha.6"
44
license = "MIT OR Apache-2.0"
55
repository = "https://github.com/http-rs/surf"
66
documentation = "https://docs.rs/surf"

0 commit comments

Comments
 (0)