Skip to content

Latest commit

 

History

History
629 lines (449 loc) · 37.6 KB

CHANGELOG.md

File metadata and controls

629 lines (449 loc) · 37.6 KB

Change Log

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

[2022-08-10] Version 8.0.1

Library - Docs

Library - Fix

  • PR #1081: get rid of deprecation warnings regarding the first parameter of mb_convert_encoding. Thanks to @cclark61!

Library - Test

[2022-05-04] Version 8.0.0

Note: This release contains breaking changes, check our upgrade guide for detailed migration notes.

Library - Chore

[2022-03-09] Version 7.11.5

Library - Chore

[2022-02-09] Version 7.11.4

Library - Chore

  • PR #1079: add deploy job to test and deploy gh workflow. Thanks to @Hunga1!

[2022-01-26] Version 7.11.3

Library - Chore

[2022-01-12] Version 7.11.2

Library - Chore

[2021-12-15] Version 7.11.1

Library - Fix

[2021-11-17] Version 7.11.0

Library - Feature

[2021-10-18] Version 7.10.0

Library - Feature

  • PR #1061: allow personalization of the From name and email for each email recipient. Thanks to @beebzz!

Library - Docs

[2021-01-27] Version 7.9.2

Library - Fix

[2020-11-18] Version 7.9.1

Library - Docs

  • PR #980: Incorrect links in Use Cases, section Email Stats. Thanks to @kampalex!

[2020-11-05] Version 7.9.0

Library - Feature

Library - Test

[2020-10-14] Version 7.8.5

Library - Docs

[2020-09-28] Version 7.8.4

Library - Fix

Library - Chore

[2020-09-02] Version 7.8.3

Library - Fix

[2020-08-19] Version 7.8.2

Library - Docs

Library - Test

Library - Chore

[2020-08-05] Version 7.8.1

Library - Fix

[2020-07-22] Version 7.8.0

Library - Chore

Library - Docs

Library - Feature

[2020-07-08] Version 7.7.0

Library - Feature

  • PR #985: Additional check for existence of Composer autoloader. Thanks to @kampalex!
  • PR #978: Mail constructor: Added support for array of Substitution instances using $globalSubstitutions. Thanks to @kampalex!

Library - Fix

  • PR #976: allow a float type as a substitution value in transactional templates. Thanks to @thinkingserious!
  • PR #977: Mail constructor: Verify arguments $plainTextContent and $htmlContent if provided. Thanks to @kampalex!
  • PR #971: Optional Personalization arguments handling. Thanks to @kampalex!

[2020-06-10] Version 7.6.0

Library - Fix

  • PR #975: Inspected code of Stats, example helpers. Thanks to @kampalex!
  • PR #967: add support for unicode in local part of email address when using PHP>=7.1. Thanks to @kampalex!
  • PR #974: Accept string typed Subject in Personalization. Thanks to @kampalex!
  • PR #973: Replace dynamic template data typehints. Thanks to @kampalex!

Library - Feature

[2020-05-27] Version 7.5.2

Library - Fix

Library - Docs

  • PR #839: add documentation for segments in USAGE.md. Thanks to @rwhirn!

[2020-05-13] Version 7.5.1

Library - Fix

[2020-04-29] Version 7.5.0

Library - Fix

Library - Feature

[2020-04-01] Version 7.4.6

Library - Docs

[2020-03-18] Version 7.4.5

Library - Docs

[2020-03-04] Version 7.4.4

Library - Chore

[2020-02-19] Version 7.4.3

Library - Fix

[2020-01-22] Version 7.4.2

Library - Docs

[2020-01-09] Version 7.4.1

Library - Docs

Library - Chore

Library - Fix

[2019-12-11] Version 7.4.0

Library - Fix

  • PR #705: Fixing issue #686: NULL Item in Personalizations. Thanks to @reisraff!
  • PR #788: Fixes #788 - Add missing parameter for addCc and addBcc methods. Thanks to @hjmsw!

Library - Docs

  • PR #836: Update example.php. Add personalization example as per #792. Thanks to @hjmsw!

Library - Feature

  • PR #841: Make $emailAddress on TypeException to be evaluated. Thanks to @yehudah!

[7.3.0] - 2019-04-15

Fixed

