Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v1.14.0 #2748

Merged
merged 173 commits into from
Mar 8, 2023
Merged

release: v1.14.0 #2748

merged 173 commits into from
Mar 8, 2023

Conversation

jasonbahl
Copy link
Collaborator

@jasonbahl jasonbahl commented Mar 3, 2023

Release Notes

New Features

  • #2745: feat: Allow fields, connections and mutations to optionally be registered with undersores in the field name.
  • #2651: feat: Add deregister_graphql_mutation() and graphql_excluded_mutations filter. Thanks @justlevine!
  • #2652: feat: Add deregister_graphql_connection and graphql_excluded_connections filter. Thanks @justlevine!
  • #2680: feat: Refactor the NodeResolver::resolve_uri to use WP_Query. Thanks @justlevine!
  • #2643: feat: Add post_lock check on edit/delete mutation. Thanks @markkelnar!
  • #2649: feat: Add pageInfo field to the Connection type.

Chores / Bugfixes

  • #2752: fix: handle 404s in NodeResolver.php. Thanks @justlevine!
  • #2735: fix: Explicitly check for DEBUG enabled value for tests. Thanks @markkelnar!
  • #2659: test: Add tests for nodeByUri. Thanks @justlevine!
  • #2724: test: Add test for graphql:Query key in headers. Thanks @markkelnar!
  • #2718: fix: deprecation notice. Thanks @decodekult!
  • #2705: chore: Use fully qualified classnames in PHPDoc annotations. Thanks @justlevine!
  • #2706: chore: update PHPStan and fix newly surfaced sniffs. Thanks @justlevine!
  • #2698: chore: bump simple-get from 3.15.1 to 3.16.0. Thanks @dependabot!
  • #2701: fix: navigation url. Thanks @jiwon-mun!
  • #2704: fix: missing apostrophe after escape. Thanks @i-mann!
  • #2709: chore: update http-cache-semantics. Thanks @dependabot!
  • #2707: ci: update and fix Lint PR workflow. Thanks @justlevine!
  • #2689: fix: prevent infinite recursion for interfaces that implement themselves as an interface.
  • #2691: fix: prevent non-node types from being output in the query analyzer lis-type
  • #2684: chore: remove deprecated use of WPGraphQL\Data\DataSource::resolve_user(). Thanks @renatonascalves
  • #2675: ci: keep the develop branch in sync with master.

markkelnar and others added 30 commits December 1, 2022 09:59
Co-authored-by: Jason Bahl <jasonbahl@mac.com>
Co-authored-by: Jason Bahl <jasonbahl@mac.com>
- add test so we can have a failing test
- Specify the `node` field on `OneToOneConnection` Interface
- add `pageInfo` field to the `Connection` Interface, resolving to the `PageInfo` type
- Introduce PageInfo interface and have WPPageInfo implement it
- Register specific PageInfo types for each connection, implementing generic $toType . 'ConnectionPageInfo' types, which implement more generic WPPageInfo types
- remove the PostObjectUnion ignore rule from the schema linter
…-to-connection-type

feat: add pageInfo field to connection type
# Conflicts:
#	src/Type/WPConnectionType.php
josephfusco and others added 13 commits March 1, 2023 15:33
Signed-off-by: Joe Fusco <joe.fusco@wpengine.com>
Signed-off-by: Joe Fusco <joe.fusco@wpengine.com>
…-registered-with-underscores

feat: allow fields to be registered with underscores
- update Changelog / README
- update spacing for WPConnectionType
…v1.14.0

# Conflicts:
#	CHANGELOG.md
#	readme.txt
#	src/WPGraphQL.php
#	wp-graphql.php
@coveralls
Copy link

coveralls commented Mar 3, 2023

Coverage Status

Coverage: 85.024% (+0.3%) from 84.764% when pulling a477056 on release/v1.14.0 into d5d766d on master.

…ress hooks and filters don't guarantee types will come through as intended and we need to do a little manual guarding against invalid arguments being passed through.

- update request::execute to return empty array if nothing else has been returned
- update register_interface_type docblock
- update query analyzer to not set root_operation to default to Query as this was preventing Mutation/Subscription from being set as the operation in the x-graphql-keys output
@jasonbahl jasonbahl merged commit d9b5c9f into master Mar 8, 2023
@jasonbahl jasonbahl deleted the release/v1.14.0 branch January 24, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants