v1.24.0
版本发布时间: 2024-04-24 04:31:41
wp-graphql/wp-graphql最新发布版本:v1.28.1(2024-08-22 01:57:35)
Release Notes
Upgrade Notice
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
->get_loader
New Features
- #3084: perf: refactor PluginConnectionResolver to only fetch plugins once. Thanks @justlevine!
- #3088: refactor: improve loader handling in AbstractConnectionResolver. Thanks @justlevine!
- #3087: feat: improve query amount handling in AbstractConnectionResolver. Thanks @justlevine!
- #3086: refactor: add AbstractConnectionResolver::get_unfiltered_args() public getter. Thanks @justlevine!
- #3085: refactor: add AbstractConnectionResolver::prepare_page_info()and only instantiate once. Thanks @justlevine!
- #3083: refactor: deprecate camelCase methods in AbstractConnectionResolver for snake_case equivalents. Thanks @justlevine!
Chores / Bugfixes
1、 schema.graphql 372.8KB
2、 wp-graphql.zip 1.42MB