Update dependency com.vonage:client to v9 (main) #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.4.0->9.3.0By merging this PR, the below vulnerabilities will be automatically resolved:
Release Notes
Vonage/vonage-java-sdk (com.vonage:client)
v9.3.0v8.1.0webhook_versionandwebhook_urlfor all outbound messagescaption(outbound)caption(inbound)name(outbound)context_statusandreferral(inbound)count_totalandnetwork_code(inbound)ttl,encoding_type,content_idandentity_id(outbound)fromparameter to Verify v2 SMS workflowlengthnot being set inVerifyClient.verifyoverload methodv7.11.1legacyutilsandLoggingUtilsv7.11.0verifySignatureutility method to Voice and Messages clientsapplicationId(UUID)overload toVonageClient.BuilderVoiceClientdownloadRecordingRawandsaveRecordingmethods toVoiceClientModifyCallResponseandVoiceClient.modifyCallVoiceClient.downloadRecordingandRecordingclasscom.vonage:jwtversion to 1.1.0v7.10.0check_urltoVerificationResponseto support synchronous Silent Authenticationvintage-enginev7.9.0get-full-pricingimplementation of Pricing API inAccountClient/v1to Meetings API endpoint URL pathsv7.8.0v7.7.0JsonableandQueryParamsin addition toDynamicEndpointto reduce boilerplatePageList(replaced byHalPageResponse)VoiceClientv7.6.0v7.5.0v7.4.0jakarta.xml.bindjakarta.servletan optional dependencyjavax.servlet.HttpServletRequestv7.3.0jakarta.servlet-apia required dependency (replacingjavax.servletas compileOnly)jakarta.xml.bind-apiinstead ofjavax.xml.bindpremiumandlevelfields to Start Talk requestTalkPayloadto use Builder patternvbcandappendpoint types for voice callsrandom_from_numberCallrequestVoiceClientCallModifer&ModifyCallPayloadcom.vonage.client.voice.WebSocketEndpointnow uses Map for headersv7.2.0InboundMessagewebhook classclient_refcharacter limit increased to 100[8.0.0-beta4] - 2023-02-24
[8.0.0-beta3] - 2023-01-11
WAPPushSMS message typemuteSessionandmuteStream(they don't return anything)[8.0.0-beta2] - 2022-12-15
VideoClientSetStreamLayoutRequestlistArchivesendpoint takes as inputListArchivesRequestusing builder patternmuteSessionandmuteStreaminvocationv7.1.1[8.0.0-beta1] - 2022-11-15
com.vonage:server-sdk[7.1.0] - 2022-08-25
MessageResponseExceptionwhen entity body is emptyMessagesClientrequest_typeinVerifyRequestip_addressinCheckRequestContent-Typeheader inVerifyEndpoint(issue #405) andCheckEndpointnetworkfield toVerifyResponseestimated_price_messages_senttoCheckResponseandVerifyDetailsVerifyStatusenum values[7.0.0] - 2022-08-11
vonage-jwt-jdk:1.0.2library instead ofnexmo-jwt-jdk:1.0.1User-Agentis set in request headersWhatsappRequestsender must now be an E164 numberWhatsappTemplateRequestenparametersis nowList<String>commons-ioandcommons-lang3TalkActionNCCOvoiceNameparameterWebSocketEndpointheadersheadersmethod inWebSocketEndpoint.Builderheadersfield toSipEndpointjava.net.URIinstead of String for URI fieldsInsightStatuscodesreal_time_datato AdvancedInsightResponse[6.5.0] - 2022-06-20
get-full-pricingendpointContent-TypeandAcceptheaders in requests where applicable[6.4.2] - 2022-04-14
call_uuidto webhook call event.[6.4.0] - 2021-05-28
true, thefromnumber will be randomly selected from the pool of numbers available to the application making the call.[6.3.0] - 2021-05-20
[6.2.0] - 2021-03-11
[6.1.0] - 2020-12-17
[6.0.0] - 2020-11-16
Added
Changed
[5.6.0] - 2020-11-10
Added
Changed
Fixed
[5.5.0] - 2020-09-08
Added
[5.4.0] - 2020-08-20
Added
[5.3.0] - 2020-07-27
Added
Fixed
[5.2.1] - 2019-12-18
Added
VerifyRequest[5.2.0] - 2019-10-18
Added
VerifyRequest.VoiceClient#transferCall.Fixed
VerifyClienthad methods that were still claiming to throw anIOException. This has been removed as it is notpossible for it to be thrown.
[5.1.0] - 2019-08-18
Added
[5.0.0] - 2019-08-01
Added
asyncandcallbackon theAdvancedInsightRequestobject.ringbacksupport to theonAnswerpart of thePhoneEndpoint.Changed
com.nexmo.client.applicationspackage tocom.nexmo.client.applicationApplicationClientnow supports the Applications v2 API. This change has resulted in some backwards incompatibility.NexmoClientExceptionis now aRuntimeException. The various sub client methods will still declare that it is being thrown, but it is no longer a requirement to catch the exception. Additionally, theIOExceptionthat was being thrown in each method has been converted to aNexmoResponseParseExceptionto more accurately reflect when it is thrown. This is also an unchecked exception and catching is no longer required.NexmoUnacceptableAuthExceptionwill now add which parameters are missing instead of which internal auth methods.[4.4.0] - 2019-06-10
Added
VoiceNameenum.[4.3.1] - 2019-05-24
Fixed
[4.3.0] - 2019-04-25
Added
NotifyActionfor use inNCCO.Fixed
[4.2.1] - 2019-04-02
Fixed
messages.[4.2.0] - 2019-03-20
Added
StreamAction,AdvancedInsightRequest,StandardInsightRequest, andBasicInsightRequest.Fixed
AbstractMethodwill force UTF-8 charset for requests usingStringEntity.[4.1.0] - 2019-03-15
Added
buildermethods toActionclasses to reduce some of the verbosity around using them. You can now doTalkAction action = TalkAction.builder("Hello World!").build();instead of justTalkAction action = new TalkAction.Builder("Hello World).build();.buildermethods toNexmoClientto reduce some of the verbosity around instantiating the client.nccoproperty to theCallobject for use in theVoiceClient.createCallmethod. You can now send anNccodirectly to the API instead of defining ananswer_url.[4.0.1] - 2018-11-21
Added
channelsproperty toRecordActionas it was unintentionally removed during the version 4 release.[4.0.0] - 2018-11-16
Added
Nccoclass to wrapCollection<Action>and handle the serialization of NCCO json throughtoJson.Builderclasses:ConnectAction.BuilderConversationAction.BuilderInputAction.BuilderRecordAction.BuilderStreamAction.BuilderTalkAction.BuilderPhoneEndpointtocom.nexmo.voice.nccopackage for use withConnectAction.WebSocketEndpointtocom.nexmo.voice.nccopackage for use withConnectAction.SipEndpointtocom.nexmo.voice.nccopackage for use withConnectAction.EventMethodenumeration to replace the usage of strings.EventTypeenumeration and the ability to specify theeventTypeproperty ofConnectAction.NexmoClient.Builderto allow for fluent creation ofNexmoClient.getBasicNumberInsight,getStandardNumberInsight, andgetAdvancedNumberInsighttoInsightClientwhich takes a respective*InsightRequest.CallerIdentitydata object to be used in number insight.BuildertoCallsFilterclass to make filtering search results more intuative.Changed
Nccoclasses toActionclasses:Nccointerface toActionConnectNccotoConnectActionConversationNccotoConversationActionInputNccotoInputActionRecordNccotoRecordActionStreamNccotoStreamActionTalkNccotoTalkActionActionclasses now must be constructed through the providedBuilderclass.Actionclasses are now immutable.eventUrlproperty ofConnectAction,ConversationAction,InputAction, andRecordActionis now aCollection<String>instead of an array.eventMethodproperty ofConnectAction,ConversationAction,InputAction, andRecordActionis now anEventMethodenum instead of a String.ConnectWebSocketNccoas it is built intoConnectAction.VerifyClientwill now return*Responseinstead of*Resultobjects.com.nexmo.client.voice.endpointsto be part of thecom.nexmo.client.voicepackage.*Endpointand*Methodclasses package scoped. Users should always go through the appropriateClientclasses.AbstractMethodto the root package.setUrimethods from the variousVoiceClientendpoints. This should be done throughHttpConfig.BasicInsightRequest,StandardInsightRequest, andAdvancedInsightRequestto use builders as constructortelescoping is clunky. Added some static factory methods to these classes to allow shortcutting through the builder for "simple" requests.
BasicInsightEndpoint,StandardInsightEndpoint, andAdvancedInsightEndpointto a more restrictive scope and moved them to thecom.nexmo.client.insightpackage.statusproperty ofBasicInsightResponseto anInsightStatusenumeration.SendMessageEndpointfrom XML to JSON. It now returns aSmsSubmissionResponseinstead of an array result.[3.10.0] - 2018-11-02
Added
RecordNccoChanged
[3.9.0] - 2018-10-18
Added
VoiceNameenum.HttpWrapperto allow for customization.ConnectWebSocketNccoto handle connecting to WebSocket endpoints similar toConnectNccoto maintain backwards compatibility.getDisplayNamemethod toVoiceNameto represent the name that is used in serialization.Changed
TalkNccoto useVoiceNameobject instead ofStringHttpWrappernow uses system properties by default.[3.8.0] - 2018-09-19
Added
com.nexmo.client.incoming.MessageEventto assist with the deserialization of the JSON payload used for incoming messages.com.nexmo.client.incoming.CallEventto assist with the deserialization of the JSON payload used for call events.com.nexmo.client.incoming.InputEventto assist with the deserialization of the JSON payload used for input events.com.nexmo.client.incoming.RecordEventto assist with the deserialization of the JSON payload used for record events.AccountClientin the form of the following methods:listSecretsfor listing all secrets.getSecretfor getting information on a specific secret.revokeSecretfor revoking a secret.createSecretfor creating a new secret.Changed
enumclasses that are used to deserialize JSON have been updated to return anUNKNOWNvalue instead of throwing anIllegalArgumentExceptionwhen the value cannot be deserialized. Theseenums are:RecordingFormatMachineDetectionModifyCallActionCallDirectionCallStatusRoamingDetails.RoamingStatusAdvancedInsightResponse.PortedStatusAdvancedInsightResponse.ValidityAdvancedInsightResponse.ReachabilityFixed
StreamNcco'sstreamUrlto serialize into an array for use in the Voice API.[3.7.0] - 2018-08-10
Added
RedactClientand the ability to interact with the Nexmo Redact API.Changed
TalkNcconow usesVoiceNameinternally instead ofStringfor thevoiceNameproperty.[3.6.0] - 2018-07-06
Added
getSmsPricetoAccountClientfor getting SMS pricing for a country.getVoicePricetoAccountClientfor getting voice pricing for a country.getPrefixPricetoAccountClientfor getting SMS and voice pricing for a prefix.topUptoAccountClientfor topping up your account which has auto-reload enabled.getSmstoSmsClientfor searching for a single message by id.ConversionClientand the ability to interact with the Nexmo Conversion API.[3.5.0] - 2018-05-29
Changed
Updated
VerifyClientto use the JSON endpoints instead of XML.Updated endpoints which are used by
VerifyClientfrom public to package scope in order to encourage usage throughVerifyClient.Deprecated XML version of the following endpoints:
VerifyEndpointCheckEndpointSearchEndpointDeprecated the following XML results:
VerifyResultshould useVerifyResponseCheckResultshould useCheckResponseSearchResultshould useSearchVerifyResponseDeprecated the following XML methods:
VerifyCheckMethodAdded
VerifyStatusenumeration to use for statuses coming back from the verify endpoint.VerifyResponse,CheckResponse, andSearchVerifyResponsefor JSON responses to match other JSON using endpoints.VerifyMethod,CheckMethod, andSearchMethodfor better segregation between endpoint and method classes.splitattribute to theRecordNccoobject.Fixed
ConversationNcco'smusicOnHoldUrlto serialize into an array for use in the Voice API.[3.4.1] - 2018-05-11
Changed
[3.4.0] - 2018-05-08
Changed
null(because the API now returns 204 No Content)fromparameter's length on theMessageclass has been removed.Added
levelattribute to theTalkNccoobject.[3.2.0] - 2017-11-30
Changed
[3.1.0] - 2017-10-24
Added
NexmoClient.generateJwtVoiceClient.downloadRecordingChanged
AuthCollection'sgetAuthandgetAcceptableAuthMethodmore specific. (Backwards compatible change)[3.0.0] - 2017-10-19
Changed
ModifyCallPayload.actionis now a value of the enumModifyCallPayload.Action.HttpResponseExceptionif an abnormal HTTP status code is returned from the Nexmo API.Fixed
Added
AccountClient.getBalancemethod for getting an account balance.NumbersClient.listNumbersmethod.NumbersClient.searchNumbersmethod.NumbersClient.cancelNumbermethod.NumbersClient.buyNumbermethod.NumbersClient.updateNumberandNumbersClient.linkNumber.VerifyClient.advanceVerificationandVerifyClient.cancelVerificationApplicationClientend methods for creating, updating, deleting, listing and getting configured applications.[2.0.2] - 2017-05-04
Fixed
CallAdded
cnamparameter for Standard and Advanced requests.[2.0.1] - 2017-03-18
Changed
[2.0.0] - 2017-03-16
Added
under the
com.nexmo.clientpackage.Changed
[1.5] - 2014-08-28
Added
Changed
[1.4] - 2012-10-30
Changed
[1.3] - 2012-04-17
Added
NexmoSmsClientSignedRequests)com.nexmo.messaging.sdk.messages.parameters.MessageClassChanged
com.nexmo.messaging.sdk.NexmoSmsClient: The default clientcom.nexmo.messaging.sdk.NexmoSmsClientSSL: Uses SSL / HTTPS to encrypt the requestscom.nexmo.messaging.sdk.NexmoSmsClientSignedRequests: Signs the requests using the secret key assigned to your accountcom.nexmo.messaging.sdk.NexmoSmsClientSignedRequestsSSL: Signs the requests and uses SSL / HTTPS to encrypt[1.2] - 2011-07-18
Added
[1.1]
Added
v7.1.0MessageResponseExceptionwhen entity body is emptyMessagesClientrequest_typeinVerifyRequestip_addressinCheckRequestContent-Typeheader inVerifyEndpoint(issue #405) andCheckEndpointnetworkfield toVerifyResponseestimated_price_messages_senttoCheckResponseandVerifyDetailsVerifyStatusenum valuesv7.0.0vonage-jwt-jdk:1.0.2library instead ofnexmo-jwt-jdk:1.0.1User-Agentis set in request headersWhatsappRequestsender must now be an E164 numberWhatsappTemplateRequestenparametersis nowList<String>commons-ioandcommons-lang3TalkActionNCCOvoiceNameparameterWebSocketEndpointheadersheadersmethod inWebSocketEndpoint.Builderheadersfield toSipEndpointjava.net.URIinstead of String for URI fieldsInsightStatuscodesreal_time_datato AdvancedInsightResponsev6.5.0get-full-pricingendpointContent-TypeandAcceptheaders in requests where applicablev6.4.2call_uuidto webhook call event.