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..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.0'; + private $version = '2.2.0'; /** * @var HttpClient|HttpAsyncClient used to make requests