|
| 1 | +## v0.5.0 (2015-05-12) |
| 2 | + |
| 3 | + |
| 4 | +#### Bug Fixes |
| 5 | + |
| 6 | +* **client:** |
| 7 | + * dont call close() inside Request ([3334fca2](https://github.com/hyperium/hyper/commit/3334fca278e662b2755e41045ce641238514bea9), closes [#519](https://github.com/hyperium/hyper/issues/519)) |
| 8 | + * keep the underlying connector when setting an SSL verifier ([f4556d55](https://github.com/hyperium/hyper/commit/f4556d554faa2a1170fec0af5b4076c31e7c3600), closes [#495](https://github.com/hyperium/hyper/issues/495)) |
| 9 | +* **mock:** adjust ChannelMockConnector connect method to compile ([085d7b07](https://github.com/hyperium/hyper/commit/085d7b0752d7fc0134e99e9eec2a67cc66b319b3)) |
| 10 | + |
| 11 | + |
| 12 | +#### Features |
| 13 | + |
| 14 | +* **header:** |
| 15 | + * add ContentType::json(), plaintext(), html(), jpeg(), and png() constructors ([b6114ecd](https://github.com/hyperium/hyper/commit/b6114ecd2e65bd59e79a67a45913adaf0f1552f0)) |
| 16 | + * add Connection::close() and ::keep_alive() constructors ([c2938fb4](https://github.com/hyperium/hyper/commit/c2938fb45f9c1fff2a1235d82b7741531de21445)) |
| 17 | + * export __hyper__tm! macro so test modules work with header! ([f64fb10b](https://github.com/hyperium/hyper/commit/f64fb10bc87bb4b5a5291d09364ad6c725a842d8)) |
| 18 | +* **net:** |
| 19 | + * remove mut requirement for NetworkConnector.connect() ([1b318724](https://github.com/hyperium/hyper/commit/1b318724a5fd425366daddf15c5964d7c3cbc240)) |
| 20 | + * add `set_ssl_verifier` method to `NetworkConnector` trait ([a5d632b6](https://github.com/hyperium/hyper/commit/a5d632b6ea53d0988d6383dd734d0b5e6245ba2b)) |
| 21 | +* **server:** check Response headers for Connection: close in keep_alive loop ([49b5b8fd](https://github.com/hyperium/hyper/commit/49b5b8fdfe256ead8f3aa3d489bc4b299c190a9a)) |
| 22 | + |
| 23 | + |
| 24 | +#### Breaking Changes |
| 25 | + |
| 26 | +* Usage of Response.deconstruct() and construct() now use |
| 27 | + a &mut Headers, instead of the struct proper. |
| 28 | + |
| 29 | + ([49b5b8fd](https://github.com/hyperium/hyper/commit/49b5b8fdfe256ead8f3aa3d489bc4b299c190a9a)) |
| 30 | +* If you use deref! from the header module, you'll need |
| 31 | + to switch to using __hyper__deref!. |
| 32 | + |
| 33 | + ([62d96adc](https://github.com/hyperium/hyper/commit/62d96adc6b852b3836b47fc2e154bbdbab9ad7f6)) |
| 34 | +* Any custom Connectors will need to change to &self in |
| 35 | + the connect method. Any Connectors that needed the mutablity need to |
| 36 | + figure out a synchronization strategy. |
| 37 | + |
| 38 | + Request::with_connector() takes a &NetworkConnector instead of &mut. |
| 39 | + Any uses of with_connector will need to change to passing &C. |
| 40 | + |
| 41 | + ([1b318724](https://github.com/hyperium/hyper/commit/1b318724a5fd425366daddf15c5964d7c3cbc240)) |
| 42 | +* Adding a new required method to a public trait is a |
| 43 | +breaking change. |
| 44 | + |
| 45 | + ([a5d632b6](https://github.com/hyperium/hyper/commit/a5d632b6ea53d0988d6383dd734d0b5e6245ba2b)) |
| 46 | + |
| 47 | + |
1 | 48 | ## v0.4.0 (2015-05-07)
|
2 | 49 |
|
3 | 50 |
|
|
0 commit comments