Skip to content

Releases: netresearch/sdk-api-universal-messenger

3.0.1

Choose a tag to compare

@magicsunday magicsunday released this 21 Jul 08:34
23f2f42

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/open token 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-ci reusable workflow.
  • Renovate configuration adjustments for org-owned reusable workflows.

Resolves #33, #35 (#34, #36).

3.0.0

Choose a tag to compare

@magicsunday magicsunday released this 14 Jul 14:04
0a3750c

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 the Authorization: Basic … header.
  • Drop the umopen/open query parameters from the endpoint URLs.
  • Redact the Authorization header from HTTP request logs (RedactAuthorizationHeaderFormatter).
  • Require php-http/client-common.

Resolves #31 (#32).

2.0.0

Choose a tag to compare

@magicsunday magicsunday released this 13 Jul 22:12
6937341

PHP 8.5 support (breaking)

⚠️ Breaking changes

  • Minimum Symfony raised to 7.3. Requiring magicsunday/xmlmapper: ^2.0 || ^3.0 transitively pulls symfony/property-info / symfony/property-access ^7.3 || ^8.0. Symfony 6 hosts are no longer supported — hence the major version bump.
  • Dropped magicsunday/xmlmapper 1.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.neon verifies the whole 8.2–8.5 range and the CI matrix includes 8.5.

Notes

  • Public API unchanged; the serialized XML is byte-identical (the XmlSerializer golden-output test passes with both xmlmapper 2.0.0 and 3.0.1).
  • Closes #21. Supersedes #22.

1.1.3

Choose a tag to compare

@CybotTM CybotTM released this 27 Feb 13:52
1.1.3
66441a4
  • Add PHP 8.5 support (widen constraint to ^8.2)
  • Fix CGL violations (no_unneeded_control_parentheses)
  • Add missing : mixed return type to JsonSerializer::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

Choose a tag to compare

@CybotTM CybotTM released this 27 Feb 13:26
1.1.2
e7aa65a

What's Changed

  • Widen PHP constraint from >=8.2.0 <8.5.0 to ^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_BOOL usage
  • 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

1.1.1

Choose a tag to compare

@magicsunday magicsunday released this 12 Feb 14:36
[RELEASE] v1.1.1

1.1.0

Choose a tag to compare

@magicsunday magicsunday released this 03 Feb 13:47

Full Changelog: 1.0.3...1.1.0

1.0.3

Choose a tag to compare

@magicsunday magicsunday released this 25 Jun 05:52

Full Changelog: 1.0.2...1.0.3

1.0.2

Choose a tag to compare

@magicsunday magicsunday released this 11 Jun 12:33

Full Changelog: 1.0.1...1.0.2

1.0.1

Choose a tag to compare

@magicsunday magicsunday released this 31 May 12:39
Improve POST exception handling