Changelog

4.2.0 2026-11-06

Added

  • Added an Overview showing demand by product variant, recent subscription activity and notifications needing review.
  • Added optional email verification, signed cancellation links with a confirmation page, and subscription states for pending verification, active, notified, cancelled and expired requests.
  • Added actions to cancel subscriptions and erase subscriber data, with a new “Cancel subscriptions and erase subscriber data” permission.
  • Added a stock-matched notification policy that selects the oldest waiting customers according to available inventory and a configurable subscribers-per-unit ratio.
  • Added the stockFieldHandle config setting to use a custom variant field for stock availability and stock-matched notifications, including variants with unlimited Commerce inventory. (#43 (opens new window))
  • Added craft.backInStock.isVariantInStock() so storefront forms can follow the same stock rules as Back in Stock, including stockFieldHandle. (#43 (opens new window))
  • Added notification history with per-recipient delivery attempts, error details, stock and recipient settings, and sent, failed, cancelled or unconfirmed outcomes. Confirmed failures can be retried automatically; unconfirmed sends are retained for review.
  • Added Retry failed sends and Mark as reviewed actions, with a new “Retry failed notifications and mark notifications as reviewed” permission.
  • Added configurable subscription expiry and completed-history retention.
  • Added editable Craft System Messages for confirmation, verification and availability emails, with localised subjects and message bodies. Existing email templates and saved subjects are preserved on upgrade.
  • Added the craft craft-commerce-back-in-stock/reconcile command to recover missed inventory changes and stalled notifications, expire old requests and remove completed history. Expiry, retention and stalled-notification recovery also run during Craft’s garbage collection.
  • Added developer events for subscription creation and state changes, recipient selection, outgoing subscription messages, and completed delivery attempts.

Changed

  • Replaced Logs with Products, with product-type filtering, product/variant, SKU and subscriber-email search, current stock, links to notifications needing review, and Subscriptions and Activity tabs for each variant.
  • Changed notification delivery to use configurable batches, queue availability checks after Commerce commits inventory changes and recheck stock before sending each notification.
  • Changed fresh installations to match notification recipients to available stock by default; upgraded installations retain their existing notify-everyone behaviour until the setting is changed.
  • Changed successful JSON registration responses to include the subscription state, while preserving the existing response fields.
  • Changed registration rate limiting to use the forwarded client IP when trustedHosts names specific proxies.

Fixed

  • Fixed failed-email log messages omitting the recipient’s email address or error details.

Deprecated

  • Deprecated the legacy Log and Inventory domain APIs in favour of subscriptions, restock runs and delivery attempts. Compatibility adapters remain available throughout the 4.x release line.
  • Deprecated immediate post-delivery purging through purgeRequests; use historyRetention to keep completed history for a configurable period. The existing setting remains functional throughout 4.x.

4.1.13 2026-11-05

Fixed

  • Fixed an error when registering interest with a non-numeric variant ID.
  • Fixed the Confirmation Email Template setting being hidden when Confirmation Email was on and no template was set.

4.1.12 2026-10-15

Changed

  • Updated Craft API usage to avoid deprecated calls.

4.1.11 2026-10-07

Changed

4.1.10 2026-10-05

Fixed

  • Fixed a medium-severity improper control of interaction frequency vulnerability.
  • Fixed a low-severity information disclosure vulnerability.

4.1.9 2026-10-02

Changed

  • Updated the required version of verbb/base to 3.0.19.

Fixed

  • Fixed a low-severity information disclosure vulnerability.

4.1.8 2026-09-30

Fixed

  • Fixed notification email subjects and template paths failing when accessing Craft Commerce variant properties. (#42 (opens new window))
  • Ensure settings can only be saved by authorized administrators.
  • Fixed a high-severity database query vulnerability.

4.1.7 2026-09-23

Changed

  • Render notification email subjects and template-path expressions in Twig sandbox.

4.1.6 2026-09-14

Changed

  • Updated documentation for clearer, more consistent guidance.
  • Clarified optional PHP configuration with focused examples and linkable setting details.

4.1.5 2026-09-13

Changed

  • Normalize plugin settings.

4.1.4 2026-05-19

Added

  • Add an includeAvailableForPurchase setting to treat variants disabled for purchase as out of stock.

4.1.3 2026-05-10

Fixed

  • Fix duplicate notification emails when multiple Commerce stock-related events fire during a single variant update.

4.1.2 2026-05-03

Fixed

  • Fix inventory updates for variants.

4.1.1 2026-04-29

Fixed

  • Fix logs links by resolving Commerce variant rows to the product edit URL.
  • Fix product/variant link.

4.1.0 2025-11-26

Added

  • Add support for Commerce 5.5 and proper inventory-tracking handling.

Changed

  • Now requires Commerce 5.5+.

4.0.9 2025-08-13

Fixed

  • Fix incorrect URL for product/variant when one can’t be found.

4.0.8 2025-07-18

Fixed

  • Fix back-in-stock logic for deeming when a variant comes back in stock.

4.0.7 2025-03-05

Added

  • Add stockThreshold plugin setting to control the minimum stock level to trigger notifications.

4.0.6 2025-02-03

Fixed

  • Fix log table “Product/Variant” using the Product Type cpEditUrl, instead of the individual Product/Variant cpEditUrl.

4.0.5 2024-12-31

Fixed

  • Fix an error related to plugin settings.

4.0.4 2024-12-14

Added

  • Add “From Name” and “From Email” plugin settings.

Changed

  • Email template plugin settings now support aliases and .env variables.

Fixed

  • Fix an issue for case-sensitive email checks.
  • Fix an error when viewing logs.

4.0.3 2024-11-21

Fixed

  • Fix an error on Postgres installs.

4.0.2 2024-11-20

Added

  • Logs are now sortable.
  • Logs can be searched.
  • Logs are now lazy-loaded for performance.

Changed

  • Logs are now paginated.
  • Logs are now listed newest first by default.

Fixed

  • Fix an error where checks for out of stock variants were being performed on unsaved variants.

4.0.1 2024-11-08

Fixed

  • Fix an error when adding an email with options.

4.0.0 2024-10-25

Changed

  • Now requires Craft 5.0+.
  • Now requires Craft Commerce 5.0+.