Skip to content

3.0.0

Choose a tag to compare

@magicsunday magicsunday released this 14 Jul 14:04
· 16 commits to main since this release
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).