Added
- Added service
Services\CRM\Type\Service\Type- For
AbstractCrmItem added method getSmartProcessItem to get smart process item- Added support for events
- Added separated methods
RemoteEventsFactory::create and RemoteEventsFactory::validate for create and validate incomingevents
- Added comprehensive unit tests for
RemoteEventsFactory::create and RemoteEventsFactory::validate methods - Updated
ContactPersonInterface implementation- Added comprehensive unit tests for
UTMs - Added comprehensive unit tests for
UserAgentInfo- Added support for dynamic OAuth server selection based on regional endpoints
- Added comprehensive unit tests for
EndpointsChanged
- Breaking changes in
ContactPersonInterface method signatures:-
changeEmail(?string $email) - removed second parameter ?bool $isEmailVerified. Migration path: call markEmailAsVerified() separately after changeEmail() if email needs to be verified-
changeMobilePhone(?PhoneNumber $phoneNumber) - removed second parameter ?bool $isMobilePhoneVerified. Migration path: call markMobilePhoneAsVerified() separately after changeMobilePhone() if phone needs to be verified- Replaced
getUserAgent(), getUserAgentReferer(), getUserAgentIp() methods with single getUserAgentInfo(): UserAgentInfo method that returns complete user agent information object. Migration path: use $info->userAgent, $info->referrer, $info->ip properties instead- Updated
RemoteEventsFactory::validate() method signature from validate(EventInterface $event, string $applicationToken) tovalidate(Bitrix24AccountInterface $bitrix24Account, EventInterface $event).- Docker configuration updated to PHP 8.4
- Development environment now uses PHP 8.4.14 (docker/php-cli/Dockerfile):
- PHP 8.4 compatibility improvements:
- OAuth server selection made dynamic:
Fixed
- Fixed wrong offset in
ItemsResult- Fixed wrong exception for method
crm.item.get, now it ItemNotFoundException- Fixed added type
project in enum PortalLicenseFamily- Fixed errors in
ContactPersonRepositoryInterfaceTest - Breaking change: Fixed method signature
Credentials::createFromOAuth() - third parameter changed from string $domainUrl to Endpoints $endpointsobject
- Migration: Replace
Credentials::createFromOAuth($authToken, $appProfile, 'https://example.com') with Credentials::createFromOAuth($authToken, $appProfile, new Endpoints('https://example.com', 'https://oauth.bitrix.info/'))- Updated all unit and integration tests to use new signature
- Fixed bug in
Endpoints class constructor - Fixed unit tests in
CredentialsTest.php to properly instantiate Endpoints objects- Fixed unit tests in
CoreTest.php integration test to use Endpoints objectDeprecated
- Method
RemoteEventsFactory::createEvent marked as deprecated, use RemoteEventsFactory::create and RemoteEventsFactory::validate insteadStatistics
Bitrix24 API-methods count: 1162
Supported in bitrix24-php-sdk methods count: 639
Coverage percentage: 54.99% 🚀
Supported in bitrix24-php-sdk methods with batch wrapper count: 91
https://github.com/bitrix24/b24phpsdk/releases/tag/1.8.0