Releases: netresearch/sdk-api-universal-messenger
Release list
3.0.1
Documentation and CI maintenance only. No functional changes — the API surface is identical to 3.0.0.
Documentation
- Updated the bundled developer manual to Universal Messenger 7.64 (
doc/Developer_de_UM_7-64.pdf). - Corrected the server compatibility boundary: API-key basic authentication requires Universal Messenger 7.56.0 or later, not 7.40 as previously stated. The
umopen/opentoken is deprecated since UM 7.41 and works only transitionally. See the Compatibility table in the README. - Added the Compatibility table mapping SDK major versions to Universal Messenger server generations.
- Fixed
doc/Basic.md: the constructor example was missing$apiSecret, and the class map is the fifth parameter, not the fourth.
Maintenance
- Migrated CI to the shared org
php-cireusable workflow. - Renovate configuration adjustments for org-owned reusable workflows.
3.0.0
Breaking changes
Authentication migrated from the deprecated umopen/open query parameter to HTTP basic authentication (public key + secret key). This follows the Universal Messenger API change (the cmsbs.open token, used up to UM 7.40, is replaced by API keys authenticated via an Authorization: Basic … header).
UniversalMessenger::__construct() now requires the secret key as its fourth argument:
new UniversalMessenger($logger, $webserviceUrl, $apiKey, $apiSecret);Changes
- Add
AuthenticationPlugin(BasicAuth) to the plugin client; every request carries theAuthorization: Basic …header. - Drop the
umopen/openquery parameters from the endpoint URLs. - Redact the
Authorizationheader from HTTP request logs (RedactAuthorizationHeaderFormatter). - Require
php-http/client-common.
2.0.0
PHP 8.5 support (breaking)
⚠️ Breaking changes
- Minimum Symfony raised to 7.3. Requiring
magicsunday/xmlmapper: ^2.0 || ^3.0transitively pullssymfony/property-info/symfony/property-access^7.3 || ^8.0. Symfony 6 hosts are no longer supported — hence the major version bump. - Dropped
magicsunday/xmlmapper1.x. The request DTOs now use native PHP 8 attributes (#[XmlAttribute],#[XmlNodeValue],#[XmlCDataSection]) instead of the legacy PHPDoc annotations only xmlmapper 1.x read.
✨ Features
- PHP 8.5 support. The dependency chain now resolves on PHP 8.2–8.5 (xmlmapper 2.0.0 on 8.2, 3.0.1 on 8.3+); both read native attributes.
phpstan.neonverifies the whole 8.2–8.5 range and the CI matrix includes 8.5.
Notes
1.1.3
- Add PHP 8.5 support (widen constraint to
^8.2) - Fix CGL violations (
no_unneeded_control_parentheses) - Add missing
: mixedreturn type toJsonSerializer::decode()
Note: PHP 8.5 CI testing is blocked until magicsunday/xmlmapper releases a PHP 8.5-compatible version. The PHP constraint allows 8.5, but transitive dependency resolution will fail until then.
1.1.2
What's Changed
- Widen PHP constraint from
>=8.2.0 <8.5.0to^8.2 - Update phpdocumentor/reflection-docblock to v6
- Downgrade to PHPUnit 11 and allow Symfony HTTP Client 7 for PHP 8.2 compatibility
- Fix deprecated
Type::BUILTIN_TYPE_BOOLusage - Various dependency updates
Note: Full PHP 8.5 support requires an additional release once magicsunday/xmlmapper publishes a PHP 8.5-compatible version. See magicsunday/xmlmapper#1.
Full Changelog: 1.1.1...1.1.2