Skip to content

Commit 38f40c7

Browse files
committed
v0.4.0
1 parent 59f1b71 commit 38f40c7

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

CHANGELOG.md

+44
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
## v0.4.0 (2015-05-07)
2+
3+
4+
#### Bug Fixes
5+
6+
* **net:** ignore NotConnected error in NetworkStream.close ([6be60052](https://github.com/hyperium/hyper/commit/6be60052c627b7e498d973465b4a3ee7efc40665), closes [#508](https://github.com/hyperium/hyper/issues/508))
7+
8+
9+
#### Features
10+
11+
* **error:** add Ssl variant to hyper::Error ([972b3a38](https://github.com/hyperium/hyper/commit/972b3a388ac3af98ba038927c551b92be3a68d62), closes [#483](https://github.com/hyperium/hyper/issues/483))
12+
* **headers:**
13+
* Allow `null` value in Access-Control-Allow-Origin ([5e341714](https://github.com/hyperium/hyper/commit/5e3417145ced116147ef1e890b4f1e7c775ad173))
14+
* Parse Upgrade header protocols further ([f47d11b9](https://github.com/hyperium/hyper/commit/f47d11b97bb4a4bf67c3f9aa47c203babf4a9c72), closes [#480](https://github.com/hyperium/hyper/issues/480))
15+
* Add From header field ([ce9c4af1](https://github.com/hyperium/hyper/commit/ce9c4af1e0a46abc9f7908c2cb0659a2ecab137c))
16+
* Add Accept-Ranges header field ([2dbe3f9b](https://github.com/hyperium/hyper/commit/2dbe3f9b9a3fc9f04346712e55f40dabaf72d9a8))
17+
* **method:** implement `AsRef<str>` for `Method` ([c29af729](https://github.com/hyperium/hyper/commit/c29af729726ae782bece5e790bce02b0d3ab9ef9))
18+
* **server:**
19+
* add Response.send to write a sized body ([d5558b68](https://github.com/hyperium/hyper/commit/d5558b687d32d0affb9aaa7185227a4e294f5454), closes [#446](https://github.com/hyperium/hyper/issues/446))
20+
* dropping a Response will write out to the underlying stream ([a9dcc59c](https://github.com/hyperium/hyper/commit/a9dcc59cd9846609a5733678f66353655c075279))
21+
22+
23+
#### Breaking Changes
24+
25+
* Adds a variant to `hyper::Error`, which may break any
26+
exhaustive matches.
27+
28+
([972b3a38](https://github.com/hyperium/hyper/commit/972b3a388ac3af98ba038927c551b92be3a68d62))
29+
* The terms `Http` and `Error` have been removed from the Error
30+
type and its variants. `HttpError` should now be accessed as `hyper::Error`,
31+
and variants like `HttpIoError` should be accessed as `Error::Io`.
32+
33+
([9ba074d1](https://github.com/hyperium/hyper/commit/9ba074d150a55a749161317405fe8b28253c5a9d))
34+
* Add variant to Access-Control-Allow-Origin enum
35+
36+
([5e341714](https://github.com/hyperium/hyper/commit/5e3417145ced116147ef1e890b4f1e7c775ad173))
37+
* Upgrade header Protocol changed.
38+
39+
([f47d11b9](https://github.com/hyperium/hyper/commit/f47d11b97bb4a4bf67c3f9aa47c203babf4a9c72))
40+
* `from_one_raw_str()` returns `None` on empty values.
41+
42+
([a6974c99](https://github.com/hyperium/hyper/commit/a6974c99d39fcbaf3fb9ed38428b21e0301f3602))
43+
44+
145
### v0.3.16 (2015-05-01)
246

347

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "hyper"
4-
version = "0.3.16"
4+
version = "0.4.0"
55
description = "A modern HTTP library."
66
readme = "README.md"
77
documentation = "http://hyperium.github.io/hyper/hyper/index.html"

0 commit comments

Comments
 (0)