PDF Stamper Changelog

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.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 Web