v0.6.0 - Gravity Forms v2.5 Support
This release adds support for all the new goodies in Gravity Forms v2.5, squashes a few bugs related to Captcha fields, and refactors the InputProperty on various form fields.
New Features
- Added
customRequiredIndicator,markupVersion,requiredIndicator,validationSummaryandversiontoGravityFormsFormobject. - Added
layoutGridColumnSpanandlayoutSpacerGridColumnSpantoformFieldsinterface. - Added
enableAutocompleteandautocompleteAttributetoAddressField,EmailField,NameField,NumberField,PhoneField,SelectField, andTextField. - Added
displayOnlyproperty toCaptchaField. - Added
allowedExtensionsanddisplayAltproperty toPostImageField. - Added
sortargument for filteringRootQueryToGravityFormsFormConnection. Note: Attempting to sort on GF < v2.5.0.0 will throw aUserError.
Bugfixes
- [Breaking]: Fixed the
captchaThemeenum to use the correct possible values:lightanddark. captchaThemeandcaptchaTypenow correctly returnnullwhen not set by the field.- The
captchaTypeenum now has a default value ofRECAPTCHA.
Under the hood
- Refactor various
InputPropertyclasses.InputDefaultValueProperty,InputLabelProperty, andInputplaceholderPropertyhave been removed for theirFieldPropertycousins, andEmailInputPropertyis now being used forEmailField. - Tests: Clear
GFFormDisplay::$submissionbetween individual tests. - Tests: Allow overriding the default field factories.
- Tests: Add tests for
CaptchaField.