Releases: Vonage/vonage-java-sdk
Releases · Vonage/vonage-java-sdk
v3.9.0
[3.9.0] - 2018-10-18
Added
- Added missing voices to
VoiceNameenum. - Added configuration object to be used with
HttpWrapperto allow for customization. - Added the ability to customize the base URI used for the various endpoints.
- Added
ConnectWebSocketNccoto handle connecting to WebSocket endpoints similar toConnectNccoto maintain backwards compatibility. - Added
getDisplayNamemethod toVoiceNameto represent the name that is used in serialization.
Changed
TalkNccoto useVoiceNameobject instead ofStringHttpWrappernow uses system properties by default.
v4.0.0-beta.1
Note: This is a snapshot of the upcoming v4.0.0 of the library. Things may change.
Added
- Added
Nccoclass to wrapCollection<Action>and handle the serialization of NCCO json throughtoJson. - Added the following
Builderclasses:ConnectAction.BuilderConversationAction.BuilderInputAction.BuilderRecordAction.BuilderStreamAction.BuilderTalkAction.Builder
- Added
PhoneEndpointtocom.nexmo.voice.nccopackage for use withConnectAction. - Added
WebSocketEndpointtocom.nexmo.voice.nccopackage for use withConnectAction. - Added
SipEndpointtocom.nexmo.voice.nccopackage for use withConnectAction. - Added
EventMethodenumeration to replace the usage of strings. - Added
EventTypeenumeration and the ability to specify theeventTypeproperty ofConnectAction.
Changed
- Renamed all
Nccoclasses toActionclasses:- Renamed
Nccointerface toAction - Renamed
ConnectNccotoConnectAction - Renamed
ConversationNccotoConversationAction - Renamed
InputNccotoInputAction - Renamed
RecordNccotoRecordAction - Renamed
StreamNccotoStreamAction - Renamed
TalkNccotoTalkAction
- Renamed
- All
Actionclasses now must be constructed through the providedBuilderclass. - All
Actionclasses are now immutable. - The
eventUrlproperty ofConnectAction,ConversationAction,InputAction, andRecordActionis now aCollection<String>instead of an array. - The
eventMethodproperty ofConnectAction,ConversationAction,InputAction, andRecordActionis now anEventMethodenum instead of a String.
v3.8.0
Added
- Added
com.nexmo.client.incoming.MessageEventto assist with the deserialization of the JSON payload used for incoming messages. - Added
com.nexmo.client.incoming.CallEventto assist with the deserialization of the JSON payload used for call events. - Added
com.nexmo.client.incoming.InputEventto assist with the deserialization of the JSON payload used for input events. - Added
com.nexmo.client.incoming.RecordEventto assist with the deserialization of the JSON payload used for record events. - Added secret management methods to
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
- User Agent String now includes the Java version in addition to the client version.
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.Reachability
Fixed
- Updated
StreamNcco'sstreamUrlto serialize into an array for use in the Voice API.
v3.7.0
v3.6.0
Added
- Added
getSmsPricetoAccountClientfor getting SMS pricing for a country. - Added
getVoicePricetoAccountClientfor getting voice pricing for a country. - Added
getPrefixPricetoAccountClientfor getting SMS and voice pricing for a prefix. - Added
topUptoAccountClientfor topping up your account which has auto-reload enabled. - Added
getSmstoSmsClientfor searching for a single message by id. - Added
ConversionClientand the ability to interact with the Nexmo Conversion API.
v3.5.0
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:
VerifyEndpointCheckEndpointSearchEndpoint
-
Deprecated the following XML results:
VerifyResultshould useVerifyResponseCheckResultshould useCheckResponseSearchResultshould useSearchVerifyResponse
-
Deprecated the following XML methods:
VerifyCheckMethod
Added
- Added
VerifyStatusenumeration to use for statuses coming back from the verify endpoint. - Added
VerifyResponse,CheckResponse, andSearchVerifyResponsefor JSON responses to match other JSON using endpoints. - Added
VerifyMethod,CheckMethod, andSearchMethodfor better segregation between endpoint and method classes. - Add
splitattribute to theRecordNccoobject.
Fixed
- Updated
ConversationNcco'smusicOnHoldUrlto serialize into an array for use in the Voice API.
v3.4.1
v3.4.0
Changed
- Modify call now works with the API again, returning
null(because the API now returns 204 No Content) - VerifyRequest now supports all supported parameters.
- Client-side validation for the
fromparameter's length on theMessageclass has been removed.
Added
- Add
levelattribute to theTalkNccoobject.