Plugin changelog

1.10.4 – 2024-02-07

  • TWEAK: Upgraded various library dependencies to current versions, including dompdf/dompdf
  • TWEAK: Updated to latest version of updater library
  • TWEAK: Declare plugin compatible with cart/checkout blocks
  • TWEAK: In the get_detail() method of the sources class, use the billing address if shipping destination is set in the WooCommerce options to be forced to the billing address.

1.10.3 – 2023-09-28

  • TWEAK: Upgraded various library dependencies to current versions

1.10.2 – 2023-07-26

  • TWEAK: Add scheduled time to log message when scheduling of events
  • TWEAK: Log when wc_get_order() fails when printing an order
  • TWEAK: Mark as compatible with WP 6.3
  • TWEAK: Make woocommerce_order_status_changed filter run at slightly lower priority value (i.e. sooner) so as not to be impeded by other plugins that use the same filter and crash

1.10.1 – 2023-06-06

  • TWEAK: Add more logging concerning cron reliability decisions

1.10.0 – 2023-05-10

  • TWEAK: Enhanced to be compatible with WooCommerce high-performance order storage (https://woocommerce.com/document/high-performance-order-storage/)
  • TWEAK: Updated to latest version of updater library
  • TWEAK: Now requires WooCommerce 3.9+ (nothing has been done to prevent it working on earlier versions, but we will not provide support for them)
  • TWEAK: Now requires PHP 7.0+ since all supported WooCommerce versions require this

1.9.6 – 2023-02-20

  • TWEAK: Updated DomPDF dependency to the new 2.0.3 release, fixing a security vulnerability in that library: https://github.com/dompdf/dompdf/releases

1.9.5 – 2023-02-02

  • TWEAK: Updated DomPDF dependency to the new 2.0.2 release, fixing a security vulnerability in that library: https://github.com/dompdf/dompdf/releases

1.9.4 – 2023-01-25

  • FIX: Fix compatibility of WooCommerce Delivery Notes with the mPDF engine extension (https://github.com/DavidAnderson684/woocommerce-printnode-mpdf/)
  • TWEAK: Fix incompatibility with current WooCommerce Delivery Notes release due to changed internal data structure in that plugin
  • TWEAK: Fetch stylesheet via filesystem, not HTTP, with WooCommerce Delivery Notes
  • TWEAK: Update update checker library to latest version
  • TWEAK: Require WooCommerce 3.8+

1.9.2 – 2022-09-22

  • TWEAK: Updated DomPDF dependency to the new 2.0.1 release, fixing a security vulnerability in that library: https://github.com/dompdf/dompdf/releases

1.9.1 – 2022-08-09

  • FIX: Resolve a logic error that made the user interface for configuring order transition responses work incorrectly

1.9.0 – 2022-07-02

  • TWEAK: Updated DomPDF dependency to the 2.0 series (2.0.0), fixing a security vulnerability in that library: https://github.com/dompdf/dompdf/releases

1.8.0 – 2022-06-17

  • FEATURE: Germanized integration can now print packing labels
  • TWEAK: Updated DomPDF dependency to the 1.2 series (1.2.2)
  • TWEAK: Update updater library in Premium version to latest version

1.7.6 – 2022-04-05

  • TWEAK: Updated DomPDF dependency to the 1.2 series (1.2.1)
  • FEATURE: Added support for the proforma invoices generated by WooCommerce PDF Invoices & Packing Slips Professional (WP Overnight)

1.7.5 – 2022-01-28

  • TWEAK: Required fixed version of the phenx/php-svg-lib dependency in order to maintain PHP < 7.4 compatibility
  • TWEAK: Update updater library in Premium version to latest version to fix PHP 8 issue

1.7.4 – 2022-01-20

  • TWEAK: Update updater library in Premium version to latest version
  • TWEAK: Updated composer dependencies

1.7.3 – 2021-08-23

  • FIX: When the mPDF integration plugin was installed, the test document could not be printed
  • TWEAK: Allow users to obtain debugging documents even when no printers are set up

1.7.2 – 2021-07-27

  • TWEAK: Check returned value when interacting with Germanized Pro, to prevent a potential fatal error

1.7.1 – 2021-05-07

  • FEATURE: Integrates with WooCommerce Germanized Pro: can print the packing invoices created by that plugin
  • TWEAK: Introduce the filter woocommerce_print_orders_printnode_which_detail_root to allow stores to over-ride the default address-selection logic on the default "Simple Summary" template. (It remains fully possible to edit or replace the template).

1.7.0 – 2021-03-09

  • FEATURE: Integrates with WooCommerce Germanized Pro: can print the invoices created by that plugin
  • TWEAK: (Incompatible change: requires action if you were using it via a coding customisation). The redundant parameter $order_id is no longer passed either to the output function for any customised sources you had created nor the filter woocommerce_printorders_printnode_document (and thus the order of parameters has changed), nor is it defined in the simple summary template (if you need it, define it with "$order_id = $order->get_id();").
  • TWEAK: The filter woocommerce_print_orders_printnode_schedule_event_when can now be used to decline to schedule an event (via returning boolean false)
  • TWEAK: Update the DomPDF library to the 1.0 series for PHP 8 compatibility
  • TWEAK: Add $document_type, $printer_id, $title parameters to the woocommerce_printorders_printnode_printing_job_options filter
  • TWEAK: Provide a more precise error message when no API key has yet been entered
  • TWEAK: Correct the i18n domain in some __() etc. calls

1.6.5 – 2021-02-02

  • FIX: Use payment_gateways() and check the 'enabled' attribute instead of using get_available_payment_gateways() to get a list of all enabled gateways when building settings
  • TWEAK: Remove unnecessary check for WC >= 3.0 in simple summary templates

1.6.4 – 2021-01-02

  • TWEAK: Update the notice in response to a 401 response code to cover more situations
  • TWEAK: Update bundled updater library to latest release
  • TWEAK: Update AutomateWoo support for 5.1+
  • TWEAK: Update some obsolete jQuery syntax styles

1.6.3 – 2020-12-16

  • TWEAK: When a PrintNode operation returns an HTTP error on the settings page, handle this better by displaying the information and not aborting.

1.6.2 – 2020-12-15

  • FEATURE: Expose the PrintNode "fit to page" option in the plugin settings
  • FIX: Individual printer options set weren't being passed through to the final API call

1.6.1 – 2020-11-28

  • FEATURE: Allowing deleting of active jobs from the PrintNode queue in the 'Print jobs' tab
  • TWEAK: Replace obsolete jQuery.parseJSON() with JSON.parse()
  • TWEAK: Add clarifying text on the 'Printers' and 'Print jobs' tabs if PrintNode rejects the configured API key as invalid

1.6.0 – 2020-11-14

  • FEATURE: Provide a "job" tab, allowing viewing of PrintNode queue state (without having to go to the PrintNode website)

1.5.1 – 2020-11-03

  • FEATURE: Provide settings for controlling when to print based upon order status transitions (e.g. when an order moves from "Processing" to "Completed") in the plugin settings (i.e. using a filter is no longer required)
  • TWEAK: Update jQuery document ready style to the one not deprecated in jQuery 3.0
  • TWEAK: Update the bundled updater libraries
  • TWEAK: When the server PHP version is too low, or too low for DomPDF, advise the user of what action to take (upgrade PHP, or install the mPDF add-on)

1.5.0 – 2020-10-29

  • FEATURE: Provide settings for controlling when to print for different payment methods (e.g. when an order is placed for cash-on-delivery, but only when it is paid for credit card) in the plugin settings (i.e. using a filter is no longer required)
  • FIX: A logic error when printing different templates to different printers could result in extra unwanted copies
  • TWEAK: When adding an order note and using default settings, still include the used printers.
  • TWEAK: When adding an order note, indicate the printer by its name rather than internal ID.
  • TWEAK: Rename the label "print to this printer" as "enable this printer", to clarify its role as a master-switch for the printer.

1.4.0 – 2020-10-28

  • FEATURE: Add support for producing the internal PDF via the mPDF engine, in conjunction with https://github.com/DavidAnderson684/woocommerce-printnode-mpdf – useful for RTL languages
  • TWEAK: Prevent an unwanted PHP coding notice when debugging template output in 1.3.0
  • TWEAK: For consistency, rename the filter woocommerce_print_orders_printnode_html_to_pdf_dompdf_options to woocommerce_printorders_printnode_html_to_pdf_dompdf_options

1.3.0 – 2020-10-16

  • FEATURE: Meta-box on order page now allows retrieval of both HTML and PDF for internal simple summary and PDF for all sources
  • TWEAK: Make the facility to show the internal output for an order always available (not just when there are configured print destinations)
  • TWEAK: Change the method used to replace redundant hyperlinks inside PDF documents
  • TWEAK: Update the bundled updater libraries to current versions

1.2.1 – 2020-09-24

  • TWEAK: Include a facility for seeing the raw printer information from PrintNode

1.2.0 – 2020/09/22

  • FEATURE: Provide a user-interface to allow each print source to be sent to different printers different numbers of times

1.1.1 – 2020/09/16

  • FEATURE: Add "print via PrintNode" action to the bulk action menu on the WooCommerce order list
  • TWEAK: Replace deprecated method call WC_Order::get_product_from_item()
  • TWEAK: Check that get_product() called on an item returns something before further processing it

1.0.7 – 2020/09/11

  • TWEAK: Add an extra parameter to schedule_event() so that more information on context can be logged
  • TWEAK: Update DomPDF to version 0.8.6
  • TWEAK: For consistency, the filter woocommerce_print_orders_printnode_via_cron has been renamed to woocommerce_printorders_printnode_via_cron
  • TWEAK: Call wp-cron.php on the WooCommerce 'thank you' page to help WP's scheduler

1.0.6 – 2020/09/04

  • FEATURE: Provide a setting for the internally-generated 'simple summary' template allowing application of a zero margin on the PDF pages.
  • FIX: When a PrintNode printer provided no options, the WooCommerce order screen treated it as not yet set up
  • TWEAK: Update the bundled updater libraries to current versions

1.0.5 – 2020/08/05

  • TWEAK: Display the message "this printer does not have any configurable options" when an empty list is returned, not just no list.
  • TWEAK: Fix an incorrect call to printf() in the internal template
  • TWEAK: Add a filter woocommerce_print_orders_printnode_schedule_event_when to allow the time at which an event is scheduled to be modified (e.g. decide to print based on a time chosen in the order rather than when the order is placed).
  • TWEAK: Mark as supporting WP 5.5 (requires 4.5+; nothing has been done to remove compatibility with WP 4.4, but this is now the official support requirement)

1.0.4 – 2020/06/29

  • FEATURE: Shortly after sending a print job to PrintNode, the job status is now checked and logged to aid debugging
  • FIX: Version 1.0.2 introduced a regression in the handling of extra options for the "simple" template
  • FIX: The filter woocommerce_printnode_printnode_print_on_payment_complete was mis-named in our initial releases, and is now woocommerce_printorders_printnode_print_on_payment_complete; if you were using it, you will need to tweak it in your code.

1.0.2 – 2020/06/26

  • FIX: Fix some faulty code that inhibited printing upon order placement
  • TWEAK: Mark as compatible with WooCommerce 4.3
  • TWEAK: Update bundled updater library to latest version (1.8.5)
  • TWEAK: Provide the filter woocommerce_printorders_printnode_sources to allow external provision of sources

1.0.0 – 2020/06/18

  • RELEASE: First version