Skip to content

Latest commit

 

History

History
444 lines (246 loc) · 16.1 KB

Changelog.md

File metadata and controls

444 lines (246 loc) · 16.1 KB

2.0.0 (2023-08-18)

Bug Fixes

  • test: make tests compatible with phpunit 9 and 10. (91ac9c7)

Features

  • deps: update webonyx/graphql-php into latest version (395c9b5)
  • deps: upgrade webonyx/graphql-php to version 15.6.2 (eb8939f)

BREAKING CHANGES

  • 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)

Features

  • deps: upgrade webonyx/graphql-php to version 15.6.2 (eb8939f)

2.0.0-rc.1 (2023-05-15)

Bug Fixes

  • test: make tests compatible with phpunit 9 and 10. (91ac9c7)

Features

  • deps: update webonyx/graphql-php into latest version (395c9b5)

BREAKING CHANGES

  • 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)

Bug Fixes

  • FeildtypeOptions: fix error for empty values when it's a single option (7a02e9d)

1.4.2-rc.1 (2023-05-14)

Bug Fixes

  • FeildtypeOptions: fix error for empty values when it's a single option (7a02e9d)

1.4.1 (2022-07-30)

Bug Fixes

  • 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)

Bug Fixes

  • scrips: import fs as a commonjs module (6aac63d)

1.4.1-rc.3 (2022-07-30)

Bug Fixes

  • scrips: __dirname is undefined (8dbc180)

1.4.1-rc.2 (2022-07-30)

Bug Fixes

  • deps: keep composer autolaod files (9fb6f12)

1.4.1-rc.1 (2022-07-30)

Bug Fixes

  • deps: update npm dependencies to the latest (021947b)
  • scripts: use import instead of require (6265229)

1.4.0 (2022-07-29)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • graphiql: add support for request headers (c0fb4be)

1.4.0-rc.2 (2022-07-27)

Bug Fixes

  • 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)

Features

  • deps: upgrade php dependencies (530a72e)

1.4.0-rc.1 (2021-07-17)

Features

  • type: add support for $page->references() api (5049715)

1.3.2 (2021-07-12)

Bug Fixes

  • ci: correct repository/project url (407b663)
  • ci: turn off dry-run for release script (afc2c14)

1.3.2-rc.1 (2021-07-12)

Bug Fixes

  • ci: turn off dry-run for release script (afc2c14)

[1.0.2] - 2019-11-19

Added

  • 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

Changed

  • 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 use json_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.

Removed

  • 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.

[0.23.3] - 2018-03-01

Fixed

  • Fix module installation via class name from pw modules directory.

[0.23.0] - 2018-02-28

Changed

  • Simpler naming for GraphQL types.
  • Update GraphiQL js dependencies.

[0.22.0] - 2018-02-28

Added

  • Add support for third-party Fieldtypes.

[0.20.0] - 2018-02-23

Added

  • Add support for first & last fields for PageArray types.

[0.19.0] - 2018-02-22

Added

  • Add support for FieldtypeOptions.

[0.18.5] - 2018-02-16

Fixed

  • Fix DatetimeResolverTrait

[0.18.3] - 2018-02-16

Added

  • 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.

[0.17.0] - 2018-02-14

This release introduces lots of changes to repository structure and development process.

Changed

  • 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 accepts payload & variables as an argument. This allows you to modify the payload from client and manually pass it to the module to meet your needs.

[0.16.0] - 2017-04-09

Added

  • Add support for getQuery & getMutation hooks.

[0.15.3] - 2017-04-07

  • Fix numChildren field.

[0.15.2] - 2017-04-07

Fixed

  • Fix the default value bug.

[0.15.1] - 2017-04-04

Fixed

  • Fix FieldtypeCheckbox bug.

[0.15.0] - 2017-04-01

Changed

  • Upgrade the youshido/graphql dependency.

Fixed

  • Fix the FieldtypeDatetime bug.

[0.14.1] - 2017-03-23

Fixed

  • Fix the access rules complience bug.

[0.14.0] - 2017-03-22

Added

  • Add a GraphQL pages generator

[0.13.1] - 2017-03-21

Added

  • Make sure to get request data from php://input if Content-type header contains application/json string.

[0.13.0] - 2017-03-19

Added

  • Add support for create/update mutation.
  • Add support for FieldtypeMapMarker field.

[0.12.1] - 2017-03-19

Fixed

  • Fixed bugs

[0.12.0] - 2017-03-19

Added

  • Implemented variations field for PageImageType.
  • Implemented size field for PageImageType.

Changed

  • Changed security behavior. See Access Control in documentations.
  • Updated documentation.

[0.11.1] - 2017-03-19

Changed

  • Updated PHP requirements for module. The module requires PHP version >= 5.5

Fixed

  • Fixed bug for issue #2

[0.11.0] - 2017-03-19

Added

  • Implement minimal language support.

[0.10.1] - 2017-03-19

Fixed

  • Fix missed class import.

[0.10.0] - 2017-03-19

Added

  • Introduce UserType for pages that represent system users.
  • Implement simple create Mutation on a per template basis.

Changed

  • 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.

Removed

  • Remove debug option from module settigs in favor of $config-debug = true|false API.
  • Remove PageUnionType in favor of PageIntefaceType.

[0.9.1] - 2017-03-19

Fixed

  • Fix GraphQLServerUrl property bug.

[0.9.0] - 2017-03-19

Added

  • Added template name change tracking support.

Changed

  • Made GraphiQL assets load in traditional Process module way.
  • Incompatible template names now cannot be selected as legalTemplates.

[0.8.0] - 2017-03-17

Added

  • Added me field that represents the current user.

Changed

  • 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]

[0.7.0]

Added

  • Added authentication support.

[0.6.0]

Added

  • Added support for field permissions.
  • Added option for full width GraphiQL.

[0.5.0]

Added

  • Added support for FieldtypeFile.
  • Added more properties for FieldtypeImage.

[0.4.0]

Added

  • Added support for legal fields.

[0.3.0]

Added

  • Added option to restrict the api to selected page templates only.
  • Added NullPageType for consistency with ProcessWire.
  • Added a Changelog file!

Changed

  • Fixed some bugs.