-
-
Notifications
You must be signed in to change notification settings - Fork 2
Releases: AxeWP/wp-graphql-facetwp
v0.5.2
ae320b4 This minor release adds support for WPGraphQL 2.3's new lazy-loading features, and updates compatibility testing for the latest versions of WordPress, WPGraphQL, and FacetWP.
What's Changed
- dev: Add support for lazy-loading GraphQL descriptions and deprecation messages.
- chore: Update Strauss to v0.22.2.
- chore: Update Composer dependencies.
- chore: Test compatibility with WordPress 6.8.1, WPGraphQL 2.3, and FacetWP 4.1
- tests: Fix tests autoloader and format classes.
Full Changelog: 0.5.1...0.5.2
Assets 4
v0.5.1
This minor release bumps the tested up to tags for WordPress v6.7.2 and WPGraphQL v2.0.
It's also the first release in the new repository location at https://github.com/AxeWP/wp-graphql-facetwp, a change which should allow @justlevine to allocate significantly more resources to the plugin. Thanks @hsimah for your stewardship and hospitality 🙏.
Important
Vendor files are now .gitignored and must be built locally (composer install) for the plugin source code to work.
Users should download the release version of wp-graphql-facetwp.zip provided on the latest GitHub Release page and not the source code zip file.
What's Changed
- chore!: Remove
vendorandvendor-prefixed/*from the GitHub repository. - chore: Test compatibility with WordPress 6.7.2.
- chore: Test compatibility with WPGraphQL 2.0.
- chore: Update Strauss to v0.19.1.
- chore: Update composer dependencies.
- chore: Update repository URLs to
https://github.com/AxeWP/wp-graphql-facetwp. H/t @hsimah - ci: Cleanup zip and release workflow.
- ci: Use
docker composeinstead ofdocker-compose.
Full Changelog: 0.5.0...0.5.1
Assets 4
v0.5.0
18c0713 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.
What's Changed
- feat: Add support for Plugin Dependencies header.
- chore!: Refactor plugin entrypoint to use
WPGraphQL\FacetWPnamespace. - 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: Test against PHP 8.2.
- ci: Update GitHub Workflows to latest versions.
- ci: Update Strauss to v0.17.0.
Full Changelog: 0.4.4...0.5.0
Assets 4
v0.4.4
6b1674e This minor release implements the new WPGraphQL Coding Standards ruleset for PHP_CodeSniffer. While many of the addressed sniffs are cosmetic, numerous smells regarding performance, type safety, sanitization, and 3rd-party interoperability have been fixed as well.
What's Changed
- chore: Implement
axepress/wp-graphql-csPHP_Codesniffer ruleset. - chore: Update WPGraphQL Plugin Boilerplate to v0.0.9.
- chore: Update Composer dev-dependencies.
Full Changelog: 0.4.3...0.4.4
Assets 4
v0.4.3
3b4e666 This minor release adds support for the Sort Facet. It also fixes a bug where the FacetQueryArgs input value was not being correctly matched to the correct Facet.
Note: To support the Sort facet when using custom WPGraphQL Connection Resolvers, you must set the connection's orderby argument to post__id. The example WooCommerce snippet has been updated to reflect this change, and you should update your custom code accordingly.
What's Changed
- feat: Add support for the Sort Facet (props to @ninie1205 for sponsoring this feature!)
- fix: Fallback to
snake_casewhen matching theFacetQueryArgsinput value to the FacetWP facet name. - docs: Update WooCommerce snippet in README.md to support the Sort Facet.
Full Changelog: 0.4.2...0.4.3
Assets 4
v0.4.2
a1e10f7 This minor release lays the groundwork for the upcoming Facet auto-registration feature / 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.
What's Changed
- feat: Change
Facetobject to implement newFacetConfiginterface. - fix: Add missing descriptions to GraphQL types.
- dev!: Refactor GraphQL type classes to use
axepress/wp-graphql-plugin-boilerplate. - dev!: Remove unused PHP interfaces.
- dev: Initialize plugin using
facetwp_inithook. - chore: Build
FacetQueryArgsconfig before calling the registration method. - chore: Stub
FacetWP_Facetclass properties. - chore: Update Composer dev deps.
- chore: Implement Strauss to namespace PHP dependencies.
- chore: Fix doc reference and internal usage of
register_graphql_facet_type()function to be called ongraphql_facetwp_inithook. - tests: Refactor and enable WPUnit tests.
- ci: Test against WordPress 6.2.
- ci: Register test post facet so
graphql-schema-lintergenerates a valid schema. - ci: Run GitHub workflows on
pushevents tomainordevelopbranches. - ci: Temporary ignore
graphql-schema-lintererrors from soon-to-be deprecated Types.
Full Changelog: 0.4.1...0.4.2
Assets 4
v0.4.1
5d40b6d v0.4.1
This minor release introduces WPGraphQL-specific field properties to the Facet configuration array and adds the corresponding get_graphql_allowed_facets() access function. It also deprecates the usage snake_case autogenerated field names in the FacetQueryArgs input type in favor of camelCase, and adds explicit support for PHP 8.1.
- feat: add
show_in_graphqlandgraphql_field_nameto the Facet configuration. - feat: add explicit PHP 8.1 support.
- feat: deprecate usage of
snake_casefield names inFacetQueryArgsinput type, in favor ofcamelCase. - dev: add
get_graphql_allowed_facets()access function. - dev: refactor facet input types to use the
graphql_typeconfig property generated byFacetRegistry::get_facet_input_type(). - dev: add the following WordPress filters:
graphql_facetwp_facet_input_type. - chore: update Composer dependencies.
- chore: replace
poolshark/wp-graphql-stubsdev dependency withaxepress/wp-graphql-stubs - chore: stub
FWP()function andFacetWPclass properties. - chore: change stubfile extensions to
.php. - tests: change
FWPGraphQLTestCase.php::register_facet()to add a new facet instead of replace it.
Full Changelog: 0.4.0...0.4.1
Assets 4
v0.4.0
babeb4e This major release refactors the underlying PHP codebase, bringing with it support for the latest versions of WPGraphQL and FacetWP. Care has been taken to ensure there are no breaking changes to the GraphQL schema.
- feat!: Refactor plugin PHP classes and codebase structure to follow ecosystem patterns.
- feat!: Bump minimum version of WPGraphQL to
v1.6.0. - feat!: Bump minimum PHP version to
v7.4. - feat!: Bump minimum FacetWP version to
v4.0. - fix: Implement
WPVIPPHP coding standards. - fix: Implement and meet
PHPStanlevel 8 coding standards. - tests: Implement basic Codeception acceptance tests.
- ci: Add Github workflows for PRs and releases.
- chore: update Composer dependencies.
- chore: switch commit flow to
develop=>mainand set default branch todevelop. The existingmasterbranch will be removed on 1 October 2022.
Full Changelog: 0.3.0.1...0.4.0
Assets 4
0.3.0.1
c13278c Bumps the plugin version to v0.3.0.1 to address the missing version change in the previous release.
Note:
This is the last release on the master branch. Going forward, development will occur on the develop branch, with a snapshot of the latest release on main.
The master branch will be removed from the repository on 1 October 2022.
What's Changed
- chore: bump version to 0.3.0.1 in #36
Full Changelog: 0.3.0...0.3.0.1
Rereleased on 28 Sep 2022 to generate release artifacts for GH Workflows.