diff --git a/CHANGELOG.md b/CHANGELOG.md index d25820e5e..5f03c6244 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,33 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [7.0.0] - XXXX-XX-XX ## +## [7.1.0] - 2018-08-14 ## +### Added + +- Closes [#612](https://github.com/sendgrid/sendgrid-php/issues/612), PR [#652](https://github.com/sendgrid/sendgrid-php/pull/652): Fixes #612 Add TypeException and include type validations in classes inside mail/. Thanks to [James Harding](https://github.com/hjmsw) for the PR! +- Closes [#551](https://github.com/sendgrid/sendgrid-php/issues/551), PR [#571](https://github.com/sendgrid/sendgrid-php/pull/571): Add ability to impersonate subuser. Thanks to [Stian Prestholdt](https://github.com/stianpr) for the PR! +- Closes [#617](https://github.com/sendgrid/sendgrid-php/issues/617), PR [#651](https://github.com/sendgrid/sendgrid-php/pull/651): +Add try / catch to examples. Thanks to [James Harding](https://github.com/hjmsw) for the PR! +- Closes [#619](https://github.com/sendgrid/sendgrid-php/issues/619), PR [#620](https://github.com/sendgrid/sendgrid-php/pull/620): +PHPDoc & code improvements. Thanks to [Martijn Melchers](https://github.com/martijnmelchers) for the PR! +- Closes [#610](https://github.com/sendgrid/sendgrid-php/issues/610), PR [#628](https://github.com/sendgrid/sendgrid-php/pull/628): +Removes unnecessary linter warning from phpcs. Thanks to [James Harding](https://github.com/hjmsw) for the PR! +- Closes [#608](https://github.com/sendgrid/sendgrid-php/issues/611), PR [#626](https://github.com/sendgrid/sendgrid-php/pull/626): +Add check so that getContents() always returns content with MimeType text/plain first in array of Content objects. Thanks to [James Harding](https://github.com/hjmsw) for the PR! +- Closes [#611](https://github.com/sendgrid/sendgrid-php/issues/611), PR [#618](https://github.com/sendgrid/sendgrid-php/pull/618): +Attachments now automatically get base64 encoded if they are not already. Thanks to [Martijn Melchers](https://github.com/martijnmelchers) for the PR! +- PR [#661](https://github.com/sendgrid/sendgrid-php/pull/661): +Add Code Triage tag. Thanks to [Anshul Singhal](https://github.com/af4ro) for the PR! +- PR [#663](https://github.com/sendgrid/sendgrid-php/pull/663): Improve Contributing.md readability. Thanks to [Anshul Singhal](https://github.com/af4ro) for the PR! + +### Fixed +- PR [#631](https://github.com/sendgrid/sendgrid-php/pull/631): Broken documentation link. Thanks to [David Duman](https://github.com/dvdnhm) for the PR! +- PR [#633](https://github.com/sendgrid/sendgrid-php/pull/633): Fixes for non-composer environments. Thanks to [Tom Gordon](https://github.com/apcro) for the PR! +- PR [#634](https://github.com/sendgrid/sendgrid-php/pull/634): Fixes missing file extension. Thanks to [Muberra Duman Demirtepe](https://github.com/muberraduman) for the PR! +- PR [#658](https://github.com/sendgrid/sendgrid-php/pull/658): Corrected PHP Syntax. Thanks to [David Passmore](https://github.com/davcpas1234) for the PR! +- Fixes [#624](https://github.com/sendgrid/sendgrid-php/issues/624), PR [#625](https://github.com/sendgrid/sendgrid-php/pull/625): Fix setGroupsToDisplay's handling of array arguments. Thanks to [Mo Ismailzai](https://github.com/moismailzai) for the PR! + +## [7.0.0] - 2018-05-19 ## ### BREAKING CHANGE Thanks to the [strong support and feedback of the SendGrid PHP community](https://github.com/sendgrid/sendgrid-php/issues/434), we have a new version of this SDK that should be a big improvement in the developer experience for this SDK. diff --git a/README.md b/README.md index fa2c4320c..5ba43030f 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ Add SendGrid to your `composer.json` file. If you are not using [Composer](http: #### Alternative: Install package from zip -If you are not using Composer, simply download and install the **[latest packaged release of the library as a zip](https://github.com/sendgrid/sendgrid-php/releases/download/v7.0.0/sendgrid-php.zip)**. +If you are not using Composer, simply download and install the **[latest packaged release of the library as a zip](https://github.com/sendgrid/sendgrid-php/releases/download/v7.1.0/sendgrid-php.zip)**. -[**⬇︎ Download Packaged Library ⬇︎**](https://github.com/sendgrid/sendgrid-php/releases/download/v7.0.0/sendgrid-php.zip) +[**⬇︎ Download Packaged Library ⬇︎**](https://github.com/sendgrid/sendgrid-php/releases/download/v7.1.0/sendgrid-php.zip) Previous versions of the library can be found in the [version index](https://sendgrid-open-source.s3.amazonaws.com/index.html) or downloaded directly from [GitHub](https://github.com/sendgrid/sendgrid-php/releases). diff --git a/composer.json b/composer.json index fd5ed999b..67140233b 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "sendgrid/sendgrid", "description": "This library allows you to quickly and easily send emails through SendGrid using PHP.", - "version": "7.0.0", + "version": "7.1.0", "homepage": "http://github.com/sendgrid/sendgrid-php", "license": "MIT", "keywords": [ diff --git a/lib/SendGrid.php b/lib/SendGrid.php index a61340d22..20f80b087 100644 --- a/lib/SendGrid.php +++ b/lib/SendGrid.php @@ -20,7 +20,7 @@ */ class SendGrid { - const VERSION = '7.0.0'; + const VERSION = '7.1.0'; // @var string protected $namespace = 'SendGrid'; diff --git a/test/unit/SendGridTest.php b/test/unit/SendGridTest.php index 0b946c605..866e2bd99 100644 --- a/test/unit/SendGridTest.php +++ b/test/unit/SendGridTest.php @@ -26,7 +26,7 @@ class SendGridTest extends BaseTestClass */ public function testVersionIsCorrect() { - $this->assertEquals(\SendGrid::VERSION, '7.0.0'); + $this->assertEquals(\SendGrid::VERSION, '7.1.0'); $version = json_decode( file_get_contents(__DIR__ . '/../../composer.json') )->version;