From e8376a2ca75a85d92fcf732f82790829446aae36 Mon Sep 17 00:00:00 2001 From: Jose Zamora Date: Tue, 4 Jun 2019 15:29:49 -0400 Subject: [PATCH 1/2] Bumping to 2.2.0 --- CHANGELOG.md | 12 +++++++++--- lib/SparkPost/SparkPost.php | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 541724a..2a85081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased][unreleased] +## [2.2.0] - 2019-06-04 +- [#187](https://github.com/SparkPost/php-sparkpost/pull/169) Updated composer.json +- [#169](https://github.com/SparkPost/php-sparkpost/pull/169) Optional automatic retry on 5xx +- [#166](https://github.com/SparkPost/php-sparkpost/pull/166/files) Quick fix for using the API without composer +- [#149](https://github.com/SparkPost/php-sparkpost/pull/149) Setters should return current object + ## [2.1.0] - 2017-01-09 ### Added - [#161](https://github.com/SparkPost/php-sparkpost/pull/161) added example for sending email with attachment and simplified the examples setup @@ -88,7 +94,7 @@ This major release included a complete refactor of the library to be a thin HTTP ### Added - Request adapter interface for passing in request adapters via `Ivory\HttpAdapter` - Ability to create 'unwrapped' modules for API endpoints that haven't had functionality included yet. -- Instructions for setting up request adapters in README +- Instructions for setting up request adapters in README ### Changed - Library now requires PHP 5.5 or greater @@ -97,7 +103,8 @@ This major release included a complete refactor of the library to be a thin HTTP ### Fixed - README now has proper code blocks denoting PHP language -[unreleased]: https://github.com/sparkpost/php-sparkpost/compare/2.1.0...HEAD +[unreleased]: https://github.com/sparkpost/php-sparkpost/compare/2.2.0...HEAD +[2.2.0]: https://github.com/sparkpost/php-sparkpost/compare/2.1.0...2.2.0 [2.1.0]: https://github.com/sparkpost/php-sparkpost/compare/2.0.3...2.1.0 [2.0.3]: https://github.com/sparkpost/php-sparkpost/compare/2.0.2...2.0.3 [2.0.2]: https://github.com/sparkpost/php-sparkpost/compare/2.0.1...2.0.2 @@ -109,4 +116,3 @@ This major release included a complete refactor of the library to be a thin HTTP [1.0.3]: https://github.com/sparkpost/php-sparkpost/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/sparkpost/php-sparkpost/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/sparkpost/php-sparkpost/compare/v1.0.0...v1.0.1 - diff --git a/lib/SparkPost/SparkPost.php b/lib/SparkPost/SparkPost.php index b3a9e36..8f0fee1 100644 --- a/lib/SparkPost/SparkPost.php +++ b/lib/SparkPost/SparkPost.php @@ -13,7 +13,7 @@ class SparkPost /** * @var string Library version, used for setting User-Agent */ - private $version = '2.1.0'; + private $version = '2.1.1'; /** * @var HttpClient|HttpAsyncClient used to make requests From 39d35c982a219f590d50d2bec3df3c2ae905100d Mon Sep 17 00:00:00 2001 From: Jose Zamora Date: Tue, 4 Jun 2019 15:31:30 -0400 Subject: [PATCH 2/2] Correct semver --- lib/SparkPost/SparkPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SparkPost/SparkPost.php b/lib/SparkPost/SparkPost.php index 8f0fee1..ab4fc67 100644 --- a/lib/SparkPost/SparkPost.php +++ b/lib/SparkPost/SparkPost.php @@ -13,7 +13,7 @@ class SparkPost /** * @var string Library version, used for setting User-Agent */ - private $version = '2.1.1'; + private $version = '2.2.0'; /** * @var HttpClient|HttpAsyncClient used to make requests