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