Changelog

Previewer

4.1.1

  • πŸ› Bug: Resolve PDF generation error if a standard File Upload field is included in the for

4.1.0

  • πŸŽ‰ Feature: Display PDF Previewer field example in the Form Editor and Block Editor
  • πŸŽ‰ Feature: Add support for the new AJAX submission process in Gravity Forms 2.9+
  • πŸŽ‰ Feature: Improve activation error messages when Gravity PDF isn't installed or the correct version
  • 🧹 Housekeeping: Only disable the PDF password when the 'download' feature is enabled on a PDF Previewer field
  • 🧹 Housekeeping: Improve PDF viewer performance
  • 🧹 Housekeeping: Upgrade PDF.js to v4.6.82
  • πŸ› Bug: Ignore browser preference when PDF Previewer field theme setting is not set to "auto"
  • πŸ› Bug: Page number toolbar text can be translated
  • πŸ› Bug: Fix PHP notice if RTL PDF setting is not defined
 

4.0.0

  • 🧹 Housekeeping: Gravity PDF 6.0 or higher is now required for this extension
  • 🧹 Housekeeping: Improve PDF viewer performance
  • 🧹 Housekeeping: Upgrade PDF.js to v4.3.136
  • 🧹 Housekeeping: AddΒ gfpdf_previewer_auto_refresh_delayΒ JS filter to alter the PDF auto-refresh interval
  • 🧹 Housekeeping: Use fieldset/legend HTML for Previewer field when form does not have legacy markup enabled
  • 🧹 Housekeeping: Lazy-load previewer CSS styles
  • πŸ› Bug: Only load localized script data once per request
  • πŸ› Bug: Fix PDF Preview display issues when active form fields are included in a template
  • πŸ› Bug: Show grabbing pointer icon when using the gab to pan feature
  • πŸ› Bug: Display Post Image and Image Hopper Post Image field image/meta data in PDF Preview
  • πŸ› Bug: Prevent broken image displaying in PDF Preview when Post Image and Image Hopper Post Image have no file uploaded
  • πŸ› Bug: Fix duplicate or deleted Image Hopper display issues in PDF Preview
  • πŸ› Bug: Fix PDF Preview display issue when using Gravity Wiz Page Transition perk + soft validation
  • πŸ”’ Security: Prevent arbitrary Javascript execution vulnerability if a malicious PDF was loaded into PDF.js

3.3.0

  • πŸŽ‰ Feature: Added setting to PDF Previewer field to disable auto-refresh
  • 🧹 Housekeeping: Stop PDF Previewer field being processed by Gravity PDF Core when generating documents
  • 🧹 Housekeeping: Security Hardening
  • πŸ› Bug: Fix PHP error when processing File Upload fields in later version of PHP
  • πŸ› Bug: Fix minor display problem with Previewer field security settings in the Form Editor

3.2.0

  • πŸŽ‰ Feature: Add Visibility setting support to Previewer field (Visible/Hidden/Administrative)
  • πŸ› Bug: Fix Previewer field missing from Gravity Flow Display Field setting in User Input step
  • πŸ› Bug: Fix broken image when editing an entry and previewing Image Hopper field
  • πŸ› Bug: Fix missing files when editing an entry with Gravity Wiz Entry Blocks
  • πŸ› Bug: Fix missing files when editing an entry with Gravity Wiz Nested Forms
  • 🧹 Housekeeping: Upgrade Javascript packages

3.1.4

  • πŸ› Bug: Resolve conditional logic display issue when using the Previewer with GravityView
  • πŸ› Bug: Resolve conditional logic display issue when using the Previewer with Gravity Flow

3.1.3

  • πŸ› Bug: Fix data merging regression introduced in 3.1.1 when using Previewer on GravityView Edit Entry page

3.1.2

  • πŸ› Bug: Fix PHP notice when Single File Upload field doesn't have an uploaded file

3.1.1

  • πŸ› Bug: Fix missing field problem when using Previewer on GravityView Edit Entry page

3.1.0

  • πŸŽ‰ Feature: Add Gravity Forms 2.7 Orbital Themes Compatibility
  • 🧹 Housekeeping: Re-add support for rendering PDF Previewers in legacy browsers
  • Dev: Add Javascript Filter Hooks:Β gfpdf_previewer_skip_auto_refresh,Β gfpdf_previewer_field_settings,Β gfpdf_previewer_page_viewer_options, andΒ gfpdf_previewer_current_form_data
  • πŸ› Bug: Improve the click zone of inline PDF links

