2017-03-26 18:28:24 +03:00
|
|
|
# Change Log
|
|
|
|
|
2019-01-06 10:05:56 +03:00
|
|
|
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
|
2022-09-19 23:04:54 +03:00
|
|
|
## 3.5.5
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
- Cast integer values to string for sending multipart data
|
|
|
|
|
2022-08-25 22:56:08 +03:00
|
|
|
## 3.5.4
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- Added ability to make own API request to needed endpoint
|
2019-01-06 10:05:56 +03:00
|
|
|
|
2022-08-19 18:36:24 +03:00
|
|
|
## 3.5.3
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Ability to update web_scheme for domain
|
|
|
|
- `http` or `https` - set your open, click and unsubscribe URLs to use http or https. The default is http
|
|
|
|
|
2022-06-14 00:38:10 +03:00
|
|
|
## 3.5.1
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Error with empty array for param recipient-variables. Fix was suggested by @deviarte
|
|
|
|
- Use null coalescing operator in IndexResponse.php when. Fix proposed by @TWithers
|
|
|
|
|
2021-03-08 10:26:11 +03:00
|
|
|
## 3.5.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Support for new webhook endpoints (#609 by @svenbw & #749 by @Nyholm)
|
|
|
|
|
2021-03-01 00:32:26 +03:00
|
|
|
## 3.4.1
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix double urlencoding (#747 by @uavn)
|
|
|
|
|
2021-02-01 19:10:52 +03:00
|
|
|
## 3.4.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Email Validation (#726 by @uavn)
|
|
|
|
- Please note the Email Validation requires **always** to use the US servers. The Mailgun Team didn't enable this service on the European endpoints.
|
2021-01-30 09:39:30 +03:00
|
|
|
|
2021-01-30 14:47:39 +03:00
|
|
|
## 3.3.0
|
|
|
|
|
2021-01-30 09:39:30 +03:00
|
|
|
### Added
|
|
|
|
|
2021-01-30 14:47:39 +03:00
|
|
|
- Support for PHP 8 (#727 by @DavidGarciaCat)
|
|
|
|
- Added `opened`, `clicked`, `unsubscribed` and `stored` to the `TotalResponseItem` (#739 by @Arkitecht)
|
2021-01-30 09:39:30 +03:00
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
|
|
|
- Support for PHP 7.1 and 7.2 as they both have reached their end of life
|
|
|
|
|
2020-11-25 10:33:50 +03:00
|
|
|
## 3.2.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Domain tracking implementation (#711 by @uavn)
|
|
|
|
- Mailing list validation (#712 by @uavn)
|
|
|
|
- Suppression Whitelists (#713 by @uavn)
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Added pagination to tags (#717 by @uavn)
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Expect Client to be of type ClientInterface or PluginClient (#660 by @tonythomas01)
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
## 3.1.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Suppressions allow now deleting an address passing an optional tag (#643 by @iwahara)
|
|
|
|
- Allow both `^1.0` and `^2.0` for `php-http/guzzle6-adapter` (#680 by @boboldehampsink)
|
|
|
|
- Add support for Mailing List `reply_preference` parameter (#684 by @twoonesixdigital)
|
|
|
|
- Add support for `Force DKIM Authority` when creating a Domain (#686 by @Tiboonn)
|
|
|
|
- Add support for PHP 7.4 (#698 by @snapshotpl)
|
|
|
|
- Allow assigning a domain to a list of ips during creation (#703 by @josephshanak)
|
|
|
|
- Add unmapped `log-level` property for Events (#704 by @uavn)
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Provide the Member's name just when it's not `null` (#639 by @indapublic)
|
|
|
|
- Fix typehint for Message `ShowResponse::getContentIdMap()` (#664 by @lvdhoorn)
|
|
|
|
- Fix endpoint for Domain's API (#668 by @tomschlick)
|
|
|
|
- Webhook support for array handling (#675 by @martin-sanjuan)
|
|
|
|
- Fix parameter name when assigning an IP to the specified Domain (#702 by @josephshanak)
|
|
|
|
- `Ip::index()` now returns all IPs instead of the shared IPs (#707 by @josephshanak)
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Updated examples for Debugging and Hydrator usage (#634 by @tonybolzan and #681 by @Jiia)
|
|
|
|
- Updated link to the Mailgun Documentation page (#688 by @Casmo)
|
|
|
|
- Remove deprecated Laravel package due to it is archived (#695 by @tomschlick)
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
|
|
|
- Remove method for non-existing Stats URL (#705 by @uavn)
|
|
|
|
|
2019-09-13 23:07:22 +03:00
|
|
|
## 3.0.0
|
2019-01-10 19:33:11 +03:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Support for PSR-4
|
2020-10-08 14:39:32 +03:00
|
|
|
- All classes `Mailgun\Model` are final or abstract.
|
2019-01-10 19:33:11 +03:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Dropped PHP5 support
|
|
|
|
- Removed deprecated code
|
|
|
|
- Moved `RequestBuilder` and `HttpClientConfigurator` to `Mailgun\HttpClient` namespace
|
|
|
|
- Updated signature of `Mailgun::__construct()`
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
- Dependency on `php-http/message`.
|
2019-09-13 23:07:22 +03:00
|
|
|
|
2019-02-02 10:30:58 +03:00
|
|
|
## 2.8.1
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Added missing method to use all Mailing List and Ip features.
|
|
|
|
|
2019-01-06 10:05:56 +03:00
|
|
|
## 2.8.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add support for IPs endpoints
|
|
|
|
- Add spport for Mailing Lists
|
|
|
|
- Add `complaints` to Stats / Total Response
|
|
|
|
- Add more tests for our models
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Change the PHP Exception message for Bad Request errors to help to find the issue
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix an issue validating the max path length
|
2017-03-26 18:28:24 +03:00
|
|
|
|
2019-01-05 10:24:22 +03:00
|
|
|
## 2.7.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Allow to set the Mailgun server when instantiating the Mailgun's client: `$mailgun = Mailgun::create('key', 'server');`
|
|
|
|
- Add new PHPUnit tests for our models
|
|
|
|
- Add new PHPUnit tests for our API
|
2019-02-13 00:23:05 +03:00
|
|
|
- Added `Mailgun\Api\Attachment`
|
2019-01-05 10:54:09 +03:00
|
|
|
- Fluent interface for `MessageBuilder` and `BatchMessage`
|
2019-01-05 11:10:36 +03:00
|
|
|
- Support for HTTPlug 2.0
|
2019-01-05 10:54:09 +03:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
- Second argument to `Mailgun\Message\MessageBuilder::addBccRecipient()` is now optional.
|
2019-01-05 10:54:09 +03:00
|
|
|
- We try to close open resources
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
- Fixed the type error when creating tags.
|
2019-01-05 10:24:22 +03:00
|
|
|
|
|
|
|
## 2.6.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Ported MessageBuilder and BatchMessage #472
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Cast campaign IDs to string #460
|
|
|
|
- Suggest packages used on Dev #440
|
|
|
|
|
2018-04-08 13:19:00 +03:00
|
|
|
## 2.5.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Support for 413 HTTP status codes, when we send too large payloads to the API
|
|
|
|
|
2018-02-02 01:51:41 +03:00
|
|
|
## 2.4.1
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add new `Suppressions::getTotalCount()` method
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Apply fixes from StyleCI
|
|
|
|
- Updated `README.md` file
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix `Tags` on `Unsubscribe`
|
|
|
|
- Fix typo on `Mailgun\Exception\HttpServerException`
|
|
|
|
|
2017-12-07 23:54:34 +03:00
|
|
|
## 2.4.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add cached property for DNS record
|
|
|
|
- Add domain verification
|
|
|
|
- `HttpClientException::getResponseCode()`
|
2020-10-08 14:39:32 +03:00
|
|
|
- Added `AbstractDomainResponse` that `VerifyResponse` and `CreateResponse` extends.
|
2017-12-07 23:54:34 +03:00
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Possible empty content of `WebhookIndexResponse`.
|
2020-10-08 14:39:32 +03:00
|
|
|
- Typo in `TotalResponse` that caused the content to be empty.
|
2017-12-07 23:54:34 +03:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
- Allow some parameters to `Domain::create` to be optional.
|
2017-12-07 23:54:34 +03:00
|
|
|
|
|
|
|
## 2.3.4
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Typo in DnsRecord::isValid. This make sure the correct result of the function is returned.
|
|
|
|
|
2017-06-03 11:39:37 +03:00
|
|
|
## 2.3.3
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Using stable version of `php-http/multipart-stream-builder`
|
|
|
|
- Improved tests
|
|
|
|
|
2017-05-16 16:20:33 +03:00
|
|
|
## 2.3.2
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
- When parsing an address in `MessageBuilder` we surround the recipient name with double quotes instead of single quotes.
|
2017-05-16 16:20:33 +03:00
|
|
|
|
|
|
|
## 2.3.1
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Make sure to reset the `MultipartStreamBuilder` after a stream is built.
|
|
|
|
|
2017-04-14 12:15:08 +03:00
|
|
|
## 2.3.0
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Support for sending messages with Mime. `$mailgun->messages()->sendMime()`
|
|
|
|
|
2017-04-08 12:52:19 +03:00
|
|
|
## 2.2.0
|
2017-03-26 18:28:24 +03:00
|
|
|
|
|
|
|
This version contains a new way of using the API. Each endpoint return a domain object and the
|
2020-10-08 14:39:32 +03:00
|
|
|
endpoints are grouped like the API documentation.
|
2017-03-26 18:28:24 +03:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Api classes in Mailgun\Api\*
|
|
|
|
- Api models/responses in Mailgun\Model\*
|
2020-10-08 14:39:32 +03:00
|
|
|
- Added Hydrators to hydrate PSR-7 responses to arrays or domain objects.
|
2017-03-26 18:28:24 +03:00
|
|
|
- All exceptions extend `Mailgun\Exception`.
|
|
|
|
- New exceptions in `Mailgun\Exception` namespace.
|
2020-10-08 14:39:32 +03:00
|
|
|
- Added `HttpClientConfigurator` to configure the HTTP client.
|
2017-03-26 18:28:24 +03:00
|
|
|
- Added HttpClient plugins `History` and `ReplaceUriPlugin`
|
2020-10-08 14:39:32 +03:00
|
|
|
- Assertions with Webmozart\Assert
|
2017-03-26 18:28:24 +03:00
|
|
|
- `Mailgun\Mailgun::getLastResponse()`
|
|
|
|
- `Mailgun\Connection\RestClient::getAttachment($url)`
|
|
|
|
- Clear license information
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
2020-10-08 14:39:32 +03:00
|
|
|
- Fix disordered POST parameters. We do not use array syntax.
|
2017-03-26 18:28:24 +03:00
|
|
|
- Code styles
|
|
|
|
|
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
The following classes will be removed in version 3.0.
|
|
|
|
|
|
|
|
- `Mailgun\Connection\Exceptions\GenericHTTPError`
|
|
|
|
- `Mailgun\Connection\Exceptions\InvalidCredentials`
|
|
|
|
- `Mailgun\Connection\Exceptions\MissingEndpoint`
|
|
|
|
- `Mailgun\Connection\Exceptions\MissingRequiredParameters`
|
|
|
|
- `Mailgun\Connection\Exceptions\NoDomainsConfigured`
|
|
|
|
- `Mailgun\Connection\RestClient`
|
|
|
|
- `Mailgun\Constants\Api`
|
|
|
|
- `Mailgun\Constants\ExceptionMessages`
|
|
|
|
- `Mailgun\Mailgun::$resetClient`
|
|
|
|
- `Mailgun\Mailgun::sendMessage()`
|
|
|
|
- `Mailgun\Mailgun::verifyWebhookSignature()`
|
|
|
|
- `Mailgun\Mailgun::post()`
|
|
|
|
- `Mailgun\Mailgun::get()`
|
|
|
|
- `Mailgun\Mailgun::delete()`
|
|
|
|
- `Mailgun\Mailgun::put()`
|
|
|
|
- `Mailgun\Mailgun::setApiVersion()`
|
|
|
|
- `Mailgun\Mailgun::setSslEnabled()`
|
|
|
|
- `Mailgun\Mailgun::MessageBuilder()`
|
|
|
|
- `Mailgun\Mailgun::OptInHandler()`
|
|
|
|
- `Mailgun\Mailgun::BatchMessage()`
|
|
|
|
|
|
|
|
## 2.1.2
|
|
|
|
|
|
|
|
- Bug fixes with multiple recipients, inline images and attachments.
|
|
|
|
- Added more tests
|
|
|
|
- Using PSR-2 code style
|
|
|
|
|
|
|
|
## 2.1.1
|
|
|
|
|
|
|
|
- Require php-http/message (#142)
|
|
|
|
- Declare BatchMessage::endpointUrl (#112)
|
|
|
|
|
|
|
|
## 2.1.0
|
|
|
|
|
|
|
|
- Strict comparison of hash (#117)
|
|
|
|
- No dependency on Guzzle/PSR7 (#139)
|
|
|
|
- Build URL string form an array (#138)
|
|
|
|
- Docblock update (#134)
|
|
|
|
- Minor fixes (#90, #121, #98)
|
|
|
|
|
|
|
|
## 2.0
|
|
|
|
|
|
|
|
- Migrated to PHP-HTTP (#94)
|
|
|
|
- Dropped support for PHP 5.4.
|
|
|
|
|
|
|
|
## 1.8.0
|
|
|
|
|
|
|
|
- Updated to Guzzle5 (#79)
|
|
|
|
- Updated default API version from v2 to v3 (#75)
|
|
|
|
- Show response message on 400, 401 and 404. (#72)
|
|
|
|
- PHP DocBlocks, Constants Changes, and Minor Refactors (#66)
|
|
|
|
- Added PHP 7.0 support for Travis-CI, removed PHP 5.3 support (#79)
|
|
|
|
|
|
|
|
## 1.7.2
|
|
|
|
|
|
|
|
- Added webhook signature verification - (#50)
|
|
|
|
- Test PHP 5.6 and HHVM - (#51)
|
|
|
|
- Improved error handling - (#48)
|
|
|
|
- Fixed attachment handling in Message Builder - (#56)
|
|
|
|
- Allow any data type in custom data - (#57)
|
|
|
|
- Return non-JSON response data - (#60)
|
|
|
|
- Removed legacy closing braces - (#64)
|
|
|
|
|
|
|
|
## 1.7.1
|
|
|
|
|
|
|
|
- Improved security of OptInHandler - (#31)
|
|
|
|
- Fixed typo for including an Exception - (#41)
|
|
|
|
- Fixed Mocks, removed unnecessary code, applied styling - (#44 & #42)
|
|
|
|
- Less restrictive Guzzle requirement - (#45)
|
|
|
|
|
2014-01-31 04:48:41 +04:00
|
|
|
## 1.7 (2014-1-30)
|
|
|
|
|
|
|
|
Bugfixes:
|
|
|
|
- patched bug for attachments related to duplicate aggregator bug in Guzzle (#32 @travelton)
|
|
|
|
|
2014-01-14 02:53:34 +04:00
|
|
|
## 1.6 (2014-1-13)
|
|
|
|
|
|
|
|
Enhancement:
|
|
|
|
- adjust file attachment/inline name (#21 @travelton)
|
|
|
|
|
2014-01-14 04:43:29 +04:00
|
|
|
Bugfixes:
|
|
|
|
- fixed issue with unordered route actions (#23 @travelton)
|
|
|
|
|
2014-01-14 02:53:34 +04:00
|
|
|
## 1.5 (2013-12-13)
|
|
|
|
|
|
|
|
Enhancement:
|
|
|
|
- added ability to define non-https endpoint for debugging purposes (#23 @travelton)
|
|
|
|
|
2013-10-17 00:52:02 +04:00
|
|
|
## 1.4 (2013-10-16)
|
|
|
|
|
|
|
|
Bugfixes:
|
|
|
|
- template IDs were missing from recipient-variables (#15 @travelton)
|
|
|
|
- batch jobs trigger on to, cc, and bcc (#18 @travelton)
|
|
|
|
- batch jobs include recipient-variables for to, cc, and bcc (#18 @travelton)
|
|
|
|
- added method to return message-ids, for easier access (#19 @travelton)
|
|
|
|
|
2013-10-02 22:17:16 +04:00
|
|
|
## 1.3 (2013-09-12)
|
|
|
|
|
|
|
|
Bugfixes:
|
2020-10-08 14:39:32 +03:00
|
|
|
|
2013-10-02 22:17:16 +04:00
|
|
|
- relaxed Guzzle requirement (#7 @travelton)
|
|
|
|
- fixed reply-to bug (#9 @travelton)
|
|
|
|
|
|
|
|
## 1.2 (2013-09-05)
|
|
|
|
|
|
|
|
Bugfixes:
|
|
|
|
|
|
|
|
- fixed exception handling constants (@travelton)
|
|
|
|
- fixed MessageBuilder $baseAddress return (#1 @yoye)
|
|
|
|
- adjusted scope of recipient-variables (#3 @yoye)
|
|
|
|
- fixed misspellings of Exceptions (#2 @dboggus)
|
|
|
|
- undefined DEFAULT_TIME_ZONE (#4 @yoye)
|
|
|
|
- added message IDs to return for BatchMessage (@travelton)
|
|
|
|
|
|
|
|
## 1.1 (2013-08-21)
|
|
|
|
|
2013-10-17 00:52:02 +04:00
|
|
|
Initial Release!
|