WP TCPDF Bridge Changelog

2.4.0 - 23 Dec 2024
  • Fix - issue in WPTCPDF_Handler where shortcodes not being parsed
  • Fix - check if $plugin is an object in maybe_disable_auto_plugin_updates() method
  • Fix - Settings display of margins reversed despite being saved correctly in database
  • Feature - Manual [wptcpdfb] shortcodes, with file ID from Media Library or a URL (automatically obfuscated)
  • Feature - Namespacing
  • Feature - add CRON pruning schedule options (e.g. hourly, twice weekly) to plugin settings
  • Tweak - error feedback for PDFs of version >= 2.0, which are not parsed by TCPDI
  • Tweak - combine WPTCPDFB_Download class into WPTCPDFB_Handler class; create a settings property so class is more accessible
  • Tweak - update templates/wptcpdfb/modal.php template to handle if several similar links are on same page
  • Update TCPDF to version 6.7.7
2.3.3 - 22 October 2024
  • Fix - Show more than 12 shortcodes in the shortcode generator screen
  • Fork tcpdi_parser.php and add catch for presence of <> in getRawObject() method
  • Update EDD Software License integration to verion 1.9.3
  • Fix PHP "dynamic property" deprecation error in wp-tcpdf-bridge/wp-tcpdf-bridge.php line 117
2.3.2 - 26 Aug 2024
  • Update links that were web.little-package.com to www.little-package.com
2.3.1 - April 2024
  • Upgrade TCPDF to version 6.7.4
2.3.0 - February 2024
  • Fix - exit() after echo PDF content to browser / forced downlaod
  • Fix - namespacing for font upload wptcpdf-font.php class
  • Fix - set default TCPDF font to 'helvetica'
  • Update TCPDF to version 6.6.5
  • Feature - more built-in fonts from TCPDF package available in the settings panel
2.2.1 - October 2023
  • Fix - file upload JS modal not firing due to element name mismatch on shortcode settings page
2.2 - 21 August 2023
  • Feature - Add support for [DATE-###] shortcodes
  • Feature - Add AE Al Arabiya, Kozmin Pro and Kozgo Pro fonts to default font selections
  • Tweak - improve error feedback from TCPDF on failed downloads
2.1 - 16 August 2023
  • Feature - full TCPDF barcode support, including QR code
  • Feature - footer rotation option (footer and overlay placements are now identical in function)
  • Feature - add `wptcpdfb_phone` and `wptcpdfb_company` filter hooks which accept $_POST as a parameter and could be used to create custom shortcodes from add-on form fields (or just phone and business name!)
  • Fix for TCPDF in PHP 8.2
  • Fixes for scattered JS syntax errors
  • Update POT language file
2.0.4 - 20 February 2023
  • Refactor plugin JS
  • Fix uncertain issue with TCPDF testing feature
  • Prevent added fonts from being removed from font selection in settings
  • Default options set to array() where array expected in get_option()
2.0.3 - 20 February 2023
  • Change ABSPATH to WP_CONTENT_DIR in classes/wptcpdfb-font.php line 236
2.0.2 - 14 February 2023
  • Fix missing PNG transparency. Must use full namespace in method_exists() call in TCPDF.php line 7136
2.0.1 - 10 February 2023
  • Correct path constant in /inc/tcpdf/tcpdf/tcpdf_autoconfig.php
  • Make sure TCPDF Output() goes to file - not force - when watermarking uploads on the backend
  • Overwrite TCPDF Header() and Footer() methods to avoid printing of margins and hard rules on PDFs
2.0 - 6 February 2023
  • Improvements in error handling
  • Catch for when start or end page are greater than pagecount
  • Move JS from inline to enqueued in admin settings
  • Minify JS
  • Update EDD software license code
  • Update modal.php template to escape output and work with new (vanilla) modal
  • Update templates/wptcpdfb files to escape output
  • Remove need for jQuery migrate
  • Use WP uploads folder for temporary storage (stop trying to use /tmp etc)
  • New option for forced/x-accel/redirect downloads
  • Use native TCPDF force download handler for forced downloads, e.g. ->Output( 'file.pdf', 'D' )
  • Additional inline AJAX-powered link display option
1.0.12.1 - 6 May 2022
  • Undo 1.0.12 (patch) tweak - User must be administrator, to run backend of TCPDF Bridge, filterable with 'wptcpdfb_settings_manage_options' hook
  • 'option_page_capability_' hook added into plugin to allow for page saving in different roles
1.0.11 - 24 March 2022
  • Fix - return $settings array in wptcpdfb-handle-upload.php prepare_watermark_content() line 182
1.0.10 - 11 January 2022
  • Tweak - wp_enqueue_script() list jQuery inside an array in dependencies (not string)
  • Tweak - hide modal after form submit/file retrieved (templates/wptcpdfb/modal.php change)
  • Testing with WP 5.8
1.0.9 - 2 November 2021
  • Tweak - add action hooks for file downloads, esp after form submission: 'wptcpdfb_form_submitted' and pre-download: 'wptcpdfb_file_delivery'
  • Use native WP method wp_normalize_path() to "sanitize" filepaths for Windows systems
  • Use native WP method get_home_path()
  • Discontinue use of DIRECTORY_SEPARATOR constant
  • Update EDD SL software
1.0.8 - 22 Feb 2021
  • 'wptcpdfb_settings_manage_options' hook to allow admins finer control over who can manage WP TCPDF. Default is 'manage_options'. Use in combination with 'option_page_capability_' Wordpress filter hook to allow granular control of which settings pages can be adjusted
  • improve cron cleanup to check both tmp folder locations for PDFs, delete wp-tcpdf-bridge-created directories
1.0.7 - 15 Jan 2020
  • Fix - In wptcpdfb-shortcode.js, make provision for if numerous inline links on same page, test for "data-link"
  • Fix - License key screen redirect - add query '&action=license' to URL
  • Tweak - timeout in wptcpdfb-shortcode.js changed to 0 for instant user feedback on click of download link
1.0.6 - 4 Jan 2020
  • Fix - Settings textarea $_POST data duplicated; neither saving correctly
1.0.5 - Dec 2020
  • Fix - No files listed and checkbox not checked, make sure not to mark PDF upload!
1.0.4 - Oct 2020
  • Fix - barcode function can't be called statically, strtolower on input
  • Tweak - error logging during watermarking
  • Tweak - 'wptcpdfb_cell_width' filter added to allow for manually setting cell width on rotatable overlay watermarks
  • Tweak - TCPDI/TCPDF libraries updated for better PHP 7.4 compatibility
1.0.3 - 20 Aug 2020
  • Feature - setup optional weekly file cleanup cron for if files remain on server after watermarking.
  • Fix - AJAX downloads must use wp-content to (temporarily) store PDFs during watermarking, cannot use tmp dir
  • Tweak - text progress indicator for inline (AJAX) downloads if taking > 3seconds.
1.0.2 - 18 Aug 2020
  • Fix - Too few arguments to function WPTCPDFB_Handle_Upload::prepare_watermark_content() in wptcpdf-handle-upload.php
  • Fix - Using $this when not in object context in wptcpdf-handle-upload.php
1.0.1 - July 2020
  • Fix - Set up beta offering correctly so users can opt in/out
  • Tweak to account for logged in user data (name, email) for stamping shortcodes [FIRSTNAME] [LASTNAME] [EMAIL]
  • Testing with WP 5.4.2
1.0 - June 2020
  • First release
Little Package