Fixed
- A notification cancelled while a worker was already handling it could still be sent and end up marked as sent. The worker now only moves a notification to
sendingwhile it is still pending, so a cancel that lands first always wins. - Slack and Discord connection errors stored the full webhook URL, which contains the webhook's secret token, in the notification's
errorcolumn and in the log. The URL is now replaced with[webhook URL]. - Plain-text error responses, such as Slack's
channel_not_found, were recorded as just "Slack returned HTTP 404." The response text is now kept (up to 200 characters).
Changed
- A driver registered as an instance (
Notifier::extend('pager', new PagerDriver)) is cloned for each send, so state such as a failure reason no longer carries over to the next send. Class names and closures were already resolved for every send. - The move to
sendingis now a conditional query rather than an Eloquent update, so Eloquentupdating/updatedevents onNotificationno longer fire for it.NotificationStatusUpdatedis still dispatched.