Releases: verbb/formie
Releases · verbb/formie
3.0.0-beta.9
Added
- Added more missing translation strings.
- Added full error for reCAPTCHA captchas when failing to initialize.
- Added the ability for
Submission::setStatus()
to accept the handle of a status. - Added the ability to set the captcha type for reCAPTCHA Enterprise.
- Added Google Console API Key for reCAPTCHA Enterprise.
- Added Referer, User Agent and User IP headers for reCAPTCHA Enterprise requests.
Changed
- Payment integrations can now have their field templates overridden in Form Templates.
- HubSpot forms are now listed in alphabetical order.
- Improved German translations. (thanks @MoritzLost).
- Updated non-English translations to include latest strings.
- Updated English translations to include latest strings.
Fixed
- Fixed a JS error for client-side validation with Theme Config
resetClasses
set. - Fixed Sub-Fields not having their values set correctly for integrations.
- Fixed sub-field values not displaying correctly in email notifications.
- Fixed an error when selecting existing fields to add to a form when there are none.
- Fixed an error with Page Settings for GraphQL.
- Fixed field
name
deprecations. - Fixed Date fields in Group/Repeater not validating correctly.
- Fixed custom error messages not showing for fields.
- Fixed an error serializing File Upload field content.
- Fixed a deprecation warning when importing or exporting forms.
- Fixed an error when rendering fields in the form builder when also registering custom fields.
- Fixed an error with File Upload fields with invalid volumes when viewing a submission in the control panel.
- Fixed an error when rendering fields in the form builder when also registering custom fields.
- Fixed Heading field outputting field label when editing a submission in the control panel.
- Fixed an error where
renderOptions
weren’t available to field templates. - Fixed duplicated heading text for Heading fields when viewing a submission in the control panel.
- Fixed an error with Flatpickr and live client-side validation.
- Fixed Element integrations not working correctly for non-updating elements.
- Fixed Address field default country not working correctly.
- Fixed formatting for German translations. (thanks @MoritzLost).
- Fixed spelling and style issues in German translations. (thanks @MoritzLost).
- Fixed an error with File Upload fields within Repeater fields for GraphQL.
- Fixed User variables not working in Email Notification previews.
- Fixed "Manage all forms" permission.
- Submission UIDs when used in Email Notifications now show a generated value in preview.
2.1.13
Changed
- Improved German translations. (thanks @MoritzLost).
- Updated non-English translations to include latest strings.
- Updated English translations to include latest strings.
Fixed
- Fixed an error where
renderOptions
weren’t available to field templates. - Fixed duplicated heading text for Heading fields when viewing a submission in the control panel.
- Fixed an error with Flatpickr and live client-side validation.
- Fixed Element integrations not working correctly for non-updating elements.
- Fixed Address field default country not working correctly.
3.0.0-beta.8
Added
- Added missing form builder translation strings.
Fixed
- Fixed a Formie 1 migration where fields contained an underscore, and were affected by synced field issues in need of fixing.
- Fixed a PHP 8.2 deprecation.
- Fixed populating Group fields not working consistently.
- Fixed Repeater and Group fields not working correctly for multi-page forms.
- Fixed limited users permissions for forms not working correctly.
- Fixed an error with Stripe creating a plan for subscription payments.
- Fixed Internal fields showing in the form builder for non-English languages.
- Fixed conditions builder not working correctly for some field types like Dropdowns.
- Fixed options fields not saving field content correctly.
- Fixed importing sub-fields for forms.
- Fixed form importing.
- Fixed form exporting including invalid settings.
- Fixed an error when importing a form.
- Fixed support request form.
- Fixed Heading field preview.
- Fixed an error with stencils not having their settings populated correctly.
- Fixed an error when populating form content.
2.1.12
Added
- Added more missing translation strings.
- Added full error for reCAPTCHA captchas when failing to initialize.
- Added the ability for
Submission::setStatus()
to accept the handle of a status. - Added the ability to set the captcha type for reCAPTCHA Enterprise.
- Added Google Console API Key for reCAPTCHA Enterprise.
- Added Referer, User Agent and User IP headers for reCAPTCHA Enterprise requests.
Changed
- HubSpot forms are now listed in alphabetical order.
Fixed
- Fixed formatting for German translations. (thanks @MoritzLost).
- Fixed spelling and style issues in German translations. (thanks @MoritzLost).
- Fixed an error with File Upload fields within Repeater fields for GraphQL.
- Fixed User variables not working in Email Notification previews.
- Fixed "Manage all forms" permission.
- Submission UIDs when used in Email Notifications now show a generated value in preview.
1.6.41
Added
- Added the ability to set the captcha type for reCAPTCHA Enterprise.
- Added Google Console API Key for reCAPTCHA Enterprise.
- Added Referer, User Agent and User IP headers for reCAPTCHA Enterprise requests.
3.0.0-beta.7
Added
- Added missing form builder translation strings.
- Added error notice for Stripe payments when invalid values are set.
- Added
onFormieLoaded
JS event.
Changed
- The
onFormieInit
now fires on every initialization of a form, when it’s visible on the page.
Fixed
- Fixed a Formie 1 migration where fields contained an underscore, and were affected by synced field issues in need of fixing.
- Fixed a PHP 8.2 deprecation.
- Fixed populating Group fields not working consistently.
- Fixed Repeater and Group fields not working correctly for multi-page forms.
- Fixed limited users permissions for forms not working correctly.
- Fixed an error with Stripe creating a plan for subscription payments.
- Fixed Internal fields showing in the form builder for non-English languages.
- Fixed sub-fields not showing their editable settings.
- Fixed toggling the enabled state of integrations not updating in the sidebar.
- Fixed form builder performance with many integrations enabled.
- Fixed an error in the form builder for missing fields.
- Fixed outdated front-end translations string for validators.
- Fixed an error with Duplicate and JavaScript captchas.
- Fixed an error when changing a Select field’s option from an optgroup to an option.
3.0.0-beta.6
Added
- Added
FieldInterface::subfieldLabelPosition
for GraphQL. - Added
Submission::hasStatusChanged()
andSubmission::hasSpamChanged()
. - Added ability to send email notifications or trigger integrations when unmarking a submission as spam.
- Added
data-field-label
attribute to labels/legends for fields. - Added
data-validation
to fields, to denote what validators to use for the field. - Added error output when saving a new form.
- Added
FieldInterface::subFieldLabelPosition
for GraphQL.
Changed
- Switched Stripe payments to use “Payment Web Element”, adding the ability to use non-credit card payments like Apple Pay, AfterPay, etc
- Revamped front-end validation and removed
bouncer.js
. - Submissions now send any email notifications that have status conditions when a completed submission is saved.
- Field errors now only show their first error when validation fails.
- Changed
fieldErrors
andfieldError
elements fromul
andli
respectively todiv
. - Re-organise validator rules and add client-side match field validator.
data-field-handle
for fields now includes the full dot-notation “fieldKey” of the field, including any parent. Soname.firstName
,group.text
orrepeater.new1.text
.- Captchas for GraphQL mutations now don’t require a mandatory variables parameter to be named the same as their input type.
- Querying fields and rows via GraphQL now default to only returned enabled fields.
Fixed
- Fixed Opayo payments not sending customer email address.
- Fixed Phone fields default value not working.
- Fixed “All Fields” and similar summary variables causing invalid HTML in some email clients for email notifications.
- Fixed Solspace Calendar element integration incorrectly matching existing elements from other entry types.
- Fixed Entry element integration incorrectly matching existing elements from other entry types.
- Fixed compatibility with Solspace Calendar 5.x.
- Fixed consent field values for Campaign Monitor.
- Fixed an error for Checkboxes fields when the “Toggle Checkbox” was included.
- Fixed multi-name fields not showing correctly in email notification previews.
- Fixed
data-field-type
attribute being incorrectly translated for fields. - Fixed JS event listeners being attached multiple times for some integrations when calling
Formie.initForms()
multiple times. - Fixed front-end JS throwing an error in some circumstances.
- Fixed an error when populating Group/Repeater field values.
- Fixed a dependency error with
verbb/base
version. - Fixed user permissions being incorrect for view submissions in the control panel.
- Fixed an error when populating Table fields.
- Fixed Name/Address email templates.
- Fixed duplicated email notifications not getting a unique handle.
- Fixed handle email notification validation.
- Fixed missing email notification validation.
- Fixed inner Repeater fields able to be selected for variable when they aren’t supported yet.
- Fixed an error when creating a stencil.
- Fixed an error for match-field enabled fields.
- Fixed sub-field inner fields being shown in the form builder.
- Fixed Checkboxes validation.
- Fixed notification cloning.
- Fixed email notification enabled status.
- Fixed an error with Solspace Calendar integration.
- Fixed
data-field-type
attribute being incorrectly translated for fields. - Fixed payment field foreign key constraint.
- Fixed front-end errors showing if no error.
- Fixed default field values not normalizing correctly.
- Fixed a payment field error.
- Fixed an error with Opayo payments.
- Fixed “Form Template” value not persisting on saving a form.
- Fixed element site select input.
- Fixed “Action on Submit” not toggling options correctly.
- Fixed applying Formie 2 stencil data, and normalize stencil data.
2.1.11
Added
- Added missing form builder translation strings.
Fixed
- Fixed a Formie 1 migration where fields contained an underscore, and were affected by synced field issues in need of fixing.
- Fixed a PHP 8.2 deprecation.
- Fixed populating Group fields not working consistently.
- Fixed Repeater and Group fields not working correctly for multi-page forms.
- Fixed limited users permissions for forms not working correctly.
- Fixed an error with Stripe creating a plan for subscription payments.
- Fixed Internal fields showing in the form builder for non-English languages.
2.1.10
Added
- Added
FieldInterface::subfieldLabelPosition
for GraphQL.
Fixed
- Fixed Opayo payments not sending customer email address.
- Fixed Phone fields default value not working.
- Fixed “All Fields” and similar summary variables causing invalid HTML in some email clients for email notifications.
- Fixed Solspace Calendar element integration incorrectly matching existing elements from other entry types.
- Fixed Entry element integration incorrectly matching existing elements from other entry types.
- Fixed compatibility with Solspace Calendar 5.x.
- Fixed consent field values for Campaign Monitor.
- Fixed an error for Checkboxes fields when the “Toggle Checkbox” was included.
- Fixed multi-name fields not showing correctly in email notification previews.
- Fixed
data-field-type
attribute being incorrectly translated for fields. - Fixed JS event listeners being attached multiple times for some integrations when calling
Formie.initForms()
multiple times. - Fixed front-end JS throwing an error in some circumstances.
- Fixed an error when populating Group/Repeater field values.
3.0.0-beta.5
Added
- Added
row.getIsHidden()
. - Added back
craft.formie.getVisibleFields()
. - Added the ability to store custom data (
customSettings
) on a Notification, to store extra data against a Notification. - Added the ability to modify Notification tabs and field settings (schema) via
Notifications::EVENT_MODIFY_NOTIFICATION_SCHEMA
. - Fields moved in and out of Group fields now have their content moved as well.
- Fields can now be moved to and from Group/Repeater fields.
- Added the ability for Recipients fields to pre-populate the field via their option label.
- Added “Source” to Klaviyo Email Marketing integration.
- Added support for additional SugarCRM fields.
- Added the ability for cosmetic fields (Heading, HTML, etc) to be included in email notifications.
- Added the ability to map to HubSpot Hidden fields.
Changed
- Updated db table references.
- Updated
Auth::getInstance()
references. - Updated
elementChip()
references. - Updated email notifications index to show Name and Subject variable previews when used.
- Improved email notification preview error message.
- Updated
stripe/stripe-php
to be compatible with (commerce-stripe)[https://github.com/craftcms/commerce-stripe]. - Remove Section and Summary fields from rich text editor and variable picker options.
Fixed
- Fixed notification alignment.
- Fixed an error when installing the plugin, or when saving a stencil.
- Fixed an error when saving a sent notification for an SMTP mailer email.
- Fixed variable parsing plugin-wide.
- Fixed an error when rendering entries fields in the email notification preview.
- Fixed deprecation notice for Submissions.
- Fixed some Theme Config classes not applying correctly.
- Fixed Formie 3 migrations for where forms from Formie 2 were using the older field layout format.
- Fixed an error with element fields and custom sources.
- Fixed Section and Summary field label/handles re-generating.
- Fixed Group inner field validation for Sub-Fields.
- Fixed variable-parsing of sub-fields, nested fields and regular fields.
- Fixed an error for Sub-Fields and generating summary and integration values.
- Fixed hidden fields and rows with only hidden fields being shown in the form layout.
- Fixed Pre-Populate field settings showing in nested Repeater fields, when they have no effect.
- Fixed filtering deleted pages/rows/fields.
- Fixed Recipients field error.
- Fixed field defaults not being applied.
- Fixed Opayo and
1017
error responses. - Fixed Algolia and Google address provider templates.
- Fixed Table fields not populating properly with
populateFormValues()
and allow usage of the columnhandle
. - Fixed Date/Time columns in Table field with timezone information when editing a submission in the control panel.
- Fixed Salesforce DateTime fields throwing an error.
- Fixed renamed theme config keys for some fields (wait until Formie 3).
- Fixed success/error messages containing paragraph tags not displaying correctly for Ajax-based forms.
- Fixed field and integration handles using the translated class name when they shouldn’t.
- Fixed cosmetic field handles not working correctly for non-English-default installs.
- Fixed a translation error in the control panel when the users language or site is set to German.
- Fixed some integrations throwing errors when the control panel language was set to non-English.
Deprecated
- Deprecated
craft.formie.getVisibleFields()
.