Skip to content

Commit

Permalink
release: 0.5.0 (#71)
Browse files Browse the repository at this point in the history
* release: 0.5.0

* chore: typo
  • Loading branch information
justlevine authored Apr 6, 2024
1 parent a849533 commit 18c0713
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)<br />
![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)<br />
![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)
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
6 changes: 3 additions & 3 deletions wp-graphql-facetwp.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,7 +19,7 @@
* @package WPGraphQL\FacetWP
* @author hsimah
* @license GPL-3
* @version 0.4.4
* @version 0.5.0
*/

namespace WPGraphQL\FacetWP;
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 18c0713

Please sign in to comment.