Notas da versão 3.0.0: 4 novidades 2 melhorias 53 correções 5 reforços de segurança
Novidade
- PLUGINS-3554 - Added EPUB watermarking, PDF invoice watermarking, per-product watermark overrides, storefront PDF samples, a preflight tool, settings search, and a WooCommerce System Status section. Includes 19 translations.
- Added activity logs with filtering, CSV export, and dashboard issue tracking.
- Added configurable PDF invoice layouts with improved support for currency symbols, international languages, shipping details, discounts, taxes, fees, and refunds.
- Added custom watermark controls for text and images, including positioning, opacity, size, rotation, and offsets.
Melhoria
- Improved admin settings guidance by disabling Angle Direction fields when the corresponding angle is zero.
- Removed the duplicate PDF Invoices Global Overrides screen. Global watermark settings are now managed under Sellable PDFs > Global Overrides.
Correção
- Fixed parallel downloads sharing temporary files, preventing customers from receiving another customer's watermarked file or encountering file-not-found errors.
- Improved temporary file security with unguessable filenames and restricted direct access while preserving original download filenames.
- Fixed PDF encryption when all protection restrictions are enabled. PDFs without restrictions are no longer unnecessarily encrypted.
- Improved transparent PNG watermark rendering, preserving transparency without covering PDF content.
- Fixed resumed PDF and EPUB downloads across iPhone, iPad, and download managers.
- Improved EPUB watermarking to preserve the EPUB container structure, manifest, original filenames, and existing book content.
- Improved EPUB previews to display actual product images and sample buyer details correctly.
- Improved EPUB watermark appearance to match Sellable PDFs settings, including text and image positioning, rotation, opacity, colour, sizing, and font styles.
- Fixed watermark positioning, negative offsets, rotation, page selection, and fine-tuning when migrating from older plugin versions.
- Improved support for image and font assets in EPUB files, preventing conflicts with existing book files.
- Improved compatibility with Redirect only download methods, X-Sendfile, and resumed EPUB downloads.
- Improved local file detection and watermarking for downloads stored outside the uploads folder, including ABSPATH-relative paths and site URL variations.
- Improved remote file fetching with response validation and a configurable timeout filter.
- Fixed EPUB and ZIP temporary file cleanup, including filenames containing spaces or special characters.
- Fixed watermark rendering for encoded EPUB chapter filenames and shop names containing ampersands or apostrophes.
- Improved hand-drawing watermark handling and automatically cleaned up temporary drawing images after PDF downloads.
- Improved invoice accuracy to match WooCommerce order totals, including discounts, coupon codes, shipping, fees, taxes, refunded amounts, and net totals.
- Improved international invoice rendering with support for currency symbols and mixed-language text, including Arabic, Cyrillic, Greek, Japanese, Traditional Chinese, Korean, Thai, and Bengali.
- Improved invoice layouts with shipping addresses, item details, long product names, and better page-break handling.
- Fixed invoice email attachments using the configured filename instead of a randomly prefixed filename.
- Improved invoice numbering to prevent duplicate numbers, including invoices downloaded manually by shop staff.
- Improved invoice archiving so stored invoices are refreshed when language, logo, or watermark settings change.
- Improved invoice archive cleanup when orders are permanently deleted or personal data is erased.
- Fixed invoice generation when logos are missing, unreadable, or oversized.
- Improved invoice caching so repeated downloads reuse the stored PDF when order details and invoice settings remain unchanged.
- Fixed invoice previews assigning invoice numbers and ensured invoice numbering remains sequential and protected.
- Improved per-product watermark overrides, including specific-page stamping, global watermark fallbacks, protection settings, and inheritance by product variations.
- Fixed password notices to respect per-product password settings and use the WooCommerce order number customers see.
- Fixed download-limit redirects and messages so customers see WooCommerce's download limit notice instead of a plain 403 error.
- Improved storefront PDF sample access. Samples are available for published, non-password-protected products, while shop staff can preview draft products.
- Fixed storefront PDF samples rebuilding when Sellable PDFs text appearance settings change.
- Improved temporary folder error handling for PDF and EPUB downloads, displaying customer-friendly messages instead of server paths or fatal errors.
- Improved handling of PHP errors, failed EPUB extraction, and unwritable temporary folders.
- Improved PDF, EPUB, invoice, and CSV delivery when other plugins or themes generate unexpected output.
- Added dashboard reporting to identify files or plugins causing unexpected output and download issues.
- Improved remote and local file validation to prevent invalid files from being processed.
- Moved activity logs into a dedicated database table, removing entry limits and preserving lifetime watermarking counts.
- Ensured failures are recorded even when activity logging is disabled and displayed recent activity in newest-first order.
- Improved activity log date filters to use accurate times and the store's timezone.
- Improved CSV exports to preserve accented and non-Latin characters in Excel.
- Added activity log support to WordPress personal data export and erasure, with corresponding privacy policy coverage.
- Improved settings autosave to update only registered settings and validate dropdown and multi-select values.
- Fixed settings presets, merge-tag autosave, undo behaviour, and unsaved-change warnings.
- Improved dashboard income reporting to include all paid orders within the selected date range.
- Improved dashboard and admin interface responsiveness, inherited fields, product override labels, tab highlighting, and small-screen save controls.
- Improved large-store performance by processing dashboard income reports and log exports in batches.
- Fixed PDF invoice order-box markup conflicts with WooCommerce refund reasons.
- Fixed log filter links to remove only empty filters while preserving active filters.
- Improved page selection to support ranges such as 2-4 and report when no pages match.
- Improved migration from version 2.x, preserving negative watermark offsets, fine-tune precision, and existing settings.
- Made the 2.x upgrade process resumable if interrupted and added upgrade notices for versions 2.1.3 and older.
- Improved uninstall cleanup to remove plugin-specific invoice settings, sample PDFs, and uploaded fonts while preserving the invoice number counter.
- Improved translation support across admin screens and updated bundled translations.
Segurança
- Restricted EPUB file processing to safe internal package and chapter paths, preventing access outside the book structure. Restricted watermark images to supported image formats stored in the uploads folder.
- Blocked scripts in EPUB first chapters and prevented merchant image paths from accessing files outside the uploads directory.
- Improved invoice download validation to serve only genuine PDF files from the plugin's invoice folders.
- Restricted invoice downloads, previews, and sample files to their intended plugin locations.
- Prevented passwords from being recorded in activity logs or autosave history.