Releases: renoki-co/laravel-sns-events
Releases · renoki-co/laravel-sns-events
5.1.0
Version 5.0.0
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 withgetNotificationPayload
- the
getSubscriptionConfirmationPayload
method got added - the
\Rennokki\LaravelSnsEvents\Events\SnsEvent
event class got changed toRennokki\LaravelSnsEvents\Events\SnsNotification
Version 4.1.1
- Removed traits from the events (dee995a)
Version 4.1.0
- Added support for custom event classes at the controller level (#18)
Version 4.0.0
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
- Dropped support for Laravel 5.x (#14)
Version 3.0.0
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
PR: #10
- Better checks inside the controller
- Moved to Github Actions
- Request headers are sent to the event
- Unit Testing
Version 1.1.0
- Support for Laravel 7.x (#9)
Version 1.0.1
- Laravel 6.x support