|
1 | 1 | # bitrix24-php-sdk change log |
2 | 2 |
|
3 | | -## 2.0-alpha.6 — 7.02.2021 |
| 3 | +## 2.0-alpha.7 — 8.08.2022 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +* add new scope `Telephony` and services [add Telephony support](https://github.com/mesilov/bitrix24-php-sdk/issues/291) |
| 8 | +* add new scope `UserConsent` and services [add UserConsent support](https://github.com/mesilov/bitrix24-php-sdk/issues/285) |
| 9 | +* add new scope `Placements` and services [add Placements support](https://github.com/mesilov/bitrix24-php-sdk/issues/274) |
| 10 | +* add new scope `IMOpenLines` and services [add IM Open Lines support](https://github.com/mesilov/bitrix24-php-sdk/issues/302) |
| 11 | +* add in scope `CRM` new service `Leads` in scope «CRM» [add Leads support](https://github.com/mesilov/bitrix24-php-sdk/issues/282) |
| 12 | +* add in scope `CRM` new service `Activity` in scope «CRM» [add Activity support](https://github.com/mesilov/bitrix24-php-sdk/issues/283) |
| 13 | +* add in scope `CRM` for entity Deal method `Services\CRM\Deal\Service\Batch::update` batch update deals |
| 14 | +* add in scope `CRM` for entity Contact method `Services\CRM\Contact\Service\Batch::delete` batch delete contacts |
| 15 | +* add in scope `CRM` [read models](https://github.com/mesilov/bitrix24-php-sdk/issues/300) for activity `Services\CRM\Activity\ReadModel` |
| 16 | + for activity types: `EmailFetcher`, `OpenLineFetcher`, `VoximplantFetcher`, `WebFormFetcher` |
| 17 | +* add in scope «Main» new service `Events` [add incoming events support](https://github.com/mesilov/bitrix24-php-sdk/issues/296) |
| 18 | +* add support Application level events: `ONAPPINSTALL` |
| 19 | + and `ONAPPUNINSTALL` [add incoming events support](https://github.com/mesilov/bitrix24-php-sdk/issues/296) |
| 20 | +* add support Application level event: `PortalDomainUrlChangedEvent` |
| 21 | +* add method `Core\Batch::updateEntityItems` for [update items in batch mode](https://github.com/mesilov/bitrix24-php-sdk/issues/268) and |
| 22 | + integration test |
| 23 | +* add method to interface `Core\Contracts\BatchInterface::updateEntityItems` for update items in batch mode |
| 24 | +* add in scope `Placements` service `Placement\Service\UserFieldType` for work with user fields embedding |
| 25 | +* add in scope `Telephony` add events: `OnExternalCallBackStart`, `OnExternalCallStart`, `OnVoximplantCallEnd`, `OnVoximplantCallEnd` |
| 26 | + , `OnVoximplantCallInit`, `OnVoximplantCallStart` see [add telephony events](https://github.com/mesilov/bitrix24-php-sdk/issues/304) |
| 27 | +* add `ApplicationStatus` with application status codes description |
| 28 | +* add fabric method `AccessToken::initFromPlacementRequest` when application init form placement request |
| 29 | +* add fabric method `ApplicationProfile::initFromArray` when application profile stored in ENV-variables |
| 30 | +* add `Bitrix24\SDK\Application\Requests\Placement\PlacementRequest` for application data from placements |
| 31 | +* add fabric method `Credentials::initFromPlacementRequest` when application init form placement request |
| 32 | +* add method `Services\Main\Service::getServerTime` returns current server time in the format YYYY-MM-DDThh:mm:ss±hh:mm. |
| 33 | +* add method `Services\Main\Service::getCurrentUserProfile` return basic Information about the current user without any scopes |
| 34 | +* add method `Services\Main\Service::getAccessName` returns access permission names. |
| 35 | +* add method `Services\Main\Service::checkUserAccess` Checks if the current user has at least one permission of those specified by the |
| 36 | + ACCESS parameter. |
| 37 | +* add method `Services\Main\Service::getMethodAffordability` Method returns 2 parameters - isExisting and isAvailable |
| 38 | +* add money type support by [phpmoney](https://github.com/moneyphp/money) |
| 39 | +* add support fields `operating` and `operating_reset_at` at `Bitrix24\SDK\Core\Response\DTO\Time` datastructures |
| 40 | + |
| 41 | +### Changed |
| 42 | + |
| 43 | +* update scope list [расширить и актуализировать доступные скоупы](https://github.com/mesilov/bitrix24-php-sdk/issues/280) |
| 44 | +* bump `symfony/*` to `6.*` version requirement. |
| 45 | +* method `Services\Main\Service::getAvailableMethods` marks as deprecated |
| 46 | +* method `Services\Main\Service::getAllMethods` marks as deprecated |
| 47 | +* method `Services\Main\Service::getMethodsByScope` marks as deprecated |
| 48 | +* ❗️fabric methods `Bitrix24\SDK\Core\Credentials` |
| 49 | + renamed and now are [consistent](https://github.com/mesilov/bitrix24-php-sdk/issues/303): `createFromWebhook`, `createFromOAuth` |
| 50 | + , `createFromPlacementRequest` |
| 51 | +* ❗️deleted [unused class](https://github.com/mesilov/bitrix24-php-sdk/issues/303) `Bitrix24\SDK\Core\Response\DTO\ResponseDataCollection` |
| 52 | +* ❗️deleted [redundant class](https://github.com/mesilov/bitrix24-php-sdk/issues/303) `Bitrix24\SDK\Core\Response\DTO\Result` |
| 53 | +* ❗️deleted [method](https://github.com/mesilov/bitrix24-php-sdk/issues/303) `CoreBuilder::withWebhookUrl`, use |
| 54 | + method `CoreBuilder::withCredentials` |
| 55 | + |
| 56 | +### Bugfix |
| 57 | + |
| 58 | +* add bugfix for batch method for reverse order queries |
| 59 | +* fix type compatible errors for `Core\Result\AbstractItem` |
| 60 | +* fix error in `NetworkTimingParser`, [error in NetworkTimingsErrorInfo](https://github.com/mesilov/bitrix24-php-sdk/issues/277) |
| 61 | +* fix error in `RenewedAccessToken` DTO, remove `Scope` |
| 62 | + enum [UnknownScopeCodeException - in refresh token response](https://github.com/mesilov/bitrix24-php-sdk/issues/295) |
| 63 | + |
| 64 | +### etc |
| 65 | + |
| 66 | +* add link to [boosty.to/bitrix24-php-sdk](https://boosty.to/bitrix24-php-sdk) for sponsoring development |
| 67 | + |
| 68 | +## 2.0-alpha.6 — 7.02.2022 |
4 | 69 |
|
5 | 70 | ### Added |
6 | 71 |
|
|
0 commit comments