3.0.1

  • πŸ› Bug: Only initialize the Previewer when it is visible in the viewport
  • πŸ› Bug: Fix PHP5.6 fatal error in the Form Editor
  • πŸ› Bug: Fix z-index toolbar display problems when using Previewer with Gravity Wiz Nested Forms
  • πŸ› Bug: Fix problem correctly displaying PDF generation error screen
  • πŸ› Bug: Fix PDF worker caching issue when upgrading the plugin
  • πŸ› Bug: Fix conflict with Light Blue API add-on for Gravity Forms
  • πŸ› Bug: Restore Previewer v1 anchor / link support, but only when Text Copy Protection is disabled
  • πŸ› Bug: Exclude file inputs in form data when generating PDF (quicker API calls and fixes Single File Upload display issues)
  • πŸ› Bug: Add missing strings to existing French, Spanish, and German translation files
  • 🧹 Housekeeping: Add AI translations for Chinese, Dutch, Portuguese, and Russian
  • 🧹 Housekeeping: Reorganize the .sass / .css styles (provides better theme compatibility)
  • 🧹 Housekeeping: Fix PHP8.1 deprecation warnings

3.0.0

  • ⚠️ Breaking Change (developer): Prefix all CSS variables to prevent conflicts with other plugins or themes
  • πŸŽ‰ Feature: Add mouse wheel zoom functionality while holding CTRL or Command keys
  • πŸŽ‰ Feature: Add grab-scroll support when holding spacebar whilst text protection is deactivated
  • πŸŽ‰ Feature: Improve UX for small screen devices
  • πŸŽ‰ Feature: Improve zooming support
  • πŸŽ‰ Feature: Improve PDF page rendering performance
  • πŸŽ‰ Feature: Improve page number display for the various view types
  • πŸŽ‰ Feature: Improved touch device support
  • πŸŽ‰ Feature: Improve compatibility with the Gravity PDF Watermark add-on
  • πŸ”’ Security: Late escape all HTML output
  • πŸ› Bug: Fix display issues with Multi Select fields
  • πŸ› Bug: Fix manual refresh issue when zoomed in 400%+
  • πŸ› Bug: Fix scrolling issue on iOS devices
  • πŸ› Bug: Fix white border issue around full-color pages
  • πŸ› Bug: Add better viewport detection to only render the Previewer when required
  • πŸ› Bug: Fix page-width scaling bug when the Previewer is set to Horizontal
  • πŸ› Bug: Resolve jQuery 3.0 deprecation notice
  • πŸ› Bug: Resolve JavaScript error when using AJAX-powered Gravity Form

2.0.3

  • πŸ› Bug: Fix .pot file build tool so the plugin can be translated correctly

2.0.2

  • πŸ› Bug: Fix browser caching issue that caused version mismatch error with the PDF Worker
  • πŸ› Bug: Fix duplicate auto-refresh of PDF Preview
  • πŸ› Bug: Display PDF preview when using plain permalinks
  • πŸ› Bug: Better theme compatibility for Previewer
  • 🧹 Housekeeping: Add Update URI header to prevent WordPress.org causing accidental plugin override due to conflicting plugin slug

2.0.1

  • πŸ› Bug: Fix RTL display issue with legacy and Tier 2 PDF templates
  • πŸ› Bug: Fix page scaling issue with for HiDPI screens
  • πŸ› Bug: Track change and blur events in the form for better PDF auto-refreshing
  • πŸ› Bug: Track signature add-on events for better PDF auto-refreshing
  • πŸ› Bug: Fix PDF viewer width/height calculations when form is hidden on page load
  • πŸ› Bug: Resolve memory leak when refreshing PDF viewer

2.0.0

  • πŸŽ‰ Feature: New front-end UI with light and dark modes
  • πŸŽ‰ Feature: New Horizontal display mode
  • πŸŽ‰ Feature: Odd and Even Spread display mode
  • πŸŽ‰ Feature: Default Zoom Level control setting
  • πŸŽ‰ Feature: Optional right-click protection (enabled by default to prevent saving PDF pages as images)
  • πŸŽ‰ Feature: Optional text-copying protection (enabled by default)
  • πŸŽ‰ Feature: Faster PDF refresh rate on page load or form change
  • πŸŽ‰ Feature: Filename of downloaded PDF now matches PDF Filename setting
  • πŸŽ‰ Feature: Faster and more accurate PDF loading and rendering
  • πŸŽ‰ Feature: Scroll by dragging/touching the pages
  • πŸŽ‰ Feature: Support for Gravity Forms Repeater fields in PDF preview
  • 🧹 Housekeeping: Upgrade PDF.js to 2.12
  • 🧹 Housekeeping: Reduce PDF.js console.log verbosity
  • πŸ› Bug: Assign the correct user to the temporary entry created when generating a PDF
  • πŸ› Bug: Fix column display issue in Colossus
  • πŸ› Bug: Fixes Microsoft Edge false-positive when rendering PDF (affected a small number of users)
  • πŸ› Bug: Fix PHP Mod_Security false-positive when rendering PDF (affected a small number of users)
  • πŸ› Bug: Better error handling when PDF cannot be loaded
  • πŸ› Bug: Fix PDF download issue when permalinks are disabled

