Skip to content

1.11.0

Choose a tag to compare

@goldnead goldnead released this 14 Oct 22:04
· 4 commits to main since this release

Added: deferred delivery queue

  • Notifications::notifyDeferred() writes the notification and one notification_deliveries row per channel in a single transaction; php artisan notifications:dispatch-pending sends them later, with retry and exponential backoff (notifications.deferred.max_attempts, backoff_seconds). The addon schedules nothing; the host runs the command.
  • Only channels implementing DeferredChannel (in-app and mail) can carry a deferred row; recipients are resolved at send time through DeferredRecipientResolver. Outcomes are accepted, skipped, retry, cancelled or failed.
  • dispatchPending counts a row as claimed once the dispatcher took it under its lock.
  • New migration notification_deliveries.