This is the final planned 4.x release. It introduces no breaking changes, but marks a large
number of APIs, classes, and methods as deprecated ahead of the 5.0.0 release. Every deprecated
path now emits an E_USER_DEPRECATED runtime warning in addition to a @deprecated docblock, so
you can identify and update affected code before upgrading.
Added
UPGRADE-5.0.md— a full upgrade guide documenting every breaking change planned for5.0.0
Deprecated
- APIs being sunset/removed in
5.0:Vonage\Meetings\Client,Vonage\ProactiveConnect\Client,
Vonage\SimSwap\Client, andVonage\NumberVerification\Client - Credentials:
Vonage\Client\Credentials\Gnpand its GNP auth handlers
(GnpKeypairHandler,SimSwapGnpHandler,NumberVerificationGnpHandler), plus the previously
deprecatedBasicQueryHandler,TokenBodyHandler, andTokenQueryHandler Vonage\Client\Credentials\Keypair::getKey()— usegetKeyRaw()insteadVonage\Clientmethods:send(),generateJwt()(useVonage\JWT\TokenGenerator),
get(),post(),put(),delete(),postUrlEncoded(),signRequest(),authRequest(),
serialize(), andunserialize()— useAPIResourcedirectly for HTTP requestsgetAPIResource()/getApiResource()on all module clients (Account, Application,
Conversation, Conversion, Insights, Messages, Numbers, Redact, Secrets, SMS, Subaccount, Users,
Verify, Verify2, Voice) and onVonage\Entity\IterableAPICollectionVonage\Client\APIClientinterfaceVonage\Client\ClientAwareInterfaceandVonage\Client\ClientAwareTrait— use constructor
injection insteadVonage\Client\Factory\MapFactory::hasApi()andgetApi()Vonage\Entity\EntityInterfaceandVonage\Entity\HasEntityTraitVonage\Application\ApplicationInterfaceVonage\Verify\Request,Vonage\Verify\RequestPSD2, andVonage\Verify\VerificationInterfaceVonage\Voice\Call\CallandVonage\Voice\Call\Inbound— useVonage\Voice\OutboundCallVonage\Voice\NCCO\Action\Pay— being removed from the API
Full Changelog: 4.13.0...v4.14.0