Skip to content

Releases: infobip/infobip-api-php-client

6.2.1

24 Jan 16:13
20447a4
Compare
Choose a tag to compare

[ 6.2.1 ] - 2025-01-24

Added

  • An option to define the messageId for all channels in Messages API failover flow.
  • New voices and languages for Calls API.

Fixed

  • Serialization of CallsDtmfOptions, CallsCollectOptions and CallsCallApiOptions in IVR scenario scripts.
  • Issue #67: Fetching WhatsApp media metadata methods now return an array that contains header values provided by the API.
    This version provides an additional fix that fully resolves the issue.

Changed

  • Field from is no longer required when creating outbound calls.
  • Form parameter processing code is refactored and removed from the API methods where it is not needed.

Removed

  • A no longer required DISCONNECTED call state.

6.2.0

20 Jan 21:21
90f5142
Compare
Choose a tag to compare

[ 6.2.0 ] - 2025-01-20

⚠️ IMPORTANT NOTE: This release contains breaking changes!

Added

  • Support for Calls Configuration.
  • Additional validation for WhatsApp sender parameters.
  • Support for Email IP Management instead of set of deprecated Email IP endpoints.
    Check Email API documentation for additional details (BREAKING).
  • Footer support for Messages API Message. For additional details check Messages API documentation.
  • Add calendar event button support for Messages API Message. For additional details check Messages API documentation.
  • Card options for Carousel and Rich Link body types in Messages API Message. For additional details check Messages API documentation.
  • Support for OTP templates for Viber messages. For additional details check Viber API documentation.
  • Support for telemarketerId in India DLT options when sending failover SMS messages through Viber API.
  • Support for cache duration when playing audio files by providing the URL to the audio file in Calls API.
  • New Call state: DISCONNECTED.
  • Support for downloading Voice IVR recorded files. Check the Voice API documentation for additional details.

Changed

  • Email Suppression type enum models are now consolidated. Use EmailSuppressionType and EmailAddSuppressionType instead of EmailAddDeleteSuppressionType and Infobip/Model/EmailGetSuppressionType (BREAKING).
  • Don't allow empty text when sending failover SMS messages through Viber API.
  • Explicitly allow enum denormalization only for string types.
  • Extend OneOfInterfaceNormalizer with enum support.
  • Adjusted Call Voice models, so both CallsVoice and CallsSynthesisVoice are used in the correct context (BREAKING).
  • Adjusted Call Language models, so both CallsLanguage and CallTranscriptionLanguages are used in the correct context (BREAKING).

Fixed

  • Issue #67: Fetching WhatsApp media metadata methods now return an array that contains header values provided by the API.
    Check the API Documentation and the ReceiveWhatsAppApiTest for additional details.
  • EmailSuppressionInfo model to correctly specify DateTime type for createdDate field.
  • Invalid type hints for map-like properties.
  • Number Masking:
    • DELETE requests and error processing
    • Content schema when uploading audio files
    • UTC date-time deserialization in setup response model.
  • Interactive Voice Response:
    • lastUsageDate filed processing (yyyy-MM-dd format)
    • Adjusted models in script processing

6.1.0

16 Dec 18:32
c40bd64
Compare
Choose a tag to compare

[ 6.1.0 ] - 2024-12-16

Added

Changed

  • Removed no longer supported 50 business-initiated conversations messaging tear limit for WhatsApp senders.
  • Added createdAt and lastUpdatedAt fields to WhatsApp Template response models.
  • Added new Calls error code type: MACHINE_DETECTED.
  • CallRoutingWebRtcEndpoint now allows using default to value used in inbound call as an identity.
  • Refactored a part of Calls API tests.

Fixed

  • IVR scenario action scripts types.

6.0.0

09 Dec 21:55
bdfb7b6
Compare
Choose a tag to compare

[ 6.0.0 ] - 2024-12-09

⚠️ IMPORTANT NOTE: This release contains breaking changes! From this point onward PHP version 8.0 is no longer supported. Minimum PHP version required is 8.3.

