Releases: Vonage/vonage-php-sdk-core
4.0.7
This release fixes the authorisation handling for the Account API by introducing the new BasicQueryHandler()
What's Changed
- added missing query string auth, add to account api by @SecondeJK in #372
Full Changelog: 4.0.6...4.0.7
4.0.6
This release is a hotfix for the GSM-7 detection, which contained an incorrect regex.
What's Changed
- Bug/missing square bracket escape gsm7 by @SecondeJK in #367
Full Changelog: 4.0.5...4.0.6
4.0.5
This patch fixes the incorrectly assigned AuthHandlers for the MessagesAPI. The behaviour now is that it will look for a KeyPair object, then use Basic in that order. If the Handler can't find the right auth, the exception will be thrown as before.
We also have new behaviour for incoming SMS webhooks that determine what entity it is (this is if you have configured both callback URLs from the Vonage Dashboard to point to the same route). If there is no text field present, it's a DeliveryReciept. If all other fields match the map, it's an IncomingSMS.
What's Changed
- Change logic to look for the text field to determine the type of webhook by @SecondeJK in #364
- Fix Messages AuthHandler by @SecondeJK in #366
Full Changelog: 4.0.4...4.0.5
4.0.4
This release fixes both a composer InstalledVersions bug and a bug in the new AuthHandler interfaces.
What's Changed
- Changed authhandler to use array by @dragonmantank in #361
- Fix class name to identify client version by @FROXZ in #362
- Fixed composer home page link by @FROXZ in #363
New Contributors
Full Changelog: 4.0.3...4.0.4
4.0.3
This release moves the isGsm7()
method into a static one so that developers can make use of it.
What's Changed
- Move isGsm7 to static for other libraries by @SecondeJK in #359
Full Changelog: 4.0.2...4.0.3
4.0.2
This patch removes the requirement for the deprecated Composer Versions package as the Composer Runtime Environment is now used. Also a community shout out to @ankurk91 for removing the need for the php json ext in PHP8 as it's become default to include it.
What's Changed
- Bump unused package versions by @SecondeJK in #354
- remove ext-json from composer.json by @ankurk91 in #353
Full Changelog: 4.0.0...4.0.2
4.0.0
Description
This is the next major release, that contains these major points of note:
- This requires PHP8.0. Anything earlier is now EOL
- The
message
client (which uses the Vonage SMS API) has been marked as deprecated since 2.6.0. It has been removed. Please use the SMS client instead. - The resulting minimum requirement for PHP8.0 resulted in a RectorPHP refactor to introduce code improvements such as constructor property promotion
- There is now a change to SMS handling - you will receive warnings if you choose the wrong encoding type for what you are sending as your message type.
text
i.e. GSM-7 is now the default encoding type. - More chunks of internals have been removed. Please note that the secrets handling in the Account API has been moved to it's own client.
What's Changed
- Introduction of Auth Handlers per API client by @SecondeJK in #344
- Feature/php 8 refactor 2 by @SecondeJK in #343
- security bump for laminas by @SecondeJK in #341
- GSM-7 warning handling for users by @SecondeJK in #351
Full Changelog: 3.1.6...4.0.0
3.1.6
This release contains a number of minor bug fixes and enhancements, with its main purpose to fix Laravel builds of PHP8.2 by suppressing deprecations within PHPUnit.
What's Changed
- Enhancements/fixes for video by @dragonmantank in #333
- Feature/detect unicode mismatch by @SecondeJK in #336
- Adds patch support to the APIResource layer by @dragonmantank in #339
- added missing optional client ref to delivery webhook by @SecondeJK in #342
- Delete phpunit.xml.dist.bak by @szepeviktor in #332
- PHP 8.2 build by @driesvints in #349
- Prevented nesting array values by @ash-jc-allen in #347
- Add separator to exception messages by @ash-jc-allen in #346
New Contributors
- @szepeviktor made their first contribution in #332
- @ash-jc-allen made their first contribution in #347
Full Changelog: 3.1.5...3.1.6
3.1.5
Description
This release corrects documentation in several places to make it more accurate.
What's Changed
- Clarify that the
/check
endpoint is really thecheck()
method by @derickr in #335 - Consistently use http://example.com/webhooks/ as base for callbacks by @derickr in #334
- remove outdated docs by @SecondeJK in #331
New Contributors
Thanks Derick! Support the PHP Foundation, you can fund their work here: https://opencollective.com/phpfoundation
Full Changelog: 3.1.4...3.1.5
3.1.4
What's Changed
- Add Pay NCCO by @SecondeJK in #330
You can now use the pay action as documented in the NCCO Pay Voice Documentation
Full Changelog: 3.1.3...3.1.4