Skip to content

Releases: renoki-co/laravel-sns-events

5.1.0

22 Jul 16:15
Compare
Choose a tag to compare

Related PR: #20

  • Added a HandlesSns trait (c48019f)
  • Added two new methods to handle business logic at the controller level (0de912e)

Version 5.0.0

29 Jun 15:42
4eb76a2
Compare
Choose a tag to compare

This release contains breaking changes and you should review this PR before upgrading your composer package: #19

You can now customize the payloads for notifications (ex. Cloudwatch alarms) and for subscription confirmation when registering the endpoint in SNS.

Additionally, naming changes occur because of the nature of AWS sent messages.

  • the getEventPayload method got replaced with getNotificationPayload
  • the getSubscriptionConfirmationPayload method got added
  • the \Rennokki\LaravelSnsEvents\Events\SnsEvent event class got changed to Rennokki\LaravelSnsEvents\Events\SnsNotification

Version 4.1.1

24 Jun 17:41
Compare
Choose a tag to compare
  • Removed traits from the events (dee995a)

Version 4.1.0

24 Jun 17:15
7c9d325
Compare
Choose a tag to compare
  • Added support for custom event classes at the controller level (#18)

Version 4.0.0

24 Jun 15:30
4e81e8c
Compare
Choose a tag to compare

Added support for custom payloads (#17)

  • Refactored most of the code to support custom payloads
  • By default, you may now access the message as JSON-encoded string with $event->payload['message']
  • By default, you may now access the headers as array with $event->payload['headers']
  • Added documentation on how to extend and create your own custom payload
  • $event->getMessage() got removed
  • $event->headers got removed

Version 3.0.1

29 Apr 16:57
8cc76ff
Compare
Choose a tag to compare
  • Dropped support for Laravel 5.x (#14)

Version 3.0.0

29 Apr 15:17
8965d6c
Compare
Choose a tag to compare

This version adds breaking changes:

  • $event->message turns into $event->payload

This version replaces $message member with $payload to avoid the mix with the getMessage() method (changes available in this PR: #12)

Make sure to replace all of the occurrences for this breaking change to ensure the full functionality of your app.

Version 2.0.0

29 Apr 14:55
46f8b4e
Compare
Choose a tag to compare

PR: #10

  • Better checks inside the controller
  • Moved to Github Actions
  • Request headers are sent to the event
  • Unit Testing

Version 1.1.0

12 Mar 07:54
4e1787f
Compare
Choose a tag to compare
  • Support for Laravel 7.x (#9)

Version 1.0.1

28 Aug 16:54
11627ea
Compare
Choose a tag to compare
  • Laravel 6.x support