|
1 | | -# ProcessGraphQL Changelog |
| 1 | +# Changelog |
2 | 2 |
|
3 | | -## 1.0.0-rc15 |
| 3 | +All notable changes to this project will be documented in this file. |
4 | 4 |
|
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). |
6 | 6 |
|
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 |
8 | 8 |
|
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. |
10 | 36 | - `find` |
11 | 37 | - `next` |
12 | 38 | - `prev` |
13 | 39 | - `rootParent` |
14 | 40 | - `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. |
19 | 43 |
|
20 | | -### 0.23.3 |
| 44 | +## [0.23.3] - 2018-03-01 |
| 45 | + |
| 46 | +### Fixed |
21 | 47 |
|
22 | 48 | - Fix module installation via class name from pw modules directory. |
23 | 49 |
|
24 | | -### 0.23.0 |
| 50 | +## [0.23.0] - 2018-02-28 |
| 51 | + |
| 52 | +### Changed |
25 | 53 |
|
26 | 54 | - Simpler naming for GraphQL types. |
27 | 55 | - Update GraphiQL js dependencies. |
28 | 56 |
|
29 | | -### 0.22.0 |
| 57 | +## [0.22.0] - 2018-02-28 |
| 58 | + |
| 59 | +### Added |
30 | 60 |
|
31 | 61 | - Add support for third-party Fieldtypes. |
32 | 62 |
|
33 | | -### 0.20.0 |
| 63 | +## [0.20.0] - 2018-02-23 |
| 64 | + |
| 65 | +### Added |
34 | 66 |
|
35 | 67 | - Add support for `first` & `last` fields for PageArray types. |
36 | 68 |
|
37 | | -### 0.19.0 |
| 69 | +## [0.19.0] - 2018-02-22 |
| 70 | + |
| 71 | +### Added |
38 | 72 |
|
39 | 73 | - Add support for `FieldtypeOptions`. |
40 | 74 |
|
41 | | -### 0.18.5 |
| 75 | +## [0.18.5] - 2018-02-16 |
| 76 | + |
| 77 | +### Fixed |
42 | 78 |
|
43 | 79 | - Fix `DatetimeResolverTrait` |
44 | 80 |
|
45 | | -### 0.18.3 |
| 81 | +## [0.18.3] - 2018-02-16 |
| 82 | + |
| 83 | +### Added |
46 | 84 |
|
47 | 85 | - 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. |
48 | 86 |
|
49 | | -### 0.17.0 |
| 87 | +## [0.17.0] - 2018-02-14 |
50 | 88 |
|
51 | 89 | This release introduces lots of changes to repository structure and development process. |
52 | 90 |
|
| 91 | +### Changed |
| 92 | + |
53 | 93 | - 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. |
54 | 94 | - 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. |
55 | 95 | - `$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. |
56 | 96 |
|
57 | | -### 0.16.0 |
| 97 | +## [0.16.0] - 2017-04-09 |
| 98 | + |
| 99 | +### Added |
58 | 100 |
|
59 | 101 | - Add support for getQuery & getMutation hooks. |
60 | 102 |
|
61 | | -### 0.15.3 |
| 103 | +## [0.15.3] - 2017-04-07 |
62 | 104 |
|
63 | 105 | - Fix numChildren field. |
64 | 106 |
|
65 | | -### 0.15.2 |
| 107 | +## [0.15.2] - 2017-04-07 |
| 108 | + |
| 109 | +### Fixed |
66 | 110 |
|
67 | 111 | - Fix the default value bug. |
68 | 112 |
|
69 | | -### 0.15.1 |
| 113 | +## [0.15.1] - 2017-04-04 |
| 114 | + |
| 115 | +### Fixed |
70 | 116 |
|
71 | 117 | - Fix FieldtypeCheckbox bug. |
72 | 118 |
|
73 | | -### 0.15.0 |
| 119 | +## [0.15.0] - 2017-04-01 |
| 120 | + |
| 121 | +### Changed |
74 | 122 |
|
75 | | -- Fix the FieldtypeDatetime bug. |
76 | 123 | - Upgrade the youshido/graphql dependency. |
77 | 124 |
|
78 | | -### 0.14.1 |
| 125 | +### Fixed |
| 126 | + |
| 127 | +- Fix the FieldtypeDatetime bug. |
| 128 | + |
| 129 | +## [0.14.1] - 2017-03-23 |
| 130 | + |
| 131 | +### Fixed |
79 | 132 |
|
80 | 133 | - Fix the access rules complience bug. |
81 | 134 |
|
82 | | -### 0.14.0 |
| 135 | +## [0.14.0] - 2017-03-22 |
| 136 | + |
| 137 | +### Added |
83 | 138 |
|
84 | 139 | - Add a GraphQL pages generator |
85 | 140 |
|
86 | | -### 0.13.1 |
| 141 | +## [0.13.1] - 2017-03-21 |
| 142 | + |
| 143 | +### Added |
87 | 144 |
|
88 | 145 | - Make sure to get request data from php://input if Content-type header contains `application/json` string. |
89 | 146 |
|
90 | | -### 0.13.0 |
| 147 | +## [0.13.0] - 2017-03-19 |
| 148 | + |
| 149 | +### Added |
91 | 150 |
|
92 | 151 | - Add support for create/update mutation. |
93 | 152 | - Add support for FieldtypeMapMarker field. |
94 | 153 |
|
95 | | -### 0.12.1 |
| 154 | +## [0.12.1] - 2017-03-19 |
| 155 | + |
| 156 | +### Fixed |
96 | 157 |
|
97 | 158 | - Fixed bugs |
98 | 159 |
|
99 | | -### 0.12.0 |
| 160 | +## [0.12.0] - 2017-03-19 |
| 161 | + |
| 162 | +### Added |
100 | 163 |
|
101 | 164 | - Implemented `variations` field for PageImageType. |
102 | 165 | - Implemented `size` field for PageImageType. |
| 166 | + |
| 167 | +### Changed |
| 168 | + |
103 | 169 | - Changed security behavior. See [Access Control][module-access-control] in documentations. |
104 | 170 | - Updated documentation. |
105 | 171 |
|
106 | | -### 0.11.1 |
| 172 | +## [0.11.1] - 2017-03-19 |
| 173 | + |
| 174 | +### Changed |
107 | 175 |
|
108 | | -- Fixed bug for issue #2 |
109 | 176 | - Updated PHP requirements for module. The module requires PHP version >= 5.5 |
110 | 177 |
|
111 | | -### 0.11.0 |
| 178 | +### Fixed |
| 179 | + |
| 180 | +- Fixed bug for issue #2 |
| 181 | + |
| 182 | +## [0.11.0] - 2017-03-19 |
| 183 | + |
| 184 | +### Added |
112 | 185 |
|
113 | 186 | - Implement minimal language support. |
114 | 187 |
|
115 | | -### 0.10.1 |
| 188 | +## [0.10.1] - 2017-03-19 |
| 189 | + |
| 190 | +### Fixed |
116 | 191 |
|
117 | 192 | - Fix missed class import. |
118 | 193 |
|
119 | | -### 0.10.0 |
| 194 | +## [0.10.0] - 2017-03-19 |
| 195 | + |
| 196 | +### Added |
120 | 197 |
|
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. |
124 | 198 | - Introduce UserType for pages that represent system users. |
125 | | -- Mark fields NonNull if they are marked as `$field->required = true`. |
126 | 199 | - Implement simple create Mutation on a per template basis. |
127 | 200 |
|
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 |
129 | 214 |
|
130 | 215 | - Fix GraphQLServerUrl property bug. |
131 | 216 |
|
132 | | -### 0.9.0 |
| 217 | +## [0.9.0] - 2017-03-19 |
| 218 | + |
| 219 | +### Added |
133 | 220 |
|
134 | | -- Made GraphiQL assets load in traditional Process module way. |
135 | 221 | - Added template name change tracking support. |
| 222 | + |
| 223 | +### Changed |
| 224 | + |
| 225 | +- Made GraphiQL assets load in traditional Process module way. |
136 | 226 | - Incompatible template names now cannot be selected as legalTemplates. |
137 | 227 |
|
138 | | -### 0.8.0 |
| 228 | +## [0.8.0] - 2017-03-17 |
| 229 | + |
| 230 | +### Added |
139 | 231 |
|
140 | | -- Global fields now are included into PageInterface. |
141 | 232 | - Added `me` field that represents the current user. |
| 233 | + |
| 234 | +### Changed |
| 235 | + |
| 236 | +- Global fields now are included into PageInterface. |
142 | 237 | - The built in `Page` fields are limited to essential ones and available as extra only. |
143 | 238 | - The built in `PageFile` fields are limited to essential ones and available as extra only. |
144 | 239 | - Changed the versioning to semantic. [major].[minor].[patch] |
145 | 240 |
|
146 | | -### 0.7.0 |
| 241 | +## [0.7.0] |
| 242 | + |
| 243 | +### Added |
147 | 244 |
|
148 | 245 | - Added authentication support. |
149 | 246 |
|
150 | | -### 0.6.0 |
| 247 | +## [0.6.0] |
| 248 | + |
| 249 | +### Added |
151 | 250 |
|
152 | 251 | - Added support for field permissions. |
153 | 252 | - Added option for full width GraphiQL. |
154 | 253 |
|
155 | | -### 0.5.0 |
| 254 | +## [0.5.0] |
| 255 | + |
| 256 | +### Added |
156 | 257 |
|
157 | 258 | - Added support for FieldtypeFile. |
158 | 259 | - Added more properties for FieldtypeImage. |
159 | 260 |
|
160 | | -### 0.4.0 |
| 261 | +## [0.4.0] |
| 262 | + |
| 263 | +### Added |
161 | 264 |
|
162 | 265 | - Added support for legal fields. |
163 | 266 |
|
164 | | -### 0.3.0 |
| 267 | +## [0.3.0] |
| 268 | + |
| 269 | +### Added |
165 | 270 |
|
166 | 271 | - Added option to restrict the api to selected page templates only. |
167 | 272 | - Added NullPageType for consistency with ProcessWire. |
168 | | -- Fixed some bugs. |
169 | 273 | - Added a Changelog file! |
170 | 274 |
|
| 275 | +### Changed |
| 276 | + |
| 277 | +- Fixed some bugs. |
| 278 | + |
171 | 279 | [module-access-control]: https://github.com/dadish/ProcessGraphQL/tree/master#access-control |
172 | 280 | [latest-release]: https://github.com/dadish/ProcessGraphQL/releases/latest |
173 | 281 | [travis-ci-badge]: https://www.travis-ci.org/dadish/ProcessGraphQL.svg?branch=master |
|
0 commit comments