Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ updates:
- package-ecosystem: 'npm'
directories:
- '/'
# @todo add other plugin directories when their dependency trees are stabilized.
schedule:
interval: 'weekly'
cooldown:
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,13 @@ jobs:
strategy:
fail-fast: false
matrix:
## GF 2.9.x only supports from WP 6.5, and we have no way to access earlier versions.
php: ['8.4', '8.3', '8.2', '8.1']
wordpress: ['6.9', '6.8', '6.7', '6.6', '6.5']
coverage: [0]
php: ['8.4', '8.3', '8.2']
wordpress: ['6.9', '6.8', '6.7']
include:
- php: '8.4'
- php: '8.5'
wordpress: '6.9'
coverage: '1'
# Unsupported combinated by wp-env
exclude:
- php: '8.4'
wordpress: ['6.5', '6.6']

env:
WP_ENV_PHP_VERSION: ${{ matrix.php }}
WP_ENV_CORE: ${{ matrix.wordpress == 'trunk' && 'WordPress/WordPress' || format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wordpress ) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 8.4
php-version: 8.5
coverage: none
tools: cs2pr

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 8.4
php-version: 8.5
coverage: none
tools: cs2pr

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schema-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 8.4
php-version: 8.5
coverage: none
tools: cs2pr

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 7.4
php-version: 8.2
extensions: mbstring, intl
tools: composer

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-schema-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: 8.4
php-version: 8.5
coverage: none

# This date is used to ensure that the PHPCS cache is cleared at least once every week.
Expand Down
4 changes: 2 additions & 2 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
Tests for PHP version compatibility.
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards#Recomended-additional-rulesets
-->
<config name="testVersion" value="7.4-" />
<config name="testVersion" value="8.2-" />

<!--
Tests for WordPress version compatibility.
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
-->
<config name="minimum_wp_version" value="6.2" />
<config name="minimum_wp_version" value="6.7" />

<!-- Rules: WPGraphQL Coding Standards -->
<!-- https://github.com/AxeWP/WPGraphQL-Coding-Standards/WPGraphQL/ruleset.xml -->
Expand Down
6 changes: 4 additions & 2 deletions .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
],
"mappings": {
"/wp-content/plugins": "./tests/_data/plugins",
"/wp-content/mu-plugins": "./tests/_data/mu-plugins"
"/wp-content/mu-plugins": "./tests/_data/mu-plugins",
"/wp-content/debug.log": "./tests/_output/debug.log"
},
"env": {
"development": {
"config": {
"WP_DEVELOPMENT_MODE": "plugin",
"WP_ENVIRONMENT_TYPE": "development",
"WP_DEBUG": true,
"WP_DEBUG_LOG": "/var/www/html/wp-content/plugins/wp-graphql-gravity-forms/tests/_output/debug.log"
"WP_DEBUG_LOG": true,
"GRAPHQL_DEBUG": true
}
},
"tests": {
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

## [Unreleased]

- chore!: Bump minimum required PHP version to 8.2
- chore!: Bump minimum required WordPress version to 6.7
- chore!: Bump minimum required Gravity Forms version to 2.9.0
- chore!: Bump minimum required WPGraphQL version to 2.5.0
- chore!: Remove the following deprecated fields: `FieldWithPhoneFormat._phoneFormatExperimental` field. `FieldWithProductField.productField` field.
- chore!: change `FieldWithPhoneFormat.phoneFormat` from `PhoneFieldFormatEnum` to `GfPhoneFormat`.
- chore!: Remove the following unused methods: `Utils::to_snake_case()`, `Utils::deprecate_property()`.
- chore: Test compatibility against PHP 8.5.

## [v0.13.4]

This _minor_ release adds support for filtering entries by `isRead` and `isStarred` statuses, improves handling of `AddressField` default values, and deprecates the `PhoneField.phoneFormat` field in favor of `PhoneField.phoneFormatType` (with a new `GfPhoneFormat` type incoming).
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ WPGraphQL for Gravity Forms is an essential tool for those leveraging decoupled

## System Requirements

* PHP: 7.4-8.4+
* WordPress: 6.0+
* WPGraphQL: 1.26.0+
* Gravity Forms: 2.7+
* PHP: 8.2-8.5+
* WordPress: 6.7+
* WPGraphQL: 2.5.0+
* Gravity Forms: 2.9+
* **Recommended**: [WPGraphQL Upload](https://github.com/dre1080/wp-graphql-upload) - used for [File Upload and Post Image submissions](docs/submitting-forms.md).

## Quick Install
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
"php": "8.2"
},
"optimize-autoloader": true,
"preferred-install": "dist",
Expand All @@ -46,19 +46,18 @@
}
},
"require": {
"php": ">=7.4",
"php": ">=8.2",
"yahnis-elsts/plugin-update-checker": "^5.2.0"
},
"require-dev": {
"axepress/wp-graphql-cs": "^2.0.0",
"axepress/wp-graphql-stubs": "^2.3.0",
"codeception/module-rest": "^2.0",
"lucatume/wp-browser": "^3.7.0",
"codeception/module-rest": "^3.4",
"lucatume/wp-browser": "^4.5",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"szepeviktor/phpstan-wordpress": "^2.0",
"wp-cli/wp-cli-bundle": "^2.12.0",
"wp-graphql/wp-graphql-testcase": "~3.4.0"
},
"scripts": {
Expand Down
Loading
Loading