1.2.12

  • πŸ› Bug: Fix Image Hopper display issues when using the WooCommerce Gravity Forms add-on

1.2.11

  • πŸ› Bug: Fix Gravity Flow User Input step display problems with the Previewer
  • πŸ› Bug: Fix edge-case bug with GP Read Only plugin
  • πŸ› Bug: Fix invalid link to PDF list page running Gravity PDF 6+

1.2.10

  • πŸŽ‰ Feature: Add field icon support in the Form Editor for Gravity Forms 2.5
  • πŸ› Bug: Fix PHP Notice about an undefined array value

1.2.9

  • πŸ› Bug: Adjust relative PDF URL to account for Multisite subdirectory usage

1.2.8

  • πŸ› Bug: Fix string-to-number type conversion bug that can cause random entry data loss under specific conditions.
  • πŸ› Bug: Use relative URL when loading PDF previews to reduce the chance Windows Defender in Edge throws a security warning

1.2.7

  • πŸ› Bug: Fix PHP notice in WordPress 5.5

1.2.6

  • πŸ› Bug: Fix the file upload display in Core / Universal templates so the filenames are correctly displayed in the Previewer
  • πŸ› Bug: Allow the GPDFAPI::get_form_data() API call to function correctly in Previewer-generated templates
  • πŸ› Bug: Fix display issue with Gravity Perk's Nested Forms 1.0 plugin release

1.2.5.1

  • πŸ› Bug: Fix upgrade notice that won't disappear even when running the latest version

1.2.5

  • πŸ› Bug: Fix display issue when browser downloaded PDF in chunks

1.2.4

  • πŸ› Bug: Fix regression in 1.2.3 that prevented the auto-refresh feature working on AJAX forms

1.2.3

  • πŸ› Bug: Fix Preview reload issue when submitting AJAX forms on a Mac
  • πŸ› Bug: Fix PHP notice when $form variable isn't the expected object

1.2.2

  • πŸ› Bug: Fix Plugin Update Nag when already on latest version

1.2.1

  • πŸ› Bug: Ensure Rich Text Field content displayed correctly in Previewer

1.2.0

  • πŸŽ‰ Feature: Add support for the WooCommerce Gravity Forms Product add-on
  • πŸ› Bug: Ensure the Preview is automatically loaded when there's no scroll bar on the page

1.1.1

  • πŸ› Bug: Prevent PHP error when developers tap into theΒ gform_pre_renderΒ filter
  • πŸ› Bug: Disable PDF security preventing copying / printing of the PDF when the PDF Previewer download feature is enabled

1.1.0

  • πŸŽ‰ Feature: Add Gravity Flow v2.0+ User Input Step support.
  • πŸŽ‰ Feature: Add setting to allow end-user to download generated PDF (defaults to off)
  • πŸŽ‰ Feature: Add full support for uploaded files in GravityView
  • πŸŽ‰ Feature: DefineΒ DOING_PDF_PREVIEWERΒ PHP constant when generating PDFs for Previewer.
  • πŸ› Bug: Prevent Previewer showing up in Core / Universal templates whenΒ Show Empty FieldsΒ option enabled.

1.0.2

  • πŸ› Bug: Fix problem where the PDF watermark and custom height settings were ignored for new Previewer fields

1.0.1

  • πŸŽ‰ Feature: TriggerΒ gform_pre_submissionΒ action before temporary entry is created to allow raw $_POST data to be modified
  • πŸ› Bug: Prevent any miscellaneous output when generating the preview PDF
  • πŸ› Bug: Clear temporary entry meta data to prevent product information being cached
  • πŸ› Bug: AddΒ !importantΒ statements to our loading spinner CSS to prevent display issues caused by themes
  • πŸ› Bug: Mark our Previewer field asΒ read onlyΒ in Gravity Forms to prevent is showing up in conditional logic, merge tags or the entry details page

1.0

  • πŸŽ‰ Feature: Add French, Spanish and German translations
  • πŸ› Bug: Fix double-encoding issue in the Preview PDF field strings
  • πŸ› Bug: Adjust pre-loading checks so they correctly display when there's a problem

0.2

  • πŸ› Bug: Default to first PDF for the preview if none selected
  • πŸ› Bug: Fix Watermark double toggle problem
  • πŸŽ‰ Feature: Add more robust logging support
  • Dev: Upgrade bootstrap to utilise Gravity PDF 4.3 Add-on Code
  • Dev: Remove unnecessary files from the plugin

0.1

  • πŸŽ‰ Initial Release