This release contains a major milestone where all the code is now under the
\Vonage namespace! Do not worry though, any existing code using the
\Nexmo namespace will still continue to work thanks to a new
vonage/nexmo-bridge package which will translate between the two namespaces. The next time you update your Nexmo client to this or any subsequent 2.x releases, your code will continue to work with no changes.
It is recommended to start using the
\Vonage namespace in any new code you create, but even new features added (like our PSD2 feature in this release) will work under either namespace. Developers will be able to update at their own pace.
vonage/nexmo-bridgeas a dependency so
\Nexmonamespaced code works with the new
\Vonage\Client\APIResourcecan now specify headers for individual requests
\Vonagefor all classes, interfaces, and traits