Releases: Vonage/vonage-php-sdk-core
4.0.11
This routine patch release is to primarily remove unsupported Message types in the Message API (as these are no longer available on the Vonage API, they are technically not a backwards-compatible breaking change). There are also some new types of Message supported, notably ViberVideo.
What's Changed
- Remove unsupported message types by @SecondeJK in #385
- New Message Types by @SecondeJK in #388
- Add type to possibleParameters for Number context by @stronglab in #390
New Contributors
- @stronglab made their first contribution in #390
Full Changelog: 4.0.10...4.0.11
4.0.10
This PR has an important behaviour change for sending SMS:
You will now not longer receive a PHP warning if you try and send a GSM-7 charset as Unicode.
You -will- get a logged warning (if you have set a PSR-3 compatible logger when creating the client) if you try and send a unicode charset text that could be set to GSM-7.
We do not want to stop you sending a message - it's your choice what encoding you want to use, but we will warn you if not correct.
GSM-7 is still the default, since unicode creates longer SMS messages that cost more.
What's Changed
- Fix auth handler for Numbers - autoclosed by @SecondeJK in #383
- Change warning to logger for GSM-7 by @SecondeJK in #382
Full Changelog: 4.0.9...4.0.10
4.0.9
This patch fixes the Basic Auth query handler which was overwriting existing query parameters when adding Auth.
It also contains a one line fix for a bug left in #379.
What's Changed
- Forgot to add return value to request by @SecondeJK in #380
Full Changelog: 4.0.8...4.0.9
4.0.8
This is a periodic patch to ship some improvements: the most important being a fix for Clients that use the IterableAPI Collection. This is an internal change. The other important aspect to note with this release is the introduction of deprecation notices for the PayNCCO. This feature will be deleted in a future major release, as it is being removed from Vonage APIs.
What's Changed
- Deprecate Pay NCCO by @SecondeJK in #377
- Fix Voice Webhook Typo by @SecondeJK in #378
- Fix IterableAPICollection Auth Handling by @SecondeJK in #379
Full Changelog: 4.0.7...4.0.8
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