Skip to content

v0.4.1

Compare
Choose a tag to compare
@justlevine justlevine released this 12 Jan 17:58
· 45 commits to main since this release
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_graphql and graphql_field_name to the Facet configuration.
  • feat: add explicit PHP 8.1 support.
  • feat: deprecate usage of snake_case field names in FacetQueryArgs input type, in favor of camelCase.
  • dev: add get_graphql_allowed_facets() access function.
  • dev: refactor facet input types to use the graphql_type config property generated by FacetRegistry::get_facet_input_type().
  • dev: add the following WordPress filters: graphql_facetwp_facet_input_type.
  • chore: update Composer dependencies.
  • chore: replace poolshark/wp-graphql-stubs dev dependency with axepress/wp-graphql-stubs
  • chore: stub FWP() function and FacetWP class 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