Changelog
Gravity PDF
6.15.0
- π Feature: Switch the update/license API server to api.gravitypdf.com
- π§Ή Housekeeping: Remove MBString Regex as a software dependency
- π§Ή Housekeeping: Update the mPDF library to the latest version
6.14.3
- π§Ή Housekeeping: WordPress 7.0 Compatibility
- π§Ή Housekeeping: Improved screen-reader support for admin pages
- π§Ή Housekeeping: Remove obsolete Gravity Forms cache workaround
- π Bug: Honor PDF Conditional Logic toggle setting, so disabling it in the UI skips stale conditional rules
- π Bug: Fix Rich Text Editor rendering error when switching PDF templates
- π Bug: Preserve unsaved edits to the Template fields if switching to a PDF template with the same fields (eg. Core / Invoice / Certificate)
- π Bug: Preserve the selected template when adding a new PDF
- π Bug: Fix Gravity Forms 2.6+ version detection on PDF form-settings pages
- π Bug: Fix regression in the Template Manager when an invalid .zip is uploaded
- π Bug: Minor UI fixes in the Template Manager
- π Bug: Fix regression in the Core Fonts installer when a download error occurs
- π Bug: Reset Gravity Wiz Nested Form field IDs after each group in PDFs
6.14.2
- π Bug: Fix PHP warning caused by the
GFCommon::get_lead_field_display()API change in Gravity Forms 2.9.29 - π Bug: Fix merge tag rendering issue when switching between PDF templates
- π Bug: Fix Font Manager to Font select field syncing issue
- π Bug: Fix edge-case issue with the URL signing feature and improve verification/validation checks
- π Bug: Rename Chinese language files so it is correctly used when the site language is set to the
zh_CNlocale. - π§Ή Housekeeping: Improve template caching and performance
- π§Ή Housekeeping: Update PHP and Javascript dependencies
- π§Ή Housekeeping: Disable asset caching when
SCRIPT_DEBUGconstant enabled - π§Ή Housekeeping: Update admin settings markup to improve accessibility
- π§Ή Housekeeping: Update documentation and support links
6.14.1
- π§Ή Housekeeping: Add
gfpdf-{$type}CSS class to the HTML mark-up when a field uses a different input type - π§Ή Housekeeping: Use the field type (not input type) in the
gfpdf_pdf_field_content_{$type}filter - π Bug: Fix PHP error if another plugin lazy loads the PSR/Log v1 library
6.14.0
- π Feature: Rotate Gravity PDF log files when Gravity Forms logging is enabled. This prevents the log file getting too large.
- π Feature: Add support for using v1, v2, and v3 of the PSR/Log Composer library with Gravity PDF
- π Bug: Fix PHP error if a third-party plugin loads PSR/Log v2 or v3
6.13.5
- π Bug: Ensure background queue uses correct entry data when resending notifications
- π Bug: Prevent plugins corrupting PDF data when viewing/downloading (via output buffer)
6.13.4
- π Bug: Resolve PDF View/Download issue if both Event Espresso and LifterLMS plugins are installed
6.13.3
- π Security: Remove the mPDF and Gravity PDF version numbers in the PDF metadata
- π Bug: Resolve PHP error in 6.13.2 upgrade routine if the temporary PDF directory has been incorrectly set to a shared system folder
- π Bug: Resolve PHP error if the
pageΒ orΒsubviewΒ admin URL parameters are arrays
6.13.2
- π Bug: Fix plugin build issue preventing the mPDF cache filesystem fix (6.13.0) from working
- π§Ή Housekeeping: Add upgrade routine to reset the temporary directory permissions
6.13.1
- π Bug: Only enable remote asset debugging in PDFs when both
WP_DEBUGΒ andΒWP_DEBUG_DISPLAYΒ constants are set to true
6.13.0
- π Security: Switch from cURL to wp_safe_remote_get() when getting remote assets for PDFs (eg. images, CSS)
- π Security: Cleanup routine will only allow directories created and managed by Gravity PDF to be deleted
- π Bug: Ensure mPDF cache honors filesystem permissions when creating new folders
- π Bug: Don't create unnecessary ttfontdata directory in mPDF temporary directory
- π Bug: Fix PHP notices when displaying a message identifying which plugin is the non-canonical version
- π Bug: Prevent fatal error when a really old versions of GP Populate Anything is installed
- π§Ή Housekeeping: Remove mPDF temporary directory cleanup routine. Now handled directly by Gravity PDF Cron task.
- π§Ή Housekeeping: Add
gfpdf_remote_request_argsfilter to let developers modify the PDF remote request configuration - π§Ή Housekeeping: Add
gfpdf_mpdf_class_containerfilter to let developers replace thehttpClientclass used by mPDF
6.12.6
- π Bug: Add additional guards for expected value when displaying File Upload field in PDFs (prevents PHP notice)
- π Bug: Cleanup Background Processing queue when setting is toggled on/off
- π Bug: Add additional guards for expected value when displaying List field in PDFs (prevents PHP notice if the first row in a list is empty)
- π Bug: Ensure Gravity PDF system status information is in English when copied to clipboard
- π Bug: Fix fatal error when Gravity Forms logging is turned on, but the directory where log files are saved is not writable by the web server
- π Bug: Resolve memory problem generating Core PDFs if a Rich Text Paragraph field contains more than 10+ classes (elements with more than 8 classes will have extras removed)
- π Bug: Fix 'translations loaded too early' PHP notice if any plugin requirements aren't met
- π Bug: Pass the filtered 'use_value' and 'use_admin_label' arguments when determining if the product table is empty
- π§Ή Housekeeping: Move Gravity PDF system status information to the bottom of the report
6.12.5.1
- π§Ή Housekeeping: Update version number in readme.txt file
6.12.5
- π Bug: Fix slow PDF Background Processing queue after a retry delay was added to the background processing library in Gravity Forms 2.9.7+
- π§Ή Housekeeping: Update PDF Background Processing queue to be compatible with Gravity Forms 2.9.7+ background processing library update
- π§Ή Housekeeping: Fix Background Processing deprecation notice when running Gravity Forms 2.9.7+
6.12.4
- πSecurity: Escape variables in PHP Exceptions
- π Bug: Improve PDF column support when Gravity Forms includes a spacer
- π Bug: Fix display of Website field when it isn't filled in and Show Empty Fields is enabled
- π§Ή Housekeeping: Mark as compatible with WP 6.7
- π§Ή Housekeeping: Update PHP dependencies
6.12.3
- π Bug: Resolve PHP error when a license has not been activated for a Gravity PDF extension
- π Bug: Resolve PHP error when all plugin dependencies are not met
- π§Ή Housekeeping: Open canonical plugin upgrade link in new window
6.12.2
- πSecurity: Fix bug that caused the 'Restrict Owner' PDF setting to be ignored when it was enabled
- π§Ή Housekeeping: Adjust canonical plugin notice
- π§Ή Housekeeping: Add canonical plugin check on system report
- π§Ή Housekeeping: Log license check API calls (canonical only)
- π Bug: Fix PHP Notices in admin area
6.12.1
- π§Ή Housekeeping: Update translations
6.12.0
- π Feature: Add basic support for Gravity Forms 2.9 Image Choice and Multiple Choice fields (Gravity PDF Core Booster v2.2 can show the images)
- π Feature: Add support for Digital Signature for Gravity Forms plugin (https://wordpress.org/plugins/digital-signature-for-gravity-forms/)
- π§Ή Housekeeping: Allow approved HTML to be displayed in the PDF for Product and Option field choices
- π§Ή Housekeeping: Add
gfpdf_form_data_productsfilter to allow entry pricing information to be modified for the PDF - π Bug: Fix column ordering issue in Blank Slate, Focus Gravity, and Rubix when the RTL setting is enabled
- π Bug: Allow Password and Privileges PDF setting description to be translated
6.11.4
- π Bug: Allow numbers with decimals when saving number fields in the PDF Settings
6.11.3
- π Bug: Fix truncated merge tags in HTML attribute when included in PDF setting Rich Text fields
6.11.2
- π Bug: Resolve race condition by skipping PDF cleanup at the end of form submission process if PDF Background Processing is enabled
- π Bug: Fix issue where some Notifications with PDFs attached were not being handled in a background task when PDF Background Processing is enabled
6.11.1
- π Bug: Only process enabled notifications during form submission when using PDF Background Processing. Notifications are enabled if they are active and have conditional logic that passes.
6.11.0
- π§Ή Housekeeping: Limit pages admin notices are displayed on to reduce notice fatigue
- π§Ή Housekeeping: Add specific check for the PHP extension
Ctypewhen the plugin loads - π§Ή Housekeeping: Tweak admin notice text to make error messages more clear
- π§Ή Housekeeping: Remove downgrade notice to unsupported Gravity PDF v5.0 if minimum system requirements are not met for v6.0
- π§Ή Housekeeping: Improve log messages when creating and validating a Signed PDF URL
- π§Ή Housekeeping: Improve input sanitation for textarea, number, and custom paper size fields when saving the PDF Form Settings
- π§Ή Housekeeping: Improve PDF Background Processing so its compatible with Gravity Forms native async notification feature
- π§Ή Housekeeping: Correctly cleanup PDFs after a PDF Background Processing queue runs
- π Bug: Enforce a 1pt minimum value for the Default Font Size and Font Size settings
- π Bug: Self-heal the PDF signing secret key if it becomes invalid
- π Bug: Self-heal the Global PDF Settings if it becomes invalid
- π Bug: Prevent the page reloading when selecting a tooltip on PDF settings pages
- π Bug: Register language files early so startup errors can be translated
6.10.2
- π Bug: Hydrate Nested Forms with Gravity Wiz Populate Anything data
6.10.1
- π Bug: Resolve PHP error when processing shortcode with invalid entry object
- π Bug: Adhere to conditional logic and exclude CSS class for Page Break fields
- π Bug: In more situations the Gravity PDF settings will be refreshed before the form meta is saved to the database
- π§Ή Housekeeping: Run temporary directory cleanup routine twice daily and delete files older than 12 hours
- π§Ή Housekeeping: Add gfpdf_system_status_report_items filter for Gravity PDF System Status report details
- π§Ή Housekeeping: Update mPDF to latest version
- π§Ή Housekeeping: Allow supported HTML in field labels when displayed in PDF
6.10.0
- π Feature: Add native support for the Legal Signature and Legal Consent form fields added by the Legal Signing for Gravity Forms plugin
6.9.1
- πSecurity: Disable the Signed URL feature in the [gravitypdf] shortcode when a URL parameter provides the entry ID (e.g. Page Confirmations)
- π Bug: Gracefully handle invalid conditional logic rules when adding date entry meta support
- π Bug: Display field for entry metadata PDF conditional rule when there are no form fields compatible with conditional logic
- π Bug: Ensure the template cache is correctly cleared when PDF Debug Mode is enabled
- π Bug: Flush the template cache after installing new templates via the PDF Template Manager
- π Bug: Clear template cache when plugin deactivated
- π§Ή Housekeeping: Small improvement to performance when reading template and font files from disk
6.9.0
- π Feature: Add new conditional logic options to PDFs eg. Payment Status, Date Created, Starred (props: Gravity Wiz)
- π Feature: Add support for Show HTML Fields, Show Empty Fields, Show Section Break Description, and Enable Conditional Logic PDF settings when displaying Gravity Wiz Nested Forms field
- π Bug: Fix Form Editor saving problem for Gravity Forms v2.6.*
- π Bug: Fix Drag and Drop Column layout issue when the GF Styles Pro plugin is enabled
- π Bug: Fix issue sending PDF URLs with Gravity Wiz Google Sheets
- π Bug: Improve display of Rich Text Textarea fields by removing top margin on individual paragraphs
- π Bug: Resolve compatibility issue that corrupted PDFs when using Weglot
- π§Ή Housekeeping: Exclude popular WordPress staging environments from site count when activating Gravity PDF licenses
- π§Ή Housekeeping: Improve Gravity PDF license activation success and error messages
- πSecurity: Improve security of network requests to Gravity PDF licensing server
- Developer: Add
set_pdf_config( $config )andget_pdf_config()methods to PDF Field classes - Developer: In the PDF field blacklist, check using the original type and not with
$field->get_input_type()
6.8.0
- π Feature: Add PDF Download metabox to Gravity Flow Inbox for logged-in users with appropriate capability
- π Feature: Add AI-generated translations for French, Spanish, Italian, German, Dutch, Russian, and Chinese
- πSecurity: Only show PDF view/download links on entry list and details page if logged-in user has appropriate capability
- π§Ή Housekeeping: Improve performance on admin pages by caching the list of available templates
- π§Ή Housekeeping: When permalinks are enabled, generate the PDF URL with/without a trailing slash
- π Bug: Remove whitespace from textarea fields in the PDF settings
6.7.4
- π Bug: Resolve PHP error for specific GravityView / GravityChart combo
- π Bug: Render supported HTML in labels/choices for the PDF Pricing table
- π Bug: Fix PHP error while viewing a PDF when running an older version of WordPress (< 5.9) and PHP (< 8.0)
6.7.3
- π Bug: Fix 3rd party conflict when different version of PSR-7 library is loaded
6.7.2
- π Bug: Resolve fatal error when using Gravity Forms Google Analytics Pagination feature with the PDF URL included in the parameters.
- π§Ή Housekeeping: Update PDF library to latest version
- π§Ή Housekeeping: Update help search API details
6.7.1
- π Bug: Improve dependency conflicts with third party plugins who bundle PSR Log v2 or v3
- π§Ή Housekeeping: Use 4xx HTTP Status Codes for non-server related errors when generating PDFs
6.7.0
- π Feature: Add support for multiple PDFs with the same Filename on a single form
- π Feature: Use secure links for File Upload and Post Image fields in Core and Universal PDFs
- Dev Feature: Include secure links in $form_data array for File Upload and Post Image fields
- π Bug: Fix backwards compatibility error when running a version of Gravity Forms less that 2.6
- π Bug: Allow sanitized HTML in the labels of Radio and Checkbox admin settings
- π Bug: Remain editing current PDF if a hard refresh occurs after adding a new PDF to the form
6.6.1
- π Bug: Prevent PDF settings being override if multiple browser windows are open, and both are updating different settings of the same form concurrently
- π Bug: Gracefully handle license key deactivation if an error occurs
- π§Ή Housekeeping: Bump WordPress Tested Up To v6.3
6.6.0
- π Feature: Improve display of ungrouped product fields in Core and Universal templates
- Dev Feature: Add
gfpdf_hide_consent_field_if_emptyfilter, to remove the Consent field from Core and Universal templates if a user hasn't consented. - π Bug: Remove Section Break description container is there is not a description included
- π Bug: Fix potential PHP error when using GravityView and PDF for GravityView
- π§Ή Housekeeping: Update PHP and JS dependencies
6.5.5
- π Bug: Ensure PDF conditional logic is run through the correct sanitization function upon save
- π Bug: Ensure Gravity Wiz Populate Anything live merge tags are correctly processed in the $form_data array
- π Bug: Fix Monolog error when running PHP8.1
6.5.4
- π Bug: Fix duplicate notifications when using PDF Background Processing while looping over GFAPI::submit_form()
6.5.3
- π Bug: Fix HTTP(S) image/stylesheet loading problem in PDFs for SiteGround customers
6.5.2
- π Bug: Fix PHP error when a non-string is passed to the Kses sanitizing class
- π Bug: Resolve memory problem generating Core PDFs if an HTML element contains more than 10+ classes (field CSS Classes are now truncated to 8 user-defined classes)
- π Bug: Fix Slim Image Cropper display problems in Core PDFs
- π§Ή Housekeeping: Update mPDF to the latest version
- π§Ή Housekeeping: Update QueryPath to the latest version
6.5.1
- π§Ή Housekeeping: Update mPDF to the latest version
- π Bug: Resolve custom font installation issue for some .ttf files
6.5.0
- π§Ή Housekeeping: Update Global Extension Settings UI to be Gravity Forms 2.5 compatible
- π§Ή Housekeeping: Adjust how admin Notices are handled on Gravity PDF pages
- π§Ή Housekeeping: Update JavaScript package bundle
- Dev: Validate template filename when uploading via the PDF Template Manager (A-Za-z0-9_-)
- Dev: Add filterable CSS class names to the PDF links in the admin area
- Dev: Pass context to the
gfpdf_core_templatehook - Dev: Add
gfpdf_core_template_{form_id}hook to target specific forms - π Bug: Fix undefined
rtlnotice in Core PDF templates - π Bug: Fix PHP8.1 notice when saving PDF settings
6.4.7
- π Bug: Resolve blank PDF problem when a large HTML block is processed by mPDF
- π Bug: Resolve QueryPath deprecation notice about passing null to trim()
- π§Ή Housekeeping: Update mPDF and URL Signer library to latest version
6.4.6
- π Bug: Adjust Nested Forms and Repeater field PDF markup to ensure a unique ID attribute for any HTML tags
- π Bug: Prevent duplicate grid css classes being added to Nested Forms HTML tags
- π Bug: Process merge tags in Background Image PDF setting before late escaping in the PDF HTML markup
- π§Ή Housekeeping: Remove initialized message from Gravity PDF logs
6.4.5
- π Bug: Fix image display problem if filename had a space in it
- π Bug: Fix Background Image display problem on Windows OS
- Developer: Added HTML field content to Repeater Field $form_data array
6.4.4
- π Bug: Resolve HTML encoding issue in PDF when displaying Coupon field in Gravity Wiz eCommerce Perk's Product Table
- π Bug: Remove coupon line item in PDF when Gravity Wiz eCommerce Perk's Product Table in use
- π Bug: Resolve duplicate product table displayed in a legacy v3 template
- π Bug: Resolve PHP notice when displaying product table in legacy v3 template
- π Bug: Resolve PHP notice when displaying Section Break field in legacy v3 template
6.4.3
- π Bug: Open PDF "view" link in a new browser tab on Entry List page
- π Bug: Only hide Select field in Core/Universal templates if the saved value is an empty string, not a falsey value
- π Bug: Prevent PHP notice when displaying Repeater field in PDFs with a Number sub-field
- π Bug: Prevent HTML attribute content from having their entities decoded if they were previously encoded
- π Bug: Fix Core/Universal template image display issues on servers running Windows
6.4.2
- π Bug: Allow
dataprotocol so Base 64-encoded images can be correctly displayed in Core/Universal templates - π Bug: Fix Core Font Installer problem when running older versions of WordPress (5.3 to 5.8)
- π Bug: Fix fatal return type mismatch error if
safe_style_cssfilter has been implemented incorrectly
6.4.1
- π Bug: Fix PDF display issues with the Survey, Poll, Post Category, and Post Custom Fields
6.4.0
- Security (Hardening): Move from early escaping to late escaping variables on output
- Security (Hardening): Add additional validation checks to the Core Font installer
- Security (Hardening): Escape text returned from WordPress l10n functions
- Security (Hardening): Escape any and all strings from the Gravity Forms form object, in any context (including PDFs)
- Security (Hardening): Move to earlier sanitizing of user input
- Security (Hardening): Custom PDF template filenames are now limited to the following characters:
A-Za-z0-9_- - Security (Hardening): The
?html=1and?data=1developer helper parameters now only work in non-production environments (WP_ENVIRONMENT_TYPE !== 'production'), or when Gravity PDF Debug Mode is explicitly enabled - Security (Hardening): Prevent directory traversal when loading the various Gravity PDF UI components
- Security (Hardening): Change PDF Form Settings capability check from
gravityforms_edit_settingstogravityforms_edit_forms - Security (Hardening): Change Font Manager CRUD capability check from
gravityforms_view_entriestogravityforms_edit_forms - Security (Hardening): Switch to
sodium_crypto_secretbox_keygen()function with modified fallback towp_generate_password()when generating new PDF URL signing secret key - Security (Hardening): Switch from a Text to Password field for the Gravity PDF License Keys
- Security (Hardening): Update PHP and JavaScript dependencies
- Developer: Added
\GFPDF\Statics\Kses::output($html)and\GFPDF\Statics\Kses::parse($html)methods for use with escaping/sanitizing HTML in PDFs (as an alternative to wp_kses_post()). - Performance: Register JavaScript in the footer on Gravity PDF admin pages
- Privacy: Added "Get more info" link in the Core Font Installer instructions, and disclaimer to plugin's README.txt installation section
- π Bug: Fix issue passing PDF URL to Gravity Forms Mailchimp add-on
- π Bug: Allow hyphen in custom font key when updating or deleting to remain backwards compatible
- π Bug: Fix PHP8.1 type conversion warning in the template cache when transient's are flushed
- π Bug: Remove empty repeater sections from Core PDFs when not filled in by the user
6.3.1
- πSecurity: Prevent potential XSS attack by escaping URL returned from add_query_args() on the PDF List or PDF Form Settings pages
- Developer: Apply
gfpdf_current_form_objectfilter added in 6.3.0 to the form object in Helper_Abstract_Fields.php using the $typehelper_abstract_fields. - π Bug: Correctly display the file path in the logs when cleaning up PDFs from disk or flushing the mPDF cache
- Performance: reduce I/O operations when flushing the mPDF cache by excluding the top-level directory
6.3.0
- π Feature: Support for mapping PDF URLs to your favorite services using Gravity Forms feeds. This includes (but is not limited to): PayPal, MailChimp, HubSpot, Stripe, Square, ActiveCampaign, Agile CRM, Capsule, CleverReach, Constant Contact, EmailOctopus, Zoho CRM
- π Feature: Support for the Zapier add-on: PDF URLs can now be passed to your zaps
- π Feature: Add [gravitypdf] shortcode rendering support to Gravity Wiz's Entry Block perk
- π§Ή Housekeeping: Change "document" icon used for settings menus to the "Gravity PDF" icon
- π§Ή Housekeeping: duplicating PDFs on a form will now have the correct alternating background color in the table
- π§Ή Housekeeping: Process the [gravitypdf] shortcode when merge tags get processed so that it can be used where ever merge tags are supported
- Developer: Add new
gfpdf_current_form_objectfilter to manipulate the $form array when processing PDFs - π Bug: Fix a race condition when using Background Processing that could see the PDF deleted before being attached to notifications
- π Bug: Do not strip the backslash character when used in PDF settings
6.2.1
- π Bug: Always generate a new PDF when using the GPDFAPI::create_pdf() method
- π Bug: Fix fatal error during PDF generation when using the
gform_address_display_formatfilter
6.2.0
- π Feature: Add support for Gravity Forms 2.6 (see Housekeeping below)
- π§Ή Housekeeping: Add alternate background color on PDF List page
- π§Ή Housekeeping: Add styles/support for new merge tag selector
- π§Ή Housekeeping: Add styles for Copy to Clipboard shortcode button on PDF List page
- π§Ή Housekeeping: Update help search API to query v6 documentation
- π Bug: Fix error message display issue on Form PDF add/edit page
- π Bug: Fix missing styles on multi-PDF view/download menu on Entry List page
6.1.1
- π Bug: Allow number field to show a thousand separator by using the 'gform_include_thousands_sep_pre_format_number' filter.
- π Bug: Fix PHP Notice when displaying Repeater field caused by processing field's not present in
$form_data['field']array key - π§Ή Housekeeping: Add logging to file/directory cleanup method
- π§Ή Housekeeping: Add additional checks and logging when processing background tasks
6.1.0
- π Feature: Add Copy to Clipboard feature for PDF Shortcode on the PDF List page
- π Bug: Fix empty check on the Radio field so a zero (0) value is not considered empty
6.0.3
- π Bug: Reduce the Focus Gravity template column widths by a fraction to prevent edge-case display issues (props Hiwire Creative)
- π Bug: Fix Help page results text encoding problems
- π Bug: Prevent multiple font files being uploaded to a single dropzone
- π Bug: When checking if a Radio/Select field is empty in the PDF context, only look at the value property.
6.0.2
- π Bug: Fix up 404 link for Outdated Templates in System Status
- π Bug: Revert vendor aliasing for mPDF and querypath (back to the original namespace) as it caused more problems than is solved. Developers: see https://docs.gravitypdf.com/v6/users/v5-to-v6-migration#changed-namespace-for-composer-packages
6.0.1
- π Bug: When displaying the minimum Gravity Forms version not met error, remove
beta-1as the minimum to prevent confusion.
6.0.0
This major release is designed specifically for Gravity Forms 2.5+ and includes breaking pages that may affect you. You are strongly encouraged to review the upgrade guide before attempting to update to v6.β οΈBREAKING CHANGES
- New minimum requirements PHP7.3+, WordPress 5.3+, Gravity Forms 2.5+
- Removed Gravity PDF v3 template stylesheet (swap legacy PDF template to Focus Gravity template)
- Removed Gravity PDF v3 to v4 migration code (upgrade to v4/v5 before attempting v6 upgrade)
- (Dev) Moved all vendor (Packagist) packages to new
GFPDF_Vendor/namespace (BC aliasing for common classes included). Prevents all vendor conflicts with other plugins. - (Dev) Removed "Setup Custom Templates" tool (manually copy over template files to PDF Working Directory)
- (Dev) Removed
shortnameproperty fromcustom_fontsglobal PDF options, and removed the requirement for thefont_nameto be unique (useidinstead ofshortname). - (Dev) Changed the first parameter οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½βοΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½::οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½()βοΏ½οΏ½font_id instead. You can no longer delete the font by its name, as it is no longer a unique identifier.
- (Dev) Majority of admin user interface markup (UI) changed to suit new GF2.5 UI ()
- (Dev) Renamed
\GFPDF\Helper\Fields\Field_CreditCardclass toField_Creditcard - (Dev) Change
\GFPDF\Model\Model_Install__construct signature by removingHelper_Abstract_Formsdependancy from the start and addingModel_Uninstallat the end - (Dev) Change
\GFPDF\Model\Model_System_Report__construct signature by adding newHelper_Templatesdependancy at the end - (Dev) Removed
\GFPDF\View\View_Settings::system_statusmethod. Replaced byController_|Model_|View_System_Reportclasses for direct integration with Gravity Forms System Status page - (Dev) Removed undocumented
gfpdf_entry_detail_pre_container_markupandgfpdf_entry_detail_post_container_markupactions - (Dev) Adjusted ID from
#tab_pdfto#tab_PDFfor container on Global PDF settings page. This ensures both the Global and Form PDF settings use a consistent ID. - (Dev) Change
\GFPDF\Model\Model_Install__construct signature by removingHelper_Abstract_Formsdependancy from the start and addingModel_Uninstallat the end - (Dev) Change
\GFPDF\Model\Model_System_Report__construct signature by adding newHelper_Templatesdependancy at the end - (Dev) Removed
\GFPDF\View\View_Settings::system_statusmethod. Replaced byController_|Model_|View_System_Reportclasses for direct integration with Gravity Forms System Status page - (Dev) Removed undocumented
gfpdf_entry_detail_pre_container_markupandgfpdf_entry_detail_post_container_markupactions - (Dev) Adjusted ID from
#tab_pdfto#tab_PDFfor container on Global PDF settings page. This ensures both the Global and Form PDF settings use a consistent ID. - (Dev) Deprecate Helper_Abstract_Options::get_font_short_name(). No direct replacement as the font 'shortname' has been phased out (using unique ID now).
- (Dev) Updated field description markup to use DIVs instead of SPANs. Matches Gravity Forms RC1
- (Dev) Deprecate these methods from
\GFPDF\Model\Model_Install:uninstall_plugin,remove_plugin_options,remove_plugin_form_settings,remove_folder_structure,deactivate_plugin. All moved toModel_Uninstall.
π NEW FEATURES
- Brand new admin user interface (UI) to seamlessly match the Gravity Forms (GF) 2.5 UI.
- Added support for new GF columns feature in Core PDFs
- Add PDF column support for Gravity Perks Nested Forms
- Added RTL support for new GF columns feature in Core PDFs
- Refreshed Font Manager with better validation, error handling, and automatic support for fonts that include Open Type Layout features.
- Added new PDF metabox on Entry Details page. Includes a better user experience for forms with a lot of PDFs configured.
- Added new merge tag modifiers :download, :print, :signed, :signed:expiry to enhance existing PDF mergetag (modifiers can all be used in conjunction)
- Add PDF URL to Webhook add-on "All Fields" request body
- Add ability to include PDF URLs in Entry exports
- Add Gravity PDF info to Gravity Forms System Status page
- Show plugin downgrade prompt when minimum WordPress, Gravity Forms, or PHP requirements aren't met so users can easily roll back to the latest supported v5.x version.
- Add support for WordPress' native Background Updates
- Add accessibility improvements for keyboard users and screen readers on all Gravity PDF UIs
- Display warning on System Status page when Core template overrides are out of date
- Include Add/Update PDF button below each section on PDF creation page to make it easy to save
- Improve RTL support on admin pages
π UX IMPROVEMENTS
- Remove the Always Save PDF setting from the UI.
- Switch all Radio PDF settings to new Toggle setting
- Switch all Multiselect PDF settings to Checkbox field (better accessibility)
- Rename PDF setting "Name" to "Label"
- Replace asterisk
*to text(required)to signify required fields (better accessibility) - Rename PDF setting "Orientation" to "Paper Orientation"
- Refine PDF settings descriptions.
- Removed Welcome Page
- Move Paper Size global settings below the Template / Font settings
- Removed rich Select functionality (using Chosen) in UI for greater accessibility
- Remove WP Dialog prompts in UI for greater accessibility
- Move Gravity PDF uninstaller from Tools tab to Gravity Forms Uninstall settings page
π BUG FIXES
- Ignore
content-typeheader API response when running the Core Font installer - Make all
GFPDFAPIAPI class error responses translatable - Fix PHP8 notice
- Prevent background queue from continuing if retry limit reached on unrecoverable task (like generating the PDF)
- Adjust custom paper size sanitize logic to fix PHP error
- Check for invalid relative date when using Signed PDF URLs and fallback to default timeout
- Fix border display issue in Core Product table
- Show error message in Template Manager when maximum file size limit is reached
π§βπ» DEVELOPER IMPROVEMENTS
- Rewritten all CSS in SASS
- Add
GPDFAPI::get_entry_pdfs( $entry_id )method to API. Acts likeGPDFAPI::get_form_pdfs( $form_id )but filters out any PDFs that don't pass conditional logic checks for the current entry. - Added
Helper_Abstract_Config_Settingsclass which template config files can extend to automatically have the current PDF settings injected into the class. - Adjusted some logged items to use less severe alerts (when template config file doesn't exist, and when native PDF support for a field doesn't exist)
- Upgrade vendor packages to latest versions
- Remove all backbone.js and underscore.js Font Manager code from Gravity PDF admin pages
- Remove gulp as dependency (build is done using only webpack now)
- Add better error log messages for PDF Merge tag processing
- Pass additional information to the
gfpdf_field_container_classfilter