Added

  • PR #828: Update Twilio branding, CLA policy.
  • Closes #768, PR #769: Update prerequisites. Thanks to Rishabh for the solution!
  • Closes #733, PR #736: Update CONTRIBUTING - contribution guideline to branch off development. Thanks to Alex for the solution!
  • Closes #481, PR #743: Added Box attachment example. Thanks to Joel for the solution!
  • Closes #690, PR #698: Update prism version. Thanks to Gergo Juhasz for the solution!

[7.2.1] - 2018-09-18

Fixed

  • Closes #671, PR #689: isBase64 function returning incorrect. Thanks to Jmky for the solution!

[7.2.0] - 2018-08-15

Added

[7.1.1] - 2018-08-15

Fixed

  • Closes #667, PR #668: isBase64 function fix. Thanks to Tigran M for bringing this to our attention!

[7.1.0] - 2018-08-14

Added

  • Closes #612, PR #652: Fixes #612 Add TypeException and include type validations in classes inside mail/. Thanks to James Harding for the PR!
  • Closes #551, PR #571: Add ability to impersonate subuser. Thanks to Stian Prestholdt for the PR!
  • Closes #617, PR #651: Add try / catch to examples. Thanks to James Harding for the PR!
  • Closes #619, PR #620: PHPDoc & code improvements. Thanks to Martijn Melchers for the PR!
  • Closes #610, PR #628: Removes unnecessary linter warning from phpcs. Thanks to James Harding for the PR!
  • Closes #608, PR #626: Add check so that getContents() always returns content with MimeType text/plain first in array of Content objects. Thanks to James Harding for the PR!
  • Closes #611, PR #618: Attachments now automatically get base64 encoded if they are not already. Thanks to Martijn Melchers for the PR!
  • PR #661: Add Code Triage tag. Thanks to Anshul Singhal for the PR!
  • PR #663: Improve Contributing.md readability. Thanks to Anshul Singhal for the PR!

Fixed

[7.0.0] - 2018-05-19

BREAKING CHANGE

Thanks to the strong support and feedback of the SendGrid PHP community, we have a new version of this SDK that should be a big improvement in the developer experience for this SDK.

In particular, I'd like to make special mention of @caseyw, @vitya1, @Braunson, @cbschuld, @paoga87, @Taluu, @mazanax, @ninsuo, @ianh2, @WadeShuler, @jaimehing, @KnightAR, @alextech (my apologies if I've missed you)

Since this is a major departure from v6.X, we advise you to refactor your code according to the documentation found in the README and USE_CASES files. We hope you find the new interface much easier to work with. Please open an issue or PR if you run into any trouble or have any feedback.

If you wish to continue using previous versions of this SDK, no problem. However, we will not be updating versions less than v7 except for critical bugs and/or security issues.

We hope this will be the last breaking change in the foreseeable future; that said, let the iterations begin!

[6.2.0] - 2018-03-28

Added

  • Closes #454, PR #502: Add helper for adding new recipients to your contactdb via a webform, thanks to Kraig Hufstedler for the PR!

  • Closes #487, PR #506: Add helper to get all stats from a specified data range, thanks to Milos Pejanovic for the PR!

  • Closes #368, PR #511: Add support for commas and semicolns in email name, thanks to Quentin Ligier for the PR!

  • Closes #491, PR [#493](sendgrid#493: Allow for setting attachment content from path, thanks to rparpa for the PR!

[6.1.0] - 2018-03-27

