PDF Stamper Changelog

1.6.6 - 8 January 2025
  • Fix for if no files inside ZIP are PDFs
1.6.5 - 11 November 2024
  • Feature - Apply exclusion settings to all files in product settings, not just ZIP files
  • Fix - is_a() use in line 616 classes/woostamper-pdf-file-handler.php
1.6.4 - 31 October 2024
  • Tweak - improved parsing of nuanced per-product stamping settings
  • Fix - undefined property in 3rd party EDD Sl library
1.6.3 - 4 Sept 2024
  • Better error handling/reporting for if ionCube issues/missing .icl file, missing Seta library files
  • Re-include missing classes/artifact-text-stamp.php file
  • Testing with WC 9.2 and PHP 8.3
1.6.2 - 26 Aug 2024
  • Update links that were web.little-package.com to www.little-package.com
1.6.1 - 16 August 2024
  • Fix issue where per-product stamping on/off settings not being saved correctly in some cases
1.6.0 - 26 July 2024
  • Feature - peruse ZIP packages for PDFs requiring stamping
  • Feature - compatibility with Woo Bulk Downloads
  • Feature - per-product file exclusions (for when a product has more than one PDF, and one/some need not be stamped)
  • Tweak - un-inline JS in WooCommerce product and product variation settings
  • Tweak - show response.responseText in AJAX status window during PDF stamp testing (for failures, e.g. when plugin not setup properly )
  • Update EDD SL to version 1.9.3
1.5.5 - 23 May 2024
  • Tweak Use WooStamper_PDF_Stamp class for both AJAX testing and front end marking for better consistency
  • Tweak - do not sanitize PDF passwords on per-product settings
  • Tweak - provide feedback in logs for users without a correct OpenSSL + PHP version setup
  • Tweak - provide more setup feedback on the settings page
1.5.4 - 22 March 2024
  • Check that opacity (per-product) setting is numeric before using as possible replacement for global setting or default 1
  • Fix discrepancy between testing and frontend watermarking opacity setting handling
1.5.3 - 9 March 2024
  • Check for if start/end pages are integers before comparing in classes/woostamper-pdf-stamp.php line 131
1.5.2 - 22 Feb 2024
  • Fix - Return only 'odd' or 'even' to SetaPDF Stamper, not a range(), in case user sets non-existent page for stamping
  • Tweak - Delete option marking successful file setup and deactivate license key on plugin deactivation, regardless of LNT
1.5.1 - 13 December 2023
  • Tweak - don't delete plugin files (in wp-content/uploads/ directory) on plugin delete unless LNT is turned on
  • Fix - move file pruner function outside woostamper-pdf-pruner.php class
1.5.0 - 20 November 2023
  • Feature - Add more file pruning schedules, other than just 'weekly' (e.g. daily, twicedaily, etc)
  • Feature - 'woostamper_before_callback' and 'woostamper_callback' action hooks added for SetaPDF customizations
  • Tweak - Better accommodate servers which cannot access wp_upload_dir()
  • Tweak - Remove check for PDF syntax during remote file get, as a check for user whose PDFs are getting caught there
  • Tweak - Simplify how required files are included and make compatibility check results visible as admin notices
  • Tweak - Create a trait shared between woostamper-pdf-stamp.php and woostamper-pdf-test-stamp.php
  • Tweak - Minor code refactoring
  • Fix - logging (re-implement on 'plugins_loaded' hook)
1.4.4 - 5 July 2023
  • Rate limit call to API license/plugin update server, and make them more likely to happen appropriately
  • Add auto updates setting so users can opt-in to auto updates (if CRON is on, which it is by default)
  • Testing with WC 7.8
1.4.3 - 9 May 2023
  • Tweak - More checks for errors during (AJAX) test stamping and live stamping - mostly checking for SetaPDF-Stamper installation
  • Tweak - Declare WooCommerce HPOS compatibility
1.4.2 - 24 May 2023
  • Fix - Can't access value of exception $e when no exception thrown line 60 classes/woostamper-pdf-test.php
  • Fix - Settings inheritance (product variation -> product -> global) in classes/woostamper-pdf-file-handler.php
  • Tweak - Change Test/Delete "buttons" on settings page to actual buttons with nonce sent in data attribute
