NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #5166 most downloaded on Packagist
GraphQL server for SilverStripe models and other data
Latest stable
6.1.1
Last release 8 months ago
22 Mar 2026
Release timing varies
gaps range from 1 weeks to 8 months
Most releases are documented
notes for 48 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
143 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Fix type error in Controller::validateOrigin by @bummzack in https://github.com/silverstripe/silverstripe-graphql/pull/401
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/4.0.0-alpha3...4.0.0-beta1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add access to belongs_many_many relation by @bummzack in https://github.com/silverstripe/silverstripe-graphql/pull/394
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/4.0.0-alpha2...4.0.0-alpha3
ENH Remove basic-auth (Steve Boyd) - 0e91cfb
For more a high-level view of what has changed in GraphQL 4, see the upgrade guide.
For more a high-level view of what has changed in GraphQL 4, see the upgrade guide.
Refactor context provider API so that they now plug into QueryHandlerInterface. They
can set and get their own context based on their own internal logic. Before:
$user = $context['currentUser']; after: $user = UserContextProvider::get($context)
BuildState API is gone. Use new SchemaContextProvider in resolvers. Pass SchemaContext
objects to the small number of classes that needed it in their internals.
AbstractNestedInputPlugin is gone. This never made any sense to tie something
so utilitarian to an arbitrary inheritance chain. It has been refactored as NestedInputBuilder
and is far more single-purpose. No longer concerned with model and field mapping, but rather
just building recursive input types and adding them to the schema.
Refactor QuerySort, QueryFilter to use input builder
Field mapping is no longer exhaustively encoded in the resolvers. New
SchemaContextProvider allows resolvers to look at the schema as persisted to a
PHP array in the code gen and invoke methods like $schema->mapField($type, $fieldName)
No more resolveContext for DataObject\Resolver since field mapping is handled externally now
Migrate type Controller::introspectTypes to standalone service (SchemaTranscriber)
invoked through event dispatcher
Remove IntrospectionProvider extension. Static only. Leaving it to the user to decide never made any sense, and it just slowed down the UI in the CMS. Now that we're doing code gen, it seems like the static solution is more consistent.
Remove ModelConfigurationProvider: Didn't make any sense. Models are now
responsible for fetching their own configurations.
Remove defaultResolver: Didn't make any sense. Just set a default resolver
property and allow it to be overridden.
Resolver discovery is now lazy to avoid race conditions in config. If resolvers are null at code gen time, discovery is invoked and applied.
Controller now only accepts a schema key and uses SchemaFactory to boot.
Schema::quiet() is gone. Schema is quiet by default to better support autobuilding
and test suites. Opt into verbose with setVerbose(true).
CSRFMiddleware and HTTPMethodMiddleware now rely on new ContextProviders
to better encapsulate their state concerns.
Better error reporting:
ResolverFailure which express tons of useful
context, including the query path, the field, the type, the args, and most importantly,
the resolver chain. No more guessing which closure failed.resolverComposition field in encoded types.ComposedResolver is now stateful, mostly for diagnostic purposes. Before:
ComposedResolver::create(): Closure after: ComposedResolver::create($list)->toClosure()
All resolvers use ComposedResolver for consistency, even when no middle/afterwares
ComposedResolver no longer needs separate arguments for primary, before, and after
resolvers. Just a stack that leaves ordering a concern of the code composing the class.
(this was a @todo annotation FWIW)
SchemaModelInterface now must declare getPropertyForField (gql field -> object property mapping)
SchemaModelInterface now must declare getSchemaContext and getModelConfiguration
New hasNativeField in FieldAccessor helps with knowing what fields are
filterable/sortable. Basically ORM insight.
Fields using the model property (a bit of a polymorphic hack to support
cases like CMS needing to know what the SiteTree model is named), will
get just-in-time assignment before code generation time to prevent race conditions
in the config.
New suite of relational FakeProduct objects for testing nested queries, filters, mutations.
New top-to-bottom integration test that creates, updates, and reads nested data structures with filters/sorting, field aliases, etc.
NB: CodeGenerationStore is now responsible for type mapping and field mapping. This
is a leaky abstraction as it's tightly coupled to SchemaContext now.
New StorableSchema layer eliminates unpredictable state of Schema through process(). The readonly value object returned by createStorableSchema() is expected to
be a complete set of primitive objects that are consumable by a storage service.
SchemaFactory is now SchemaBuilder, which has four clearly defined functions, and eliminates the confusion around using Schema at query time:
getConfig(string $schemaKey): ?SchemaContext -- Get the cached configuration of a Schema. Useful for resolversboot(string $schemaKey): Schema -- Load all the configuration in to a Schema object. Useful for the configuration/build process.getSchema(string $schemaKey): ?GraphQLSchema -- Retrieve a queryable graphql-php Schema object from the storage service. Useful at query time.build(Schema $schema, bool $clear = false): GraphQLSchema -- put the Schema through a storage service and return its queryable schemaSchemaStorageInterface is now the concern of SchemaBuilder rather than Schema, which results in a diminished API surface for Schema.
Validation of Schema moved to StorableSchema, as this is the only time the schema truly needs to be valid (before storage)
Type/field mapping done just-in-time for schema storage
Prefer event dispatcher over extend() hooks in controller
SchemaContext is now SchemaConfig
Schema has new getState() for persisting state during build
Improved handling of "empty" schemas that shouldn't be built, but also shouldn't error (e.g. default out of the box)
[CVE-2023-40180] Add protection against recursive queries by @GuySartorelli in https://github.com/silverstripe/silverstripe-graphql/pull/557
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/3.8.1...3.8.2
FIX Handle missing tables in postgres on flush by @emteknetnz in https://github.com/silverstripe/silverstripe-graphql/pull/483
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/3.8.0...3.8.1
MNT Rely on dynamic REQUIRE_RECIPE by @emteknetnz in https://github.com/silverstripe/silverstripe-graphql/pull/419
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/3.7.1...3.8.0
MNT Rely on dynamic REQUIRE_RECIPE by @emteknetnz in https://github.com/silverstripe/silverstripe-graphql/pull/419
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/3.7.1...3.7.2
[CVE-2021-28661] Add a CanViewPermissionChecker if permission checker is null (Steve Boyd) - d39139900
NEW: Field formatting API, forward compatibility by @unclecheese in https://github.com/silverstripe/silverstripe-graphql/pull/313
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/3.4.1...3.7.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[CVE-2021-28661] Add a CanViewPermissionChecker if permission checker is null by @maxime-rainville in https://github.com/silverstripe/silverstripe-gra…
Full Changelog: https://github.com/silverstripe/silverstripe-graphql/compare/3.5.1...3.5.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
API Block older version module from using this minor (#379) (Maxime Rainville) - f8ac3f7
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.