graphile-build 5.0.0-alpha.9 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +390 -96
- package/README.md +2 -3
- package/dist/SchemaBuilder.d.ts +3 -2
- package/dist/SchemaBuilder.d.ts.map +1 -1
- package/dist/SchemaBuilder.js +21 -9
- package/dist/SchemaBuilder.js.map +1 -1
- package/dist/behavior.d.ts +50 -4
- package/dist/behavior.d.ts.map +1 -1
- package/dist/behavior.js +255 -25
- package/dist/behavior.js.map +1 -1
- package/dist/global.d.ts +50 -22
- package/dist/global.d.ts.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -16
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +19 -2
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/makeNewBuild.d.ts.map +1 -1
- package/dist/makeNewBuild.js +57 -32
- package/dist/makeNewBuild.js.map +1 -1
- package/dist/newWithHooks/index.d.ts +3 -6
- package/dist/newWithHooks/index.d.ts.map +1 -1
- package/dist/newWithHooks/index.js +3 -3
- package/dist/newWithHooks/index.js.map +1 -1
- package/dist/plugins/AddNodeInterfaceToSuitableTypesPlugin.js +1 -1
- package/dist/plugins/AddNodeInterfaceToSuitableTypesPlugin.js.map +1 -1
- package/dist/plugins/CommonTypesPlugin.d.ts.map +1 -1
- package/dist/plugins/CommonTypesPlugin.js +7 -7
- package/dist/plugins/CommonTypesPlugin.js.map +1 -1
- package/dist/plugins/ConnectionPlugin.d.ts.map +1 -1
- package/dist/plugins/ConnectionPlugin.js +7 -4
- package/dist/plugins/ConnectionPlugin.js.map +1 -1
- package/dist/plugins/CursorTypePlugin.d.ts.map +1 -1
- package/dist/plugins/CursorTypePlugin.js +2 -4
- package/dist/plugins/CursorTypePlugin.js.map +1 -1
- package/dist/plugins/MutationPlugin.d.ts.map +1 -1
- package/dist/plugins/MutationPlugin.js +4 -5
- package/dist/plugins/MutationPlugin.js.map +1 -1
- package/dist/plugins/NodeAccessorPlugin.d.ts +10 -0
- package/dist/plugins/NodeAccessorPlugin.d.ts.map +1 -1
- package/dist/plugins/NodeAccessorPlugin.js +59 -26
- package/dist/plugins/NodeAccessorPlugin.js.map +1 -1
- package/dist/plugins/NodeIdCodecBase64JSONPlugin.d.ts.map +1 -1
- package/dist/plugins/NodeIdCodecBase64JSONPlugin.js +2 -1
- package/dist/plugins/NodeIdCodecBase64JSONPlugin.js.map +1 -1
- package/dist/plugins/NodeIdCodecPipeStringPlugin.d.ts.map +1 -1
- package/dist/plugins/NodeIdCodecPipeStringPlugin.js +2 -1
- package/dist/plugins/NodeIdCodecPipeStringPlugin.js.map +1 -1
- package/dist/plugins/NodePlugin.d.ts +7 -7
- package/dist/plugins/NodePlugin.d.ts.map +1 -1
- package/dist/plugins/NodePlugin.js +8 -11
- package/dist/plugins/NodePlugin.js.map +1 -1
- package/dist/plugins/QueryPlugin.d.ts.map +1 -1
- package/dist/plugins/QueryPlugin.js +4 -5
- package/dist/plugins/QueryPlugin.js.map +1 -1
- package/dist/plugins/RegisterQueryNodePlugin.js +1 -1
- package/dist/plugins/RegisterQueryNodePlugin.js.map +1 -1
- package/dist/plugins/SubscriptionPlugin.d.ts.map +1 -1
- package/dist/plugins/SubscriptionPlugin.js +4 -5
- package/dist/plugins/SubscriptionPlugin.js.map +1 -1
- package/dist/swallowError.js +3 -3
- package/dist/swallowError.js.map +1 -1
- package/dist/utils.d.ts +16 -9
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +19 -31
- package/dist/utils.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -2
- package/dist/version.js.map +1 -1
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,321 @@
|
|
|
1
1
|
# graphile-build
|
|
2
2
|
|
|
3
|
+
## 5.0.0-beta.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`23bd3c291`](https://github.com/benjie/crystal/commit/23bd3c291246aebf27cf2784f40fc948485f43c9)]:
|
|
9
|
+
- grafast@0.0.1-beta.2
|
|
10
|
+
|
|
11
|
+
## 5.0.0-beta.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
|
|
16
|
+
Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
[[`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)]:
|
|
20
|
+
- grafast@0.0.1-beta.1
|
|
21
|
+
- graphile-config@0.0.1-beta.1
|
|
22
|
+
|
|
23
|
+
## 5.0.0-alpha.18
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
[[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)]:
|
|
29
|
+
- grafast@0.0.1-alpha.16
|
|
30
|
+
|
|
31
|
+
## 5.0.0-alpha.17
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#433](https://github.com/benjie/crystal/pull/433)
|
|
36
|
+
[`5491e10b0`](https://github.com/benjie/crystal/commit/5491e10b0f1629e607e7385985315169e156071d)
|
|
37
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve error messages from
|
|
38
|
+
custom string scalars when they cannot be parsed as a string.
|
|
39
|
+
|
|
40
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
41
|
+
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d)
|
|
42
|
+
Thanks [@benjie](https://github.com/benjie)! - Plugin name now automatically
|
|
43
|
+
used in `provides` for every hook, allowing ordering hooks before/after their
|
|
44
|
+
equivalents in other plugins.
|
|
45
|
+
- Updated dependencies
|
|
46
|
+
[[`ea003ca3a`](https://github.com/benjie/crystal/commit/ea003ca3a8f68fb87dca603582e47981ed033996),
|
|
47
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b),
|
|
48
|
+
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d),
|
|
49
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)]:
|
|
50
|
+
- grafast@0.0.1-alpha.15
|
|
51
|
+
- graphile-config@0.0.1-alpha.7
|
|
52
|
+
|
|
53
|
+
## 5.0.0-alpha.16
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- [#420](https://github.com/benjie/crystal/pull/420)
|
|
58
|
+
[`c1518fad0`](https://github.com/benjie/crystal/commit/c1518fad093dc53c033866541f378878aab69b5c)
|
|
59
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix schema so it can run
|
|
60
|
+
without NodePlugin
|
|
61
|
+
|
|
62
|
+
## 5.0.0-alpha.15
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies
|
|
67
|
+
[[`d99d666fb`](https://github.com/benjie/crystal/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
|
|
68
|
+
- grafast@0.0.1-alpha.14
|
|
69
|
+
|
|
70
|
+
## 5.0.0-alpha.14
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
75
|
+
[`e7dd2e039`](https://github.com/benjie/crystal/commit/e7dd2e039769958d59a83ec3b164cad063c82500)
|
|
76
|
+
Thanks [@benjie](https://github.com/benjie)! - `codec` is now baked into
|
|
77
|
+
NodeId handlers (rather than using `codecName` and looking that up in
|
|
78
|
+
`codecs`). All related APIs have thus simplified, e.g. the step
|
|
79
|
+
`node(codecs, handler, $id)` is now `node(handler, $id)`, etc. TypeScript
|
|
80
|
+
should point out any issues you have hopefully.
|
|
81
|
+
|
|
82
|
+
- [#418](https://github.com/benjie/crystal/pull/418)
|
|
83
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
|
|
84
|
+
Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
|
|
85
|
+
dependencies to try and eliminate duplicate modules error.
|
|
86
|
+
|
|
87
|
+
- [#410](https://github.com/benjie/crystal/pull/410)
|
|
88
|
+
[`4eda0cd57`](https://github.com/benjie/crystal/commit/4eda0cd572274febad696ebb5a89472a981f8212)
|
|
89
|
+
Thanks [@benjie](https://github.com/benjie)! - Use a single behavior check per
|
|
90
|
+
location.
|
|
91
|
+
|
|
92
|
+
In the past two weeks I added a few behavior strings like
|
|
93
|
+
`array:attribute:filterBy` (a scoped form of `attribute:filterBy` to only be
|
|
94
|
+
used by attributes that were arrays); however I've realised that this will
|
|
95
|
+
require plugin authors to implement all the same logic to figure out what type
|
|
96
|
+
an attribute is in order to then see if it has the relevant behavior. This
|
|
97
|
+
goes against the design of the behavior system, and makes plugin authors'
|
|
98
|
+
lives harder. So I've reverted this, and instead used the `entityBehaviors`
|
|
99
|
+
system to add or remove the base `attribute:filterBy` (etc) behavior depending
|
|
100
|
+
on what the type of the attribute is.
|
|
101
|
+
|
|
102
|
+
- Updated dependencies
|
|
103
|
+
[[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
|
|
104
|
+
[`1882e0185`](https://github.com/benjie/crystal/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
|
|
105
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d),
|
|
106
|
+
[`e5012f9a1`](https://github.com/benjie/crystal/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
|
|
107
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
|
|
108
|
+
[`47f6f018b`](https://github.com/benjie/crystal/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
|
|
109
|
+
[`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
|
|
110
|
+
[`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b)]:
|
|
111
|
+
- grafast@0.0.1-alpha.13
|
|
112
|
+
|
|
113
|
+
## 5.0.0-alpha.13
|
|
114
|
+
|
|
115
|
+
### Patch Changes
|
|
116
|
+
|
|
117
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
118
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
119
|
+
Thanks [@benjie](https://github.com/benjie)! - Exported `version` no longer
|
|
120
|
+
uses `require('../package.json')` hack, instead the version number is written
|
|
121
|
+
to a source file at versioning time. Packages now export `version`.
|
|
122
|
+
|
|
123
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
124
|
+
[`9f5a784c6`](https://github.com/benjie/crystal/commit/9f5a784c601b67dfb2cbf7bd836d7aa060fba63c)
|
|
125
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce TypeScript CIF
|
|
126
|
+
gatherConfig() to help typing the `gather` phase for plugins.
|
|
127
|
+
|
|
128
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
129
|
+
[`2849cc3fb`](https://github.com/benjie/crystal/commit/2849cc3fb8e4302b57cdf21f8c9a5fea33b797f8)
|
|
130
|
+
Thanks [@benjie](https://github.com/benjie)! - Better handle the situation
|
|
131
|
+
where a node fetcher could not be found.
|
|
132
|
+
|
|
133
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
134
|
+
[`8ca9425ed`](https://github.com/benjie/crystal/commit/8ca9425edec68fbac0e727bd3d2754bf4843cc74)
|
|
135
|
+
Thanks [@benjie](https://github.com/benjie)! - Detect when your preset doesn't
|
|
136
|
+
have any plugins, or omits the QueryPlugin, and raise an error or warning
|
|
137
|
+
indicating to the user that there's likely an issue here.
|
|
138
|
+
|
|
139
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
140
|
+
[`dda361d11`](https://github.com/benjie/crystal/commit/dda361d11c4d2625c5770df32843f3ec1407c922)
|
|
141
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve error messages for
|
|
142
|
+
getInputTypeByName and getOutputTypeByName.
|
|
143
|
+
|
|
144
|
+
- Updated dependencies
|
|
145
|
+
[[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
146
|
+
[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999),
|
|
147
|
+
[`c5050dd28`](https://github.com/benjie/crystal/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd),
|
|
148
|
+
[`0d1782869`](https://github.com/benjie/crystal/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37)]:
|
|
149
|
+
- grafast@0.0.1-alpha.12
|
|
150
|
+
- graphile-config@0.0.1-alpha.6
|
|
151
|
+
|
|
152
|
+
## 5.0.0-alpha.12
|
|
153
|
+
|
|
154
|
+
### Patch Changes
|
|
155
|
+
|
|
156
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
157
|
+
[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)
|
|
158
|
+
Thanks [@benjie](https://github.com/benjie)! - Use `file://` URLs in import()
|
|
159
|
+
to fix compatibility with Windows (e.g. when loading `graphile.config.mjs`)
|
|
160
|
+
|
|
161
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
162
|
+
[`47365f0df`](https://github.com/benjie/crystal/commit/47365f0df2644fd91839a6698998e1463df8de79)
|
|
163
|
+
Thanks [@benjie](https://github.com/benjie)! - Add helper for more easily
|
|
164
|
+
handling NodeIDs for known typeName.
|
|
165
|
+
|
|
166
|
+
- Updated dependencies
|
|
167
|
+
[[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)]:
|
|
168
|
+
- graphile-config@0.0.1-alpha.5
|
|
169
|
+
- grafast@0.0.1-alpha.11
|
|
170
|
+
|
|
171
|
+
## 5.0.0-alpha.11
|
|
172
|
+
|
|
173
|
+
### Patch Changes
|
|
174
|
+
|
|
175
|
+
- [#399](https://github.com/benjie/crystal/pull/399)
|
|
176
|
+
[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd)
|
|
177
|
+
Thanks [@benjie](https://github.com/benjie)! - Change many of the dependencies
|
|
178
|
+
to be instead (or also) peerDependencies, to avoid duplicate modules.
|
|
179
|
+
|
|
180
|
+
- [#399](https://github.com/benjie/crystal/pull/399)
|
|
181
|
+
[`976958e80`](https://github.com/benjie/crystal/commit/976958e80c791819cd80e96df8209dcff1918585)
|
|
182
|
+
Thanks [@benjie](https://github.com/benjie)! - Plugins can now use
|
|
183
|
+
build.grafast rather than adding grafast as a peerDependency.
|
|
184
|
+
|
|
185
|
+
- [#383](https://github.com/benjie/crystal/pull/383)
|
|
186
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7)
|
|
187
|
+
Thanks [@benjie](https://github.com/benjie)! - Change
|
|
188
|
+
'objectType.extensions.grafast.Step' to
|
|
189
|
+
'objectType.extensions.grafast.assertStep', accept it via object spec,
|
|
190
|
+
deprecate registerObjectType form that accepts it (pass via object spec
|
|
191
|
+
instead), improve typings around it.
|
|
192
|
+
|
|
193
|
+
- [#378](https://github.com/benjie/crystal/pull/378)
|
|
194
|
+
[`47ff7e824`](https://github.com/benjie/crystal/commit/47ff7e824b2fc96c11f601c3814d0200208711ce)
|
|
195
|
+
Thanks [@benjie](https://github.com/benjie)! - Add more detail to an error
|
|
196
|
+
message
|
|
197
|
+
|
|
198
|
+
- Updated dependencies
|
|
199
|
+
[[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
|
|
200
|
+
[`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
|
|
201
|
+
[`9feb769c2`](https://github.com/benjie/crystal/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
|
|
202
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279),
|
|
203
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
|
|
204
|
+
[`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
|
|
205
|
+
[`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
|
|
206
|
+
[`9008c4f87`](https://github.com/benjie/crystal/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
|
|
207
|
+
[`e8c81cd20`](https://github.com/benjie/crystal/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a)]:
|
|
208
|
+
- grafast@0.0.1-alpha.10
|
|
209
|
+
|
|
210
|
+
## 5.0.0-alpha.10
|
|
211
|
+
|
|
212
|
+
### Patch Changes
|
|
213
|
+
|
|
214
|
+
- [#349](https://github.com/benjie/crystal/pull/349)
|
|
215
|
+
[`a94f11091`](https://github.com/benjie/crystal/commit/a94f11091520b52d90fd007986760848ed20017b)
|
|
216
|
+
Thanks [@benjie](https://github.com/benjie)! - **Overhaul behavior system**
|
|
217
|
+
|
|
218
|
+
Previously the behavior system worked during the schema building process,
|
|
219
|
+
inside the various schema hooks. So looking at the behavior of a `relation`
|
|
220
|
+
might have looked like:
|
|
221
|
+
|
|
222
|
+
```ts
|
|
223
|
+
GraphQLObjectType_fields_field(field, build, context) {
|
|
224
|
+
const relation = context.scope.pgRelationOrWhatever;
|
|
225
|
+
|
|
226
|
+
// Establish a default behavior, e.g. you might give it different default behavior
|
|
227
|
+
// depending on if the remote table is in the same schema or not
|
|
228
|
+
const defaultBehavior = someCondition(relation) ? "behavior_if_true" : "behavior_if_false";
|
|
229
|
+
|
|
230
|
+
// Now establish the user-specified behavior for the entity, inheriting from all the
|
|
231
|
+
// relevant places.
|
|
232
|
+
const behavior = getBehavior([
|
|
233
|
+
relation.remoteResource.codec.extensions,
|
|
234
|
+
relation.remoteResource.extensions,
|
|
235
|
+
relation.extensions
|
|
236
|
+
]);
|
|
237
|
+
|
|
238
|
+
// Finally check this behavior string against `behavior_to_test`, being sure to apply
|
|
239
|
+
// the "schema-time smart defaulting" that we established in `defaultBehavior` above.
|
|
240
|
+
if (build.behavior.matches(behavior, "behavior_to_test", defaultBehavior)) {
|
|
241
|
+
doTheThing();
|
|
242
|
+
}
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
This meant that each plugin might treat the behavior of the entity different -
|
|
246
|
+
for example `postgraphile-plugin-connection-filter` might have a different
|
|
247
|
+
`someCondition()` under which the "filter" behavior would apply by default,
|
|
248
|
+
whereas the built in `condition` plugin might have a different one.
|
|
249
|
+
|
|
250
|
+
Moreover, each place needs to know to call `getBehavior` with the same list of
|
|
251
|
+
extension sources in the same order, otherwise subtle (or not so subtle)
|
|
252
|
+
differences in the schema would occur.
|
|
253
|
+
|
|
254
|
+
And finally, because each entity doesn't have an established behavior, you
|
|
255
|
+
can't ask "what's the final behavior for this entity" because it's dynamic,
|
|
256
|
+
depending on which plugin is viewing it.
|
|
257
|
+
|
|
258
|
+
This update fixes all of this; now each entity has a single behavior that's
|
|
259
|
+
established once. Each plugin can register `entityBehaviors` for the various
|
|
260
|
+
behavior entity types (or global behaviors which apply to all entity types if
|
|
261
|
+
that makes more sense). So the hook code equivalent to the above would now be
|
|
262
|
+
more like:
|
|
263
|
+
|
|
264
|
+
```ts
|
|
265
|
+
GraphQLObjectType_fields_field(field, build, context) {
|
|
266
|
+
const relation = context.scope.pgRelationOrWhatever;
|
|
267
|
+
// Do the thing if the relation has the given behavior. Simples.
|
|
268
|
+
if (build.behavior.pgCodecRelationMatches(relation, "behavior_to_test")) {
|
|
269
|
+
doTheThing();
|
|
270
|
+
}
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
This code is much more to the point, much easier for plugin authors to
|
|
274
|
+
implement, and also a lot easier to debug since everything has a single
|
|
275
|
+
established behavior now (except `refs`, which aren't really an entity in
|
|
276
|
+
their own right, but a combination of entities...).
|
|
277
|
+
|
|
278
|
+
These changes haven't changed any of the schemas in the test suite, but they
|
|
279
|
+
may impact you. This could be a breaking change - so be sure to do a schema
|
|
280
|
+
diff before/after this.
|
|
281
|
+
|
|
282
|
+
- [#361](https://github.com/benjie/crystal/pull/361)
|
|
283
|
+
[`dad4d4aae`](https://github.com/benjie/crystal/commit/dad4d4aaee499098104841740c9049b1deb6ac5f)
|
|
284
|
+
Thanks [@benjie](https://github.com/benjie)! - Instead of passing
|
|
285
|
+
resolvedPreset to behaviors, pass Build.
|
|
286
|
+
|
|
287
|
+
- Updated dependencies
|
|
288
|
+
[[`56237691b`](https://github.com/benjie/crystal/commit/56237691bf3eed321b7159e17f36e3651356946f),
|
|
289
|
+
[`ed1982f31`](https://github.com/benjie/crystal/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
|
|
290
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
|
|
291
|
+
[`198ac74d5`](https://github.com/benjie/crystal/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25),
|
|
292
|
+
[`6878c589c`](https://github.com/benjie/crystal/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
|
|
293
|
+
[`2ac706f18`](https://github.com/benjie/crystal/commit/2ac706f18660c855fe20f460b50694fdd04a7768)]:
|
|
294
|
+
- grafast@0.0.1-alpha.9
|
|
295
|
+
- graphile-config@0.0.1-alpha.4
|
|
296
|
+
|
|
3
297
|
## 5.0.0-alpha.9
|
|
4
298
|
|
|
5
299
|
### Patch Changes
|
|
6
300
|
|
|
7
301
|
- Updated dependencies
|
|
8
|
-
[[`dd3ef599c`](https://github.com/benjie/
|
|
302
|
+
[[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
|
|
9
303
|
- grafast@0.0.1-alpha.8
|
|
10
304
|
|
|
11
305
|
## 5.0.0-alpha.8
|
|
12
306
|
|
|
13
307
|
### Patch Changes
|
|
14
308
|
|
|
15
|
-
- [#340](https://github.com/benjie/
|
|
16
|
-
[`fe9154b23`](https://github.com/benjie/
|
|
309
|
+
- [#340](https://github.com/benjie/crystal/pull/340)
|
|
310
|
+
[`fe9154b23`](https://github.com/benjie/crystal/commit/fe9154b23f6e45c56ff5827dfe758bdf4974e215)
|
|
17
311
|
Thanks [@benjie](https://github.com/benjie)! - Make Datetime RFC3339
|
|
18
312
|
compatible when a timezone is present
|
|
19
313
|
|
|
20
314
|
- Updated dependencies
|
|
21
|
-
[[`5c9d32264`](https://github.com/benjie/
|
|
22
|
-
[`2fcbe688c`](https://github.com/benjie/
|
|
23
|
-
[`3a984718a`](https://github.com/benjie/
|
|
24
|
-
[`adc7ae5e0`](https://github.com/benjie/
|
|
315
|
+
[[`5c9d32264`](https://github.com/benjie/crystal/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
|
|
316
|
+
[`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
|
|
317
|
+
[`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d),
|
|
318
|
+
[`adc7ae5e0`](https://github.com/benjie/crystal/commit/adc7ae5e002961c8b8286500527752f21139ab9e)]:
|
|
25
319
|
- grafast@0.0.1-alpha.7
|
|
26
320
|
- graphile-config@0.0.1-alpha.3
|
|
27
321
|
|
|
@@ -30,20 +324,20 @@
|
|
|
30
324
|
### Patch Changes
|
|
31
325
|
|
|
32
326
|
- Updated dependencies
|
|
33
|
-
[[`f75926f4b`](https://github.com/benjie/
|
|
327
|
+
[[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)]:
|
|
34
328
|
- grafast@0.0.1-alpha.6
|
|
35
329
|
|
|
36
330
|
## 5.0.0-alpha.6
|
|
37
331
|
|
|
38
332
|
### Patch Changes
|
|
39
333
|
|
|
40
|
-
- [`2850e4732`](https://github.com/benjie/
|
|
334
|
+
- [`2850e4732`](https://github.com/benjie/crystal/commit/2850e4732ff173347357dba048eaf3c1ef775497)
|
|
41
335
|
Thanks [@benjie](https://github.com/benjie)! - Improve the error output when
|
|
42
336
|
the schema fails to build.
|
|
43
337
|
|
|
44
338
|
- Updated dependencies
|
|
45
|
-
[[`86e503d78`](https://github.com/benjie/
|
|
46
|
-
[`24822d0dc`](https://github.com/benjie/
|
|
339
|
+
[[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
|
|
340
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
|
|
47
341
|
- grafast@0.0.1-alpha.5
|
|
48
342
|
|
|
49
343
|
## 5.0.0-alpha.5
|
|
@@ -51,15 +345,15 @@
|
|
|
51
345
|
### Patch Changes
|
|
52
346
|
|
|
53
347
|
- Updated dependencies
|
|
54
|
-
[[`45dcf3a8f`](https://github.com/benjie/
|
|
348
|
+
[[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950)]:
|
|
55
349
|
- grafast@0.0.1-alpha.4
|
|
56
350
|
|
|
57
351
|
## 5.0.0-alpha.4
|
|
58
352
|
|
|
59
353
|
### Patch Changes
|
|
60
354
|
|
|
61
|
-
- [#332](https://github.com/benjie/
|
|
62
|
-
[`faa1c9eaa`](https://github.com/benjie/
|
|
355
|
+
- [#332](https://github.com/benjie/crystal/pull/332)
|
|
356
|
+
[`faa1c9eaa`](https://github.com/benjie/crystal/commit/faa1c9eaa25cbd6f0e25635f6a100d0dc9be6106)
|
|
63
357
|
Thanks [@benjie](https://github.com/benjie)! - Adjust dependencies and
|
|
64
358
|
peerDependencies and peerDependenciesMeta.
|
|
65
359
|
|
|
@@ -67,17 +361,17 @@
|
|
|
67
361
|
|
|
68
362
|
### Patch Changes
|
|
69
363
|
|
|
70
|
-
- [`7f857950a`](https://github.com/benjie/
|
|
364
|
+
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
71
365
|
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
72
366
|
TypeScript/tslib
|
|
73
367
|
|
|
74
368
|
- Updated dependencies
|
|
75
|
-
[[`21e95326d`](https://github.com/benjie/
|
|
76
|
-
[`2389f47ec`](https://github.com/benjie/
|
|
77
|
-
[`e91ee201d`](https://github.com/benjie/
|
|
78
|
-
[`865bec590`](https://github.com/benjie/
|
|
79
|
-
[`7f857950a`](https://github.com/benjie/
|
|
80
|
-
[`d39a5d409`](https://github.com/benjie/
|
|
369
|
+
[[`21e95326d`](https://github.com/benjie/crystal/commit/21e95326d72eaad7a8860c4c21a11736191f169b),
|
|
370
|
+
[`2389f47ec`](https://github.com/benjie/crystal/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
|
|
371
|
+
[`e91ee201d`](https://github.com/benjie/crystal/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
|
|
372
|
+
[`865bec590`](https://github.com/benjie/crystal/commit/865bec5901f666e147f5d4088152d1f0d2584827),
|
|
373
|
+
[`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
|
|
374
|
+
[`d39a5d409`](https://github.com/benjie/crystal/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
|
|
81
375
|
- graphile-export@0.0.2-alpha.2
|
|
82
376
|
- grafast@0.0.1-alpha.3
|
|
83
377
|
- graphile-config@0.0.1-alpha.2
|
|
@@ -87,19 +381,19 @@
|
|
|
87
381
|
### Patch Changes
|
|
88
382
|
|
|
89
383
|
- Updated dependencies
|
|
90
|
-
[[`3df3f1726`](https://github.com/benjie/
|
|
384
|
+
[[`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
|
|
91
385
|
- grafast@0.0.1-alpha.2
|
|
92
386
|
|
|
93
387
|
## 5.0.0-alpha.1
|
|
94
388
|
|
|
95
389
|
### Patch Changes
|
|
96
390
|
|
|
97
|
-
- [`759ad403d`](https://github.com/benjie/
|
|
391
|
+
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
98
392
|
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
99
393
|
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
100
394
|
|
|
101
395
|
- Updated dependencies
|
|
102
|
-
[[`759ad403d`](https://github.com/benjie/
|
|
396
|
+
[[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
|
|
103
397
|
- grafast@0.0.1-alpha.1
|
|
104
398
|
- graphile-config@0.0.1-alpha.1
|
|
105
399
|
- graphile-export@0.0.2-alpha.1
|
|
@@ -109,8 +403,8 @@
|
|
|
109
403
|
### Patch Changes
|
|
110
404
|
|
|
111
405
|
- Updated dependencies
|
|
112
|
-
[[`8d270ead3`](https://github.com/benjie/
|
|
113
|
-
[`b4eaf89f4`](https://github.com/benjie/
|
|
406
|
+
[[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf),
|
|
407
|
+
[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
|
|
114
408
|
- grafast@0.0.1-1.3
|
|
115
409
|
- graphile-config@0.0.1-1.2
|
|
116
410
|
|
|
@@ -119,29 +413,29 @@
|
|
|
119
413
|
### Patch Changes
|
|
120
414
|
|
|
121
415
|
- Updated dependencies
|
|
122
|
-
[[`7dcb0e008`](https://github.com/benjie/
|
|
416
|
+
[[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
123
417
|
- grafast@0.0.1-1.2
|
|
124
418
|
|
|
125
419
|
## 5.0.0-1.1
|
|
126
420
|
|
|
127
421
|
### Patch Changes
|
|
128
422
|
|
|
129
|
-
- [#287](https://github.com/benjie/
|
|
130
|
-
[`c5d89d705`](https://github.com/benjie/
|
|
423
|
+
- [#287](https://github.com/benjie/crystal/pull/287)
|
|
424
|
+
[`c5d89d705`](https://github.com/benjie/crystal/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07)
|
|
131
425
|
Thanks [@benjie](https://github.com/benjie)! - Fix the type definition of
|
|
132
426
|
GatherHooks to allow plugins to indicate individual gather hook ordering.
|
|
133
427
|
|
|
134
|
-
- [#260](https://github.com/benjie/
|
|
135
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
428
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
429
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
136
430
|
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
137
431
|
|
|
138
|
-
- [#265](https://github.com/benjie/
|
|
139
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
432
|
+
- [#265](https://github.com/benjie/crystal/pull/265)
|
|
433
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8)
|
|
140
434
|
Thanks [@benjie](https://github.com/benjie)! - 'extensions.graphile' is now
|
|
141
435
|
'extensions.grafast'
|
|
142
436
|
|
|
143
|
-
- [#271](https://github.com/benjie/
|
|
144
|
-
[`261eb520b`](https://github.com/benjie/
|
|
437
|
+
- [#271](https://github.com/benjie/crystal/pull/271)
|
|
438
|
+
[`261eb520b`](https://github.com/benjie/crystal/commit/261eb520b33fe3673fe3a7712085e50291aed1e5)
|
|
145
439
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 **RENAME ALL THE THINGS**
|
|
146
440
|
|
|
147
441
|
The term 'source' was overloaded, and 'configs' was too vague, and
|
|
@@ -169,11 +463,11 @@
|
|
|
169
463
|
`helpers.pgIntrospection.getExecutorForService`
|
|
170
464
|
|
|
171
465
|
- Updated dependencies
|
|
172
|
-
[[`ae304b33c`](https://github.com/benjie/
|
|
173
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
174
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
175
|
-
[`0f4709356`](https://github.com/benjie/
|
|
176
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
466
|
+
[[`ae304b33c`](https://github.com/benjie/crystal/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
467
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
468
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
469
|
+
[`0f4709356`](https://github.com/benjie/crystal/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
470
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
|
|
177
471
|
- grafast@0.0.1-1.1
|
|
178
472
|
- graphile-config@0.0.1-1.1
|
|
179
473
|
- graphile-export@0.0.2-1.1
|
|
@@ -183,35 +477,35 @@
|
|
|
183
477
|
### Patch Changes
|
|
184
478
|
|
|
185
479
|
- Updated dependencies
|
|
186
|
-
[[`89d16c972`](https://github.com/benjie/
|
|
187
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
188
|
-
[`9e7183c02`](https://github.com/benjie/
|
|
480
|
+
[[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
481
|
+
[`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
482
|
+
[`9e7183c02`](https://github.com/benjie/crystal/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83)]:
|
|
189
483
|
- grafast@0.0.1-0.23
|
|
190
484
|
|
|
191
485
|
## 5.0.0-0.28
|
|
192
486
|
|
|
193
487
|
### Patch Changes
|
|
194
488
|
|
|
195
|
-
- [#233](https://github.com/benjie/
|
|
196
|
-
[`a50bc5be4`](https://github.com/benjie/
|
|
489
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
490
|
+
[`a50bc5be4`](https://github.com/benjie/crystal/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8)
|
|
197
491
|
Thanks [@benjie](https://github.com/benjie)! - Introduce new
|
|
198
492
|
GraphQLObjectType_fields_field_args_arg and
|
|
199
493
|
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
|
|
200
494
|
ordering issues.
|
|
201
495
|
|
|
202
|
-
- [#233](https://github.com/benjie/
|
|
203
|
-
[`6fb7ef449`](https://github.com/benjie/
|
|
496
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
497
|
+
[`6fb7ef449`](https://github.com/benjie/crystal/commit/6fb7ef4494b4f61b3b1aa36642e51eb9ec99a941)
|
|
204
498
|
Thanks [@benjie](https://github.com/benjie)! - Also trim the empty
|
|
205
499
|
descriptions from interface fields/args in addition to all the existing places
|
|
206
500
|
empty descriptions are trimmed.
|
|
207
501
|
|
|
208
|
-
- [#233](https://github.com/benjie/
|
|
209
|
-
[`11e7c12c5`](https://github.com/benjie/
|
|
502
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
503
|
+
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
210
504
|
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
211
505
|
ordering code which lead to heisenbugs.
|
|
212
506
|
|
|
213
507
|
- Updated dependencies
|
|
214
|
-
[[`11e7c12c5`](https://github.com/benjie/
|
|
508
|
+
[[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
|
|
215
509
|
- graphile-config@0.0.1-0.6
|
|
216
510
|
- grafast@0.0.1-0.22
|
|
217
511
|
|
|
@@ -219,13 +513,13 @@
|
|
|
219
513
|
|
|
220
514
|
### Patch Changes
|
|
221
515
|
|
|
222
|
-
- [#229](https://github.com/benjie/
|
|
223
|
-
[`b9a2236d4`](https://github.com/benjie/
|
|
516
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
517
|
+
[`b9a2236d4`](https://github.com/benjie/crystal/commit/b9a2236d43cc92e06085298e379de71f7fdedcb7)
|
|
224
518
|
Thanks [@benjie](https://github.com/benjie)! - Remove deprecated
|
|
225
519
|
'subscriptions' option
|
|
226
520
|
|
|
227
521
|
- Updated dependencies
|
|
228
|
-
[[`f5a04cf66`](https://github.com/benjie/
|
|
522
|
+
[[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa)]:
|
|
229
523
|
- grafast@0.0.1-0.21
|
|
230
524
|
|
|
231
525
|
## 5.0.0-0.26
|
|
@@ -240,15 +534,15 @@
|
|
|
240
534
|
### Patch Changes
|
|
241
535
|
|
|
242
536
|
- Updated dependencies
|
|
243
|
-
[[`397e8bb40`](https://github.com/benjie/
|
|
537
|
+
[[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
244
538
|
- grafast@0.0.1-0.19
|
|
245
539
|
|
|
246
540
|
## 5.0.0-0.24
|
|
247
541
|
|
|
248
542
|
### Patch Changes
|
|
249
543
|
|
|
250
|
-
- [#220](https://github.com/benjie/
|
|
251
|
-
[`2abc58cf6`](https://github.com/benjie/
|
|
544
|
+
- [#220](https://github.com/benjie/crystal/pull/220)
|
|
545
|
+
[`2abc58cf6`](https://github.com/benjie/crystal/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245)
|
|
252
546
|
Thanks [@benjie](https://github.com/benjie)! - Convert a few more more options
|
|
253
547
|
from V4 to V5.
|
|
254
548
|
|
|
@@ -257,23 +551,23 @@
|
|
|
257
551
|
|
|
258
552
|
Add schema exporting.
|
|
259
553
|
|
|
260
|
-
- [#223](https://github.com/benjie/
|
|
261
|
-
[`df8c06657`](https://github.com/benjie/
|
|
554
|
+
- [#223](https://github.com/benjie/crystal/pull/223)
|
|
555
|
+
[`df8c06657`](https://github.com/benjie/crystal/commit/df8c06657e6f5a7d1444d86dc32fd750d1433223)
|
|
262
556
|
Thanks [@benjie](https://github.com/benjie)! - `graphile-utils` now includes
|
|
263
557
|
the `makeAddPgTableConditionPlugin` and `makeAddPgTableOrderByPlugin`
|
|
264
558
|
generators, freshly ported from V4. The signatures of these functions has
|
|
265
559
|
changed slightly, but the functionality is broadly the same.
|
|
266
560
|
- Updated dependencies
|
|
267
|
-
[[`4c2b7d1ca`](https://github.com/benjie/
|
|
268
|
-
[`c8a56cdc8`](https://github.com/benjie/
|
|
561
|
+
[[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
562
|
+
[`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c)]:
|
|
269
563
|
- grafast@0.0.1-0.18
|
|
270
564
|
|
|
271
565
|
## 5.0.0-0.23
|
|
272
566
|
|
|
273
567
|
### Patch Changes
|
|
274
568
|
|
|
275
|
-
- [#219](https://github.com/benjie/
|
|
276
|
-
[`b58f5dfac`](https://github.com/benjie/
|
|
569
|
+
- [#219](https://github.com/benjie/crystal/pull/219)
|
|
570
|
+
[`b58f5dfac`](https://github.com/benjie/crystal/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)
|
|
277
571
|
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
278
572
|
`GraphileBuild.GraphileBuildGatherOptions` to `GraphileBuild.GatherOptions`.
|
|
279
573
|
Rename `GraphileBuild.GraphileBuildInflectionOptions` to
|
|
@@ -293,49 +587,49 @@
|
|
|
293
587
|
### Patch Changes
|
|
294
588
|
|
|
295
589
|
- Updated dependencies
|
|
296
|
-
[[`df89aba52`](https://github.com/benjie/
|
|
590
|
+
[[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
|
|
297
591
|
- grafast@0.0.1-0.16
|
|
298
592
|
|
|
299
593
|
## 5.0.0-0.20
|
|
300
594
|
|
|
301
595
|
### Patch Changes
|
|
302
596
|
|
|
303
|
-
- [#210](https://github.com/benjie/
|
|
304
|
-
[`2fb5001b4`](https://github.com/benjie/
|
|
597
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
598
|
+
[`2fb5001b4`](https://github.com/benjie/crystal/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d)
|
|
305
599
|
Thanks [@benjie](https://github.com/benjie)! - retryOnInitFail implemented,
|
|
306
600
|
and bug in introspection cache on error resolved.
|
|
307
601
|
|
|
308
|
-
- [#210](https://github.com/benjie/
|
|
309
|
-
[`b523118fe`](https://github.com/benjie/
|
|
602
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
603
|
+
[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)
|
|
310
604
|
Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
|
|
311
605
|
Grafast.Context throughout.
|
|
312
606
|
|
|
313
607
|
- Updated dependencies
|
|
314
|
-
[[`b523118fe`](https://github.com/benjie/
|
|
608
|
+
[[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
|
|
315
609
|
- grafast@0.0.1-0.15
|
|
316
610
|
|
|
317
611
|
## 5.0.0-0.19
|
|
318
612
|
|
|
319
613
|
### Patch Changes
|
|
320
614
|
|
|
321
|
-
- [#206](https://github.com/benjie/
|
|
322
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
615
|
+
- [#206](https://github.com/benjie/crystal/pull/206)
|
|
616
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
|
|
323
617
|
Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
|
|
324
618
|
errors by default; trusted errors are constructed via GraphQL's GraphQLError
|
|
325
619
|
or Grafast's SafeError.
|
|
326
620
|
- Updated dependencies
|
|
327
|
-
[[`d76043453`](https://github.com/benjie/
|
|
328
|
-
[`afa0ea5f6`](https://github.com/benjie/
|
|
329
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
330
|
-
[`384b3594f`](https://github.com/benjie/
|
|
621
|
+
[[`d76043453`](https://github.com/benjie/crystal/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
622
|
+
[`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
623
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
624
|
+
[`384b3594f`](https://github.com/benjie/crystal/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
331
625
|
- grafast@0.0.1-0.14
|
|
332
626
|
|
|
333
627
|
## 5.0.0-0.18
|
|
334
628
|
|
|
335
629
|
### Patch Changes
|
|
336
630
|
|
|
337
|
-
- [#201](https://github.com/benjie/
|
|
338
|
-
[`dca706ad9`](https://github.com/benjie/
|
|
631
|
+
- [#201](https://github.com/benjie/crystal/pull/201)
|
|
632
|
+
[`dca706ad9`](https://github.com/benjie/crystal/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)
|
|
339
633
|
Thanks [@benjie](https://github.com/benjie)! - JSON now works how most users
|
|
340
634
|
would expect it to.
|
|
341
635
|
|
|
@@ -350,14 +644,14 @@
|
|
|
350
644
|
|
|
351
645
|
### Patch Changes
|
|
352
646
|
|
|
353
|
-
- [#198](https://github.com/benjie/
|
|
354
|
-
[`a1158d83e`](https://github.com/benjie/
|
|
647
|
+
- [#198](https://github.com/benjie/crystal/pull/198)
|
|
648
|
+
[`a1158d83e`](https://github.com/benjie/crystal/commit/a1158d83e2d26f7da0182ec2b651f7f1ec202f14)
|
|
355
649
|
Thanks [@benjie](https://github.com/benjie)! - Gather phase initialState may
|
|
356
650
|
now be asynchronous. If initialCache returns a promise, a helpful error
|
|
357
651
|
message with advice is now raised.
|
|
358
652
|
- Updated dependencies
|
|
359
|
-
[[`4f5d5bec7`](https://github.com/benjie/
|
|
360
|
-
[`25f5a6cbf`](https://github.com/benjie/
|
|
653
|
+
[[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
654
|
+
[`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
361
655
|
- grafast@0.0.1-0.12
|
|
362
656
|
|
|
363
657
|
## 5.0.0-0.15
|
|
@@ -366,8 +660,8 @@
|
|
|
366
660
|
|
|
367
661
|
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
368
662
|
|
|
369
|
-
- [#190](https://github.com/benjie/
|
|
370
|
-
[`652cf1073`](https://github.com/benjie/
|
|
663
|
+
- [#190](https://github.com/benjie/crystal/pull/190)
|
|
664
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
371
665
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
372
666
|
types and postgres configuration:
|
|
373
667
|
|
|
@@ -395,8 +689,8 @@
|
|
|
395
689
|
this if appropriate
|
|
396
690
|
|
|
397
691
|
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
398
|
-
[`4783bdd7c`](https://github.com/benjie/
|
|
399
|
-
[`652cf1073`](https://github.com/benjie/
|
|
692
|
+
[`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
693
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)]:
|
|
400
694
|
- grafast@0.0.1-0.11
|
|
401
695
|
- graphile-config@0.0.1-0.5
|
|
402
696
|
|
|
@@ -426,7 +720,7 @@
|
|
|
426
720
|
### Patch Changes
|
|
427
721
|
|
|
428
722
|
- Updated dependencies
|
|
429
|
-
[[`842f6ccbb`](https://github.com/benjie/
|
|
723
|
+
[[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
|
|
430
724
|
- graphile-config@0.0.1-0.4
|
|
431
725
|
- grafast@0.0.1-0.10
|
|
432
726
|
|
|
@@ -434,8 +728,8 @@
|
|
|
434
728
|
|
|
435
729
|
### Patch Changes
|
|
436
730
|
|
|
437
|
-
- [#183](https://github.com/benjie/
|
|
438
|
-
[`3eb9da95e`](https://github.com/benjie/
|
|
731
|
+
- [#183](https://github.com/benjie/crystal/pull/183)
|
|
732
|
+
[`3eb9da95e`](https://github.com/benjie/crystal/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)
|
|
439
733
|
Thanks [@benjie](https://github.com/benjie)! - Fix potential construction loop
|
|
440
734
|
on failure to construct a type
|
|
441
735
|
|
|
@@ -443,13 +737,13 @@
|
|
|
443
737
|
|
|
444
738
|
### Patch Changes
|
|
445
739
|
|
|
446
|
-
- [#176](https://github.com/benjie/
|
|
447
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
740
|
+
- [#176](https://github.com/benjie/crystal/pull/176)
|
|
741
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
|
|
448
742
|
Thanks [@benjie](https://github.com/benjie)! - Fix issue with plugin
|
|
449
743
|
versioning. Add more TSDoc comments. New getTerminalWidth() helper.
|
|
450
744
|
- Updated dependencies
|
|
451
|
-
[[`19e2961de`](https://github.com/benjie/
|
|
452
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
745
|
+
[[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
|
|
746
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
453
747
|
- graphile-config@0.0.1-0.3
|
|
454
748
|
- grafast@0.0.1-0.9
|
|
455
749
|
|
|
@@ -458,14 +752,14 @@
|
|
|
458
752
|
### Patch Changes
|
|
459
753
|
|
|
460
754
|
- Updated dependencies
|
|
461
|
-
[[`208166269`](https://github.com/benjie/
|
|
755
|
+
[[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
462
756
|
- grafast@0.0.1-0.8
|
|
463
757
|
|
|
464
758
|
## 5.0.0-0.9
|
|
465
759
|
|
|
466
760
|
### Patch Changes
|
|
467
761
|
|
|
468
|
-
- [`6ebe3a13e`](https://github.com/benjie/
|
|
762
|
+
- [`6ebe3a13e`](https://github.com/benjie/crystal/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a)
|
|
469
763
|
Thanks [@benjie](https://github.com/benjie)! - Enable omitting update/delete
|
|
470
764
|
mutations using behaviors on unique constraints.
|
|
471
765
|
|
|
@@ -541,12 +835,12 @@
|
|
|
541
835
|
|
|
542
836
|
### Patch Changes
|
|
543
837
|
|
|
544
|
-
- [#125](https://github.com/benjie/
|
|
545
|
-
[`91f2256b3`](https://github.com/benjie/
|
|
838
|
+
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
839
|
+
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
546
840
|
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|
|
547
841
|
|
|
548
842
|
- Updated dependencies
|
|
549
|
-
[[`91f2256b3`](https://github.com/benjie/
|
|
843
|
+
[[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
|
|
550
844
|
- @graphile/lru@5.0.0-0.1
|
|
551
845
|
- grafast@0.0.1-0.0
|
|
552
846
|
- graphile-config@0.0.1-0.0
|