Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

v2.6.0

Choose a tag to compare

@dragonmantank dragonmantank released this 18 Nov 19:46
· 24 commits to master since this release
1f3cf17

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