In this release we updated the library to use the latest version of the Infobip API. We also updated the library to use the latest version of the Symfony components. Minimum Symfony
version required is 7.0.

🎉 NEW Major Version of infobip-api-php-client.

Added

Changed

Dependencies

  • Require PHP version 8.3 or higher.
  • Bumped Symfony components to the latest major version.

Model changes

  • Migration to the new SMS v3 API. Check the [README.md][readme] for updated examples.
    • Introduced the new SmsMessage class to replace SmsTextualMessage and SmsBinaryMessage, providing a unified structure for SMS messaging.
    • Added a content field within SmsMessage to define the message content.
      This supports both textual and binary messages, which can be created using SmsTextContent or SmsBinaryContent, respectively.
    • Unified request classes by replacing SmsAdvancedTextualRequest and SmsAdvancedBinaryRequest with the new SmsRequest class.
    • Consolidated sending functions: use sendSmsMessages instead of the sendSmsMessage and sendBinarySmsMessage functions.
  • Across all Call models, the applicationId field has been removed and replaced with the platform field, as encapsulates platform fields and reflects the current state of the endpoint.
    In addition to that, a new required callsConfigurationId field has been added.
  • Removed delivery time window configuration classes (SmsDeliveryTimeWindow, MmsDeliveryTimeWindow, ViberDeliveryTimeWindow, CallRoutingAllowedTimeWindow, CallsDeliveryTimeWindow, SmsDeliveryTimeWindow, CallsTimeWindow) in favor of a unified class: DeliveryTimeWindow
  • Removed delivery time configuration classes (SmsDeliveryTimeFrom, SmsDeliveryTimeTo, MmsDeliveryTime, ViberDeliveryTime, CallsTimeWindowPoint, WebRtcTimeOfDay, CallRoutingAllowedTimeFrom, CallRoutingAllowedTimeTo, WebRtcTimeOfDay) in favor of a unified class: DeliveryTime
  • Removed URL options configuration classes (MessagesApiUrlOptions, ViberUrlOptions, WhatsAppUrlOptions) in favor of a unified class: UrlOptions
  • Removed CPaaS X platform configuration classes (ViberPlatform, MessagesApiPlatform) in favor of a unified class: Platform
  • Removed delivery day enumeration classes (SmsDeliveryDay, MmsDeliveryDay, CallsDeliveryDay, CallRoutingAllowedDay) in favor of a unified class: DeliveryDay
  • Removed validity period configuration classes (ViberValidityPeriod, MessagesApiValidityPeriod) in favor of a unified class: ValidityPeriod
  • Removed validity period time unit enumeration classes (ViberValidityPeriodTimeUnit, MessagesApiValidityPeriodTimeUnit) in favor of a unified class: ValidityPeriodTimeUnit
  • Removed ModelInterface since it's no longer needed and not used in serialization anymore.

Fixed

  • Sending Email to multiple recipients.

5.1.5

10 Jan 10:00
Compare
Choose a tag to compare

This release (git tag) didn't result in a package version.

5.1.4

19 Jun 10:41
171a5e0
Compare
Choose a tag to compare

UPDATED package version

5.1.3

19 Jun 10:36
Compare
Choose a tag to compare

[ 5.1.3 ] - 2023-06-19

Fixed

  • WhatsApp issue #54

5.1.2

09 Jun 12:07
5219026
Compare
Choose a tag to compare

[ 5.1.2 ] - 2023-06-09

Changed

  • Removed snyk

5.1.1

19 May 08:10
Compare
Choose a tag to compare

[ 5.1.1 ] - 2023-05-19

Changed

  • Added composer.lock for Snyk

5.1.0

24 Apr 11:09
Compare
Choose a tag to compare

[ 5.1.0 ] - 2023-04-24

⚠️ IMPORTANT NOTE: Obsolete models that are not used since release 5.0.0 have been removed. You should not use them anymore.

Removed

  • Obsolete code pre 5.0.0 release (API classes, models)

Fixed

  • Email sending with attachments and inline images

Changed

  • Updated email README