Releases: verbb/formie
Releases · verbb/formie
1.3.18
Added
- Added support for HubSpot form integration.
- Added opt-in field support to all CRM integrations.
- Added support for field options defined in HubSpot (for dropdown, select, etc).
- Added custom field support for Sendinblue integration.
- Added
Min File Size
setting for File Upload fields. - Added support for global variables in Spam Keywords.
Changed
- Update some email marketing integrations to fetch custom list fields more efficiently.
- Prevent email notifications sending 0kb file uploads. This can lead to spam filters marking the email as invalid.
Fixed
- Fixed "minutes" to be given a retention length. (thanks @nickdunn).
- Fixed
endpoint
andmethod
properties missing fromSendIntegrationPayloadEvent
for Email Marketing and CRM integrations. - Fixed nested fields (Group, Repeater) not having inner field JS initialized properly.
- Fixed spam checks for some field types.
- Fixed tag fields throwing an error when set to “dropdown” and editing a submission.
- Fixed case insensitivity (not working) for spam keywords.
- Fixed multiple fields with JS config not initialising correctly.
- Fixed Group or Repeater nested fields not getting unqiue handles when cloning.
- Fixed Repeater fields not having their inner fields’ JS initialized properly.
- Fixed some fields (Element, Repeater, Group) not extracting content for spam keyword checks.
- Fixed submission success messages including submission content not working.
- Fixed existing fields not appearing for the form builder.
- Fixed some fields (plain text and other simple fields) not having their labels correctly translated for email notifications.
1.3.17
Added
- Added better caching to
getParsedValue
, which fix a few rare issues with field rendering stale content. - Allow
formieInclude()
to allow multiple templates (array syntax) to be passed in to be resolve. - Added support for Integration settings for Stencils.
- Added support for paginated lists for Sendinblue integration.
- Added error logging for email delivery.
- Added ability to set the default value for all Element fields.
- Added checkboxes and radio button display types for Element fields.
- Added support to Element fields to customise the content used for labels, instead of just title.
- Added
submission
toSubmission::EVENT_DEFINE_RULES
event. - Added Tracking, Account and Campaign IDs to SharpSpring CRM integration.
- Added
configJson
andtemplateHtml
to FormInterface for GraphQL. - Added
ModifyFormRenderOptionsEvent
. (thanks @jaydensmith). - Added
getIsTextInput
method to Phone field. (thanks @jaydensmith). - Added
formConfig
to theinitForm()
JS function to provide an object with the form config, rather than rely on the DOM to set it (usingsetAttribute('data-config’)
).
Changed
- Changed
Field::getEmailHtml()
to require a notification model. - Any globally-enabled captchas will be automatically enabled on new forms.
- Any globally-enabled captchas will be automatically enabled on new stencils.
Fixed
- Fixed an error for email notifications if its conditions contained an element field, set to
contains
as a condition. - Fixed Variant field not providing data to integrations correctly.
- Fixed Categories field not providing data to integrations correctly.
- Fixed Entries field not providing data to integrations correctly.
- Fixed File Upload field not providing data to integrations correctly.
- Fixed Products field not providing data to integrations correctly.
- Fixed Tags field not providing data to integrations correctly.
- Fixed Users field not providing data to integrations correctly.
- Fixed email notification conditions not properly testing against element field values (entries, categories, etc).
- Fixed checkbox and radio fields having JS validation checks bound multiple times in a form.
- Fixed checkbox fields producing multiple errors.
- Fixed some reCAPTCHA plugin settings not saving correctly.
- Fixed reCAPTCHA not initializing when the surrounding form was initially hidden (for example, in a modal).
- Fixed multiple forms on a single page not having their associated field JS initialized properly.
- Fixed migration error for Postgres.
- Fixed security warnings of using
eval()
in front-end JS, despite it being safe to call. - Fixed edit field button in control panel sizing being too small.
- Fixed assuming
TEMPLATE_MODE_SITE
when rendering templates for forms, pages and fields. - Fixed template conditional that could cause the form to be hidden if “Hide Form” was set, but “Action on Submit” was set to “Display a message”.
- Fixed a JS error with some fields (address auto-complete, multi-line) in some instances.
- Fixed minor
e.g.
typo for stencils. - Fixed
getValue
method on BaseOptionsField not returning correctly. (thanks @javangriff).
1.3.16.1
Fixed
- Fix an error with
ModifyFieldValueForIntegrationEvent
.
1.3.16
Added
- Added autocomplete value to Address field in email templates.
- Added
SubmissionExport::EVENT_MODIFY_FIELD_EXPORT
to allow modification of values for fields when exporting submissions. - Added
Submission::EVENT_MODIFY_FIELD_VALUE_FOR_INTEGRATION
to allow modification of submission field values before they’re used in Integrations. - Added
minutes
as an option for submission data retention. - Added more feedback for garbage-collection tasks when run directly from the CLI.
Fixed
- Fixed an error when creating new email templates in an empty directory.
- Fixed email and form templates not retaining “Copy Templates” value after validation.
- Fixed Users field not setting “All users” as default sources when creating a new field.
- Fixed Variant field not exporting correctly.
- Fixed Users field not exporting correctly.
- Fixed Tags field not exporting correctly.
- Fixed Products field not exporting correctly.
- Fixed File Upload field not exporting correctly.
- Fixed Entries field not exporting correctly.
- Fixed Categories field not exporting correctly.
- Fixed Checkboxes field not exporting correctly.
- Fixed Agree field not exporting correctly.
- Fixed an error when trying to delete submissions from the CLI.
- Fixed an error when disconnecting an OAuth-based integration.
- Fixed Salesforce and Zoho CRM integrations not persisting values returned from provider authentication.
- Ensure error message is logged for failed pruning of submission tasks.
1.3.15
Added
- Added more logging info for email notifications, when failed to send.
Fixed
- Fixed an error when viewing sent notifications, when the submission was deleted.
- Fixed some errors for sent notifications for a deleted submission or form.
- Fixed Zoho integration where the authentication response didn’t contain the required
api_domain
. - Fixed Salesforce integration where the authentication response didn’t contain the required
instance_url
. - Fixed failed email notifications not showing the full error in the control panel, when running email notifications via queues.
1.3.14
Added
- Add
completeSubmission
param to forms, to allow providing a full payload and complete the submission.
Changed
- Saving spam submissions is now enabled by default.
- Agree field description static translation is now defined in
site.php
.
Fixed
- Fixed IE11 compatibility with some front-end fields (Address, Phone, Repeater).
- Fixed hidden fields not having input attributes setting.
- Fixed description for Agree field being translated twice.
- Fixed error in Craft 3.6+.
- Fixed submissions failing if
spamKeywords
setting was invalid. - Fixed error when querying form settings using GraphQL
1.3.13
Added
- Added support to Mailchimp integration for tags.
Fixed
- Fixed an error with Webhook integrations.
1.3.12
Added
- Added support for selecting existing notifications from stencils, when adding a notification to a form.
- Added support for Webhook integration URLs to contain submission variables through shorthand Twig.
- Added support for Freeform and Sprout Form migrations to be run when
allowAdminChanges = false
.
Fixed
- Fixed existing notifications not appearing when editing a stencil.
- Fixed some potential errors with Sprout Forms migration and address/name fields.
- Fixed Freeform migration not migrating fields correctly.
- Fixed Sprout Forms migration not migrating fields correctly.
- Fixed Sprout Forms migration for Agree field, where the message description would be blank.
- Fixed Sprout Forms migration for File Upload field, where the selected volume wasn’t migrated.
- Fixed Sprout Forms migration for Categories, Entries, Tags and User fields, not setting the
selectionLabel
to theplaceholder
value. - Fixed some potential errors with Sprout Forms migration and phone fields.
- Fixed “Save as Stencil” not saving data correctly, by not stripping out page, row and field IDs.
1.3.11
Added
- Added a ‘pageIndex’ param to the submit action. (thanks @joshuabaker).
- Added pagination-helper for ActiveCampaign integrations. The integration will now automatically fetch greater-than 100 resources such as lists.
Changed
- Changed ActiveCampaign integrations to fetch at least 100 of each resource.
Fixed
- Fixed deprecation notice for Repeater field. (thanks @danieladarve).
- Fixed ajax forms not redirecting correctly, when overriding
redirectUrl
in templates. - Fixed HTML field not parsing Twig content in some instances.
- Fixed Entry mapping throwing an error when setting the author to an Entry field.
- Fixed ActiveCampaign integration not showing connection status correctly.
- Fixed sub-fields (Name, Address, Phone) not having their values concatenated for integrations, when not selecting a sub-field.
1.3.10
Added
- File Upload fields now show a summary of uploaded files for multi-page forms. When navigating back to a page with the field, you'll see this summary.
- Ajax-enabled multi-page forms now smooth-scrolls to the top of the loaded page when going to the previous or next pages.
- Front-end validation now adds a
fui-error
class on thefui-field
element, when a validation error occurs, instead of just on the input.
Fixed
- Fixed an error when using checkboxes in email notification conditions.
- Fixed a potential error when viewing a submission in the control panel.
- Fixed Address field auto-complete value not persisting on front-end submissions.
- Fixed being unable to set the
siteId
of submissions through GraphQL. - Fixed submissions not being able to be mutated through GraphQL for non-public schemas.
- Fixed Group and Repeater fields not saving content correctly for non-primary sites.
- Fixed flicker in Safari for the form builder, when hovering over draggable elements.
- Fixed Phone field exporting not formatting international phone numbers correctly.
- Fixed Phone field not always remembering the country dial code selected.
- Fixed Phone field triggering content change warnings for country-enabled fields. This was due to numbers being formatted on-load..