Releases: codewurker/gravityforms
Releases · codewurker/gravityforms
2.9.7.2
Gravity Forms v2.9.7.2 Changelog
- API: Fixed an issue with the gform/post_render event being fired too early during an AJAX submission, which causes conflicts with certain add-ons.
- Updated the default honeypot action from "Do not create an entry" to "Create an entry and mark it as spam".
- Fixed an issue where the honeypot doesn't work with new Ajax.
- API: Updated GFAPI::submit_form() to support an optional 6th param, $initiated_by, the process that initiated the submission. Supported integers are 1 (aka GFFormDisplay::SUBMISSION_INITIATED_BY_WEBFORM) or 2 (aka GFFormDisplay::SUBMISSION_INITIATED_BY_API). Defaults to GFFormDisplay::SUBMISSION_INITIATED_BY_API.
- API: Updated the result returned by GFAPI::submit_form() to include the is_spam, confirmation_message, and confirmation_type properties when the form fails honeypot validation and it is configured to use the "Do not create an entry" action.
- Fixed a PHP fatal error that occurs during background processing if another plugin includes an older version of WP_Async_Request that doesn't include maybe_wp_die().
- Fixed a PHP fatal error that occurs in wp_date() for some PHP versions and timestamps during background processing if a batch has previously been attempted.
- Fixed a 403 error that occurs when a background processor dispatch method is called during an admin-ajax.php request, such as the one used to process new Ajax enabled form submissions.
Gravity Forms v2.9.7.1 Changelog
- Fixed an accessibility issue where the consent field description does not get keyboard focus.
- Added a setting to disable the dashboard widget.
- Fixed an issue that causes the field properties to be overwritten by defaults.
Gravity Forms v2.9.7 Changelog
- Added the autocomplete attribute setting to Website field.
- Fixed spacing and margin issues in the admin and help sections in RTL languages.
- Fixed a PHP fatal error that occurs when the
gform_form_switcher_forms
filter returns an invalid value, or when a deleted form remains in the current users recent forms list. - Updated the minimum WordPress version (for support) on the System Status page to 6.7.
- Removed trailing spaces from some translatable strings to improve translation.
- AF: Fixed an issue where the placeholder attribute isn't rendered for text input fields in add-on feed settings. Credit: GravityKit team
- AF: Updated the background processor to pause when a task encounters an error (e.g. external API rate limit), and resume later on the fallback cron job.
- API: Added the submission type ("submission_type" property) to the result returned by an AJAX submission.
- API: Fixed an issue where the conditional logic setting instructions property could not be overridden. Credit: GravityKit team
2.9.7.1
Gravity Forms v2.9.7.1 Changelog
- Fixed an accessibility issue where the consent field description does not get keyboard focus.
- Added a setting to disable the dashboard widget.
- Fixed an issue that causes the field properties to be overwritten by defaults.
Gravity Forms v2.9.7 Changelog
- Added the autocomplete attribute setting to Website field.
- Fixed spacing and margin issues in the admin and help sections in RTL languages.
- Fixed a PHP fatal error that occurs when the
gform_form_switcher_forms
filter returns an invalid value, or when a deleted form remains in the current users recent forms list. - Updated the minimum WordPress version (for support) on the System Status page to 6.7.
- Removed trailing spaces from some translatable strings to improve translation.
- AF: Fixed an issue where the placeholder attribute isn't rendered for text input fields in add-on feed settings. Credit: GravityKit team
- AF: Updated the background processor to pause when a task encounters an error (e.g. external API rate limit), and resume later on the fallback cron job.
- API: Added the submission type ("submission_type" property) to the result returned by an AJAX submission.
- API: Fixed an issue where the conditional logic setting instructions property could not be overridden. Credit: GravityKit team
2.9.7
Gravity Forms v2.9.7 Changelog
- Added the autocomplete attribute setting to Website field.
- Fixed spacing and margin issues in the admin and help sections in RTL languages.
- Fixed a PHP fatal error that occurs when the
gform_form_switcher_forms
filter returns an invalid value, or when a deleted form remains in the current users recent forms list. - Updated the minimum WordPress version (for support) on the System Status page to 6.7.
- Removed trailing spaces from some translatable strings to improve translation.
- AF: Fixed an issue where the placeholder attribute isn't rendered for text input fields in add-on feed settings. Credit: GravityKit team
- AF: Updated the background processor to pause when a task encounters an error (e.g. external API rate limit), and resume later on the fallback cron job.
- API: Added the submission type ("submission_type" property) to the result returned by an AJAX submission.
- API: Fixed an issue where the conditional logic setting instructions property could not be overridden. Credit: GravityKit team
2.9.6.1
Gravity Forms v2.9.6 Changelog
- Added a performance improvement by making the form switcher only show the most recent 10 forms.
- Updated the
gform_form_switcher_forms
filter to allow developers to also filter the forms that show up in the form switcher search results. - Updated dropdowns in the admin to be more consistent.
- Fixed an issue where
save_callback
is not called for fields located in tabs. - Fixed an issue where the submit button is replaced with a next button on the last page of a multi-page form when that page is hidden by conditional logic and fails validation.
- Fixed an issue where the field map setting is not working when no conflict mode is enabled.
- Fixed an issue where the form submits or the next page is displayed if the previous button does not include the
gform_previous_button
class when clicked. Note: When using filters likegform_submit_button
,gform_next_button
, orgform_previous_button
to replace the input elements with button elements, make sure to keep the attributes from the original elements. Example code. - Fixed an issue where a javascript error occurs if a calculation is attempted and the calculation field does not have an input.
- API: Added inline documentation for the Foundation layer of the Theme Framework.
- API: Added temporary blocking mechanism when version.php API calls return server errors (5xx) to prevent excessive failed requests.
- API: Updated the generic map setting field to support using textareas when mapping to a custom value.
2.9.5
Gravity Forms v2.9.5 Changelog
- Fixed an issue where a javascript error is thrown when using multiple forms on the same page with conditional logic.
- Fixed a bug that causes a PHP error when you try to duplicate a duplicate of a form. Credit: The GravityKit Team.
- Fixed a JavaScript error that occurs when the selected option is not found in the pricing fields meta retrieved post render.
- Fixed an issue where the total is not updated when the form is embedded using the shortcode, and the selected option field choices are being modified via a form filter based on a query argument.
- Fixed various issues with the new Ajax submission functionality to make sure that hooks and filters are run and validation messages are displayed correctly.
- Fixed a PHP notice that occurs on post or page display when the embedded form has been deleted.
- Updated the form import confirmation message to display the count of both failed and successful forms and to include a link to the list of imported forms.
- Removed hidden fields that provide instructions in the form templates.
- AF: Fixed a PHP notice that occurs when creating or editing a coupon.
- API: Updated the generic map setting field to support using textareas when mapping to a custom value.
- API: Added a new User Select field to the Settings API.
- API: Updated the submission process to support submission method changes via the gform/submission/pre_submission filter.
- API: Removed support for the SUBMISSION_METHOD_CUSTOM submission method.
2.9.4
Gravity Forms v2.9.4 Changelog
- Added the
gform_feed_settings_before_fields
filter to allow developers to change the content that is displayed before the feed settings. - Fixed an issue where field-specific validation was no longer running when No Duplicates setting was enabled.
- Fixed an issue that prevents the form editor from working properly when the form doesn't have a submit button configured.
- Fixed a styling issue with the generic field map setting where the merge tag link overlaps the input.
- Fixed an issue where the Gravity Forms block is not rendering or working correctly in the site editor (iframed block editor).
- Updated the form switcher so that it stays on the same settings page when switching forms.
- Updated the minimum WordPress version to 6.5.
- Updated the minimum PHP version to 7.4.
- Updated the minimum WordPress version (for support) on the System Status page to 6.6.
- API: Added GFAPI::update_entry_feed_status(), GFAPI::get_entry_feed_status(), and GFAPI::get_entry_feed_status_key().
- AF: Added GFFeedAddOn::save_entry_feed_status(), GFFeedAddOn::post_process_feed(), and GFFeedAddOn::fulfill_entry().
- AF: Updated GFFeedAddOn::maybe_process_feed() to support saving the feed processing result for compatible add-ons. This is dependent on the value returned by the add-ons process_feed() method:
void
ornull
when the feed status should not be saved.false
or aWP_Error
when a failed status should be saved. Thecode
,message
, anddata
properties from theWP_Error
will also be saved.true
or the$entry
when a success status should be saved.
2.9.3
Gravity Forms v2.9.3 Changelog
- Added the
gform_file_upload_tmp_dir
filter to allow developers to change the temporary directory used for file uploads. - Fixed an issue with conditional logic for numbers formatted as date or time.
- Fixed an issue that causes the entry list to sometimes have display problems on mobile screens.
- Fixed an issue where some icons are missing in compact view in the form editor.
- Fixed an issue where Ajax submissions can abort when the field values block setting contains multiple parameters or when using a tabindex of -1.
- Fixed an issue where Ajax submissions can abort when a third-party embed method passes a string instead of a boolean as the value of the $display_title or $display_description arguments of the gravity_form function.
- Fixed an issue where calculations based on an Image Choice field only run if you click the input, not the image.
- Fixed an issue where the form list page throws a JavaScript error if the user does not have the
gravityforms_create_form
capability. - Fixed an issue that allows the File Upload Field to bypass validation checks when using a maximum file constraint.
- Fixed an issue where the
:value
of product fields in calculations uses price upon submission. - Fixed an issue where changing the 'gform_sticky_admin_messages' database values can cause a fatal error.
- Fixed an issue with product fields that do not update the total when the markup is updated via custom code.
- Removed "send you a birthday cake" custom validation message from template library forms.
- Updated handling of images for the Image Choice field so that thumbnail sizes are only generated for images used in the field.
- Updated the form preview to use the Orbital theme.
- API: Updated the React components to support the use of the newly created internal component icon kit.
2.9.2
Gravity Forms v2.9.2 Changelog
- Added a screen reader announcement to the form editor when a new field is added to a form for improved accessibility.
- Added security enhancements. Credit: mikemyers via Wordfence.
- Added settings for "sort column" and "sort order" to the Screen Options settings on the form list page.
- Added the
gform_check_empty_index_file_exists
filter to allow developers to check whether an empty index file exists before creating a new one. - Added the
gform_value_pre_duplicate_check filter
to allow filtering a field's value before checking if it has a duplicate value. - Fixed an issue that causes
GFFormDisplay::is_last_page()
to return the wrong result when the last page has a validation error. - Fixed an issue that causes a fatal error if an asset is enqueued incorrectly.
- Fixed an issue that causes the Survey single line text field to have an invalid
aria-describedby
attribute. - Fixed an issue that prevents JS events from firing when an image in an Image Choice field is clicked.
- Fixed an issue that prevents the Description Placement setting from showing in the form editor before the form is saved.
- Fixed an issue that prevents the
gform_progressbar_start_at_zero
filter from working. - Fixed an issue that prevents the page dropdown on the confirmation settings page from finding pages when the permalinks are set to plain.
- Fixed an issue where a custom progress bar implemented with the
gform_progress_bar
filter can throw an error in Gravity Forms 2.9. - Fixed a fatal error that could occur when the
GFCommon::replace_variables_prepopulate()
function is called with a non-string value. - Fixed an issue that prevents the product quantity label from matching the input field.
- Fixed an issue that causes form validation errors if a product field has a quantity of 0 and the form includes shipping and total fields.
- Fixed an issue that causes the repeater child fields to not use the
gform_field_validation
filter custom message. - Fixed an issue that prevents the total from being calculated in some situations, including when using a product drop down with "Enable enhanced user interface" enabled.
- Fixed an issue where Hooks.js is not being added to the header when using certain hosting environments.
- Fixed an issue that prevents styling from being applied to notifications.
- Fixed an issue where an empty error message is displayed if the theme or another plugin outputs an empty line in response to a resend notification AJAX request.
- Fixed an issue where form block theme settings are visible when the default form theme is not Orbital.
- Fixed an issue where inserting a merge tag for a field with double quotes in the label is not working properly.
- Fixed an issue where invalid data on a multiple file upload field can cause the entry export to break on PHP 8+. Credit: The GravityKit Team.
- Fixed an issue where the
gform_allowable_tags
filter is not applied when using the filter without the optional$form_id
property. Credit: The Gravity PDF team. - Fixed an issue where the license status messages are not being displayed correctly on the System Settings Updates page.
- Fixed an issue where the note added by the custom anti-spam filter is overridden when the Akismet integration is enabled.
- Fixed an issue where the total field is not calculated correctly on certain forms with conditional logic animations enabled.
- Fixed an issue where the values of a custom generic_map settings field are not populated in the form settings page.
- Fixed an issue where unnecessary form count queries are executed outside Gravity Forms pages.
- Updated the number field to display the aria-describedby attribute when a range is defined and validation fails.
- Updated the preview of the reCAPTCHA field in the form editor.
- Removed
GFForms::filter_query()
method which was deprecated in 2.8.13. - API: Added
GFAPI::maybe_process_feeds()
,GFAPI::get_processed_feeds_meta()
, andGFAPI::update_processed_feeds_meta()
. - API: Added the
gform_allow_async_feed_reprocessing
filter. - API: Fixed an issue where the entries endpoint "_labels" is not respecting admin label context for survey fields.
- API: Updated the state management JS module to return a shallow copy of objects retrieved via the get method.
- API: added an action hook to add field settings to the choice options section of the form editor sidebar.
2.9.1
Gravity Forms v2.9.0 Changelog
- Added a new "Multiple Choice" field.
- Added a new "Image Choice" field.
- Added new AJAX submission functionality.
- Added support for encrypting and decrypting settings fields.
- Added the ability to import images into the media library when forms are imported.
- Added screen reader only headings to the form editor for better accessibility.
- Added accessibility improvements to the "allowed file extensions" setting in the form editor.
- Added notices about the removal of Legacy Markup in 3.1.0.
- Added the ability to output config scripts by using the
gform_output_config
action. - Added the ability to clear default choices in the choices flyout in the form editor.
- Updated the form editor to use the Orbital theme.
- Updated location of some field settings from the choices flyout to the form editor sidebar.
- Updated field configuration error messages in the form editor to be more consistent.
- Updated browser alerts in the form editor to use a dialog modal.
- Updated the markup of many settings in the form editor sidebar for better accessibility.
- Updated the "Select All" functionality on the Checkbox field so that if all choices have been selected, and then one is deselected, the button goes back to saying "Select All".
- Updated the compact view in the form editor to show icons based on the field type, not the field input type.
- Updated asset enqueuing in the front end and the admin to be more efficient.
- Fixed an issue that prevents users from closing the conditional logic flyout in the form editor.
- Fixed an issue where dynamic field population is not working for fields inside a Repeater.
- Fixed an issue where forms with multiple pages hidden by conditional logic can fail honeypot validation.
- Fixed an issue where the full screen handler performs an unnecessary database query, which impacts front-end performance for some hosting environments.
- Fixed an issue where the embed_post and custom_field merge tags return empty when used in notifications and add-on feeds that are processed asynchronously.
- Fixed an issue where canceling a confirmation dialog still applies the change on choice fields.
- Fixed an issue in the Orbital theme where ordered and unordered lists are not using the theme list-style property where expected.
- Fixed an issue where the inline styles for the Theme Framework are always being output for forms using the Orbital theme when they should be disabled.
- Fixed a bug that causes the wrong page titles on the Import Forms and Export Forms pages.
- Removed support for Internet Explorer.
- AF: Added the
gform_entry_meta_pre_render_feed_settings
filter, so entry meta fields can be made available to the feed conditional logic setting. - API: Added the
source_id
column to thegf_entry
table. - API: Added the
gform_field_choices_max_count_visible
filter to allow for the setting of the maximum number of choices shown in the form editor for choice based fields. - API: Added the
gform_image_choice_input_visibility
filter for the default input visibility for the Image Choice field. - API: Added the
gform_image_choice_label_visibility_default
filter for the default label visibility for the Image Choice field. - API: Added the
gform_checkbox_limit_exact_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires an exact number of selections. - API: Added the
gform_checkbox_limit_range_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires a range of selections. - API: Added the
gform_checkbox_limit_max_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires a maximum number of selections. - API: Added the
gform_checkbox_limit_min_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires a minimum number of selections. - API: Added the
gform_default_choice_alignment
filter to set the default alignment for the Multiple Choice field. - API: Added a JS module to keep track of current product field selection.
- API: Added a JS state management module to keep track of form stata.
- API: Added the
gform_source_id_pre_save_entry
filter, so the value to be saved to the entry source_id property can be overridden. - API: Added a new
gform/ajax/post_page_change
JavaScript event that runs after a page change with the new AJAX functionality. - API: Updated the config framework to support form specific config items to be added to the config object and output to the page.
- API: Updated the theme framework utility classes of
.gform-theme__disable
and.gform-theme__disable-framework
to also disable theme framework styles for field labels and descriptions. - API: Deprecated the
UpdateFieldChoices
function. UseRefreshSelectedFieldPreview
instead. - API: Removed the deprecated form Theme Framework global CSS API properties.
- API: Added the
gform_entry_meta_pre_evaluate_conditional_logic
filter, so the entry meta fields supported for use with conditional logic can be customized before the rules are evaluated. - API: Added the
gform_entries_action_links
filter to allow for modification of an entry action links in the form entries page. - API: Updated the product config logic so that it filters the form via the 'gform_pre_render' filter.
- API: Added a new Javascript event
gform/post_init
that is triggered after the form has been initialized and can be used by add-ons to load necessary scripts after all Gravity Forms scripts are loaded.
2.9.0
Gravity Forms v2.9.0 Changelog
- Added a new "Multiple Choice" field.
- Added a new "Image Choice" field.
- Added new AJAX submission functionality.
- Added support for encrypting and decrypting settings fields.
- Added the ability to import images into the media library when forms are imported.
- Added screen reader only headings to the form editor for better accessibility.
- Added accessibility improvements to the "allowed file extensions" setting in the form editor.
- Added notices about the removal of Legacy Markup in 3.1.0.
- Added the ability to output config scripts by using the
gform_output_config
action. - Added the ability to clear default choices in the choices flyout in the form editor.
- Updated the form editor to use the Orbital theme.
- Updated location of some field settings from the choices flyout to the form editor sidebar.
- Updated field configuration error messages in the form editor to be more consistent.
- Updated browser alerts in the form editor to use a dialog modal.
- Updated the markup of many settings in the form editor sidebar for better accessibility.
- Updated the "Select All" functionality on the Checkbox field so that if all choices have been selected, and then one is deselected, the button goes back to saying "Select All".
- Updated the compact view in the form editor to show icons based on the field type, not the field input type.
- Updated asset enqueuing in the front end and the admin to be more efficient.
- Fixed an issue that prevents users from closing the conditional logic flyout in the form editor.
- Fixed an issue where dynamic field population is not working for fields inside a Repeater.
- Fixed an issue where forms with multiple pages hidden by conditional logic can fail honeypot validation.
- Fixed an issue where the full screen handler performs an unnecessary database query, which impacts front-end performance for some hosting environments.
- Fixed an issue where the embed_post and custom_field merge tags return empty when used in notifications and add-on feeds that are processed asynchronously.
- Fixed an issue where canceling a confirmation dialog still applies the change on choice fields.
- Fixed an issue in the Orbital theme where ordered and unordered lists are not using the theme list-style property where expected.
- Fixed an issue where the inline styles for the Theme Framework are always being output for forms using the Orbital theme when they should be disabled.
- Fixed a bug that causes the wrong page titles on the Import Forms and Export Forms pages.
- Removed support for Internet Explorer.
- AF: Added the
gform_entry_meta_pre_render_feed_settings
filter, so entry meta fields can be made available to the feed conditional logic setting. - API: Added the
source_id
column to thegf_entry
table. - API: Added the
gform_field_choices_max_count_visible
filter to allow for the setting of the maximum number of choices shown in the form editor for choice based fields. - API: Added the
gform_image_choice_input_visibility
filter for the default input visibility for the Image Choice field. - API: Added the
gform_image_choice_label_visibility_default
filter for the default label visibility for the Image Choice field. - API: Added the
gform_checkbox_limit_exact_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires an exact number of selections. - API: Added the
gform_checkbox_limit_range_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires a range of selections. - API: Added the
gform_checkbox_limit_max_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires a maximum number of selections. - API: Added the
gform_checkbox_limit_min_message
filter to allow the customization of the message displayed on the Multiple Choice field when the field requires a minimum number of selections. - API: Added the
gform_default_choice_alignment
filter to set the default alignment for the Multiple Choice field. - API: Added a JS module to keep track of current product field selection.
- API: Added a JS state management module to keep track of form stata.
- API: Added the
gform_source_id_pre_save_entry
filter, so the value to be saved to the entry source_id property can be overridden. - API: Added a new
gform/ajax/post_page_change
JavaScript event that runs after a page change with the new AJAX functionality. - API: Updated the config framework to support form specific config items to be added to the config object and output to the page.
- API: Updated the theme framework utility classes of
.gform-theme__disable
and.gform-theme__disable-framework
to also disable theme framework styles for field labels and descriptions. - API: Deprecated the
UpdateFieldChoices
function. UseRefreshSelectedFieldPreview
instead. - API: Removed the deprecated form Theme Framework global CSS API properties.
- API: Added the
gform_entry_meta_pre_evaluate_conditional_logic
filter, so the entry meta fields supported for use with conditional logic can be customized before the rules are evaluated. - API: Added the
gform_entries_action_links
filter to allow for modification of an entry action links in the form entries page. - API: Updated the product config logic so that it filters the form via the 'gform_pre_render' filter.
- API: Added a new Javascript event
gform/post_init
that is triggered after the form has been initialized and can be used by add-ons to load necessary scripts after all Gravity Forms scripts are loaded.