Skip to content

4.10.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 16:36
· 3593 commits to 5.x since this release
4.10.0
881da40

Store Management

  • PDF download URLs are now generated with time-limited security tokens.
  • Anonymous users attempting to download a PDF with an expired or missing token are now shown an email verification form.
  • Added a new system message for customizing PDF download emails.

Administration

  • Added the “Link Duration” setting to PDF settings.

Extensibility

  • Added craft\commerce\controllers\DownloadsController::actionEmailChallenge().
  • Added craft\commerce\controllers\DownloadsController::actionPdfChallenge().
  • Added craft\commerce\controllers\DownloadsController::actionPdfSent().
  • Added craft\commerce\elements\Order::getMaskedEmail().
  • Added craft\commerce\models\Pdf::$linkExpiry.
  • Added craft\commerce\services\Pdfs::getPdfUrl() now generates secure tokenized URLs with expiry timestamps.