summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Goldman <avrahamymgoldman@gmail.com>2017-01-10 09:29:09 -0500
committerGitHub <noreply@github.com>2017-01-10 09:29:09 -0500
commit0c45993ee9d68d47acbd04b241c8b24b8667f937 (patch)
tree35641be15b1ac9157ba3ff2f24e8cee7c6984905
parent36afb9f3fe8e8fc5f261708c43378b510be64e5e (diff)
parent31e261fa7e9619eebdf7412b32f404da48e64877 (diff)
downloadphp-sparkpost-0c45993ee9d68d47acbd04b241c8b24b8667f937.zip
php-sparkpost-0c45993ee9d68d47acbd04b241c8b24b8667f937.tar.gz
php-sparkpost-0c45993ee9d68d47acbd04b241c8b24b8667f937.tar.bz2
Bump to 2.1.02.1.0
Bump to 2.1.0
-rw-r--r--CHANGELOG.md22
-rw-r--r--lib/SparkPost/SparkPost.php2
2 files changed, 22 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 483cd55..541724a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased][unreleased]
+## [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
+- [#159](https://github.com/SparkPost/php-sparkpost/pull/159) added `debug` option for seeing the full request sent to SparkPost
+- [#151](https://github.com/SparkPost/php-sparkpost/pull/151) added packagist badges
+- [#139](https://github.com/SparkPost/php-sparkpost/pull/139) added examples for message events and templates
+
+### Changed
+- [#150](https://github.com/SparkPost/php-sparkpost/issues/150) renamed the `Resource` class to `ResourceBase` since resource soft reserved in php 7
+- [#137](https://github.com/SparkPost/php-sparkpost/pull/137) cleaned up tests and post install scripts
+- [#138](https://github.com/SparkPost/php-sparkpost/pull/138) added PHP 7.1 as a test environment
+
+### Fixed
+- [#156](https://github.com/SparkPost/php-sparkpost/pull/156) fixed typo in README.md
+- [#152](https://github.com/SparkPost/php-sparkpost/issues/152) fixed propagation of coverage tests to coveralls.io
+- [#147](https://github.com/SparkPost/php-sparkpost/pull/147) fixed examples in README.md
+- [#139](https://github.com/SparkPost/php-sparkpost/pull/139) fixed the ability to send using recipient lists
+- Issue[#141](https://github.com/SparkPost/php-sparkpost/issues/141) removed form feeds from the JSON body sent to the API
+
## [2.0.3] - 2016-07-28
### Fixed
- Issue [#135](https://github.com/SparkPost/php-sparkpost/issues/135) reported `Http\Discovery\NotFoundException` caused by 2.0.2 update.
@@ -78,7 +97,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.0.3...HEAD
+[unreleased]: https://github.com/sparkpost/php-sparkpost/compare/2.1.0...HEAD
+[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
[2.0.1]: https://github.com/sparkpost/php-sparkpost/compare/2.0.0...2.0.1
diff --git a/lib/SparkPost/SparkPost.php b/lib/SparkPost/SparkPost.php
index 601d063..00b3d6f 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.0.3';
+ private $version = '2.1.0';
/**
* @var HttpClient|HttpAsyncClient used to make requests