Skip to content

Releases: renoki-co/laravel-sns-events

7.2.0

01 Apr 11:47
a36a61a
Compare
Choose a tag to compare
  • Laravel 10.x support (#107, @stefanzweifel)
    • Dropped: Laravel 8.x, PHP 8.0
    • Added: PHP 8.2

7.1.0

09 Feb 21:38
7950190
Compare
Choose a tag to compare
  • Laravel 9.x upgrade (#45)
    • Dropped Laravel 7.x, PHP 7.3 and PHP 7.4
    • Added PHP 8.1 testing
    • Supressing file_get_contents on the SubscribeURL

7.0.0

13 Nov 10:16
c93a441
Compare
Choose a tag to compare

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 your TestCase, if you have any)
  • Renamed $privateKey to $snsPrivateKey to avoid conflicts
  • Renamed $certificate to $snsCertificate to avoid conflicts
  • Renamed $validCertUrl to $snsValidCertUrl to avoid conflicts
  • For manual testing, either in local or testing, you can pass sns_certificate as query string or X-Sns-Testing-Certificate as header to inject your certificate for message signing testing

6.4.0

17 Jul 18:56
6fc9121
Compare
Choose a tag to compare
  • Moved GeneratesSnsMessages to src/ to be able to test SNS messages in Laravel projects (#29)

6.3.1

20 Jan 08:30
03f17dd
Compare
Choose a tag to compare

Security patches

6.3.0

20 Nov 08:47
b188bfd
Compare
Choose a tag to compare
Update GeneratesSnsMessages.php

6.2.0

22 Oct 16:50
4406f6f
Compare
Choose a tag to compare
  • Dependencies cleanup (#23)

6.1.0

07 Sep 05:07
0034083
Compare
Choose a tag to compare

Laravel 8.x

6.0.1

05 Aug 09:22
Compare
Choose a tag to compare
  • Added separate trait for testing payload (5310d64)

6.0.0

05 Aug 08:51
05dd18b
Compare
Choose a tag to compare

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