2.0.0 (2023-08-18)
- test: make tests compatible with phpunit 9 and 10. (91ac9c7)
- deps: update webonyx/graphql-php into latest version (395c9b5)
- deps: upgrade webonyx/graphql-php to version 15.6.2 (eb8939f)
- deps: The webonyx/graphql-php from now on requires PHP version 7.4 and higher. So do we from now on.
2.0.0-rc.2 (2023-08-17)
- deps: upgrade webonyx/graphql-php to version 15.6.2 (eb8939f)
2.0.0-rc.1 (2023-05-15)
- test: make tests compatible with phpunit 9 and 10. (91ac9c7)
- deps: update webonyx/graphql-php into latest version (395c9b5)
- deps: The webonyx/graphql-php from now on requires PHP version 7.4 and higher. So do we from now on.
1.4.2 (2023-05-14)
- FeildtypeOptions: fix error for empty values when it's a single option (7a02e9d)
1.4.2-rc.1 (2023-05-14)
- FeildtypeOptions: fix error for empty values when it's a single option (7a02e9d)
1.4.1 (2022-07-30)
- deps: keep composer autolaod files (9fb6f12)
- deps: update npm dependencies to the latest (021947b)
- scrips: __dirname is undefined (8dbc180)
- scrips: import fs as a commonjs module (6aac63d)
- scripts: use import instead of require (6265229)
1.4.1-rc.4 (2022-07-30)
- scrips: import fs as a commonjs module (6aac63d)
1.4.1-rc.3 (2022-07-30)
- scrips: __dirname is undefined (8dbc180)
1.4.1-rc.2 (2022-07-30)
- deps: keep composer autolaod files (9fb6f12)
1.4.1-rc.1 (2022-07-30)
- deps: update npm dependencies to the latest (021947b)
- scripts: use import instead of require (6265229)
1.4.0 (2022-07-29)
- ci: add php ctype extension (6051409)
- composer: update the composer.lock file. (b006710)
- deps: perform tests on a site-blank profile instead of site-default (8eb1f84)
- deps: update ci run for php 8 (b49f7e0)
- deps: update php dependencies to work with php 8.1 (96465c3)
- deps: upgrade processwire/processwire to version 3.0.184 (f44209c)
- deps: upgrade processwire/processwire to version 3.0.200 (6ca94ad)
- deps: use processwire/processwire as a "vcs" repository. (caf27b3)
- deps: use site-default for testing instead of site-blank (a00703e)
- third-party-fieldtype: allow multiple types to be created by third-party fieldtypes (2146054)
- deps: upgrade php dependencies (530a72e)
- graphiql: add support for request headers (c0fb4be)
- type: add support for $page->references() api (5049715)
1.4.0-rc.3 (2022-07-29)
- graphiql: add support for request headers (c0fb4be)
1.4.0-rc.2 (2022-07-27)
- ci: add php ctype extension (6051409)
- composer: update the composer.lock file. (b006710)
- deps: perform tests on a site-blank profile instead of site-default (8eb1f84)
- deps: update ci run for php 8 (b49f7e0)
- deps: update php dependencies to work with php 8.1 (96465c3)
- deps: upgrade processwire/processwire to version 3.0.184 (f44209c)
- deps: upgrade processwire/processwire to version 3.0.200 (6ca94ad)
- deps: use processwire/processwire as a "vcs" repository. (caf27b3)
- deps: use site-default for testing instead of site-blank (a00703e)
- third-party-fieldtype: allow multiple types to be created by third-party fieldtypes (2146054)
- deps: upgrade php dependencies (530a72e)
1.4.0-rc.1 (2021-07-17)
- type: add support for $page->references() api (5049715)
1.3.2 (2021-07-12)
1.3.2-rc.1 (2021-07-12)
- ci: turn off dry-run for release script (afc2c14)
trash(id: ID!): Page!
field allows to move pages to trash via GraphQL api.- Solves N+1 problem for FieldtypePage field. Significantly improves response speed!
- Support for
FieldtypeRepeater
. - Support for even more ProcessWire permissions:
page-add
page-create
page-delete
page-edit
page-move
page-view
page-edit-created
page-edit-trash-created
- The module was rewritten to use webonyx/graphql-php instead of youshido/graphql.
ProcessGraphQL->executeGraphQL
now returns an array. You'll need to convert it to JSON before sending it to the client. You can usejson_encode
php method for that.- "updatePage" fields no longer accept the
id
argument. You have to pass the page's id you want to update into page argument of the "updatePage" field. - The lowest version of PHP is 7.1 is required.
- If you had used a third-party module to support additional PW fields for GraphQL, then they are no longer going to work. You'll have to update them to use webonyx/graphql-php.
- If you used
GraphqlFieldtypeMapMarker
module, you need to update it to the latest version available.
- The following fields are removed and no longer will be available for Page object types.
find
next
prev
rootParent
siblings
- An experimental
pages
field is dropped and no longer supported. - No more Grant Templates Access and Grant Fields Access options. You now have to explicitly set access permissions to all the templates and fields you want to serve via GraphQL.
- Fix module installation via class name from pw modules directory.
- Simpler naming for GraphQL types.
- Update GraphiQL js dependencies.
- Add support for third-party Fieldtypes.
- Add support for
first
&last
fields for PageArray types.
- Add support for
FieldtypeOptions
.
- Fix
DatetimeResolverTrait
- Adds support for format argument for FieldtypeDatetime Including built-in fields created & modified. Now you can pass PHP date formattting string and get dates exactly how you want.
This release introduces lots of changes to repository structure and development process.
- The main branch no longer tracks the vendor directory. This means that it is not suitable as a ProcessWire module. Instead you need to use latest release tags as a ProcessWire module. Release branches are a minified version of this module that includes everything needed and works out of the box. The main branch is used for development.
- Now we have a Continious Integration implemented. [![Build Status][travis-ci-badge]][travis-ci] This means that people can contribute confidently by running test suite and be sure that nothing has broken and a pull-request will be merged.
$ProcessGraphQL->executeGraphQL
now acceptspayload
&variables
as an argument. This allows you to modify the payload from client and manually pass it to the module to meet your needs.
- Add support for getQuery & getMutation hooks.
- Fix numChildren field.
- Fix the default value bug.
- Fix FieldtypeCheckbox bug.
- Upgrade the youshido/graphql dependency.
- Fix the FieldtypeDatetime bug.
- Fix the access rules complience bug.
- Add a GraphQL pages generator
- Make sure to get request data from php://input if Content-type header contains
application/json
string.
- Add support for create/update mutation.
- Add support for FieldtypeMapMarker field.
- Fixed bugs
- Implemented
variations
field for PageImageType. - Implemented
size
field for PageImageType.
- Changed security behavior. See Access Control in documentations.
- Updated documentation.
- Updated PHP requirements for module. The module requires PHP version >= 5.5
- Fixed bug for issue #2
- Implement minimal language support.
- Fix missed class import.
- Introduce UserType for pages that represent system users.
- Implement simple create Mutation on a per template basis.
- From now only templates selected as legal and those that have Access control enabled will be served.
- Mark fields NonNull if they are marked as
$field->required = true
.
- Remove debug option from module settigs in favor of
$config-debug = true|false
API. - Remove PageUnionType in favor of PageIntefaceType.
- Fix GraphQLServerUrl property bug.
- Added template name change tracking support.
- Made GraphiQL assets load in traditional Process module way.
- Incompatible template names now cannot be selected as legalTemplates.
- Added
me
field that represents the current user.
- Global fields now are included into PageInterface.
- The built in
Page
fields are limited to essential ones and available as extra only. - The built in
PageFile
fields are limited to essential ones and available as extra only. - Changed the versioning to semantic. [major].[minor].[patch]
- Added authentication support.
- Added support for field permissions.
- Added option for full width GraphiQL.
- Added support for FieldtypeFile.
- Added more properties for FieldtypeImage.
- Added support for legal fields.
- Added option to restrict the api to selected page templates only.
- Added NullPageType for consistency with ProcessWire.
- Added a Changelog file!
- Fixed some bugs.