26 KiB
v0.5.2 (2015-06-01)
Bug Fixes
- buffer: check capacity before resizing (b1686d1b)
v0.5.1 (2015-05-25)
Bug Fixes
Features
- client: implement Default trait for client (be041d91)
- header: add ContentType::form_url_encoded() constructor (2c99d4e9)
- headers: return hyper::Error instead of () from header components (5d669399)
- http: add get_mut method to HttpReader (e64ce8c0)
Breaking Changes
- Error enum extended. Return type of header/shared/ types changed.
(5d669399)
v0.5.0 (2015-05-12)
Bug Fixes
- client:
- mock: adjust ChannelMockConnector connect method to compile (085d7b07)
Features
- header:
- net:
- server: check Response headers for Connection: close in keep_alive loop (49b5b8fd)
Breaking Changes
- Usage of Response.deconstruct() and construct() now use a &mut Headers, instead of the struct proper.
(49b5b8fd)
- If you use deref! from the header module, you'll need to switch to using __hyper__deref!.
(62d96adc)
-
Any custom Connectors will need to change to &self in the connect method. Any Connectors that needed the mutablity need to figure out a synchronization strategy.
Request::with_connector() takes a &NetworkConnector instead of &mut. Any uses of with_connector will need to change to passing &C.
(1b318724)
- Adding a new required method to a public trait is a breaking change.
(a5d632b6)
v0.4.0 (2015-05-07)
Bug Fixes
Features
- error: add Ssl variant to hyper::Error (972b3a38, closes #483)
- headers:
- method: implement
AsRef<str>forMethod(c29af729) - server:
Breaking Changes
- Adds a variant to
hyper::Error, which may break any exhaustive matches.
(972b3a38)
- The terms
HttpandErrorhave been removed from the Error type and its variants.HttpErrorshould now be accessed ashyper::Error, and variants likeHttpIoErrorshould be accessed asError::Io.
(9ba074d1)
- Add variant to Access-Control-Allow-Origin enum
(5e341714)
- Upgrade header Protocol changed.
(f47d11b9)
from_one_raw_str()returnsNoneon empty values.
(a6974c99)
v0.3.16 (2015-05-01)
Bug Fixes
Features
- client: add a Connection Pool (1e72a8ab, closes #363, #41)
- headers: Add If-Range header (a39735f1, closes #388)
v0.3.15 (2015-04-29)
Bug Fixes
- headers:
Features
- client:
- headers: Implement Content-Language header field (308880b4, closes #475)
- net: add https_using_context for user-supplied SslContext (1a076d1b)
- server: allow consumer to supply an SslContext (3a1a2427, closes #471)
Breaking Changes
- This removes the trait
IntoBody, and instead usingInto<Body>, as it's more idiomatic. This will only have broken code that had custom implementations ofIntoBody, and can be fixed by changing them toInto<Body>.
(a2aefd9a)
v0.3.14 (2015-04-18)
Bug Fixes
- http: Adjust httparse Request and Response lifetimes. (76550fdb)
v0.3.13 (2015-04-17)
Bug Fixes
- server: JoinHandle type parameter (c694b138)
Features
- debug: add Debug impls for StatusClass, Server, and Listening (0fb92ee7)
v0.3.12 (2015-04-15)
Bug Fixes
- server:
Features
- http: Implement Debug for HttpReader/Writer. (2f606c88)
- log: clean up logging (4f09b002)
- net: make HttpStream implement Debug (7b7f9c25)
v0.3.11 (2015-04-15)
Bug Fixes
- headers: Content-Encoding needs a hyphen. (ca2815ef)
Features
Breaking Changes
AccessControlAllowHeadersandAccessControlRequestHeadersvalues are case insensitive now.AccessControlAllowOriginvariants are nowAnyandValueto match the other headers.
(94f38950)
If-Match,If-None-MatchandVaryitem variant name changed toItems
(38d297b1)
Etagheader field is nowETagheader field
(4434ea6a)
-
For people using the default HttpConnector and Client, everything should continue to just work. If the Client has been used with a generic parameter, it should be removed.
However, there were some breaking changes to the internals of NetworkConnectors. Specifically, they no longer return a NetworkStream, but instead a Into<Box<NetworkStream + Send>>. All implementations of NetworkStream should continue to just work, however.
Possible breakages could come from the stricter usage of Send throughout the Client API.
(139a51f1)
v0.3.10 (2015-04-06)
Bug Fixes
- README: Update to compile example against Rust beta (341f19d3)
v0.3.9 (2015-04-03)
Bug Fixes
- headers: Add CowStr as a temporary hack to build on beta. (8e065563)
v0.3.8 (2015-04-02)
Bug Fixes
- rustup: update to rust beta (0f5858f3)
Breaking Changes
- Removed impl_header!() and impl_list_header!() macros, use new header!() macro.
(262c450f)
v0.3.7 (2015-03-31)
Bug Fixes
- buffer: zero out new capacity when buffer grows (cfdabd70)
Features
- entitytag: Add EntityTag comparison, make EntityTag safe to use (9c21f7f9)
v0.3.6 (2015-03-30)
Bug Fixes
- buffer: get_buf to not return consumed part of buffer (04e3b565, closes #406)
- rustup: get rid of slice pattern, add
Reflectbounds (c9f2c841)
v0.3.5 (2015-03-28)
Bug Fixes
v0.3.4 (2015-03-26)
Bug Fixes
- rustup: static bounds required on Type definition, trivial_casts (eee7a85d)
v0.3.3 (2015-03-25)
Bug Fixes
- rustup:
Features
v0.3.2 (2015-03-20)
Bug Fixes
- benches: removed unused features (104d4903)
- rustup:
Features
- server: use SocketAddrs instead of Ipv4Addrs (5d7be77e)
v0.3.1 (2015-03-18)
Bug Fixes
- header: Fix charset parsing bug. (5a6e176f)
- headers: Fix overflow with empty cookies (99baaa10)
- rustup: update to latest rustc (4fd8a6a9)
Features
Breaking Changes
- Several public functions and types in the
httpmodule have been removed. They have been replaced with 2 methods that handle all of the http1 parsing.
(b87bb20f)
v0.3.0 (2015-03-03)
Features
Breaking Changes
- added requirement that all HeaderFormat implementations must also be fmt::Debug. This likely as easy as slapping #[derive(Debug)] on to any custom headers.
(df756871)
- Check the docs. Everything was touched.
(0fd6fcd7)
v0.2.1 (2015-02-27)
Bug Fixes
- rustup: str.split and associated type changes (1b6e6a04)
Features
v0.2.0 (2015-02-21)
Bug Fixes
- headers: use $crate when referring to hyper modules on macros (e246c3ac, closes #323)
- rustup:
- Send changes (4f5b97fe)
- CowString is gone (98b8c4b1)
- Extend now takes an IntoIterator (598d8f93)
- Add PhantomData markers to phantom type users (1904c456)
- Remove uses of the obsolete &a[] syntax (039e984f)
- Fix signature of IntoCow (234fcdc3)
- update feature flags (b47f9365)
- use module-level thread functions (fc2076cd)
- update lifetime bounds (f4a66b38)
Features
- server: make AcceptorPool::accept() block and allow non'-static data (b0a72d80)
v0.1.13 (2015-02-17)
Bug Fixes
Features
- header: Support arbitrary status codes (73978531)
- headers:
- server: Rewrite the accept loop into a custom thread pool. (3528fb9b)
Breaking Changes
- This removes unregistered status codes from the enum. Use
FromPrimitivemethods to create them now. StatusCode and StatusClass can no longer be casted tou16, useToPrimitivemethods now. For examplestatus.to_u16().unwrap()to get the status code number.
(73978531)
v0.1.12 (2015-02-13)
Bug Fixes
- net: don't stop the server when an SSL handshake fails with EOF (55f12660)
Features
v0.1.11 (2015-02-06)
Bug Fixes
- readme: Make the README client example work (9b5d6aab)
Features
- headers: add IfUnmodifiedSince header (b5543b67)
Breaking Changes
- for any consumers of the Etag header, since the entity tag is now in a tuple.
(28fd5c81)
v0.1.10 (2015-02-03)
Bug Fixes
v0.1.9 (2015-01-28)
Bug Fixes
- headers: Don't display q if q=1 in quality item. (91df2441, closes #281)
- rustup: update io import, Writer::write (f606b603)
Features
- status: add is_<status_class>() methods to StatusCodes (2d55a22e)
v0.1.8 (2015-01-27)
Bug Fixes
- headers:
- log: update to new logging levels (b002b6c3)
Features
Breaking Changes
- Change header
CookietoCookie
(92f43cf8)
v0.1.7 (2015-01-27)
Bug Fixes
- rustup: update to newest fmt trait names and slice syntax (9e3c94d7)
Breaking Changes
- Implementations of Header will need to adjust the header_name method. It no longer takes any arguments.
(8215889e)
v0.1.6 (2015-01-27)
Bug Fixes
- headers: make Schemes, Basic, Protocol public (e43c35c1)
v0.1.5 (2015-01-27)
v0.1.4 (2015-01-27)
Bug Fixes
- imports: Update TypeID import location to "any" (dd2534a6)
v0.1.3 (2015-01-27)
Features
- server: add a deconstruct method to Request. (1014855f)
v0.1.2 (2015-01-27)
Bug Fixes
- server: Increase MAX_HEADER_FIELD_LENGTH to 4k (54238b28)
Features
- net: