turtle-wow-source-kinda/Dumps/Source Code/9 - Development_website_old/master/api/sendgrid-php/CHANGELOG.md
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

21 KiB

Change Log

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

This project adheres to Semantic Versioning.

[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 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 problam. 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

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

[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