Added

  • PR #512: Omit PHP closing tag in use case sample, thanks to Sébastien Santoro for the PR!

  • PR #575: Add an example to the README.md describing how to send emails as HTML as the content type, thanks to Benjamin Manford for the PR!

  • Closes #547, PR #549: Added Code Review to Contributing.md, thanks to tomhorvat for the PR!

  • PR #565: Add PHP 7.1 and 7.2 to Travis build matrix, thanks to Emir Beganović for the PR!

  • PR #577: Update PHP Version terms, thanks to Siddhant Sharma for the PR!

  • Closes #540, PR #543: Feature/split unit tests, thanks to Owen Voke for the PR!

  • Closes #441, PR #467: Add deploy to heroku button, thanks to pangaunn for the PR!

  • Closes #423, PR #510: Adding Google App engine installation with composer instructions, thanks to Nalin Bhardwaj for the PR!

  • Closes #541, PR #542: Added CodeCov support, thanks to Owen Voke for the PR!

  • PR #539: Rename LICENSE.txt to md, thanks to Ankit Jain for the PR!

  • Closes #436, PR #535: Add docker development setup, thanks to Samundra Shrestha for the PR!

  • Closes #532, PR #537: Add license date range unit test, thanks to uppe-r for the PR!

  • Closes #533, PR #536: Add unit test to check that specific files exist in repo, thanks to Bertus Steenberg for the PR!

  • Closes #524, PR #527: Created code climate YML file, thanks to Prashu Chaudhary for the PR!

  • Closes #520, PR #523: Added sample env file, thanks to Joey Lee for the PR!

  • PR #519: Add github PR template, thanks to Alex for the PR!

  • PR #513: Update to PHP 7.0.0 refactor - Fix syntax error in refactor documentation, thanks to Sébastien Santoro for the PR!

  • PR #505: Update README.md with additional badges, thanks to Lalit Vijay for the PR!

  • Closes #500, PR #504: SEO Friendly Section links, thanks to Dharma Saputra for the PR!

  • PR #503: Added new badges to README.md, thanks to Alex for the PR!

  • Closes #492, PR #494: Demonstrate how to review the request body for troubleshooting, thanks to Alex for the PR!

  • PR #476: Update README.md with license information, thanks to Tarmo Leppänen for the PR!

  • PR #475: Add documentation for setting up domain whitelabel, thanks to Sourav Sarkar for the PR!

  • PR #468: Changes the recommendation to use composer as recommended source, thanks to Gabriela D'Ávila Ferrara for the PR!

  • PR #463: Add TROUBLESHOOTING.md section about fixing error 415, thanks to AlbinoDrought for the PR!

  • PR #456: Added Code of Conduct, thanks to Rubemlrm for the PR!

  • PR #439: Update to PHP 7.0.0 refactor - Removal of Collections, thanks to Joseph Opanel for the PR!

  • PR #416: Add release notifications, thanks to Gabriel Krell for the PR!

  • PR #415: Updated example.php to fix that there was no way for the sections to get substituted without their being a substitution that calls them, thanks to Kyle Roberts for the PR!

Fixed

  • PR #545: Fix typo CONTRIBUTING.md, thanks to thepriefy for the PR!

  • PR #588: Fix broken unit tests

  • PR #576: API level addressing of the string-only in addSubstitution arg rule. Every long integer triggers a bad request, thanks to Ezequiel Villarreal for the PR!

  • PR #517: Fix typos in USAGE.md, thanks to Anatoly for the PR!

  • PR #530: Changed the license period., thanks to Siddhant Sharma for the PR!

  • PR #514: Don't close img tag in HTML, thanks to Sébastien Santoro for the PR!

  • PR #507: Fix typos in various files, thanks to Brandon Smith for the PR!

  • Fixes #336, PR #479: Incorrect documentation path fixed, thanks to Valerian Pereira for the PR!

  • PR #465: Fix typo in README.md, thanks to shra1cumar for the PR!

  • PR #449: Fix typos in USAGE.md, thanks to Cícero Pablo for the PR!

  • PR #448: Fix typos in TROUBLESHOOTING.md, thanks to Cícero Pablo for the PR!

  • PR #435: Change spam_report() to spam_reports() in documentation and examples, thanks to mrmxs for the PR!

  • PR #431: Fixed minor typo during Mail creation, thanks to joeldixon66 for the PR!

[6.0.0] - 2017-06-30

BREAKING CHANGE

  • PR #408: Update Mail constructor to signify which parameters are required for sending all email
  • The Mail() constructor now requires $from, $subject, $to and $content parameters like so: Mail($from, $subject, $to, $content). Those are the minimally required parameters to send an email.
  • Thanks to Casey Wilson for the PR!

[5.6.2] - 2017-06-29

Fix

  • PR #410: Adding name for ReplyTo for issue #390
  • Thanks to Casey Wilson for the PR!

[5.6.1] - 2017-06-26

Fix

  • Versioning mistake (forgot the .0 at the end)

[5.6.0] - 2017-06-26

Added

  • Pull #405: Updating docs and non-composer includes
  • Thanks to Casey Wilson for the PR!

[5.5.1] - 2017-05-18

Fixed

  • Pull #396: Use print_r instead of echo on Arrays
  • Thanks to Ryan P.C. McQuen for the PR!

[5.5.0] - 2017-05-04

