Wp Graphql Versions Save

:rocket: GraphQL API for WordPress

v1.17.0

6 months ago

Release Notes

New Features

  • #2958: feat: add graphql_format_name() access method (Thanks @justlevine!)
  • #2256: feat: add connectedTerms connection to Taxonomy Object (Thanks @justlevine!)

Chores / Bugfixes

  • #2808: fix: fallback to template filename if sanitized name is empty (Thanks @mecaota and @justlevine!)
  • #2968: fix: Add graphql_debug warning when using hasPublishedPosts: ATTACHMENT (Thanks @justlevine!)
  • #2968: fix: improve DX for updateComment mutation
  • #2962: fix: respect hasPublishedPosts where arg on unauthenticated users queries (Thanks @justlevine!)
  • #2967: fix: use all roles for UserRoleEnum instead of the filtered editible_roles (Thanks @justlevine!)
  • #2940: fix: Decode slug so it works with other languages (Thanks @scottyzen!)
  • #2959: chore: remove @phpstan-ignore annotations (Thanks @justlevine!)
  • #2945: fix: rename fields registered by connections when using rename_graphql_field() (Thanks @justlevine!)
  • #2949: fix: correctly get default user role for settings selectbox (Thanks @justlevine!)
  • #2955: test: back-fill register_graphql_input|union_type() tests (Thanks @justlevine!)
  • #2953: fix: term uri, early return. (Follow up to #2341)
  • #2956: chore(deps-dev): bump postcss from 8.4.12 to 8.4.31 (Thanks @dependabot!)
  • #2954: fix: regression to autoloader for bedrock sites. (Follow-up to #2935)
  • #2950: fix: rename typo in component name - AuthSwitchProvider (Thanks @justlevine!)
  • #2948: chore: fix spelling mistakes (non-logical) (Thanks @justlevine and @szepeviktor!)
  • #2944: fix: skip setting if no $setting['group'] (Thanks @justlevine!)
  • #2934: chore(deps-dev): bump composer/composer from 2.2.21 to 2.2.22 (Thanks @dependabot!)
  • #2936: chore(deps): bump graphql from 16.5.0 to 16.8.1 (Thanks @dependabot!)
  • #2341: fix: wrong term URI on sub-sites of multisite subdomain installs (Thanks @jeanfredrik!)
  • #2935: fix: admin notice wasn't displaying if composer dependencies were missing
  • #2933: chore: remove unused parameters from resolver callbacks (Thanks @justlevine!)
  • #2932: chore: cleanup PHPCS inline annotations (Thanks @justlevine!)
  • #2934: chore: use .php extension for stub files (Thanks @justlevine!)
  • #2924: chore: upgrade WPCS to v3.0 (Thanks @justlevine!)
  • #2921: fix: zip artifact in GitHub not in sub folder (Thanks @markkelnar!)

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.16.0...v1.17.0

v1.16.0

8 months ago

Release v1.16.0

Upgrade Notice

WPGraphQL Smart Cache**

For WPGraphQL Smart Cache users, you should update WPGraphQL Smart Cache to v1.2.0 when updating WPGraphQL to v1.16.0 to ensure caches continue to purge as expected.

Cursor Pagination Updates**

This version fixes some behaviors of Cursor Pagination which may lead to behavior changes in your application.

As with any release, we recommend you test in staging environments. For this release, specifically any queries you have using pagination arguments (first, last, after, before).

New Features

  • #2918: feat: Use graphql endpoint without scheme in url header.
  • #2882: feat: Config and Cursor Classes refactor

v1.15.0

8 months ago

Release Notes

New Features

  • #2908: feat: Skip param added to Utils::map_input(). Thanks @kidunot89!

Chores / Bugfixes

  • #2907: ci: Use WP 6.3 image, not the beta one
  • #2902: chore: handle unused variables (phpcs). Thanks @justlevine!
  • #2901: chore: remove useless ternaries (phpcs). Thanks @justlevine!
  • #2898: chore: restore excluded PHPCS sniffs. Thanks @justlevine!
  • #2899: chore: Configure PHPCS blank line check and autofix. Thanks @justlevine!
  • #2900: chore: implement PHPCS sniffs from Slevomat Coding Standards. Thanks @justlevine!
  • #2897: fix: default excerptRendered to empty string. Thanks @izzygld!
  • #2890: fix: Use hostname for graphql cache header url for varnish
  • #2892: chore: GitHub template tweaks. Thanks @justlevine!
  • #2889: ci: update tests to test against WordPress 6.3, simplify the matrix
  • #2891: chore: bump graphql-php to 14.11.10 and update Composer dev-deps. Thanks @justlevine!

v1.14.10

9 months ago

Release Notes

Chores / Bugfixes

  • #2874: fix: improve PostObjectCursor support for meta queries. Thanks @kidunot89!
  • #2880: fix: increase clarity of the description of "asPreview" argument

Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.14.9...v1.14.10

v1.14.9

9 months ago

Release Notes

Chores / Bugfixes

  • #2865: fix: user roles should return empty if user doesn't have roles. Thanks @j3ang!
  • #2870: fix: Type Loader returns null when "graphql_single_name" value has underscores [regression]
  • #2871: fix: update tests, follow-up to #2865

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.14.8...v1.14.9

v1.14.8

9 months ago

Release Notes

Chores / Bugfixes

  • #2855: perf: enforce static closures when possible (PHPCS). Thanks @justlevine!
  • #2857: fix: Prevent truncation of query name inside the GraphiQL Query composer explorer tab. Thanks @LarsEjaas!
  • #2856: chore: add missing translator comments. Thanks @justlevine!
  • #2862: chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
  • #2861: fix: output list:$type keys for Root fields that return a list of nodes

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.14.7...v1.14.8

v1.14.7

9 months ago

Release Notes

Chores / Bugfixes

  • #2853: fix: internal server error when query max depth setting is left empty
  • #2851: fix: querying posts by slug or uri with non-ascii characters
  • #2849: ci: Indent WP 6.2 in workflow file. Fixes Docker deploys. Thanks @markkelnar!
  • #2846: chore(deps): bump tough-cookie from 4.0.0 to 4.1.3

v1.14.6

10 months ago

Release Notes

Security

This release contains a security related fix. You can read more about it here: https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-cfh4-7wq9-6pgg

Chores / Bugfixes

  • #2841: ci: support STEP_DEBUG in Code Quality workflow. Thanks @justlevine!
  • #2840: fix: update createMediaItem mutation to have better validation of input.
  • #2838: chore: update security.md to mention where to contact us about security related issues

v1.14.5

10 months ago

Release Notes

Chores / Bugfixes

  • #2834: fix: improve how the Query Analyzer tracks list types, only tracking lists from the RootType and not nested lists.
  • #2828: chore: update composer dev-deps to latest. Thanks @justlevine!
  • #2835: ci: update docker deploy workflow to use latest docker actions.
  • #2836: ci: update schema upload workflow to pin mariadb to 10.8.2

v1.14.4

10 months ago

Release Notes

New Features

  • #2826: feat: pass connection config to connection field

Chores / Bugfixes

  • #2818: chore: update webonyx/graphql-php to v14.11.9. Thanks @justlevine!
  • #2813: fix: replace double negation with true. Thanks @cesarkohl!

Full Changelog: https://github.com/wp-graphql/wp-graphql/compare/v1.14.3...v1.14.4