Install

Works with Drupal: ^10.4 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 50.2 KB
MD5: 1f0e3cdddf0f60c0dfb1700fea7e4922
SHA-1: 544b1ec540196cd05ed1360c1983498da99043b1
SHA-256: 291911ffa8cba392aecf02b8eab10bdfbc14ead320cb334c2ab41e6ddad7558f
Download zip 98.96 KB
MD5: 4294b9f13b5270e2a4c51b944ed5aa40
SHA-1: 347b83b301cd13c39e81734ec8caf265e99bb885
SHA-256: 389ec4146fc5e30e058385160218f54d3c52a365540bd3562ad6004fe4ceca10

Release notes

Beta 1 fixes the bugs found in a full review of 2.0.x and freezes the API. Changes since 2.0.0-alpha1:

Security

  • @drupalView checks the display access of the view and "view" access on each row entity. pageSize is kept between 1 and 100 and page at 1 or more. Before, pageSize=0 returned every row.

Fixes

  • @arg now resolves the field argument.
  • Fields and @type ids declared in extend type blocks are resolved.
  • The url_language data producer returns the langcode for a URL prefix, not the prefix itself, and matches a path made of the prefix only (/de).
  • The current_user_entity data producer is cached per user instead of not at all, and returns NULL instead of failing when the user can't be loaded.
  • Schema caches follow changes to the server configuration (schema file, autoload contexts, enabled extensions) without a cache clear.
  • autoload_contexts is declared in the config schema.
  • The schema definition path resolves against the Drupal root everywhere, accepts absolute paths and is validated in the server form.
  • .graphqlrc.json accepts a single schema pattern, and directories matched by a pattern are skipped.

API changes

  • DirectableSchema::getPluginId() returns directable instead of a hash per schema file and contexts.
  • Plugins are declared with PHP attributes instead of annotations.
  • The current_user_entity data producer no longer extends the GraphQL module's current_user producer.
  • New typed_data_type, language_id and language_path data producers replace the deprecated ResolverBuilder::callback() closures.
  • The resolver cache is removed. Builder-based resolvers can't be serialized, so it was never used.

Documentation

  • @property does not check field access.
  • A directive argument that starts with $ is always read as the current value or a field argument; there is no escape sequence.
Created by: colorfield
Created on: 19 Oct 2026 at 10:22 UTC
Last updated: 19 Oct 2026 at 10:23 UTC
Bug fixes

Other releases