:rocket: GraphQL API for WordPress
The AbstractConnectionResolver
has undergone some refactoring. Some methods using snakeCase
have been deprecated in favor of their camel_case
equivalent. While we've preserved the deprecated methods to prevent breaking changes, you might begin seeing PHP notices about the deprecations. Any codebase that extends the AbstractConnectionResolver
class should update the following methods:
getSource
-> get_source
getContext
-> get_context
getInfo
-> get_info
getShouldExecute
-> get_should_execute
getLoader
-> getLoader
hasPassword
and password
fields on Post objects. Thanks @justlevine!Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.22.1...v1.23.0
Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.22.0...v1.22.1
graphql_pre_resolve_menu_item_connected_node
filterUniformResourceIdentifiable
interface to Comment
typegraphql_query_analyzer_get_headers
filteradmin_enqueue_scripts
callback should expect a possible null
value passed to itisPostsPage
on content typemenuItems
by a location with no assigned itemsUsersConnectionSearchColumnEnum
values should be prefixed with user_
Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.21.0...v1.22.0
Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.20.0...v1.21.0
This release contained a regression for some WPGraphQL Smart Cache users, defaulting the WPGraphQL Query Analyzer to being "off". The Query Analyzer is the feature that generates the X-GraphQL-Keys headers used by cache tagging and tag-based cache invalidation, a central feature of WPGraphQL Smart Cache.
To re-enable the Query Analyzer you can:
Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.19.0...v1.20.0
EnqueuedAsset
, EnqueuedScript
and EnqueuedStylesheet