diff --git a/CHANGELOG.md b/CHANGELOG.md index 190eb08..0ced20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [4.0.0] - 2026-04-09 +### Removed +- deprecated `\Smsapi\Client\Feature\Contacts\Bag\CreateContactBag::withPhone` +- deprecated `\Smsapi\Client\Feature\Sms\Bag\ScheduleSmsBag::setIdx` +- deprecated `\Smsapi\Client\Feature\Sms\Bag\SendSmsToGroupBag::setIdx` +- deprecated `\Smsapi\Client\Feature\Sms\Bag\ScheduleSmsToGroupBag::setIdx` +- deprecated `\Smsapi\Client\Curl\Exception\RequestException` +- deprecated `\Smsapi\Client\Curl\Exception\NetworkException` +- deprecated `\Smsapi\Client\Curl\Exception\ClientException` + +## Changed +- method signature `\Smsapi\Client\Feature\Contacts\ContactsFeature::findContacts` +- method signature `\Smsapi\Client\Feature\Sms\Bag\ScheduleSmsBag::setExternalId` +- method signature `\Smsapi\Client\Feature\Sms\Bag\ScheduleSmssBag::setExternalId` +- method signature `\Smsapi\Client\Feature\Sms\Bag\ScheduleSmsToGroupBag::setExternalId` +- method signature `\Smsapi\Client\Feature\Sms\Bag\SendSmsBag::setExternalId` +- method signature `\Smsapi\Client\Feature\Sms\Bag\SendSmssBag::setExternalId` +- method signature `\Smsapi\Client\Feature\Sms\Bag\SendSmsToGroupBag::setExternalId` + ## [3.0.13] - 2026-01-12 ### Added - PHP-8.5 support diff --git a/src/Curl/Exception/ClientException.php b/src/Curl/Exception/ClientException.php deleted file mode 100644 index 0d2726a..0000000 --- a/src/Curl/Exception/ClientException.php +++ /dev/null @@ -1,17 +0,0 @@ -idx = $idx; - $this->checkIdx = $checkIdx; - - return $this; - } } diff --git a/src/Feature/Sms/Bag/ScheduleSmsToGroupBag.php b/src/Feature/Sms/Bag/ScheduleSmsToGroupBag.php index d10e61f..ec69498 100644 --- a/src/Feature/Sms/Bag/ScheduleSmsToGroupBag.php +++ b/src/Feature/Sms/Bag/ScheduleSmsToGroupBag.php @@ -65,19 +65,4 @@ public function setExternalId(string $idx, $checkIdx = null): self return $this; } - - /** - * @deprecated - * @see ScheduleSmsToGroupBag::setExternalId() - */ - /** - * @param bool|null $checkIdx - */ - public function setIdx(array $idx, $checkIdx = null): self - { - $this->idx = $idx; - $this->checkIdx = $checkIdx; - - return $this; - } } diff --git a/src/Feature/Sms/Bag/SendSmsToGroupBag.php b/src/Feature/Sms/Bag/SendSmsToGroupBag.php index fadfbc7..e89f254 100644 --- a/src/Feature/Sms/Bag/SendSmsToGroupBag.php +++ b/src/Feature/Sms/Bag/SendSmsToGroupBag.php @@ -58,19 +58,4 @@ public function setExternalId(string $idx, $checkIdx = null): self return $this; } - - /** - * @deprecated - * @see SendSmsToGroupBag::setExternalId() - */ - /** - * @param bool|null $checkIdx - */ - public function setIdx(array $idx, $checkIdx = null): self - { - $this->idx = $idx; - $this->checkIdx = $checkIdx; - - return $this; - } } diff --git a/src/SmsapiClient.php b/src/SmsapiClient.php index 1c2bc2b..8ef1412 100644 --- a/src/SmsapiClient.php +++ b/src/SmsapiClient.php @@ -12,7 +12,7 @@ */ interface SmsapiClient extends LoggerAwareInterface { - const VERSION = '3.0.13'; + const VERSION = '4.0.0'; public function smsapiPlService(string $apiToken): SmsapiPlService;