This release focuses on deprecation of dead and old code, and preps many internal changes in regards to v3.0.0. Where possible upcoming v3.0.0 changes were backported where backward-compatibility could be maintained.
Nexmo\Client"show_deprecations" config option. This can help devs update in preparation in v3.0.0, and will be utilized in the future as things are deprecated.
toArray()serialization method, to discourage direct use of
Nexmo\Client\Factory\MapFactoryis now PSR-11 compliant, and can use factories
Nexmo\Verify\Requestfor starting new Verification requests
For a detailed list of things that may impact an application, enable the
Nexmo\Client option to see deprecation notices for specific code flows.
$client->messages($filter)to search has been deprecated in favor of bespoke search methods
Nexmo\Verify\Verificationobjects full functionality has been deprecated, and will be used only as a value object for search requests in the future
Nexmo\Userhave been deprecated and will be removed in the future as the feature is in Beta status and has diverged from this implementation
Nexmo\Voice\Messagehave been deprecated and will be removed in the future as the TTS API is deprecated
Nexmo\Client\Exception\ThrottleExceptionand has been implemented in SMS and the Numbers API
Nexmo\SMS\Client::send()as it now returns a fully hydrated collection object as a response, however this needs to be updated in Laravel itself via an update to
Nexmo\SMS\Client::send()as it now returns a fully hydrated collection object that is much more up-front it is not a single object