Releases: verbb/formie
Releases · verbb/formie
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()
.
2.1.9
Fixed
- 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.
2.1.8
Added
- 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
- Remove Section and Summary fields from rich text editor and variable picker options.
Fixed
- 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.
1.6.40
Added
- Add support for additional SugarCRM fields.
3.0.0-beta.4
Breaking Changes
- Change Field’s
name
tolabel
for GraphQL queries. - Change Page’s
name
tolabel
for GraphQL queries.
Added
- Added new user interface for sub-field (Address, Date, and Name).
- Added the ability to re-order sub-fields.
- Added the ability to edit the full settings of sub-field fields.
- Added the
Field::enabled
property to allow you to disable a field. - Added new
verbb\formie\fields\subfields
classes to better handle sub-field inner fields. - Added
NestedField::EVENT_MODIFY_NESTED_FIELD_LAYOUT
to modify the field layout of Nested or Sub-Fields.
Changed
- Sub-fields now extend from the
verbb\formie\base\SingleNestedField
and inherit many behaviours from Group fields. - Phone fields are no longer
verbb\formie\base\SubField
fields. - Sub-field fields now store their field config in their own row in the
formie_fields
database table, under their own layout (page, row, field). - Update GraphQL interfaces for all fields to explicitly define fields to query. Previously these were automatically done via Reflection.
Fixed
- Fixed submission values not being fetched correctly for Name, Address and Phone fields.
- Fixed an issue where Dropdown fields were having their default options being overridden.
- Fixed missing fields not showing the correct error in the form builder.
- Fixed breadcrumb display when editing a submission in the control panel.
- Fixed an error when uninstalling
- Fixed FormKit table input with multiple same name fields.
- Fixed
ModifyFrontEndSubFieldsEvent
case insensitivity. - Fixed content migration from Formie 2 not always respecting JSON columns, proving an issue for MariaDB installs.
Removed
- Removed
verbb\formie\events\ModifyFrontEndSubFieldsEvent
.
2.1.7
Added
- Added the ability to query
SentNotification
elements bysubmissionId
andnotificationId
. - Added “Subscribe Status” mapping option to ActiveCampaign integrations.
- Added
ModifyFieldIntegrationValueEvent::rawValue
. - Added German Translations. (thanks @alexanderloewe).
Changed
- Repeater/Group new-row templates now have spaceless HTML to take up less space in the page source.
- Update Monday integration mutation to latest API compatibility.
- Updated Form Template directories setting to auto-complete directories, not single templates.
Fixed
- Fixed an error when viewing Stripe subscriptions in the control panel.
- Fixed failed Opayo 3DS payments creating a new payment model instead of updating the pending payment.
- Fixed Slack/Trello integration messages not including paragraph nodes.
- Fixed success/error/other form messages not including paragraph nodes.
- Fixed a reactivity issue when editing notifications, causing values to not always save.
- Fixed Slack webhooks not sending.
- Fixed Checkboxes/Radio field preview for horizontal layout and overflow.
- Fixed general errors, manually set to a submission’s
form
attribute not showing on the front-end. - Fixed Theme Config not working correctly when supplying attributes with empty values (to output just the attribute like
readonly
ordisabled
) on elements. - Customer information is now included for single Stripe payments.
- Fixed an error when rendering Payment fields with an invalid Payment integration.
- Fixed incorrect value when mapping to a Date field in HubSpot.
- Fixed
formie
translations not working correctly (defaulting to English) when there is a non-English primary site, and content has been written in non-English. - Fixed scroll-offset calculation when scrolling to the top of a form.
- Fixed incorrect value when mapping to a Date field in HubSpot.