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
Facet
object to implement newFacetConfig
interface. - 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_init
hook. - chore: Build
FacetQueryArgs
config before calling the registration method. - chore: Stub
FacetWP_Facet
class 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_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 tomain
ordevelop
branches. - ci: Temporary ignore
graphql-schema-linter
errors from soon-to-be deprecated Types.
Full Changelog: 0.4.1...0.4.2