1.4.1 - 14 April 2023
  • In case test.pdf is not in wp-content/uploads/woostamper directory on test request, attempt to restore it there
1.4.0 - 24 March 2023
  • Use an Artifact Text Stamp child class to lend accessibility to stamped PDF documents
  • Don't set SetaPDF $page variable before running $callback, to avoid wrong page size on first pass
  • Enqueue admin scripts, which are now unminified to make debugging easier
  • Allow for *per-pdf-product* manipulation of security handler to unencrypt *encrypted* PDFs before stamping if owner password provided
1.3.0 - 15 November 2022
  • No longer try to store temporary PDFs using get_temp_dir() - use WP uploads directory always for more reliability
  • Repair WooStamper logging settings page delete function
  • More careful type casting of settings values for PHP 8+ (int cannot be multiplied by string)
  • Testing with WP 6.1 and WC 7.1
1.2.1 - 21 June 2022
  • Testing with WP 6 and WC 6.6
1.2 - 4 October 2021
  • Feature - use callback in SetaPDF Stamper addStamp for watermarking on pages of varying size
  • Feature - 'woostamper_filter_shortcodes' filter hook added for adjusting shortcode output
  • Initial testing with PHP 8
1.1.7 - 27 Sept 2021
  • Fix - SOMDN Free Downloads integration broken on get_temporary_file_folder call
  • Testing with WC 5.7
1.1.6 - 19 April 2021
  • Fix - wrong method called upon clicking "delete all customer-generated PDFs"
  • Fix - _woostamper_encryption $_POST value not saved in per-product settings
  • Fix - use isset() not empty() in case of 0 values when saving settings
1.1.5 - 19 March 2021
  • Fix - variables for font size and pdf permissions wrong in woostamper-pdf-stamp.php after previous edits
1.1.4 - 15 March 2021
  • Fix - clean up bitwise calculation of file permissions in woostamper-pdf-stamp.php
  • Tweak - update to current usage of "woocommerce-data-tip" in per-product WooStamper settings
  • Tweak - add 'woostamper_setapdf_stamper_stamp_text' filter (handy for marking stamp as Artifact Stamp, for example)
  • Testing with WC 5.1
1.1.3 - 8 Feb 2021
  • Delete only PDFs when deleting accrued test watermarked files
  • Logging global $woostamper_logs not defined if logging not on
1.1.2 - 1 Feb 2021
  • Fix - use isset() instead of empty() to check for password in per-product settings, to avoid passwording when not desired
  • Tweak - move woostamper_filter_font filter hook inside font name switch
1.1.1 - 19 Nov 2020
  • Fix - don't throw E_WARNING on include_once of SetaPDF library files; also, try looking for SetaPDF_Stamper class first in classes/woostamper-pdf-compatibility.php
1.1.0 - 6 May 2020
  • Feature - always retain original file name through watermarking process and delivery
  • Feature - recycling to re-serve watermarked files if they already exist on server, saving CPU
  • Feature - cron to delete saved files after 1 week (filterable duration for now)
  • Feature - more granular control of file protections with owner passwording and choice of encryption type (128 bit to allow higher file protections).
  • Feature - settings page UX designed to indicate passwording/protections require encryption, and which protections are offered with different encryption levels.
  • Feature - beta version checks (opt in at Settings -> WooStamper license)
  • Fix - variation global settings unobscured
1.0.0 - 22 March 2020
  • Do away with "_e.pdf" file ending when file is encrypted. Should be delivered with title as expected by admin
  • $pages_to_stamp not valid range when end page = "last", create separate method to determine which pages to stamp
  • separate method to determine file permissions
  • update stamp position settings names and set defaults
  • "Unlock with User Password" only works with 128-bit encryption
  • Update last modified date to reflect correct UTC offset
1.0.1-beta 20 March 2020
  • Setting name consistency, unused names removed
1.0.0-beta 20 March 2020
  • Initial release
Little Package