Releases: renoki-co/laravel-sns-events
Releases · renoki-co/laravel-sns-events
7.2.0
7.1.0
7.0.0
Updated Rennokki\LaravelSnsEvents\Concerns\GeneratesSnsMessages trait
Instead of manually using ->json('POST', $yourWebhookUrl), you can now import the trait in your TestCase class and use the sendSnsMessage method.
The certificate used for testing is auto-generated with OpenSSL and is auto-injected.
$payload = $this->getNotificationPayload(['test' => 1, 'sns' => true]);
$this->sendSnsMessage('/webhook', $payload)->assertOk();- SSL certificate for testing now auto-initializes (you should remove the custom
initializeSsl()method defined in yourTestCase, if you have any) - Renamed
$privateKeyto$snsPrivateKeyto avoid conflicts - Renamed
$certificateto$snsCertificateto avoid conflicts - Renamed
$validCertUrlto$snsValidCertUrlto avoid conflicts - For manual testing, either in
localortesting, you can passsns_certificateas query string orX-Sns-Testing-Certificateas header to inject your certificate for message signing testing
6.4.0
6.3.1
6.3.0
6.2.0
6.1.0
6.0.1
6.0.0
This PR adds breaking changes by adding a validator and changing how the messages are being retrieved.
Please see the following PR for the breaking changes: https://github.com/renoki-co/laravel-sns-events/pull/21/files