Skip to content

Commit

Permalink
release: v0.4.2 (#59)
Browse files Browse the repository at this point in the history
* chore: version bump

* chore: update changelog
  • Loading branch information
justlevine committed May 3, 2023
1 parent ef63e31 commit a1e10f7
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 16 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
# Changelog

## Unreleased

## v0.4.2

This _minor_ release lays the groundwork for the upcoming Facet autoregistration / official Sort Facet support. It introduces a new `FacetConfig` interface, which is implemented by the `Facet` object. Additionally, we adopted the use of WPGraphQL Plugin Boilerplate to scaffold our PHP classes, updated our Composer dev dependencies, and started testing against WordPress 6.2 and running WPUnit tests as part of our CI workflow.

- feat: Change `Facet` object to implement new `FacetConfig` interface.
- fix: Add missing descriptions to GraphQL types.
- dev: Initialize plugin using `facetwp_init` hook.
- dev!: Refactor GraphQL type classes to use `axepress/wp-graphql-plugin-boilerplate`.
- dev!: Remove unused PHP interfaces.
- dev: Initialize plugin using `facetwp_init` hook.
- chore: Build `FacetQueryArgs` config before calling the registration method.
- chore: Stub `FacetWP_Facet` class properties.
- chore: Update Composer dev deps.
- chore: Update Strauss to v0.14.0, and move the `strauss.phar` out of the repository.
- chore: Relocate prefixed deps from `src/vendor` to `vendor-prefixed`.
- tests: Refactor and enable WPUnit tests.
- chore: Implement Strauss to namespace PHP dependencies.
- chore: Fix doc reference and internal usage of `register_graphql_facet_type()` function to be called on `graphql_facetwp_init` hook.
- tests: Refactor and enable WPUnit tests.
- ci: Test against WordPress 6.2.
- ci: Register test post facet so `graphql-schema-linter` generates a valid schema.
- ci: Run GitHub workflows on `push` events to `main` or `develop` branches.
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.1) ![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.4.2) ![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.2
Stable tag: 0.4.1
Stable tag: 0.4.2
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
2 changes: 1 addition & 1 deletion src/CoreSchemaFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Adds filters that modify core schema.
*
* @package WPGraphQL\FacetWP
* @since @todo
* @since 0.4.1
*/

namespace WPGraphQL\FacetWP;
Expand Down
4 changes: 1 addition & 3 deletions tests/_support/TestCase/FacetTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
*
* For testing individual facets in WPGraphQL.
*
* @since @todo
* @since 0.4.2
* @package Tests\WPGraphQL\FacetWP\TestCase
*/

namespace Tests\WPGraphQL\FacetWP\TestCase;

use ReflectionClass;

/**
* Class - FacetTestCase
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/wpunit/AccessFunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function testRegisterGraphQLFacetType() {
// Register facet.
register_graphql_facet_type( 'post' );

// Query for fields registered to FacetQueryArgs
// Query for fields registered to FacetQueryArgs
$query = '
query GetFacetQueryArgs{
__type(name: "FacetQueryArgs") {
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'hsimah-services/wp-graphql-facetwp',
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => '81ce3e04fdf014bbc98361e88cfc519c41e7c083',
'reference' => 'ef63e3194cd17559d9800386215f72b1bda7c47d',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -22,7 +22,7 @@
'hsimah-services/wp-graphql-facetwp' => array(
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => '81ce3e04fdf014bbc98361e88cfc519c41e7c083',
'reference' => 'ef63e3194cd17559d9800386215f72b1bda7c47d',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
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
* Author URI: http://www.hsimah.com
* Version: 0.4.1
* Version: 0.4.2
* Text Domain: wpgraphql-facetwp
* Requires at least: 5.4.1
* Requires PHP: 7.4
Expand All @@ -18,7 +18,7 @@
* @package WPGraphQL_FacetWP
* @author hsimah
* @license GPL-3
* @version 0.4.1
* @version 0.4.2
*/

// Exit if accessed directly.
Expand All @@ -39,7 +39,7 @@
function graphql_facetwp_constants() : void {
// Plugin version.
if ( ! defined( 'WPGRAPHQL_FACETWP_VERSION' ) ) {
define( 'WPGRAPHQL_FACETWP_VERSION', '0.4.1' );
define( 'WPGRAPHQL_FACETWP_VERSION', '0.4.2' );
}

// Plugin Folder Path.
Expand Down

0 comments on commit a1e10f7

Please sign in to comment.