Just another contact form plugin. Simple but flexible.
About WPGraphQL
WPGraphQL is a WordPress plugin that adds a GraphQL schema and API to your WordPress site, allowing for efficient querying and interaction with your site's data. It is easy to install and has key features such as a flexible API, extendable schema, compatibility with modern frameworks, and optimized performance. It is also becoming a Canonical Plugin on WordPress.org, ensuring long-term support and a growing community of users and contributors.Screenshots


Frequently asked questions
What is WPGraphQL?
How can I get started with WPGraphQL?
What frameworks and tools can I use with WPGraphQL?
How does GraphQL help with fetching data?
What are the benefits of using GraphQL for fetching resources?
Changelog
2.30.0
New Features
- add Model::from_global_id() to decode a global ID of the model’s own type (#4786)
- deps: bump @wordpress/api-fetch from 7.57.0 to 8.0.0 (#4753)
- deps: bump @wordpress/hooks from 4.57.0 to 5.0.0 (#4772)
- deps: bump @wordpress/i18n from 6.30.0 to 7.0.0 (#4771)
- deps: bump the npm-prod-minor-patch group across 1 directory with 3 updates (#4770)
- deps: bump the npm-prod-minor-patch group across 1 directory with 6 updates (#4750)
Bug Fixes
- apply a comment’s visibility to its author (#4787)
- deps-dev: bump @wordpress/env from 11.17.0 to 12.0.0 (#4752)
- deps-dev: bump phpcompatibility/phpcompatibility-wp from 3.0.0-alpha2 to 3.0.0-alpha3 in /plugins/wp-graphql (#4746)
- deps-dev: bump phpstan/phpstan from 2.3.5 to 2.3.6 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4743)
- deps-dev: bump phpstan/phpstan from 2.3.6 to 2.3.7 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4767)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 8 updates (#4748)
- deps-dev: bump the npm-dev-minor-patch group with 3 updates (#4768)
- deps-dev: upgrade @wordpress/scripts from 27.9.0 to 37.2.0 (#4778)
- resolve concrete types for interface and union post types (#4774)
2.29.0
New Features
- add a Data Sharing settings tab for usage data opt-ins (#4697)
- add email updates to the Data Sharing tab and its opt-in notice (#4708)
- add TypeRegistry::has_registered_field() to check a field name before a type is built (#4728)
- deps: bump the npm-prod-minor-patch group across 1 directory with 6 updates (#4715)
- leave the admin email and an administrator’s name out of the usage data copy sent to telemetry.wpgraphql.com (#4707)
Bug Fixes
- deps-dev: bump @wordpress/babel-preset-default from 8.56.0 to 9.0.0 (#4689)
- deps-dev: bump phpstan/phpstan from 2.3.4 to 2.3.5 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4718)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 8 updates (#4714)
- deps-dev: bump the wp-graphql-composer-dev-minor-patch group in /plugins/wp-graphql with 2 updates (#4684)
- mutations: handle failed and disabled password reset emails (#4680)
- mutations: save empty values in post and term mutations (#4679)
- mutations: stop updateMediaItem erasing fields left out of the input (#4678)
- say that email updates include occasional product news (#4733)
- stop calling descriptions that name a PHP function (#4717)
- stop escaping quotes in settings section descriptions (#4699)
- translate the Extensions page descriptions and Smart Cache setting labels (#4730)
2.28.0
New Features
- give resolvers the right current post, term or user, and restore global state afterward (#4575)
2.27.1
Bug Fixes
- require edit_others_posts to read other users’ posts in any non-public status (#4702)
2.27.0
New Features
- add hasPublishedContent user connection arg and deprecate hasPublishedPosts (#4612)
- mutations: add graphql_term_object_mutation_update_additional_data action (#4623)
- preview the post format from the preview context (#4617)
Bug Fixes
- mutations: pass updateComment as the mutation name when updating a comment (#4625)
- only show deactivation feedback when usage tracking is opted in (#4655)
2.26.2
Bug Fixes
- return no results for malformed connection cursors (#4613)
2.26.1
Bug Fixes
- deps-dev: bump the wp-graphql-composer-dev-minor-patch group in /plugins/wp-graphql with 2 updates (#4630)
- deps: bump webonyx/graphql-php from 15.38.1 to 15.39.0 in /plugins/wp-graphql (#4633)
- limit comment connection filters and counts to comments the requester can see (#4642)
- require manage_options to read settings exposed only through the REST API (#4641)
2.26.0
New Features
- add Site Health recommendations for WPGraphQL security settings (#4536)
- add static to_global_id() helper to models (#4586)
- deps: bump the npm-prod-minor-patch group with 6 updates (#4592)
- let sites opt out of usage tracking from settings (#4508)
Bug Fixes
- deps-dev: bump symfony/yaml from 5.4.53 to 5.4.54 in /plugins/wp-graphql (#4599)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 4 updates (#4601)
- deps-dev: bump the npm-dev-minor-patch group with 8 updates (#4591)
- show a readable error when installing or activating an extension fails (#4568)
2.25.0
New Features
- deps: bump the npm-prod-minor-patch group across 1 directory with 13 updates (#4490)
Bug Fixes
- deps-dev: bump the npm-dev-minor-patch group with 3 updates (#4496)
- deps-dev: bump the npm-dev-minor-patch group, with the @wordpress/env patch regenerated (#4478)
- deps-dev: bump the wp-graphql-composer-dev-minor-patch group across 1 directory with 2 updates (#4392)
- deps: bump the wp-graphql-composer-patch group across 1 directory with 2 updates (#4502)
- deps: bump webonyx/graphql-php from 15.37.2 to 15.37.3 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#4432)
- deps: bump webonyx/graphql-php from 15.37.3 to 15.38.0 in /plugins/wp-graphql (#4492)
- graphql: run WordPress’ moderation filter on edited comments (#4476)
2.24.2
Bug Fixes
- media: reject the local-use NAT64 prefix, and fail closed on a failed AAAA lookup (#4460)
- mutations: check the capability before looking up the target, in four more mutations (#4461)
- mutations: keep a comment’s stored byline when only its content is edited (#4458)
- mutations: stop comment mutations telling logged-in callers which comment IDs exist (#4459)
- release: stop release-please rewriting changelog entries that name its annotations (#4450)
2.24.1
Bug Fixes
- media: reject internal IPv6 addresses written with a dotted-quad tail (#4451)
- media: reject IPv6 forms that carry an internal IPv4 address (GHSA-3j5r-mp5g-4wrw) (#4446)
- models: require edit_others_posts to read someone else’s trashed content (GHSA-rq5q-mc8v-w8pq) (#4440)
- mutations: check the capability before looking up the target (GHSA-r7m4-3v6c-3435) (#4443)
- mutations: check the target post before creating a comment (GHSA-4vgv-vvxr-9fh9) (#4441)
- mutations: limit password reset emails to one per request (GHSA-f5f8-v768-93c8) (#4444)
- mutations: restrict updateComment to content for non-moderators (GHSA-cf67-w9ww-p68v) (#4442)
- mutations: stop debug output saying whether an account exists (GHSA-6xw5-35v5-2886) (#4445)
2.24.0
New Features
- add a settings review for security-related settings (#4342)
- add publiclyQueryable to Taxonomy, and correct the public description (#4425)
- turn on query depth limiting for new installs and add a max depth filter (#4341)
Bug Fixes
- ide: show WPGraphQL admin notices above the IDE instead of over it (#4340)
- report public: false for non-public post types (#4430)
- report public: false for non-public taxonomies (#4414)
- show admin notices above the legacy GraphiQL IDE and on the Extensions screen (#4339)
- stop hiding a taxonomy while serving every term inside it (#4426)
2.23.1
Security
- tighten media item update authorization:
updateMediaItemnow verifies that the requesting user can edit the targeted media item, and its new parent, before applying changes. Previously, users with the Author or Contributor role could reassign, and then delete, media items owned by other users. See GHSA-4h2c-85f8-g3jh (#4353)
2.23.0
New Features
- deps: bump @wordpress/components from 38.0.0 to 39.0.0 (#4330)
- deps: bump the npm-prod-minor-patch group across 1 directory with 11 updates (#4294)
Bug Fixes
- deps-dev: bump @wordpress/jest-preset-default from 13.0.0 to 14.0.0 (#4328)
- deps-dev: bump composer/composer from 2.2.29 to 2.2.30 in /plugins/wp-graphql (#4282)
- deps-dev: bump phpstan/phpstan from 2.2.10 to 2.2.13 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4323)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 11 updates (#4290)
- deps-dev: bump the npm-dev-minor-patch group with 4 updates (#4326)
- extensions page detects installed plugins by file and restores the card grid on WordPress 7 (#4302)
2.22.3
Bug Fixes
- security: guard root plugin files against direct file access (#4272)
- security: validate createMediaItem filePath against the resolved host address (GHSA-p8rh)
2.22.2
Bug Fixes
- security: do not invoke bare callable-string field definitions in Model (#4270)
- security: enforce object-level and publish capabilities in updatePost (GHSA-5mmc)
2.22.1
Bug Fixes
- validate user roles before assignment in user mutations (GHSA-66rg)
2.22.0
New Features
- deps: bump @wordpress/components from 37.0.0 to 38.0.0 (#4260)
- deps: bump @wordpress/compose from 7.46.0 to 8.5.0 (#4262)
- deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#4267)
Bug Fixes
- deps-dev: bump the npm-dev-minor-patch group with 5 updates (#4257)
2.21.1
Bug Fixes
- deps-dev: bump @testing-library/jest-dom from 6.9.1 to 7.0.0 (#4250)
- deps-dev: bump @wordpress/jest-preset-default from 12.51.0 to 13.0.0 (#4249)
- deps-dev: bump the wp-graphql-composer-dev-minor-patch group in /plugins/wp-graphql with 2 updates (#4242)
- return memoized model field values as data instead of re-invoking them (#4252)
2.21.0
New Features
- add request-level preview context (X-GraphQL-Preview header / extensions.preview) (#3969)
- deps: bump @wordpress/components from 34.0.0 to 37.0.0 (#4204)
- deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#4202)
- deps: bump the npm-prod-minor-patch group with 7 updates (#4218)
- preview ACF field values under the request-level preview context (#4222)
Bug Fixes
- deps-dev: bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.65.0 (#4220)
- deps-dev: bump lint-staged from 16.4.0 to 17.2.0 (#4221)
- deps-dev: bump phpstan/phpstan from 2.2.7 to 2.2.8 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4199)
- deps-dev: bump sort-package-json from 3.7.1 to 4.0.0 (#4219)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 12 updates (#4226)
- deps-dev: bump the npm-dev-minor-patch group with 5 updates (#4200)
- deps: bump webonyx/graphql-php from 15.37.1 to 15.37.2 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#4215)
- point acf.wpgraphql.com links at the wpgraphql.com docs portal (#4251)
- remove WordPress internals from schema field descriptions (#4161)
2.20.0
New Features
- deps: bump the npm-prod-minor-patch group across 1 directory with 2 updates (#4185)
- filter enqueued assets by handle (#4190)
Bug Fixes
- accept enum names in contentType and taxonomy NAME lookups (#4174)
- deps-dev: bump @testing-library/react from 15.0.7 to 16.3.2 (#4187)
- deps-dev: bump guzzlehttp/guzzle from 7.15.1 to 7.15.3 in /plugins/wp-graphql (#4179)
- deps-dev: bump squizlabs/php_codesniffer from 3.13.5 to 3.13.6 in /plugins/wp-graphql (#4180)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 8 updates (#4192)
- deps: bump webonyx/graphql-php from 15.35.0 to 15.37.1 in /plugins/wp-graphql (#4181)
- let assign_terms holders assign existing terms by name in post mutations (#4003)
- resolve menu(idType: LOCATION) when given a MenuLocationEnum name (#4171)
2.19.0
New Features
- deps: bump the npm-prod-minor-patch group across 1 directory with 8 updates (#4160)
- deps: bump the npm-prod-minor-patch group with 6 updates (#4121)
Bug Fixes
- deps-dev: bump @babel/preset-react from 7.29.7 to 8.0.1 (#4123)
- deps-dev: bump @types/node from 22.19.21 to 26.0.1 (#4122)
- deps-dev: bump eslint-plugin-jest from 27.9.0 to 28.14.0 (#4141)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 11 updates (#4129)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 7 updates (#4154)
- deps-dev: bump the npm-dev-minor-patch group with 7 updates (#4120)
- deps-dev: bump the wp-graphql-composer-dev-minor-patch group across 1 directory with 3 updates (#4146)
- deps: bump webonyx/graphql-php from 15.34.0 to 15.35.0 in /plugins/wp-graphql (#4133)
Performance Improvements
- parse the query AST once in QueryAnalyzer instead of three times (#4130)
2.18.0
New Features
- add a template where arg (ContentTemplateEnum) to post connections (#4025)
- add isSticky where arg to post connections (#4002)
- deps: bump @wordpress/components from 27.6.0 to 34.0.0 (#4011)
- deps: bump @wordpress/i18n from 4.58.0 to 6.21.0 (#4038)
- deps: bump the npm-prod-minor-patch group across 1 directory with 10 updates (#4055)
- deps: bump the npm-prod-minor-patch group with 4 updates (#4010)
- deps: bump the npm-prod-minor-patch group with 4 updates (#4091)
- expose the Site Address as generalSettings.homeUrl (#4021)
- generate developer reference docs for hooks, functions, and recipes (#4031)
- settings: make setting groups Nodes with an id and Node interface (#4081)
- settings: route value resolution through the SettingGroup model and add the graphql_purge_all config key (#4082)
- settings: seed in-memory shims (home, permalink) and consolidate field-name derivation (#4078)
- settings: support per-entry config in the normalized settings map (#4049)
Bug Fixes
- allow public menuItems queries to opt out of the location restriction (#4000)
- deps-dev: bump @typescript-eslint/parser from 6.21.0 to 8.61.0 (#4056)
- deps-dev: bump composer/composer from 2.2.28 to 2.2.29 in /plugins/wp-graphql (#4096)
- deps-dev: bump guzzlehttp/guzzle from 7.12.1 to 7.15.1 in /plugins/wp-graphql (#4101)
- deps-dev: bump phpstan/phpstan from 2.2.2 to 2.2.5 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4051)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 8 updates (#4015)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 9 updates (#4061)
- deps-dev: bump the npm-dev-minor-patch group with 9 updates (#4036)
- deps: bump webonyx/graphql-php from 15.33.0 to 15.33.1 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#4007)
- deps: bump webonyx/graphql-php from 15.33.1 to 15.34.0 in /plugins/wp-graphql (#4052)
- don’t deprecate connection edge node/cursor fields (#4006)
- don’t force a SQL LIMIT on childOf term queries (#4001)
- make name optional in register_enum_type() PHPStan param (#4004)
- read use_featured_image for the PostType useFeaturedImage label (#3997)
- resolve timezone setting from gmt_offset when timezone_string is empty (#4023)
- return null for restricted setting reads (#4079)
- settings: apply per-entry config code missing from the empty #4049 squash (#4076)
- use the role slug when building UserRoleEnum descriptions (#3996)
2.17.0
New Features
- add hour, minute, and second to DateInput for sub-day date filtering (#3967)
- deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#3946)
- deps: bump the npm-prod-minor-patch group with 4 updates (#3956)
Bug Fixes
- comment cursor throws on COMMENT_PARENT orderby pagination (#3964)
- cursor pagination drops results for searched post connections (relevance-aware cursors) (#3935)
- deps-dev: bump @wordpress/env from 10.39.0 to 11.6.0 (#3957)
- deps-dev: bump @wordpress/env from 11.6.0 to 11.8.0 in the npm-dev-minor-patch group (#3974)
- deps-dev: bump guzzlehttp/guzzle from 7.10.0 to 7.12.1 in /plugins/wp-graphql (#3986)
- deps-dev: bump guzzlehttp/psr7 from 2.11.0 to 2.12.1 in /plugins/wp-graphql (#3983)
- deps-dev: bump guzzlehttp/psr7 from 2.8.0 to 2.11.0 in /plugins/wp-graphql (#3926)
- deps-dev: bump phpstan/phpstan from 2.1.54 to 2.1.55 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#3874)
- deps-dev: bump phpstan/phpstan from 2.1.55 to 2.2.2 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#3953)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 5 updates (#3945)
- deps: bump webonyx/graphql-php from 15.32.3 to 15.33.0 in /plugins/wp-graphql (#3973)
- honor public post statuses and read_private_posts cap in post access checks (#3966)
- page-by-URI over-resolution and homepage resolution in subdirectory installs (#3965)
- support WordPress 7.0 in the integration test matrix (#3960)
2.16.0
New Features
- deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#3905)
Bug Fixes
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 7 updates (#3894)
2.15.1
Security
- prevent user enumeration via the deprecated
SendPasswordResetEmailPayload.userfield; it is now gated on thelist_userscapability. See GHSA-jhh7-832h-f8hv
Bug Fixes
- ci: deploy WordPress.org assets via ASSETS_DIR + dedicated asset-update workflow (#3880)
2.15.0
New Features
- deps: bump @wordpress/hooks from 3.58.0 to 4.44.0 (#3853)
- deps: bump the npm-prod-minor-patch group across 1 directory with 7 updates (#3865)
- resolve WPGraphQL settings outside the admin (at the /graphql endpoint) (#3878)
Bug Fixes
- deps-dev: bump @wordpress/babel-preset-default from 7.42.0 to 8.45.0 (#3871)
- deps-dev: bump symfony/dom-crawler from 5.4.48 to 5.4.52 in /plugins/wp-graphql (#3858)
- deps-dev: bump symfony/yaml from 5.4.45 to 5.4.53 in /plugins/wp-graphql (#3859)
- deps-dev: bump the npm-dev-minor-patch group with 3 updates (#3849)
2.14.1
Bug Fixes
- Allow compatible interface field override with
register_graphql_field()(#3539)
2.14.0
New Features
- deps: bump sanitize-html from 2.17.3 to 2.17.4 (#3831)
- deps: bump the npm-prod-minor-patch group across 1 directory with 4 updates (#3826)
- deps: bump the npm-prod-minor-patch group with 4 updates (#3820)
Bug Fixes
- deps-dev: bump composer/composer from 2.2.27 to 2.2.28 in /plugins/wp-graphql (#3832)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 7 updates (#3827)
- deps-dev: bump the wp-graphql-composer-dev-minor-patch group across 1 directory with 2 updates (#3829)
- security: drop file:// support from createMediaItem mutation (#3834)
2.13.0
New Features
- deps: bump styled-components from 6.4.0 to 6.4.1 in the npm-prod-minor-patch group (#3805)
- deps: bump the npm-prod-minor-patch group with 3 updates (#3792)
Bug Fixes
- deps-dev: bump phpstan/phpstan from 2.1.46 to 2.1.50 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#3789)
- deps-dev: bump phpstan/phpstan from 2.1.50 to 2.1.51 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#3802)
- deps-dev: bump the npm-dev-minor-patch group across 1 directory with 6 updates (#3799)
- deps: bump webonyx/graphql-php from 15.31.5 to 15.32.3 in /plugins/wp-graphql (#3804)
2.12.0
New Features
- allow additional valid hosts (#3778)
- deps: bump sanitize-html from 2.17.2 to 2.17.3 (#3779)
- deps: bump styled-components from 6.3.12 to 6.4.0 in the npm-prod-minor-patch group (#3781)
- telemetry: mirror Appsero insights to telemetry.wpgraphql.com (#3785)
Bug Fixes
- deps-dev: bump composer/composer from 2.2.26 to 2.2.27 in /plugins/wp-graphql (#3773)
- deps: bump webonyx/graphql-php from 15.31.4 to 15.31.5 in /plugins/wp-graphql (#3766)
2.11.2
Bug Fixes
- deps-dev: bump phpstan/phpstan from 2.1.44 to 2.1.46 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#3749)
- deps: bump webonyx/graphql-php from 15.31.3 to 15.31.4 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#3750)
- sync readme.txt changelogs with releases (#3744)
2.11.1
Bug Fixes
- reject non-numeric user loader keys to prevent SQL injection
2.11.0
New Features
- deps: bump basic-ftp from 5.1.0 to 5.2.0 in /plugins/wp-graphql (#3676)
- deps: bump flatted from 3.3.3 to 3.4.2 in /plugins/wp-graphql (#3679)
- deps: bump immutable from 5.1.4 to 5.1.5 in /plugins/wp-graphql (#3685)
- deps: bump lodash from 4.17.21 to 4.18.1 in /plugins/wp-graphql (#3673)
- deps: bump node-forge from 1.3.3 to 1.4.0 in /plugins/wp-graphql (#3681)
- deps: bump picomatch in /plugins/wp-graphql (#3682)
- deps: bump qs from 6.14.1 to 6.14.2 in /plugins/wp-graphql (#3670)
- deps: bump simple-git from 3.30.0 to 3.33.0 in /plugins/wp-graphql (#3680)
- deps: bump svgo from 3.3.2 to 3.3.3 in /plugins/wp-graphql (#3674)
- deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#3739)
- deps: bump yaml in /plugins/wp-graphql (#3671)
Bug Fixes
- deps-dev: bump phpstan/phpstan from 2.1.40 to 2.1.44 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#3642)
- deps: bump appsero/client from 2.0.5 to 2.0.6 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#3644)
- deps: bump webonyx/graphql-php from 15.30.2 to 15.31.2 in /plugins/wp-graphql (#3646)
- deps: bump webonyx/graphql-php from 15.31.2 to 15.31.3 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#3729)
2.10.1
Bug Fixes
2.10.0
New Features
- migrate WPGraphQL for ACF to monorepo (#3581)
Bug Fixes
- add capability check for comment update mutation (#3616)
- incorrect wpml_is_redirected filter hook types (#3615)
- resolve post by percent-encoded slug/URI when post_name is stored encoded (#3582) (#3611)
2.9.1
Bug Fixes
- Add class_exists check to is_graphql_http_request() to prevent fatal errors (#3580)
- deps: bump webonyx/graphql-php from 15.30.0 to 15.30.1 in /plugins/wp-graphql in the composer-minor-patch group across 1 directory (#3564)
- deps: bump webonyx/graphql-php from 15.30.1 to 15.30.2 in /plugins/wp-graphql in the composer-minor-patch group across 1 directory (#3584)
2.9.0
New Features
- add core user admin preferences fields to User type (#3571)
- import WPGraphQL IDE into monorepo (#3542)
Bug Fixes
- correct version numbers in plugin files and improve version update script (#3574)
- resolve all JavaScript linting errors in wp-graphql-ide (#3548)
2.8.0
New Features
- Add internationalization (i18n) support for translations (#3501)
- import wp-graphql-smart-cache into monorepo (#3504)
Bug Fixes
- add step to replace x-release-please version placeholders during deployment
- deps: bump webonyx/graphql-php from 15.29.4 to 15.30.0 in /plugins/wp-graphql in the composer-minor-patch group across 1 directory (#3521)
- nodeByUri returns null for REST API endpoints and static file paths (#3530)
- Prevent password from being changed when updating user without password field (#3532)
- replace x-release-please version placeholders with 2.7.0
- use clean build directory for WordPress.org deployment (#3502)
2.7.0
New Features
- add siteIcon and siteIconUrl fields to GeneralSettings (#3475)
Bug Fixes
- add sanitization to additional settings fields (#3480)
- add sanitization to graphql_endpoint setting (#3476)
- deps: bump webonyx/graphql-php from 15.29.3 to 15.29.4 in /plugins/wp-graphql in the composer-minor-patch group across 1 directory (#3487)
- GraphiQL IDE improvements for LocalWP and toolbar buttons (#3486)
2.5.4
New Features
- feat: refactor experiment registry for better testability (https://github.com/jasonbahl/automation-tests/pull/3453)
Other Changes
- release: next version 📦 (https://github.com/jasonbahl/automation-tests/pull/3452)
- ci: replace custom docker with wp-env (https://github.com/jasonbahl/automation-tests/pull/3451)
2.5.3
Other Changes
- fix(#3438, #1999): Media item privacy inheritance and attachment status queries (https://github.com/jasonbahl/automation-tests/pull/3444)
- chore: cleanup orphaned files and configs (https://github.com/jasonbahl/automation-tests/pull/3442)
2.5.2
Bug Fixes
- fix: Prevent fatal error when updating options via /wp-admin/options.php (https://github.com/jasonbahl/automation-tests/pull/3440)
2.5.1
Bug Fixes
- fix: Add fallback sizes to MediaItemSizeEnum when intermediate sizes are disabled (https://github.com/jasonbahl/automation-tests/pull/3433)
2.5.0
Note: Version 2.4.0 was skipped due to an issue with the release automation workflow where the version was bumped twice (once manually and once by the workflow). The fixes included in this release were originally intended for v2.4.0, but to maintain consistency with the WordPress.org deployment, we’re releasing as v2.5.0 instead. The workflow has been updated to prevent this issue in future releases.
New Features
- feat: Implement WPGraphQL Experiments API (https://github.com/jasonbahl/automation-tests/pull/3428)
- feat: Add namespaced get/set API to AppContext (with deprecation for dynamic properties) (https://github.com/jasonbahl/automation-tests/pull/3429)
Bug Fixes
- fix: Release Workflow Version Skipping Issue (https://github.com/jasonbahl/automation-tests/pull/3426)
- fix: use get_query_args and merge args instead of override via set_query_arg (https://github.com/jasonbahl/automation-tests/pull/3424)
2.3.8
New Features
- feat: Implement WPGraphQL Experiments API (https://github.com/jasonbahl/automation-tests/pull/3428)
- feat: Add namespaced get/set API to AppContext (with deprecation for dynamic properties) (https://github.com/jasonbahl/automation-tests/pull/3429)
Bug Fixes
- fix: Release Workflow Version Skipping Issue (https://github.com/jasonbahl/automation-tests/pull/3426)
- fix: use get_query_args and merge args instead of override via set_query_arg (https://github.com/jasonbahl/automation-tests/pull/3424)
2.3.7
Bug Fixes
- fix: Prevent bad string injection in plugin update message (#3318) (https://github.com/jasonbahl/automation-tests/pull/3419)
2.3.6
Bug Fixes
- fix: update failing e2e tests for graphiql (https://github.com/jasonbahl/automation-tests/pull/3414)
- fix: Prevent printed scripts from breaking GraphQL responses (https://github.com/jasonbahl/automation-tests/pull/3413)
- fix: prevent changeset deletions from being synced back to develop (https://github.com/jasonbahl/automation-tests/pull/3412)
- fix: wp 6.8 test failures (https://github.com/jasonbahl/automation-tests/pull/3410)
- fix: Move graphql_root_value filter execution to runtime for access to request params (https://github.com/jasonbahl/automation-tests/pull/3406)
- fix: make void and call on (https://github.com/jasonbahl/automation-tests/pull/3371)
Other Changes
- chore: update npm deps (https://github.com/jasonbahl/automation-tests/pull/3408)
- chore: update composer deps (https://github.com/jasonbahl/automation-tests/pull/3407)
- refactor: prepare deprecations for v3 removal (https://github.com/jasonbahl/automation-tests/pull/3400)
2.3.5
Bug Fixes
- fix: prevent changeset deletions from being synced back to develop (https://github.com/jasonbahl/automation-tests/pull/3412)
- fix: wp 6.8 test failures (https://github.com/jasonbahl/automation-tests/pull/3410)
- fix: Move graphql_root_value filter execution to runtime for access to request params (https://github.com/jasonbahl/automation-tests/pull/3406)
Other Changes
- chore: update npm deps (https://github.com/jasonbahl/automation-tests/pull/3408)
- chore: update composer deps (https://github.com/jasonbahl/automation-tests/pull/3407)
- refactor: prepare deprecations for v3 removal (https://github.com/jasonbahl/automation-tests/pull/3400)
2.3.4
Bug Fixes
- fix: make void and call on (https://github.com/jasonbahl/automation-tests/pull/3371)
2.3.3
Bug Fixes
- fix: update skipped since tags (https://github.com/jasonbahl/automation-tests/pull/3372)
- fix: check for preloaded AppContext::get_loader() (https://github.com/jasonbahl/automation-tests/pull/3384)
- fix: cleanup logic (https://github.com/jasonbahl/automation-tests/pull/3383)
Other Changes
- chore: improve type safety of and schema registration (https://github.com/jasonbahl/automation-tests/pull/3382)
- refactor: cleanup class to reduce complexity and improve type safety (https://github.com/jasonbahl/automation-tests/pull/3381)
- perf: refactor to lazy-load dataloaders (https://github.com/jasonbahl/automation-tests/pull/3380)
- chore: update Composer dev-deps and PHPCs ruleset (https://github.com/jasonbahl/automation-tests/pull/3379)
- chore: expose array shape for (https://github.com/jasonbahl/automation-tests/pull/3374)
- chore: expose array shapes for register_graphql_enum_type() (https://github.com/jasonbahl/automation-tests/pull/3373)
- chore: narrow/fix php types on WPGraphQL, Server, Utils namespaces (https://github.com/jasonbahl/automation-tests/pull/3368)
2.3.2
Other Changes
- chore: improve type safety of and schema registration (https://github.com/jasonbahl/automation-tests/pull/3382)
- refactor: cleanup class to reduce complexity and improve type safety (https://github.com/jasonbahl/automation-tests/pull/3381)
- perf: refactor to lazy-load dataloaders (https://github.com/jasonbahl/automation-tests/pull/3380)
- chore: update Composer dev-deps and PHPCs ruleset (https://github.com/jasonbahl/automation-tests/pull/3379)
2.3.1
Other Changes
- chore: expose array shape for (https://github.com/jasonbahl/automation-tests/pull/3374)
- chore: expose array shapes for register_graphql_enum_type() (https://github.com/jasonbahl/automation-tests/pull/3373)
- chore: narrow/fix php types on WPGraphQL, Server, Utils namespaces (https://github.com/jasonbahl/automation-tests/pull/3368)
2.3.0
New Features
- feat: lazy loading fields for Object Types and Interface Types (https://github.com/jasonbahl/automation-tests/pull/3356)
- feat: Update Enum Type descriptions (https://github.com/jasonbahl/automation-tests/pull/3355)
Bug Fixes
- fix: don’t initialize twice in class constructor (https://github.com/jasonbahl/automation-tests/pull/3369)
- fix: cleanup Model fields for better source-of-truth and type-safety. (https://github.com/jasonbahl/automation-tests/pull/3363)
- fix: bump and remove 7.3 references (https://github.com/jasonbahl/automation-tests/pull/3360)
Other Changes
- chore: improve type-safety for class (https://github.com/jasonbahl/automation-tests/pull/3367)
- chore: add array shapes to and (https://github.com/jasonbahl/automation-tests/pull/3366)
- chore: inline (non-breaking) native return types (https://github.com/jasonbahl/automation-tests/pull/3362)
- chore: implement array shapes for (https://github.com/jasonbahl/automation-tests/pull/3364)
- chore: Test compatibility with WordPress 6.8 (https://github.com/jasonbahl/automation-tests/pull/3361)
- ci: trigger Codeception workflow more often (https://github.com/jasonbahl/automation-tests/pull/3359)
- chore: Update Composer deps (https://github.com/jasonbahl/automation-tests/pull/3358)
2.2.0
New Features
- feat: add support for graphql_description on register_post_type and register_taxonomy (https://github.com/jasonbahl/automation-tests/pull/3346)
Other Changes
- chore: update placeholder that didn’t properly get replaced during release (https://github.com/jasonbahl/automation-tests/pull/3349)
- chore: update interface descriptions (https://github.com/jasonbahl/automation-tests/pull/3347)
2.1.1
Bug Fixes
- fix: Avoid the deprecation warning when sending null header values (https://github.com/jasonbahl/automation-tests/pull/3338)
Other Changes
- chore: update README’s for github workflows (https://github.com/jasonbahl/automation-tests/pull/3343)
- chore: update cursor rules to use .cursor/rules instead of .cursorrules (https://github.com/jasonbahl/automation-tests/pull/3333)
- chore: add WPGraphQL IDE to the extensions page (https://github.com/jasonbahl/automation-tests/pull/3332)
2.1.0
New Features
-
#3320: feat: add filter to Request::is_valid_http_content_type to allow for custom content types with POST method requests
Chores / Bugfixes -
#3314: fix: use version_compare to simplify incompatible dependent check
- #3316: docs: update changelog and upgrade notice
- #3325: docs: update quick-start.md
- #3190: docs: add developer docs for
AbstractConnectionResolver
2.0.0
BREAKING CHANGE UPDATE
This is a major update that drops support for PHP versions below 7.4 and WordPress versions below 6.0.
We’ve written more about the update here:
- https://www.wpgraphql.com/2024/12/16/wpgraphql-v2-0-is-coming-heres-what-you-need-to-know
- https://www.wpgraphql.com/2024/12/16/wpgraphql-v2-0-technical-update-breaking-changes
1.32.1
Chores / Bugfixes
- #3308: fix: update term mutation was preventing terms from removing the parentId
1.32.0
New Features
- #3294: feat: introduce new fields for getting mediaItem files and filePaths
Chores / Bugfixes
- update stable tag
1.31.0
New Features
- #3278: feat: add option to provide custom file path for static schemas when using the
wp graphql generate-static-schemacommand
Chores / Bugfixes
- #3284: fix: fix: Updated docs link for example of hierarchical data
- #3283: fix: Error in update checker when WPGraphQL is active as an mu-plugin
- #3293: fix: correct the resolver for the MediaDetails.file field to return the file name
- #3299: chore: restore excluded PHPCS rules
- #3301: fix: React backwards-compatibility with WP < 6.6
- #3302: chore: update NPM dependencies
- #3297: fix: typo in
Extensions\Registry\get_extensions()method name - #3303: chore: cleanup git cache
- #3298: chore: submit GF, Rank Math, and Headless Login plugins
- #3287: chore: fixes the syntax of the readme.txt so that the short description is shown on WordPress.org
- #3284: fix: Updated docs link for example of hierarchical data
1.30.0
Chores / Bugfixes
- #3250: fix: receiving post for Incorrect uri
- #3268: ci: trigger PR workflows on release/* branches
- #3267: chore: fix bleeding edge/deprecated PHPStan smells [first pass]
- #3270: build(deps): bump the npm_and_yarn group across 1 directory with 3 updates
- #3271: fix: default cat should not be added when other categories are added
New Features
- #3251: feat: implement SemVer-compliant update checker
- #3196: feat: expose EnqueuedAsset.group and EnqueuedScript.location to schema
- #3188: feat: Add WPGraphQL Extensions page to the WordPress admin
1.29.3
Chores / Bugfixes
- #3245: fix: update appsero/client to v2.0.4 to prevent conflicts with WP6.7
- #3243: chore: fix Composer autoloader for WPGraphQL.php
- #3242: chore: update Composer dev deps
- #3235: chore: general updates to README.md and readme.txt
- #3234: chore: update quick-start.md to provide more clarity around using wpackagist
1.29.2
Chores / Bugfixes
- fix: move assets/blueprint.json under .wordpress-org directory
1.29.1
Chores / Bugfixes
- #3226: chore: add blueprint.json so WPGraphQL can be demo’d with a live preview on WordPress.org
- #3218: docs: update upgrading.md to highlight how breaking change releases will be handled
- #3214: fix: lazy-resolve Post.sourceUrl and deprecate Post.sourceUrlsBySize
- #3224: chore(deps-dev): bump symfony/process from 5.4.40 to 5.4.46 in the composer group
- #3219: test: add tests for querying different sizes of media items
- #3229: fix: Deprecated null value warning in titleRendered callback
1.29.0
New Features
- #3208: feat: expose commenter edge fields
- #3207: feat: introduce get_graphql_admin_notices and convert AdminNotices class to a singleton
Chores / Bugfixes
- #3213: chore(deps): bump the npm_and_yarn group across 1 directory with 4 updates
- #3212: chore(deps): bump dset from 3.1.3 to 3.1.4 in the npm_and_yarn group across 1 directory
- #3211: chore: add LABELS.md
- #3201: fix: ensure connectedTerms returns terms for the specified taxonomy only
- #3199: chore(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates
1.28.1
Chores / Bugfixes
- #3189: fix: [regression] missing placeholder in $wpdb->prepare() call
1.28.0
Upgrade Notice
This release contains an internal refactor for how the Type Registry is generated which should lead to significant performance improvements for most users. While there is no known breaking changes, because this change impacts every user we highly recommend testing this release thoroughly on staging servers to ensure the changes don’t negatively impact your projects.
New Features
- #3172: feat: only
eagerlyLoadTypeon introspection requests.
Chores / Bugfixes
- #3181: ci: replace
docker-composecommands withdocker compose - #3182: ci: test against WP 6.6
- #3183: fix: improve performance of SQL query in the user loader
1.27.2
Chores / Bugfixes
- #3167: fix: missing .svg causing admin_menu not to be registered
1.27.1
Chores / Bugfixes
- #3066: fix: merge query arg arrays instead of overriding.
- #3151: fix: update dev-deps and fix
WPGraphQL::get_static_schema() - #3152: fix: handle regression when implementing interface with identical args.
- #3153: chore(deps-dev): bump composer/composer from 2.7.6 to 2.7.7 in the composer group across 1 directory
- #3155: chore(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates
- #3160: chore: Update branding assets
- #3162: fix: set_query_arg should not merge args
1.27.0
New Features
- #3143: feat: Enhance tab state management with query arguments and localStorage fallback
Chores / Bugfixes
- #3139: fix:
$settings_fieldsparam on “graphql_get_setting_section_field_value” filter not passing the correct type - #3137: fix: WPGraphQL Settings page fails to load when “graphiql_enabled” setting is “off”
- #3133: build: clean up dist
- #3146: test: add e2e test coverage for tabs in the settings page
1.26.0
New Features
- #3125: refactor: improve query handling in AbstractConnectionResolver
- new:
graphql_connection_pre_get_queryfilter - 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
