Skip to content

Releases: sendgrid/sendgrid-php

v7.0.0

19 May 16:42
Compare
Choose a tag to compare

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 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!

v6.2.0

29 Mar 00:09
Compare
Choose a tag to compare

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 semicolons in email name, thanks to Quentin Ligier for the PR!

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

v6.1.0

27 Mar 22:56
Compare
Choose a tag to compare

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 unittest 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 substition 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!

v6.0.0

01 Jul 04:31
Compare
Choose a tag to compare

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 minimaly required paramaters to send an email.
  • Thanks to Casey Wilson for the PR!

v5.6.2

30 Jun 04:49
Compare
Choose a tag to compare

Fix

v5.6.1

27 Jun 03:25
Compare
Choose a tag to compare

Fix

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

v5.6.0

27 Jun 03:19
Compare
Choose a tag to compare

Added

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

v5.5.1

18 May 16:36
Compare
Choose a tag to compare

Fixed

v5.5.0

05 May 06:32
Compare
Choose a tag to compare

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

v5.4.2

18 Apr 16:28
Compare
Choose a tag to compare

Fixes

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