v0.4.2
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