Skip to content

Latest commit

 

History

History
181 lines (127 loc) · 9.63 KB

CHANGELOG.md

File metadata and controls

181 lines (127 loc) · 9.63 KB

Change Log

All notable changes to the library will be documented in this file.

The format of the file is based on Keep a Changelog and this library adheres to Semantic Versioning as mentioned in the README.md file.

[ 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 ] - 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 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.4 ] - 2023-06-19

Fixed

  • Update composer.json to match the package version.

[ 5.1.3 ] - 2023-06-19

Fixed

[ 5.1.2 ] - 2023-06-09

Changed

  • Removed Snyk

[ 5.1.1 ] - 2023-05-19

Changed

  • Added composer.lock for Snyk

[ 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

[ 5.0.0 ] - 2023-03-01

⚠️ IMPORTANT NOTE: This release contains breaking changes!

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

Added

Changed

  • Fully refactored codebase using Symfony components

[ 4.0.0 ] - 2022-10-21

⚠️ IMPORTANT NOTE: This release contains breaking changes!

Changed

  • The minimum supported PHP version has been changed to 8.0
  • Get WhatsApp template / Create WhatsApp template have breaking changes as they're using the new v2 API endpoints. The body and footer are no longer strings but objects.
  • getEmailLogs' input parameters sentSince and sentUntil now correctly defined as DateTime type

Added

  • Delete WhatsApp template

Fixed

[ 3.2.0 ] - 2022-03-29

Added

Changed

  • Renamed EmailLogResponse to EmailLogsResponse
  • Added default value of false for parameter flash in SmsTextualMessage

Removed

  • Dev dependencies
  • Unused models

[ 3.1.0 ] - 2021-11-19

Added

Changed

  • Update Guzzle HTTP client version from 6.5 to 7.3

[ 3.0.0 ] - 2021-03-23

🎉 NEW Major Version

⚠️ IMPORTANT NOTE: This release contains breaking changes!

In this release, the library is vastly changed and modernized. It is auto-generated and completely different from the previous version, so we do not provide an upgrade guide from 2.x to 3.x because such a document will be a similar size as the library itself.

Added

Changed

  • Models, structure, examples, etc. for Infobip SMS API
  • Library dependencies
  • README.md which contains necessary data and examples for quickstart as well as some other important pieces of information on versioning, licensing, etc.
  • LICENSE which is now MIT

Removed

  • Support for Infobip Omni API (to be included back in one of the next releases)