From 18c0713a99ff52fa8f3b3bb6dcfd55e46e9a1755 Mon Sep 17 00:00:00 2001 From: Dovid Levine Date: Sat, 6 Apr 2024 20:49:44 +0300 Subject: [PATCH] release: 0.5.0 (#71) * release: 0.5.0 * chore: typo --- CHANGELOG.md | 15 ++++++++++++--- README.md | 2 +- readme.txt | 2 +- src/Autoloader.php | 1 + wp-graphql-facetwp.php | 6 +++--- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23144cd..6d96595 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,23 @@ # Changelog -## Unreleased +## [Unreleased] -- feat: Add WPGraphQL to Plugin Dependencies header. +## v0.5.0 + +This _major_ release refactors the root files to use the `WPGraphQL\FacetWP` namespace. It also adds support for the Plugin Dependencies header added in WordPress 6.5, adds explicit support for PHP 8.2 and WordPress 6.5, and more. + +> [!NOTE] +> Although this release technically contains breaking changes, these changes are limited to developers directly extending the `wp-graphql-facetwp.php` file and `WPGraphQL\FacetWP\Main` class. +> If you are using the plugin as intended, you should not experience any issues when upgrading. + +- feat: Add support for Plugin Dependencies header. - chore!: Refactor plugin entrypoint to use `WPGraphQL\FacetWP` namespace. - chore: Implement strict phpstan rules and lint. - chore: Update Composer dependencies and lint. - chore: Update WPGraphQL Plugin Boilerplate to v0.1.0. - ci: Test against WP 6.5. -- ci: Update GitHub Workflows. +- ci: Test against PHP 8.2. +- ci: Update GitHub Workflows to latest versions. - ci: Update Strauss to v0.17.0. ## v0.4.4 diff --git a/README.md b/README.md index 41d4680..a145988 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Adds WPGraphQL support for [FacetWP](https://facetwp.com/). * [Documentation](#usage) ----- -![Packagist License](https://img.shields.io/packagist/l/hsimah-services/wp-graphql-facetwp?color=green) ![Packagist Version](https://img.shields.io/packagist/v/hsimah-services/wp-graphql-facetwp?label=stable) ![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/hsimah-services/wp-graphql-facetwp/0.4.4) ![GitHub forks](https://img.shields.io/github/forks/hsimah-services/wp-graphql-facetwp?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/hsimah-services/wp-graphql-facetwp?style=social)
+![Packagist License](https://img.shields.io/packagist/l/hsimah-services/wp-graphql-facetwp?color=green) ![Packagist Version](https://img.shields.io/packagist/v/hsimah-services/wp-graphql-facetwp?label=stable) ![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/hsimah-services/wp-graphql-facetwp/0.5.0) ![GitHub forks](https://img.shields.io/github/forks/hsimah-services/wp-graphql-facetwp?style=social) ![GitHub Repo stars](https://img.shields.io/github/stars/hsimah-services/wp-graphql-facetwp?style=social)
![CodeQuality](https://img.shields.io/github/actions/workflow/status/hsimah-services/wp-graphql-facetwp/code-quality.yml?branch=develop&label=Code%20Quality) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/hsimah-services/wp-graphql-facetwp/integration-testing.yml?branch=develop&label=Integration%20Testing) ![Coding Standards](https://img.shields.io/github/actions/workflow/status/hsimah-services/wp-graphql-facetwp/code-standard.yml?branch=develop&label=WordPress%20Coding%20Standards) diff --git a/readme.txt b/readme.txt index 317b2b1..fce9139 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ Requires PHP: 7.4 Requires FacetWP: 4.0 Requires WPGraphQL: 1.6.0 Tested up to: 6.5 -Stable tag: 0.4.4 +Stable tag: 0.5.0 Maintained at: https://github.com/hsimah-services/wp-graphql-facetwp License: GPL-3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/src/Autoloader.php b/src/Autoloader.php index 92d0421..71c8579 100644 --- a/src/Autoloader.php +++ b/src/Autoloader.php @@ -3,6 +3,7 @@ * Includes the composer Autoloader used for packages and classes in the src/ directory. * * @package WPGraphQL\FacetWP + * @since 0.5.0 */ declare( strict_types = 1 ); diff --git a/wp-graphql-facetwp.php b/wp-graphql-facetwp.php index 621374d..8822c9b 100644 --- a/wp-graphql-facetwp.php +++ b/wp-graphql-facetwp.php @@ -5,7 +5,7 @@ * Description: Adds FacetWP support to WPGraphQL * Author: hsimah, justlevine * Author URI: http://www.hsimah.com - * Version: 0.4.4 + * Version: 0.5.0 * Text Domain: wpgraphql-facetwp * Requires at least: 5.4.1 * Requires PHP: 7.4 @@ -19,7 +19,7 @@ * @package WPGraphQL\FacetWP * @author hsimah * @license GPL-3 - * @version 0.4.4 + * @version 0.5.0 */ namespace WPGraphQL\FacetWP; @@ -47,7 +47,7 @@ function constants(): void { // Plugin version. if ( ! defined( 'WPGRAPHQL_FACETWP_VERSION' ) ) { - define( 'WPGRAPHQL_FACETWP_VERSION', '0.4.4' ); + define( 'WPGRAPHQL_FACETWP_VERSION', '0.5.0' ); } // Plugin Folder Path.