Skip to content

Commit 1df45c5

Browse files
authored
Release/0.6.0 (#105)
* housekeeping: Add since tags. * Housekeeping: update changelog v0.6.0 * Version bump
1 parent 2d8a7f9 commit 1df45c5

11 files changed

+36
-18
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## v0.6.0 - Gravity Forms v2.5 Support
4+
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.
5+
6+
### New Features
7+
- Added `customRequiredIndicator`, `markupVersion`, `requiredIndicator`, `validationSummary` and `version` to `GravityFormsForm` object.
8+
- Added `layoutGridColumnSpan` and `layoutSpacerGridColumnSpan` to `formFields` interface.
9+
- Added `enableAutocomplete` and `autocompleteAttribute` to `AddressField`, `EmailField` ,`NameField`, `NumberField`, `PhoneField`, `SelectField`, and `TextField`.
10+
- Added `displayOnly` property to `CaptchaField`.
11+
- Added `allowedExtensions` and `displayAlt` property to `PostImageField`.
12+
- Added `sort` argument for filtering `RootQueryToGravityFormsFormConnection`. *Note*: Attempting to sort on GF < v2.5.0.0 will throw a `UserError`.
13+
14+
### Bugfixes
15+
- [Breaking]: Fixed the `captchaTheme` enum to use the correct possible values: `light` and `dark`.
16+
- `captchaTheme` and `captchaType` now correctly return `null` when not set by the field.
17+
- The `captchaType` enum now has a default value of `RECAPTCHA`.
18+
19+
### Under the hood
20+
- Refactor various `InputProperty` classes. `InputDefaultValueProperty`, `InputLabelProperty`, and `InputplaceholderProperty` have been removed for their `FieldProperty` cousins, and `EmailInputProperty` is now being used for `EmailField`.
21+
- Tests: Clear `GFFormDisplay::$submission` between individual tests.
22+
- Tests: Allow overriding the default field factories.
23+
- Tests: Adds tests for `CaptchaField`.
24+
325
## v0.5.0 - Add Gatsby Support, Email Confirmation, and more!
426

527
** :warning: This release contains multiple breaking changes. **

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Project Status: Active.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
44
![Packagist License](https://img.shields.io/packagist/l/harness-software/wp-graphql-gravity-forms?color=green)
55
![Packagist Version](https://img.shields.io/packagist/v/harness-software/wp-graphql-gravity-forms?label=stable)
6-
![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/harness-software/wp-graphql-gravity-forms/0.5.0)
6+
![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/harness-software/wp-graphql-gravity-forms/0.6.0)
77
![GitHub forks](https://img.shields.io/github/forks/harness-software/wp-graphql-gravity-forms?style=social)
88
![GitHub Repo stars](https://img.shields.io/github/stars/harness-software/wp-graphql-gravity-forms?style=social)
99

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
Contributors: kellenmace, mtdbyanechko, justlevine, tinytoolbox
33
Tags: GraphQL, Gatsby, Headless, GF, Gravity, Forms, WPGraphQL,
44
Requires at least: 5.4.1
5-
Tested up to: 5.6.2
5+
Tested up to: 5.7.1
66
Requires PHP: 7.4
77
Requires Gravity Forms: 2.4.0+
88
Requires WPGraphQL: 1.0.0+
9-
Stable tag: 0.5.0
9+
Stable tag: 0.6.0
1010
Maintained at: https://github.com/harness-software/wp-graphql-gravity-forms
1111
License: GPL-3
1212
License URI: https://www.gnu.org/licenses/gpl-3.0.html

src/Types/Enum/RequiredIndicatorEnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Enum Type - RequiredIndicatorEnum
44
*
55
* @package WPGraphQLGravityForms\Types\Enum,
6-
* @since 0.4.0
6+
* @since 0.6.0
77
*/
88

99
namespace WPGraphQLGravityForms\Types\Enum;

src/Types/Field/CaptchaField.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace WPGraphQLGravityForms\Types\Field;
1313

14-
use GraphQL\Type\Definition\ResolveInfo;
15-
use WPGraphQL\AppContext;
1614
use WPGraphQLGravityForms\Types\Enum\CaptchaThemeEnum;
1715
use WPGraphQLGravityForms\Types\Enum\CaptchaTypeEnum;
1816
use WPGraphQLGravityForms\Types\Enum\SizePropertyEnum;

src/Types/Field/FieldProperty/AllowedExtensionsProperty.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
/**
3-
* Admin label field property.
3+
* Allowed Extensions field property.
44
*
55
* @package WPGraphQLGravityForms\Types\Field\FieldProperty;
6-
* @since 0.2.0
6+
* @since 0.6.0
77
*/
88

99
namespace WPGraphQLGravityForms\Types\Field\FieldProperty;

src/Types/Field/FieldProperty/AutocompleteAttributeProperty.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
/**
3-
* Admin label field property.
3+
* Autocomplete attribute field property.
44
*
55
* @package WPGraphQLGravityForms\Types\Field\FieldProperty;
6-
* @since 0.2.0
6+
* @since 0.6.0
77
*/
88

99
namespace WPGraphQLGravityForms\Types\Field\FieldProperty;

src/Types/Field/FieldProperty/EmailInputProperty.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
* @see https://docs.gravityforms.com/gf_field_email/
77
*
88
* @package WPGraphQLGravityForms\Types\Field\FieldProperty;
9-
* @since 0.0.1
10-
* @since 0.2.0 Use InputProperty classes.
11-
* @since 0.3.0 Add isHidden property.
9+
* @since 0.6.0
1210
*/
1311

1412
namespace WPGraphQLGravityForms\Types\Field\FieldProperty;

src/Types/Field/FieldProperty/EnableAutocompleteProperty.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
/**
3-
* Allows enable select all field property.
3+
* Adds enableAutocomplete field property.
44
*
55
* @package WPGraphQLGravityForms\Types\Field\FieldProperty;
6-
* @since 0.2.0
6+
* @since 0.6.0
77
*/
88

99
namespace WPGraphQLGravityForms\Types\Field\FieldProperty;

src/Types/Input/FormsSortingInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Sorting input type for Forms queries.
55
*
66
* @package WPGraphQLGravityForms\Types\Input
7-
* @since 0.0.1
7+
* @since 0.6.0
88
*/
99

1010
namespace WPGraphQLGravityForms\Types\Input;

0 commit comments

Comments
 (0)