v1.26.0
版本发布时间: 2024-05-10 11:01:12
wp-graphql/wp-graphql最新发布版本:v1.28.1(2024-08-22 01:57:35)
Release Notes
New Features
-
#3125: refactor: improve query handling in AbstractConnectionResolver
- new:
graphql_connection_pre_get_query
filter - new:
AbstractConnectionResolver::is_valid_query_class()
- new:
AbstractConnectionResolver::get_query()
- new:
AbstractConnectionResolver::get_query_class()
- new:
AsbtractConnectionResolver::query_class()
- new:
AbstractConnectionResolver::$query_class
- new:
-
#3124: refactor: split
AbstractConnectionResolver::get_args()
and::get_query_args()
into::prepare_*()
methods -
#3123: refactor: split
AbstractConnectionResolver::get_ids()
into::prepare_ids()
-
#3121: refactor: split
AbstractConnectionResolver::get_nodes()
andget_edges()
intoprepare_*()
methods -
#3120: refactor: wrap
AbstractConnectionResolver::is_valid_model()
in::get_is_valid_model()
Chores / Bugfixes
-
#3125: refactor: improve query handling in AbstractConnectionResolver
- Implement PHPStan Generic Type
- Update generic Exceptions to InvariantViolation
- #3127: chore: update references to the WPGraphQL Slack Community to point to the new WPGraphQL Discord community instead.
-
#3122: chore: relocate
AbstractConnectionResolver::is_valid_offset()
with other abstract methods.
Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.25.0...v1.26.0
1、 schema.graphql 372.8KB
2、 wp-graphql.zip 1.43MB