Added

  • Pull #393: Update php-http-client dependency
  • v3.6: Pass the curlOptions to the client in buildClient
  • v3.7: Added ability to get headers as associative array

[5.4.2] - 2017-04-18

Fixes

  • Fixes #292
  • Removes Prism file in sendgrid-php.zip

[5.4.1] - 2017-04-04

Added

  • Pull #373
  • PSR1 & PSR2 Conversion
  • Thanks to Braunson Yager for the PR!

[5.4.0] - 2017-03-16

Added

  • Pull #337
  • API level addressing of the string-only custom arg rule
  • Thanks to Chris Schuld for the PR!

[5.3.0] - 2017-03-15

Added

  • Pull #367
  • UTF8 encoding forced for content value and message subject
  • Thanks to Chris Schuld for the PR!

[5.2.3] - 2017-03-03

Fixed

  • Pull #334
  • Fixed serialization of empty JSON objects, fixes #332 & #314
  • Thanks to Matthew Dreyer for the PR!

[5.2.2] - 2017-03-03

Fixed

  • Pull #323
  • Typo 'user' for 'usr'
  • Thanks to Mike Ralphson for the PR!

[5.2.1] - 2017-03-01

Fixed

[5.2.0] - 2017-02-23

Added

  • Pull #346
  • Allow passing curlOptions to the client
  • Thanks to Taluu for the PR!

[5.1.2] - 2016-10-11

Added

  • Pull #330, Fixes #320
  • Delete subaccounts returns 200 issue resolved
  • The fix happened at the php-http-client dependency.
  • Thanks to emil for the PR!

[5.1.1] - 2016-10-11

Added

  • Pull #307, Fixes #276
  • Adds phpdoc and style fixes
  • Thanks to Avishkar Autar for the PR!

[5.1.0] - 2016-09-29

Fixed

[5.0.9] - 2016-09-13

Fixed

[5.0.8] - 2016-08-24

Added

  • Table of Contents in the README
  • Added a USE_CASES.md section, with the first use case example for transactional templates

[5.0.7] - 2016-07-25

Added

[5.0.6] - 2016-07-20

Added

  • README updates
  • Update introduction blurb to include information regarding our forward path
  • Update the v3 /mail/send example to include non-helper usage
  • Update the generic v3 example to include non-fluent interface usage

[5.0.5] - 2016-07-12

Added

  • Update docs, unit tests and examples to include Sender ID

[5.0.4] - 2016-07-07

Added

  • Tests now mocked automatically against prism

[5.0.3] - 2016-07-05

Updated

[5.0.2] - 2016-07-05

Added

Updated

[5.0.1] - 2016-06-17

Fixed

  • Issue with packaged version for non-composer uses

[5.0.0] - 2016-06-13

Added

  • Breaking change to support the v3 Web API
  • New HTTP client
  • v3 Mail Send helper

[v4.0.4] - (2016-02-18)

Added

  • Ability to add scopes to API Keys endpoint [POST]

[v4.0.3] - (2016-02-18)

Added

  • API Keys endpoint [PUT]

[v4.0.2] - (2015-12-15)

Added

  • Tests for API Keys endpoint [POST, PATCH, DELETE]

[v4.0.1] - (2015-12-03)

Fixed

  • HTTP 406 Not Acceptable Errors #177

[v4.0.0] - (2015-10-16)

Added

[v3.2.0] - (2015-05-13)

Added

  • Specify Guzzle proxy via #149
  • Option to disable exception raising

[v3.1.0] - (2015-04-27)

Added

  • Support for API keys

[v3.0.0] - (2015-04-14)

Fixed

  • CC and BCC not working with SMTPAPI To

Changed

  • Breaking: A \SendGrid\Exception is now raised when response is not 200
  • Breaking: addTo now uses the Web API parameter as opposed to the SMTPAPI Header. Substitutions will most likely break unless you update to use addSmtpapiTo
  • The library now depends on Guzzle3
  • Major refactoring

Added

  • Breaking: send() now returns an instance of \SendGrid\Response
  • Numerous missing methods for new functionality
  • addSmtpapiTo for using the SMTPAPI To

[v2.2.1] - (2014-01-29)

Fixed

  • Fix turn_off_ssl_verification option via #123

[v2.2.0] - (2014-01-12)

Changed

  • Remove Unirest and replace with native cURL
  • Add CHANGELOG.md