Files
JeremyandClaude Opus 4.8 1d62e26de2 feat: back-in-stock notifications
Notify users when a tracked URL becomes available again after being out
of stock (PriceGhost parity, task 4).

- Url::updatePrice() dispatches a new AvailabilityChangedEvent whenever a
  URL's availability transitions between scrapes (the existing change
  detection now carries the previous/current StockStatus)
- AvailabilityChangedListener fires a StockAlertNotification on the
  out-of-stock -> in-stock transition, gated by a per-product opt-in
- StockAlertNotification reuses all 8 channels (mail, database, Pushover,
  Gotify, Apprise, Telegram, Discord, ntfy) with its own mail template
- New products.notify_in_stock flag + 'Notify when back in stock' toggle
  in the product form
- Tests for the end-to-end transition (opted in / not opted in / going
  out of stock) and the notification message formatting
- Docs updated (features, products)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 08:07:58 +10:00
..