- Fixed Craft 3.6 compatibility.
- Updated graphql-php to v14.
- Fixed Craft 3.5 compatibility. (#338)
- Fixed a couple compatibility issues with graphql-php 0.12. (#312)
- CraftQL now requires Craft 3.2.0+.
- CraftQL now requires graphql-php ^0.12.0, fixing compatibility with Craft 3.3. (#309)
- Fixed an error that occurred on Craft 3.2.0+ when querying for entry drafts, if the
name
ornotes
fields were specified. (#296)
- CraftQL now requires Craft 3.1.19+.
- Fixed an error that occurred on Craft 3.1.19+. (#248)
- Fixed an error that occurred when fetching categories.
- Fixed a bug where pagination limits weren’t being respected.
- Fixed a bug where the
uid
improvements for 3.1.x from #210 were breaking on Craft 3.0.x (#217)
- Updated category and tag factories to use the new
uid
format that Craft 3.1 uses (#210) - Updated the
@date
directive to use the locale of the entry when formatting a date field (#209) - Updated the
drafts
field to ensure custom fields load the correct content (#208) - Updated unions to allow circular references in preparation for Neo integration (#86)
- Added a
locale:
argument to the@date
directive so you can override the date language (#209) - Added query arguments to the
entriesConnection
custom fields (#203) - Added the
dateUpdated
anddateCreated
arguments when querying entries (#201)
- Added field argument to custom Entries fields (#202)
- Adds
slug:
argument to entry mutations (#199) - Adds
parentId:
argument to entry mutations (#199) - Restored native
@skip
and@include
directives (#198)
- Released a bunch of features! (#192)
- Added
limit:
argument to asset fields onEntryInterface
(#191) - Added a scope for global mutations (#185)
- Added the ability to set
postDate
andexpiryDate
onupsertEntryType
fields (#181) - Fixed a bug where matrix fields were not saving all data because the field's
onSave
was not called (#180) - Fixed a bug where a field in Craft points to a category group that no longer exists, it now silently skips the field (#178)
- Added a
*Connection
field to all category fields so you can get more detail from categories fields (yo dawg) (#177) - Added a top level
upsertUser
which allows setting user fields when passed a user id or creates a new user when null (#172) - Added an error message whenever CraftQL creates a bad GraphQL enum value through inference (#156)
- Added a
*_FieldData
field for all Select field types to allow pulling the possible options as well as the selected option (#155) - Fixed a bug where Redactor fields were creating duplicate GraphQL Object Types with the same schema (#153)
- Added a
group:
argument to the top levelcategories
field to filter the returned categories (#152) - Added
parent
,next
,nextSibling
,prev
, andprevSibling
toCategoryInterface
(#149) - Fixed a bug where you couldn't perform a mutation without also having query scope access (#146)
- Changed the
relatedTo:
argument to support a list of element ids. This is backwards compatible because GraphQL allows single values to be treated as a list (#144) - Increased the token field in the DB to
text
to support largerscope
arrays (#139) - Added support for Geo Address field types (#138)
- Added an
AlterQuerySchema
event to allow 3rd-parties to add root fields to the schema (#134) - Fixed an upsert bug when trying to set an enum to
empty
because the Craft field handle is an empty string (#129) - Added a top level
sites
field and associated query scope (#123) - Added a
focalPoint
field toVolumeInterface
(#120) - Added the ability to query category children from a
categories
orcategoriesConnection
field (#119) - Fixed a bug where new creating categories were failing during a mutation (#116)
- Fixed a bug where the
pageInfo
field was not calculated correctly on connections (#115)
- upsert mutations now set the
authorId
based on the token's user, where applicable. - #83 allows the top level
categories
field to accept an array ofid:
integers now. - downloads GraphiQL into a Craft Asset Bundle so that you can browse without an internet connection
- #67 adds a new CLI command
./craft craftql/tools/fetch-fragment-types > fragments.json
to help with Apollo fragment matching - #90 removes
nonNull
uriFormat for sections thathasUrls
isfalse
- #79 adds support for the Videos 2 plugin
- #67 adds
type:
andlimit:
arguments to matrix fields for server-side filtering - #95 adds a new CLI command
./craft craftql/tools/print-schema > schema.graphql
for related tooling such as Apollo'sgenerate
command - updates some Craft API interactions to avoid deprecation notices
- #94 adds
transform:
argument to an image field'swidth
andheight
fields so you can get back the transformed size - #98 adds a
relatedCategories
field to theEntryEdge
to pull back all categories that may not be directly linked through a field - #101 adds a
query:
argument to mutations so you have more control over what is being upserted - #101 adds an
enabled:
argument to set the enabled state of the entry - #105 adds an
id:
argument to matrix upserts so you can overwrite an existing matrix blocks instead of always creating a new block - #107 adds a
siteId:
argument to entry mutations to both query and set thesiteId
of the upserted entry - #97 fixed some error messages when you try to pull an entry out of a related entries field that you don't have access to through your token
- #109 adds support for the native Radio Button field type
- #108 fixes a invalid schema bug when you enable categories but don't have any category groups
- #104 adds a top level
assets
field that can query assets just ascraft.assets
does. This has a configurable permission, as well - #14 adds custom field support when querying assets
- #110 adds depth and complexity validators for basic security
- #111 fixes some bad documentation
- Initial public release!
- Date fields now use the Timestamp scalar type
- A
@date
directive is now used to formatTimestamp
scalars. Use it with the same options Carbon uses,@date(as:"Y-m-d")
dateCreated
,dateUpdated
, andexpiryDate
now use a newTimestamp
scalar
- Initial release