11# Change Log
22
3- ## 2.0.0 - UNRELEASED
3+
4+ All notable changes to this project will be documented in this file.
5+
6+ The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
7+ and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
8+
9+
10+ ## [ Unreleased]
11+
12+
13+ ## [ 2.0.0] - 2018-10-31
414
515This version is no BC break for consumers using HTTPlug. However, HTTP clients that
616implement HTTPlug need to adjust because we add return type declarations.
@@ -9,40 +19,41 @@ implement HTTPlug need to adjust because we add return type declarations.
919
1020- Support for PSR-18 (HTTP client).
1121
22+ ### Changed
23+
24+ - ** BC Break:** ` HttpClient::sendRequest(RequestInterface $request) ` has a return type annotation. The new
25+ signature is ` HttpClient::sendRequest(RequestInterface $request): ResponseInterface ` .
26+ - ** BC Break:** ` RequestException::getRequest() ` has a return type annotation. The new
27+ signature is ` RequestException::getRequest(): RequestInterface ` .
28+
1229### Removed
1330
1431- PHP 5 support
1532
16- ### Changed
17-
18- - [ BC Break] ` HttpClient::sendRequest(RequestInterface $request) ` has a return type annotation. The new
19- signature is ` HttpClient::sendRequest(RequestInterface $request): ResponseInterface ` .
20- - [ BC Break] ` RequestException::getRequest() ` has a return type annotation. The new
21- signature is ` RequestException::getRequest(): RequestInterface ` .
2233
23- ## 1.1.0 - 2016-08-31
34+ ## [ 1.1.0] - 2016-08-31
2435
2536### Added
2637
2738- HttpFulfilledPromise and HttpRejectedPromise which respect the HttpAsyncClient interface
2839
2940
30- ## 1.0.0 - 2016-01-26
41+ ## [ 1.0.0] - 2016-01-26
3142
3243### Removed
3344
3445- Stability configuration from composer
3546
3647
37- ## 1.0.0-RC1 - 2016-01-12
48+ ## [ 1.0.0-RC1] - 2016-01-12
3849
3950### Changed
4051
4152- Updated package files
4253- Updated promise dependency to RC1
4354
4455
45- ## 1.0.0-beta - 2015-12-17
56+ ## [ 1.0.0-beta] - 2015-12-17
4657
4758### Added
4859
@@ -53,7 +64,7 @@ signature is `RequestException::getRequest(): RequestInterface`.
5364- Exception concept
5465
5566
56- ## 1.0.0-alpha3 - 2015-12-13
67+ ## [ 1.0.0-alpha3] - 2015-12-13
5768
5869### Changed
5970
@@ -64,14 +75,14 @@ signature is `RequestException::getRequest(): RequestInterface`.
6475- Promise interface moved to its own repository: [ php-http/promise] ( https://github.com/php-http/promise )
6576
6677
67- ## 1.0.0-alpha2 - 2015-11-16
78+ ## [ 1.0.0-alpha2] - 2015-11-16
6879
6980### Added
7081
7182- Async client and Promise interface
7283
7384
74- ## 1.0.0-alpha - 2015-10-26
85+ ## [ 1.0.0-alpha] - 2015-10-26
7586
7687### Added
7788
@@ -93,3 +104,14 @@ signature is `RequestException::getRequest(): RequestInterface`.
93104### Added
94105
95106- Initial release
107+
108+
109+ [ Unreleased ] : https://github.com/php-http/httplug/compare/v2.0.0...HEAD
110+ [ 2.0.0 ] : https://github.com/php-http/httplug/compare/v1.1.0...HEAD
111+ [ 1.1.0 ] : https://github.com/php-http/httplug/compare/v1.0.0...v1.1.0
112+ [ 1.0.0 ] : https://github.com/php-http/httplug/compare/v1.0.0-RC1...v1.0.0
113+ [ 1.0.0-RC1 ] : https://github.com/php-http/httplug/compare/v1.0.0-beta...v1.0.0-RC1
114+ [ 1.0.0-beta ] : https://github.com/php-http/httplug/compare/v1.0.0-alpha3...v1.0.0-beta
115+ [ 1.0.0-alpha3 ] : https://github.com/php-http/httplug/compare/v1.0.0-alpha2...v1.0.0-alpha3
116+ [ 1.0.0-alpha2 ] : https://github.com/php-http/httplug/compare/v1.0.0-alpha...v1.0.0-alpha2
117+ [ 1.0.0-alpha ] : https://github.com/php-http/httplug/compare/v0.1.0...v1.0.0-alpha
0 commit comments