This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
Releases: Nexmo/nexmo-php
Releases · Nexmo/nexmo-php
v2.9.2
v2.9.1
2.9.1
Fixed
- Vonage#282 - SMS Throttling response is now handled as milliseconds instead of seconds
- Vonage#282 - Fixed regex to not consume API rate limiting error and basically time out PHP scripts
v2.9.0
v2.8.1
2.8.1
Fixed
- Vonage#278 - Fixed issue retrieving Conversations and Users clients where the service locator didn't know what to do
Changed
- Vonage#283 - Moved auth logic to individual handlers, to better prepare for a fix where Containers do not allow Signature and Token auth
v2.8.0
Added
- Vonage#272 - Added support for PSR-3 compatible logging solutions and a new debug feature to log requests/responses
- Vonage#274 - Added support for the
detail
field on some new Voice API incoming events (https://developer.nexmo.com/voice/voice-api/webhook-reference#event-webhook) - Vonage#273 - Added new
content-id
andentity-id
fields to support regional SMS requirements, and a shortcut for enabling DLT on Indian-based SMS
v2.7.1
Changed
- Use the actual Guzzle package version to determine of 6 or 7 is in the project
v2.7.0 - PHP 8 Support
2.7.0
Added
- Added PHP 8 Support
v2.6.0
2.6.0
Don't be scared off by this large release! Most of it is under-the-hood syntax cleanup. Thank you to everyone during Hacktoberfest for the cleanup and help with the SDK!
The big addition was we added support for VAPI Language and Style (https://developer.nexmo.com/voice/voice-api/guides/text-to-speech), and fixed a bug when manually setting the Verify code length.
As a reminder, this library has entered maintenance support, so please begin your migration to vonage/client
or vonage/client-core
as soon as possible.
Added
- Added support for Language and Style for NCCO Talk action
Changed
- Dropped support for PHPUnit 7
- Added missing PHPDoc blocks
- Added missing return type hints
- Replaced qualifiers with imports
- Updated and optimized examples
- Applied multiple code optimizations (especially for PHP 7.2+) and simplified some logic
- Updated code styling to match PSR standards
- Re-ordered imports where necessary
- Updated tests to get rid of deprecation messages
- Fixed namespace declarations in tests
- Updated code style to PSR-12
- Updated phpunit.xml.dist
- Added Roave Security Advisories as dev-requirement to prevent usage of packages with known security vulnerabilities
- Replaced estahn/phpunit-json-assertions with martin-helmich/phpunit-json-assert due do compatibility issues with PHPUnit
- Removed test build for PHP 7.1 in .travis.yml
- Added missing punctuation in CONTRIBUTING.md
- Updated contact email address in CODE_OF_CONDUCT.md
Deprecated
- Deprecated use of VoiceName for NCCO Talk action
Fixed
- Fixed namespaces (Zend => Laminas, Nexmo => Vonage)
- Fixed condition in Verify\Request::setCodeLength
- Fixed typos and some wording in README.md
Removed
- Removed
examples/
directory as the code snippets repo is much more up-to-date
v2.5.0
2.5.0
Changed
- Swapped out
ocramius/package-versions
forcomposer/package-versions-deprecated
to work with Composer 2
v2.4.1
2.4.1
Changed
- Vonage#256 - Added support for PHPUnit 8
Fixed
- Vonage#253, Vonage#254 - Fixed some typos in the README
- Vonage#255 -
\Vonage\Numbers\Client::searchAvailable()
now correctly handles filters usingFilterInterface