Releases: verbb/formie
Releases · verbb/formie
2.1.4
Added
- Added
status
,statusId
andsiteId
to Submission query arguments for GraphQL queries. - Added missing translations for some strings.
- Added
redirectCallback
toonAfterFormieSubmit
JS event. - Added
redirectTarget
toonAfterFormieSubmit
JS event. - Added
exportVersion
to form exports. - Added support for
headlessMode
mode for integration redirectUri’s. - Added
data-fui-field-count
attribute torow
,subFieldRow
, andnestedFieldRow
theme config elements.
Changed
- Update Sent Notifications to use
TEXT
database column types for some values likecc
andbcc
. - Update Dompdf 2.0.4+.
- Replace deprecated
utf8_encode
function withmb_convert_encoding
.
Fixed
- Fixed ajax-based, multi-page forms with File Upload fields creating duplicate assets.
- Fixed an error when importing forms, set to “create” where there was a conflicting UID for an existing form.
- Fixed changing the submissions status not persisting in the control panel element index view.
- Fixed sub-field fields not showing custom error messages for required validation.
- Fixed an error when calling
populateFormValues()
with Repeater fields. - Fixed lack of error logging for
populateFormValues()
. - Fixed when creating a new form, and an error occurs, the selected stencil not persisting.
- Fixed order of operations when uninstalling the plugin.
- Fixed uninstall not removing some database tables.
- Fixed an error saving notifications with long names.
- Fixed submissions processing payments when flagged as spam.
- Fixed HTML field outputting invalid labels.
- Fixed progress bar not updating when going back to first page.
2.1.3
Changed
- Improved performance of email notification content parsing for complex fields, and fix Slack integration when rendering complex fields in their rich text message.
Fixed
- Fixed hcaptcha executing captcha multiple times, and not working correctly for submitted forms (if filling out the form again).
- Fixed saving a new form with a UID already in place, not working correctly.
- Fixed import/export of forms not respecting UIDs of forms or notifications.
- Fixed an error when showing spam error messages on the front-end.
- Fixed element fields not working correctly when pre-populating the value for multi-page forms.
- Fixed .env variable support for email notifications not working correctly.
- Fixed rich text editor “link to an asset” not working correctly.
- Fixed
craft.formie.populateFormValues
not sanitizing potentially harmful strings.
2.1.2
Added
- Added “Page Count” to form conditions when making custom form sources.
- Added Formie 3 migration prep for field layout changes.
Fixed
- Fixed payment fields not filtering out currency symbols for dynamic values.
- Fixed validation error for Address field Zip subfield not showing correctly for Ajax forms.
- Fixed label position “hidden” not working work Date fields.
- Fixed label position “hidden” not working work Checkboxes fields.
- Fixed an error when sending an email with non-lowercase values for some mailers.
- Fixed a new
formId
being created when callingrenderFormCss/Js
. - Fixed an error for Entry element integrations and setting the
authorId
to a field value. - Fixed submissions index not working correctly in some instances.
- Fixed “Include in Email” field setting for Single-Line Text fields to “Settings” tab.
- Fixed
ModifyFieldUniqueQueryEvent
error. - Fixed submit methods toggling not working correctly in some instances.
- Fixed autoloading for
ModifyFieldUniqueQueryEvent
class.
2.1.1
Fixed
- Fix a migration error with generating notification handles.
- Fix custom error messages for field being applied for every error (not just for required value failures).
2.1.0
Added
- Added the ability to set the label and value for Address field Country sub-field dropdown options.
- Added
populateAddress
JS event for Google Address provider to modify field-population when an address is found. - Added the ability to set a min/max number of options to pick for a Checkboxes and multi-Dropdown field.
- Added support for Freeform migration with form handles containing invalid characters. Formie will try and rename to a valid handle.
- Added
fui-tab-complete
class to tabs previous to the active one on the front-end. - Added page count to form element index, and the ability to query forms via their
pageCount
. - Added support for unique values for Single-Line Text, Multi-Line Text and Number fields.
- Added note to data retention form setting on garbage collection.
- Added “Visibility” settings to Agree fields.
- Added the ability to set a submission as spam when editing it in the control panel.
- Added info tooltips to email notifications for deliverability gotchas.
- Added
description
field setting for Summary field, to control the heading text at the top of the field. - Added
before
andafter
options to theformie/submissions/delete
console command. - Added
before
andafter
element query params for submissions. - Added “Opt-in” field to all integrations.
- Added “User Email” to email variable pickers.
- All fields now have the ability to be excluded from the “All Fields” variable for email notifications.
Changed
- Submission index chart now shows the same submissions in the table view, and provides a consolidated date range filter.
- Revamped submissions index chart to be more performant.
- Changed “Configure Import” text to “Review Import” for Import/Export page.
Fixed
- Fixed front-end alert compatibility with Theme Config for alerts, for ajax-driven forms.
- Fixed formatting buttons not appearing at the top-level of a rich text editor instance.
- Fixed custom error messages for field being applied for every error (not just for required value failures).
- Fixed orphaned field cleanup not working for Repeater/Group nested fields.
- Fixed Zip/Postal Code ordering for Address fields in control panel to match what’s produced on the front-end.
2.0.45
Added
- Added
setOnlyCurrentPagePayload
to force only saving the current page’s fields for performance. - Added
isAvailable
to FormInterface for GraphQL. - Added
displayType
for element fields for GraphQL queries. - Added
data-placeholder
on Pell editor to support placeholder on Rich Text fields. (thanks @IrateGod).
Changed
- Switch Hidden field
hasLabel
to theme config output for form builder label. - Hidden fields now no longer output a label.
Fixed
- Fixed populated Repeater fields not working correctly for multi-sites.
- Fixed a JS error with
Formie.refreshFormTokens
when importing Formie’s JS in your own JS files. - Fixed limit submissions check for GraphQL.
- Fixed validation messages not showing for Opayo payments.
- Fixed lack of autocomplete attributes for Opayo payment fields.
- Fixed Repeater/Group inner fields incorrectly being shown as able to have conditions set on the same field.
- Fixed initial fields in Group/Repeater fields not being marked as
isNested
. - Fixed cache-clearing for CSRF/Captchas not working correctly for multi-page forms.
- Fixed options fields (Radio, Checkboxes, Dropdown) defaults not working in Group/Repeater fields.
- Fixed
setOnlyCurrentPagePayload
. - Fixed
onFormieSubmitError
JS event not containing the server response.
2.0.44.1
Changed
- Improve error message when failing to save a form.
Fixed
- Fixed an error when creating new forms.
2.0.44
Added
- Added
afterInit
JS event to Multi-Line Text fields that have the rich text editor enabled. - Added
beforeInit
JS event for Multi-Line Text fields that have the rich text editor enabled. - Added
aria-live=“polite”
andaria-atomic=“true”
to error messages on the front-end. - Added
modifyQueryParams
event for PayPal.
Changed
- Changed
finalise
tofinalize
for PayPal message. - Changed
fui-sr-only
for hidden label position to usedata-fui-sr-only
instead of class, for Theme Config compatibility. - Updated Multi-Line field, Rich Text editor to support placeholder attribute. (thanks @IrateGod).
Fixed
- Fixed an error for Products and Variants fields when checking for Commerce being installed, when the fields are initialized too early.
- Fixed File Upload assets within Repeater or Group fields not being deleted according to their submission data retention settings.
- Fixed an error when a stencil’s email notification contained an attached asset.
- Fixed lack of enter key accessibility for sent notification and submission modals in the control panel.
- Fixed an error when form message settings contained emoji’s.
- Fixed setting elementQuery via templates not overwriting Element fields.
- Fixed an issue when a PayPal payment field was toggled by conditional rules.
- Fixed an issue using
populateFormValues
for Repeater fields. - Fixed an error when mapping Group fields to some integrations when no value is present.
- Fixed an error when updating queue job information cache for integrations.
1.6.36.1
Changed
- Improve error message when failing to save a form.
Fixed
- Fixed an error when creating new forms.
1.6.36
Fixed
- Fix an error when form message settings contained emoji’s.
- Fix lack of enter key accessibility for sent notification and submission modals in the control panel.
- Fix an issue using
populateFormValues
for Repeater fields.