4.1.0
[ 4.1.0 ] - 2023-12-20
All changes, including breaking changes, are addressed and explained in the list bellow.
If you find out that something was not addressed properly, please submit an issue.
Added
- Support for Infobip Call Routing API.
- Support for Infobip Call Link API.
- Most recent Infobip Email API feature set.
- Most recent Infobip SMS API feature set.
- Most recent Infobip MMS API feature set.
- Most recent Infobip Voice API feature set.
- Most recent Infobip WebRTC API feature set.
- Most recent Infobip Viber API feature set.
- CPaaS-X support to more channels.
- Support for handling ApiError models:
Changed
- Removed classes and unified structures
- Removed pagination classes (
CallsPageInfo
,WebRtcPageInfo
) in favor of a unified class: PageInfo - Removed status-defining classes for messages by products (
EmailStatus
,MmsStatus
,SmsStatus
) and introduced a unified class: MessageStatus - Removed price-defining classes for messages by products (
EmailPrice
,MmsPrice
,SmsPrice
,EmailWebhookPrice
) and replaced with a unified class: MessagePrice - Removed error-defining classes for query execution by different products (
EmailReportError
,MmsError
,SmsError
) and introduced a unified class: MessageError
- Removed pagination classes (
- Fixes and changes
- Expanded ApiExceptionDetails model with additional fields supporting enriched error responses that the API might return.
- Changed
templateId
field type from Integer to Long in EmailApi's SendEmailRequest class because of reported issue. - Updated WhatsAppCategory enumeration values based on report and reported issue.
- Updated CallsErrorCode enumeration values to reflect changes on Hangup endpoint.
- Updated ViberValidityPeriodTimeUnit enumeration values since 'DAYS' is no longer supported, use 'HOURS' instead.
- Changed 'context' field name in CallsApplicationTransferRequest to 'customData'.
- Changed 'days' field type in CallsDeliveryTimeWindow from List to Set to avoid duplicates.
- Removed 'type' field in CallsDtmfTermination since it is not supported on the API side.
- Removed 'stopOn' field in CallsSayRequest since it is not supported on the API side.
- Removed 'sipTrunkGroupId' field in CallsSipEndpoint since it is not supported on the API side.
- Removed 'notifyContentType' field in MmsAdvancedMessage since it is not supported on the API side.
- Removed 'sendingSpeedLimit' field in MmsAdvancedRequest since it is not supported on the API side.
- Fixed Viber webhook report models.
- Changed 'results' field name in ViberWebhookReportResponse to reports.
- Replaced 'ios' and 'android' fields in WebRtcPushConfigurationResponse with 'androidConfigured' and 'iosConfigured' since they didn't correspond to the state of the endpoint.
- Changed 'structure' field type in WhatsAppTemplateApiResponse from 'WhatsAppTemplateStructureApiData' and 'WhatsAppDefaultTemplateStructureApiData'.
- Changed WhatsAppTemplatePublicApiRequest by making it an abstract class, serving as a base for WhatsAppAuthenticationTemplatePublicApiRequest, WhatsAppDefaultMarketingTemplatePublicApiRequest, WhatsAppDefaultUtilityTemplatePublicApiRequest.
- Documentation
- Fixed Javadoc.
- Dependencies
- Bumped
slf4j-api
version to2.0.9
- Bumped
jackson
version to2.15.2
- Bumped
okhttp
version to4.12.0
- Bumped
Removed
- Unused model classes
Deprecated
- Deprecated old error fields in ApiExceptionDetails