Releases: aws/aws-php-sns-message-validator
Releases · aws/aws-php-sns-message-validator
Version 1.9.0
- Deprecates PHP versions < 7.2.5
Version 1.8.0
- Adds support for message signature based on SHA256 hashing.
Version 1.7.0
- Adds
ReturnTypeWillChange
attributes to prevent deprecation notices in PHP 8.1+
Version 1.6.0
- Mute warning when file_get_contents() fails
- Make Message::fromJsonString() public
- Update README
Version 1.5.0
- Splits up missing and invalid certificate errors for better granularity.
Version 1.4.0
- Properly handle truthy value response,
-1
, fromopenssl_verify
.
Version 1.3.0
- Correctly handle the creation and validation of Lambda formatted
Aws\Sns\Message
objects.
Version 1.2.0
- Adds support for creating an instance of
Aws\Sns\Message
from a PSR-7 Request or ServerRequest.
Version 1.1.0
This library now allows overriding of the host pattern used to verify that SNS signing certs are hosted on a trusted domain. The default pattern remains /^sns\.[a-zA-Z0-9\-]{3,}\.amazonaws\.com(\.cn)?$/
, but it can be set to any pattern for testing.
Version 1.0.0
Amazon SNS Message Validator
The Amazon SNS Message Validator for PHP library allows you to validate that incoming HTTP(S) POST messages are valid Amazon SNS notifications. This library is standalone and does not depend on the AWS SDK for PHP or Guzzle; however, it does require PHP 5.4+ and that the OpenSSL PHP extension is installed.