You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+51-2Lines changed: 51 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,59 @@ All notable changes to the library will be documented in this file.
4
4
5
5
The format of the file is based on [Keep a Changelog](http://keepachangelog.com/) and this library adheres to [Semantic Versioning](http://semver.org/) as mentioned in the [README.md][readme] file.
⚠️ **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.
10
+
11
+
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
12
+
version required is 7.0.
13
+
14
+
🎉 **NEW Major Version of `infobip-api-php-client`.**
15
+
16
+
### Added
17
+
* Support for [Infobip Messages API](https://www.infobip.com/docs/api/platform/messages-api).
18
+
* Most recent [Infobip Voice API](https://www.infobip.com/docs/api/channels/voice) feature set.
19
+
* Most recent [Infobip SMS API](https://www.infobip.com/docs/api/channels/sms) feature set.
20
+
* Most recent [Infobip 2FA API](https://www.infobip.com/docs/api/platform/2fa) feature set.
21
+
* Most recent [Infobip MMS API](https://www.infobip.com/docs/api/channels/mms) feature set.
22
+
* Most recent [Infobip Email API](https://www.infobip.com/docs/api/channels/email) feature set.
23
+
* Most recent [Infobip WhatsApp API](https://www.infobip.com/docs/api/channels/whatsapp) feature set.
24
+
* Most recent [Infobip Viber API](https://www.infobip.com/docs/api/channels/viber) feature set.
25
+
* Most recent [Infobip WebRTC API](https://www.infobip.com/docs/api/channels/webrtc-calls) feature set.
26
+
* PHP CS Fixer and PHPStan dev dependencies for code quality checks.
27
+
* Additional set of integration tests.
8
28
9
29
### Changed
10
-
- Updated symfony/serializer dependency to ^5.4
30
+
31
+
#### Dependencies
32
+
* Require PHP version 8.3 or higher.
33
+
* Bumped Symfony components to the latest major version.
34
+
35
+
#### Model changes
36
+
* Migration to the new SMS v3 API. Check the [README.md][readme] for updated examples.
37
+
* Introduced the new [SmsMessage](Infobip/Model/SmsMessage.php) class to replace `SmsTextualMessage` and `SmsBinaryMessage`, providing a unified structure for SMS messaging.
38
+
* Added a content field within `SmsMessage` to define the message content.
39
+
This supports both textual and binary messages, which can be created using [SmsTextContent](Infobip/Model/SmsTextContent.php) or [SmsBinaryContent](Infobip/Model/SmsBinaryContent.php), respectively.
40
+
* Unified request classes by replacing `SmsAdvancedTextualRequest` and `SmsAdvancedBinaryRequest` with the new [SmsRequest](Infobip/Model/SmsRequest.php) class.
41
+
* Consolidated sending functions: use `sendSmsMessages` instead of the `sendSmsMessage` and `sendBinarySmsMessage` functions.
42
+
* 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.
43
+
In addition to that, a new required `callsConfigurationId` field has been added.
44
+
* Removed delivery time window configuration classes (`SmsDeliveryTimeWindow`, `MmsDeliveryTimeWindow`, `ViberDeliveryTimeWindow`, `CallRoutingAllowedTimeWindow`, `CallsDeliveryTimeWindow`, `SmsDeliveryTimeWindow`, `CallsTimeWindow`) in favor of a unified class: [DeliveryTimeWindow](Infobip/Model/DeliveryTimeWindow.php)
45
+
* Removed delivery time configuration classes (`SmsDeliveryTimeFrom`, `SmsDeliveryTimeTo`, `MmsDeliveryTime`, `ViberDeliveryTime`, `CallsTimeWindowPoint`, `WebRtcTimeOfDay`, `CallRoutingAllowedTimeFrom`, `CallRoutingAllowedTimeTo`, `WebRtcTimeOfDay`) in favor of a unified class: [DeliveryTime](Infobip/Model/DeliveryTime.php)
46
+
* Removed URL options configuration classes (`MessagesApiUrlOptions`, `ViberUrlOptions`, `WhatsAppUrlOptions`) in favor of a unified class: [UrlOptions](Infobip/Model/UrlOptions.php)
47
+
* Removed CPaaS X platform configuration classes (`ViberPlatform`, `MessagesApiPlatform`) in favor of a unified class: [Platform](Infobip/Model/Platform.php)
48
+
* Removed delivery day enumeration classes (`SmsDeliveryDay`, `MmsDeliveryDay`, `CallsDeliveryDay`, `CallRoutingAllowedDay`) in favor of a unified class: [DeliveryDay](Infobip/Model/DeliveryDay.php)
49
+
* Removed validity period configuration classes (`ViberValidityPeriod`, `MessagesApiValidityPeriod`) in favor of a unified class: [ValidityPeriod](Infobip/Model/ValidityPeriod.php)
50
+
* Removed validity period time unit enumeration classes (`ViberValidityPeriodTimeUnit`, `MessagesApiValidityPeriodTimeUnit`) in favor of a unified class: [ValidityPeriodTimeUnit](Infobip/Model/ValidityPeriodTimeUnit.php)
51
+
* Removed `ModelInterface` since it's no longer needed and not used in serialization anymore.
0 commit comments