Skip to content

Commit c09739d

Browse files
committed
Update changelog.
1 parent 54acfa4 commit c09739d

File tree

1 file changed

+157
-49
lines changed

1 file changed

+157
-49
lines changed

Changelog.md

Lines changed: 157 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,281 @@
1-
# ProcessGraphQL Changelog
1+
# Changelog
22

3-
## 1.0.0-rc15
3+
All notable changes to this project will be documented in this file.
44

5-
### ⚠️ WARNING: Breaking Changes! ⚠️
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
The ProcessGraphQl was rewritten to use [webonyx/graphql-php][webonyx/graphql-php] instead of [youshido/graphql](http://github.com/youshido/graphql). There are also several deprecations regarding the built in page fields.
7+
## [1.0.2] - 2019-11-19
88

9-
- The following fields no longer will be available for Page object types.
9+
### Added
10+
11+
- `trash(id: ID!): Page!` field allows to move pages to trash via GraphQL api.
12+
- Solves N+1 problem for FieldtypePage field. Significantly improves response speed!
13+
- Support for `FieldtypeRepeater`.
14+
- Support for even more ProcessWire permissions:
15+
- `page-add`
16+
- `page-create`
17+
- `page-delete`
18+
- `page-edit`
19+
- `page-move`
20+
- `page-view`
21+
- `page-edit-created`
22+
- `page-edit-trash-created`
23+
24+
### Changed
25+
26+
- The module was rewritten to use [webonyx/graphql-php](https://github.com/webonyx/graphql-php) instead of [youshido/graphql](https://github.com/youshido/graphql).
27+
- `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.
28+
- "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.
29+
- The lowest version of PHP is 7.1 is required.
30+
- 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](https://github.com/webonyx/graphql-php).
31+
- If you used `GraphqlFieldtypeMapMarker` module, you need to update it to the latest [version available](https://github.com/dadish/GraphQLFieldtypeMapMarker/archive/master.zip).
32+
33+
### Removed
34+
35+
- The following fields are removed and no longer will be available for Page object types.
1036
- `find`
1137
- `next`
1238
- `prev`
1339
- `rootParent`
1440
- `siblings`
15-
- Also an experimental `pages` field is no longer supported.
16-
- The lowest version of PHP is 7.1 is required.
17-
- 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][webonyx/graphql-php].
18-
- If you used `GraphqlFieldtypeMapMarker` module, you need to update it to the latest vesion available.
41+
- An experimental `pages` field is dropped and no longer supported.
42+
- 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.
1943

20-
### 0.23.3
44+
## [0.23.3] - 2018-03-01
45+
46+
### Fixed
2147

2248
- Fix module installation via class name from pw modules directory.
2349

24-
### 0.23.0
50+
## [0.23.0] - 2018-02-28
51+
52+
### Changed
2553

2654
- Simpler naming for GraphQL types.
2755
- Update GraphiQL js dependencies.
2856

29-
### 0.22.0
57+
## [0.22.0] - 2018-02-28
58+
59+
### Added
3060

3161
- Add support for third-party Fieldtypes.
3262

33-
### 0.20.0
63+
## [0.20.0] - 2018-02-23
64+
65+
### Added
3466

3567
- Add support for `first` & `last` fields for PageArray types.
3668

37-
### 0.19.0
69+
## [0.19.0] - 2018-02-22
70+
71+
### Added
3872

3973
- Add support for `FieldtypeOptions`.
4074

41-
### 0.18.5
75+
## [0.18.5] - 2018-02-16
76+
77+
### Fixed
4278

4379
- Fix `DatetimeResolverTrait`
4480

45-
### 0.18.3
81+
## [0.18.3] - 2018-02-16
82+
83+
### Added
4684

4785
- Adds support for format argument for FieldtypeDatetime Including built-in fields created & modified. Now you can pass [PHP date](https://secure.php.net/manual/en/function.date.php) formattting string and get dates exactly how you want.
4886

49-
### 0.17.0
87+
## [0.17.0] - 2018-02-14
5088

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

91+
### Changed
92+
5393
- The master 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][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 master branch is used for development.
5494
- 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.
5595
- `$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.
5696

57-
### 0.16.0
97+
## [0.16.0] - 2017-04-09
98+
99+
### Added
58100

59101
- Add support for getQuery & getMutation hooks.
60102

61-
### 0.15.3
103+
## [0.15.3] - 2017-04-07
62104

63105
- Fix numChildren field.
64106

65-
### 0.15.2
107+
## [0.15.2] - 2017-04-07
108+
109+
### Fixed
66110

67111
- Fix the default value bug.
68112

69-
### 0.15.1
113+
## [0.15.1] - 2017-04-04
114+
115+
### Fixed
70116

71117
- Fix FieldtypeCheckbox bug.
72118

73-
### 0.15.0
119+
## [0.15.0] - 2017-04-01
120+
121+
### Changed
74122

75-
- Fix the FieldtypeDatetime bug.
76123
- Upgrade the youshido/graphql dependency.
77124

78-
### 0.14.1
125+
### Fixed
126+
127+
- Fix the FieldtypeDatetime bug.
128+
129+
## [0.14.1] - 2017-03-23
130+
131+
### Fixed
79132

80133
- Fix the access rules complience bug.
81134

82-
### 0.14.0
135+
## [0.14.0] - 2017-03-22
136+
137+
### Added
83138

84139
- Add a GraphQL pages generator
85140

86-
### 0.13.1
141+
## [0.13.1] - 2017-03-21
142+
143+
### Added
87144

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

90-
### 0.13.0
147+
## [0.13.0] - 2017-03-19
148+
149+
### Added
91150

92151
- Add support for create/update mutation.
93152
- Add support for FieldtypeMapMarker field.
94153

95-
### 0.12.1
154+
## [0.12.1] - 2017-03-19
155+
156+
### Fixed
96157

97158
- Fixed bugs
98159

99-
### 0.12.0
160+
## [0.12.0] - 2017-03-19
161+
162+
### Added
100163

101164
- Implemented `variations` field for PageImageType.
102165
- Implemented `size` field for PageImageType.
166+
167+
### Changed
168+
103169
- Changed security behavior. See [Access Control][module-access-control] in documentations.
104170
- Updated documentation.
105171

106-
### 0.11.1
172+
## [0.11.1] - 2017-03-19
173+
174+
### Changed
107175

108-
- Fixed bug for issue #2
109176
- Updated PHP requirements for module. The module requires PHP version >= 5.5
110177

111-
### 0.11.0
178+
### Fixed
179+
180+
- Fixed bug for issue #2
181+
182+
## [0.11.0] - 2017-03-19
183+
184+
### Added
112185

113186
- Implement minimal language support.
114187

115-
### 0.10.1
188+
## [0.10.1] - 2017-03-19
189+
190+
### Fixed
116191

117192
- Fix missed class import.
118193

119-
### 0.10.0
194+
## [0.10.0] - 2017-03-19
195+
196+
### Added
120197

121-
- Remove debug option from module settigs in favor of `$config-debug = true|false` API.
122-
- From now only templates selected as legal and those that have Access control enabled will be served.
123-
- Remove PageUnionType in favor of PageIntefaceType.
124198
- Introduce UserType for pages that represent system users.
125-
- Mark fields NonNull if they are marked as `$field->required = true`.
126199
- Implement simple create Mutation on a per template basis.
127200

128-
### 0.9.1
201+
### Changed
202+
203+
- From now only templates selected as legal and those that have Access control enabled will be served.
204+
- Mark fields NonNull if they are marked as `$field->required = true`.
205+
206+
### Removed
207+
208+
- Remove debug option from module settigs in favor of `$config-debug = true|false` API.
209+
- Remove PageUnionType in favor of PageIntefaceType.
210+
211+
## [0.9.1] - 2017-03-19
212+
213+
### Fixed
129214

130215
- Fix GraphQLServerUrl property bug.
131216

132-
### 0.9.0
217+
## [0.9.0] - 2017-03-19
218+
219+
### Added
133220

134-
- Made GraphiQL assets load in traditional Process module way.
135221
- Added template name change tracking support.
222+
223+
### Changed
224+
225+
- Made GraphiQL assets load in traditional Process module way.
136226
- Incompatible template names now cannot be selected as legalTemplates.
137227

138-
### 0.8.0
228+
## [0.8.0] - 2017-03-17
229+
230+
### Added
139231

140-
- Global fields now are included into PageInterface.
141232
- Added `me` field that represents the current user.
233+
234+
### Changed
235+
236+
- Global fields now are included into PageInterface.
142237
- The built in `Page` fields are limited to essential ones and available as extra only.
143238
- The built in `PageFile` fields are limited to essential ones and available as extra only.
144239
- Changed the versioning to semantic. [major].[minor].[patch]
145240

146-
### 0.7.0
241+
## [0.7.0]
242+
243+
### Added
147244

148245
- Added authentication support.
149246

150-
### 0.6.0
247+
## [0.6.0]
248+
249+
### Added
151250

152251
- Added support for field permissions.
153252
- Added option for full width GraphiQL.
154253

155-
### 0.5.0
254+
## [0.5.0]
255+
256+
### Added
156257

157258
- Added support for FieldtypeFile.
158259
- Added more properties for FieldtypeImage.
159260

160-
### 0.4.0
261+
## [0.4.0]
262+
263+
### Added
161264

162265
- Added support for legal fields.
163266

164-
### 0.3.0
267+
## [0.3.0]
268+
269+
### Added
165270

166271
- Added option to restrict the api to selected page templates only.
167272
- Added NullPageType for consistency with ProcessWire.
168-
- Fixed some bugs.
169273
- Added a Changelog file!
170274

275+
### Changed
276+
277+
- Fixed some bugs.
278+
171279
[module-access-control]: https://github.com/dadish/ProcessGraphQL/tree/master#access-control
172280
[latest-release]: https://github.com/dadish/ProcessGraphQL/releases/latest
173281
[travis-ci-badge]: https://www.travis-ci.org/dadish/ProcessGraphQL.svg?branch=master

0 commit comments

Comments
 (0)