Releases: mesilov/bitrix24-php-sdk
Releases · mesilov/bitrix24-php-sdk
2.0-beta.2
What's Changed
- Update dependency versions in composer.json by @mesilov in #374
- 371 publish b24 php sdk beta 2 by @mesilov in #375
Full Changelog: 2.0-beta.1...2.0-beta.2
1.3
What's Changed
- add new subscription exception by @mesilov in #247
- add add callback function for PortalRenamed by @mesilov in #251
- 249 portal renamed by @mesilov in #252
- fix php version requirements again by @mesilov in #253
- change psr/log version requirements by @Elnadrion in #343
New Contributors
- @Elnadrion made their first contribution in #343
2.0-beta.1
Added
- ❗️add php 8.3, 8.2 support, drop 8.1 and 8.0 support
- add
Symfony\Component\Uid\Uuid
requirements - add contracts for bitrix24 applications based on bitrix24-php-sdk -
Bitrix24\SDK\Application\Contracts
, now
addedBitrix24Account
- add service builder factory
- add method
Bitrix24\SDK\Core\Credentials\Scope::initFromString
- add method
Bitrix24\SDK\Application\ApplicationStatus::initFromString
- add system CRM multi-field type
Bitrix24\SDK\Services\CRM\Common\Result\SystemFields\Types\Phone
- add scope
user
,user_basic
,user_brief
,user.userfield
and
services add scope user supportBitrix24\SDK\Services\User\Service\User::fields
- get user fieldsBitrix24\SDK\Services\User\Service\User::current
- get current userBitrix24\SDK\Services\User\Service\User::add
- add userBitrix24\SDK\Services\User\Service\User::get
- get userBitrix24\SDK\Services\User\Service\User::update
- update userBitrix24\SDK\Services\User\Service\User::search
- search users
- add method
\Bitrix24\SDK\Services\CRM\Contact\Service\Batch::update()
for batch update contacts - add crm item support
- add enum
DealStageSemanticId
- add Duplicate search support for
Bitrix24\SDK\Services\CRM\Duplicates\Service\Duplicate
- add
x-request-id
header support - add CRM multifields support header support
Email
Phone
Website
IM
- add Catalog scope services support
Changed
- ❗️Batch interface
BatchInterface
renamed
toBitrix24\SDK\Core\Contracts\BatchOperationsInterface
- ❗
Bitrix24\SDK\Services\Telephony\Requests\Events
moved to separated namespaces:- from
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallInit
toBitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallInit\OnVoximplantCallInit
- from
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallStart
toBitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallStart\OnVoximplantCallStart
- from
Bitrix24\SDK\Services\Telephony\Requests\Events\OnExternalCallStart
toBitrix24\SDK\Services\Telephony\Requests\Events\OnExternalCallStart\OnExternalCallStart
- from
Bitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallEnd
toBitrix24\SDK\Services\Telephony\Requests\Events\OnVoximplantCallEnd\OnVoximplantCallEnd
- from
- ❗Changes in
Bitrix24\SDK\Application\Contracts\Bitrix24Account\Bitrix24AccountInterface
:- method
getContactPerson
renamed togetContactPersonId
- added method
getApplicationVersion
- added method
updateApplicationVersion
- added method
getApplicationScope
- added method
applicationInstalled
- added method
applicationUninstalled
- added method
markAsDeactivated
- added method
getBitrix24UserId
- removed method
markAccountAsDeleted
- changed method
markAsActive
- method
- ❗Changes in
Bitrix24\SDK\Application\Contracts\Bitrix24Account\Bitrix24AccountRepositoryInterface
:- method
saveAccount
renamed tosave
- method
deleteAccount
renamed todelete
- method
findAccountByMemberId
renamed tofindByMemberId
- method
getAccountByMemberId
renamed togetByMemberId
- method
findAccountByContactPersonId
renamed tofindByContactPersonId
- method
findAccountByDomainUrl
renamed tofindByDomainUrl
- add method
findAllActive
- add method
findAllDeactivated
- method
Bugfix
- fix typehint at ContactItemResult
- fix return types in DealCategoryItemResult
- fix add auth node in telephony voximplant events requests
- fix add helper metods isError for registerCallResult fortelephony
- fix add return type for crm multifields phone, email, im
- fix errors in
ShowFieldsDescriptionCommand
metadata reader CLI command - fix errors for
ApplicationProfile
with empty scope - fix errors in
Core
with auth attempt to non-exists portal
etc
- move CLI entry point to
bin/console
2.0-alpha.7
Added
- add new scope
Telephony
and services add Telephony support - add new scope
UserConsent
and services add UserConsent support - add new scope
Placements
and services add Placements support - add new scope
IMOpenLines
and services add IM Open Lines support - add in scope
CRM
new serviceLeads
in scope «CRM» add Leads support - add in scope
CRM
new serviceActivity
in scope «CRM» add Activity support - add in scope
CRM
for entity Deal methodServices\CRM\Deal\Service\Batch::update
batch update deals - add in scope
CRM
for entity Contact methodServices\CRM\Contact\Service\Batch::delete
batch delete contacts - add in scope
CRM
read models for activityServices\CRM\Activity\ReadModel
for activity types:EmailFetcher
,OpenLineFetcher
,VoximplantFetcher
,WebFormFetcher
- add in scope «Main» new service
Events
add incoming events support - add support Application level events:
ONAPPINSTALL
andONAPPUNINSTALL
add incoming events support - add support Application level event:
PortalDomainUrlChangedEvent
- add method
Core\Batch::updateEntityItems
for update items in batch mode and
integration test - add method to interface
Core\Contracts\BatchInterface::updateEntityItems
for update items in batch mode - add in scope
Placements
servicePlacement\Service\UserFieldType
for work with user fields embedding - add in scope
Telephony
add events:OnExternalCallBackStart
,OnExternalCallStart
,OnVoximplantCallEnd
,OnVoximplantCallEnd
,OnVoximplantCallInit
,OnVoximplantCallStart
see add telephony events - add
ApplicationStatus
with application status codes description - add fabric method
AccessToken::initFromPlacementRequest
when application init form placement request - add fabric method
ApplicationProfile::initFromArray
when application profile stored in ENV-variables - add
Bitrix24\SDK\Application\Requests\Placement\PlacementRequest
for application data from placements - add fabric method
Credentials::initFromPlacementRequest
when application init form placement request - add method
Services\Main\Service::getServerTime
returns current server time in the format YYYY-MM-DDThh:mm:ss±hh:mm. - add method
Services\Main\Service::getCurrentUserProfile
return basic Information about the current user without any scopes - add method
Services\Main\Service::getAccessName
returns access permission names. - add method
Services\Main\Service::checkUserAccess
Checks if the current user has at least one permission of those specified by the ACCESS parameter. - add method
Services\Main\Service::getMethodAffordability
Method returns 2 parameters - isExisting and isAvailable - add money type support by phpmoney
- add support fields
operating
andoperating_reset_at
atBitrix24\SDK\Core\Response\DTO\Time
datastructures
Changed
- update scope list расширить и актуализировать доступные скоупы
- bump
symfony/*
to6.*
version requirement. - method
Services\Main\Service::getAvailableMethods
marks as deprecated - method
Services\Main\Service::getAllMethods
marks as deprecated - method
Services\Main\Service::getMethodsByScope
marks as deprecated - ❗️fabric methods
Bitrix24\SDK\Core\Credentials
renamed and now are consistent:createFromWebhook
,createFromOAuth
,createFromPlacementRequest
- ❗️deleted unused class
Bitrix24\SDK\Core\Response\DTO\ResponseDataCollection
- ❗️deleted redundant class
Bitrix24\SDK\Core\Response\DTO\Result
- ❗️deleted method
CoreBuilder::withWebhookUrl
, use
methodCoreBuilder::withCredentials
Bugfix
- add bugfix for batch method for reverse order queries
- fix type compatible errors for
Core\Result\AbstractItem
- fix error in
NetworkTimingParser
, error in NetworkTimingsErrorInfo - fix error in
RenewedAccessToken
DTO, removeScope
enum UnknownScopeCodeException - in refresh token response
etc
- add link to boosty.to/bitrix24-php-sdk for sponsoring development
2.0-alpha.6
2.0-alpha.6 — 7.02.2021
Added
- add «fast» batch-query without counting elements in result
recordset Добавить поддержку выгрузки большого количества данных без подсчёта элементов -1 - add
Credentials
in CoreBuilder set credentials from core builder - add method
Core\Batch::deleteEntityItems
for delete items in batch mode and integration test - add integration test for read strategy
FilterWithBatchWithoutCountOrderTest
- add type check in method
Core\Batch::deleteEntityItems
- only integer id allowed - add interface
Core\Contracts\DeletedItemResultInterface
- add in scope «CRM»
Services\CRM\Deal\Service\Batch::delete
batch delete deals - add
symfony/stopwatch
component for integration tests - add
/Infrastructure/HttpClient/TransportLayer/NetworkTimingsParser
for parsecurl_info
network data structures for debug logs
inBitrix24\SDK\Core\Response::__destruct()
- add
/Infrastructure/HttpClient/TransportLayer/ResponseInfoParser
for parsebitrix24_rest_api
timing info for debug logs
inBitrix24\SDK\Core\Response::__destruct()
- add
Bitrix24\SDK\Core\BulkItemsReader
for data-intensive applications for bulk export data from Bitrix24, read strategies located in
folderReadStrategies
, in services read model must use most effective read strategy. - add integration tests in GitHub Actions pipeline 🎉, now integration tests run on push on
dev-branch
- add incoming webhook for run integration tests
vendor-check.yml
from vendor CI\CD pipeline
Changed
- switch
symfony/http-client
to5.4.*
version requirement. - switch
symfony/http-client-contracts
to^2.5
version requirement. - switch
symfony/event-dispatcher
to5.4.*
version requirement. - switch
ramsey/uuid
to^4.2.3
version requirement. - switch
psr/log
to^1.1.4 || ^2.0 || ^3.0
version requirement.
1.2.2
1.2.1
1.2.0
1.2.0 (15.01.2022)
- add callback function for PortalRenamed
event Добавить callback-функцию при переименовании портала для ветки 1.x - bump minimum php version for 5.4.*
- disable default CURLOPT_FOLLOWLOCATION
1.1.0
2.0-alpha.5
2.0-alpha.5 – 28.11.2021
Added
- add method
countByFilter
for all related services, see
issue Добавить для всех сущностей метод подсчёта количества элементов по фильтру #228 - add in scope «CRM» Userfield service and integration test
- add in scope «CRM» ContactUserfield service and integration test, see
issue Добавить сервис по работе с юзерфилдами контакта #231 - add method getUserfieldByFieldName for
ContactItemResult
- add in scope «CRM» DealUserfield service and integration test, see
issue Добавить сервис по работе с юзерфилдами cделки #232 - add method getUserfieldByFieldName for
DealItemResult
- add exception
UserfieldNotFoundException
Removed
- remove all
0.*
and1.*
code from2.*
branch
Changed
- update type definition for
ContactItemResult
, now return types will be cast to real types: DateTimeInterface, int, boolean etc - update type definition for
DealItemResult
, now return types will be cast to real types: DateTimeInterface, int, boolean etc