v1.26.0
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: v1.25.0...v1.26.0