Changelog
What's new in every release.
New features, improvements, fixes and security updates, straight from each plugin’s changelog. Updates install from your WordPress dashboard.
-
- Security Security/compatibility hardening of the bundled PDF library (TCPDF 6.11.4) for WooCommerce Marketplace QIT: no server-variable path guessing, no raw output or debug code, no mcrypt/safe_mode code and no calls deprecated in PHP 8.5. Documents look exactly as before (Arabic, Hebrew and other scripts included).
- Security Stricter template loading: only the known document templates (invoice, packing slip, credit note, shared layout) are loaded, from the plugin or from your theme's pdf-invoice/ folder. Extra template names (partials) can be allowed with the new pdf_invoice_template_names filter.
- Improved PDF/ZIP downloads, the live preview and the order screen buttons are escaped and sanitized without relying on code annotations; the "next number" settings check the settings nonce themselves.
- Improved New PDF_Invoice_Templates::render() to output a template from another template (PDF_Invoice_Templates::get_html() keeps working). The bundled TCPDF changes are listed in tcpdf/WPKODERS-PATCHES.md.
-
- Improved Now requires WordPress 6.5 or later and WooCommerce 8.5 or later.
- New Sequential invoice and credit note numbers (prefix, suffix, digits, yearly reset, date placeholders). Assigned once when the document is first created and never changed. Stores upgrading from 1.1 keep order numbers until they switch.
- New A credit note for every refund (one per refund, own number, positive amounts, localized dates). Refund emails, including partial refunds, attach the credit note of that refund instead of the invoice.
- New Attach any document to any WooCommerce order email, including admin emails, from a per-email table. Unticking everything now really turns attachments off.
- New Unicode documents: a bundled DejaVu Sans font is used automatically for Polish, Czech, Greek, Cyrillic, Arabic, Hebrew and other non-Western text, with a right-to-left option. Documents use the customer's language (and the WPML order language).
- New Guest download links secured by the order key, a "Documents" list on the order-received and view-order pages, and optional links in customer emails.
- New Bulk actions on the orders list (HPOS and legacy): print invoices or packing slips as one PDF, or download invoices as a ZIP.
- New Live preview of unsaved settings on a real order, setup checklist, and a refreshed settings screen (Company & branding, Documents, Numbering, Customer access, Emails, Tools). Option keys are unchanged.
- New Store VAT/tax ID, optional customer VAT number field (classic and block checkout), footer text, US Letter paper, SKU and tax column options, item meta (variations, add-ons) on every document.
- New Theme template overrides (yourtheme/pdf-invoice/) and action/filter hooks for developers.
- New Opt-in "Delete data on uninstall" (off by default: settings and invoice numbers are now kept when the plugin is deleted).
- Fixed Settings migration now runs on every update (not only on activation), never overwrites saved values, and imports PDF Invoice Lite settings.
- Fixed A PDF error can no longer stop checkout, payment or status-change requests; emails are still sent and the error is logged (WooCommerce > Status > Logs, source pdf-invoice).
- Fixed Invoices attach reliably with queued/async SMTP plugins.
- Fixed Prices on documents follow the store's tax display, like WooCommerce emails. The Simple invoice and credit note print proper tables.
- Fixed Logos are found by attachment ID (http/https and CDN URLs no longer drop the logo); unusable logo formats are flagged in the settings.
- Security Customer download rules are enforced on the server (setting, document types, paid/on-hold/refunded orders), unknown document types are rejected, and order editors without full shop-manager rights can download.
- Security Updated the PDF library to TCPDF 6.11.4, pruned to the files in use (3.3 MB to 1.8 MB), with remote image fetching disabled (mitigates GHSA-w76r-cf73-c2vx).
- Improved No extra refund query per row on the orders list; documents are rendered once per request.
- Improved Declared cart/checkout blocks compatibility; translatable admin JavaScript strings; refreshed POT.
-
- Security Email attachment PDFs are now written with unguessable random filenames, protected with Apache 2.4-compatible access rules, and deleted automatically after the email is sent. Stale files are swept opportunistically.
- Fixed Credit note now consistently selects the newest refund across HPOS and legacy CPT order storage (sort by refund ID DESC instead of relying on end() of an unordered array).
- Fixed Implemented automatic invoice attachment to WooCommerce customer emails (Email Statuses setting was saved but never applied to outgoing emails).
- New PDF Documents box on the Order edit screen (classic and HPOS) with Invoice, Packing Slip, and Credit Note download buttons.
- New Uninstall routine removes plugin options and the temporary PDF directory on deletion.
- Fixed Simple packing slip template rebuilt with a proper table layout that renders correctly in TCPDF.
- Fixed Company logos in unsupported formats no longer produce a blank header. Logo files are validated by content (not just extension, so WebP data saved with a .png name is caught) and templates fall back to the company name when the file is unusable. Valid PNG, JPEG, and GIF logos embed as before.
- Fixed The Payment row on documents is hidden when the order has no payment method, instead of printing an empty label.
- Fixed Credit notes for amount-only refunds (no line items selected) now show a "Partial order refund" row with the refund reason if provided, instead of an empty products table.
- Fixed Invalid values can no longer blank the saved accent color; templates always receive a valid color.
- Fixed Removed non-functional "Document Numbering" option and the empty Advanced settings tab.
- Fixed Removed dead/unused code and development comments from the admin class.
- Security Email status settings are sanitized inline and validated against registered WooCommerce order statuses (QIT security audit finding).
- Security PDF template loading now uses a fixed literal path map with realpath containment verification, eliminating variable-based file inclusion (QIT security audit hardening).
- Fixed Synced plugin header Version and readme Stable tag with the PDF_INVOICE_VERSION constant (1.1.2).
- Improved Added direct file access protection (ABSPATH guard) to all bundled TCPDF library and font files (Plugin Check compliance).
- Improved Declared compatibility with WordPress 7.0 and WooCommerce 10.9.
- Improved Refreshed translation template (POT) with all current strings.
-
- Fixed Author name typo corrected (WPKKoders → WPKoders).
- Fixed Content-Disposition header uses sanitize_file_name() instead of esc_attr().
- Fixed Unauthenticated AJAX PDF generation handler removed.
- Fixed Developer and Developer URI added to plugin header.
- Fixed AJAX PDF handler now flushes prior output buffers before sending headers to prevent corrupted PDF streams.
- Fixed AJAX PDF response now sends Content-Length and Content-Transfer-Encoding headers for reliable downloads.
- Fixed Customer ownership check on My Account PDF buttons guards against guest orders (user_id 0) matching unauthenticated visitors.
- Fixed Email status save now applies wp_unslash() before sanitization.
- Fixed PDF template document type and style now validated against whitelists to prevent path traversal through filenames.
- Fixed Credit note and packing slip templates resolve company logo URL to filesystem path for reliable TCPDF rendering (matches invoice template behaviour).
- Fixed Invoice and credit note templates now display variation attributes (e.g. Color: Red) alongside the parent product name.
- Fixed Legacy generate_and_download_pdf() now sanitizes filename and flushes output buffers before headers.
- Fixed Simple packing slip template – corrected malformed </pan> tag and orphan </td> closing tag.
-
- Improved Added – New modern PDF template design for all documents
- Improved Added – Frontend download links for customers in My Account area
- Improved Added – Professional settings page with tabbed interface
- Improved Added – Packing slips and credit notes alongside invoices
- Improved Added – WooCommerce HPOS (High-Performance Order Storage) compatibility
- Improved Added – PDF document column to WooCommerce orders list
- Improved Fixed – Enhanced security with nonce verification on all downloads
- Improved Fixed – User capability checks
- Improved Fixed – Corrupted PDF streams causing "0" output error
- Improved Fixed – Custom branding persistence issues for logos and colors
- Improved Update – Reorganized code into proper class structure
- Improved Update – Added migration system for settings from older versions
- Improved Update – Rebranded plugin name to align with marketplace directory structure
-
- Improved Initial release with basic PDF generation functionality
No change matches that. Try another word or filter.