graphile-build 5.0.0-alpha.9 → 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 +382 -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,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
|
+
|
|
3
289
|
## 5.0.0-alpha.9
|
|
4
290
|
|
|
5
291
|
### Patch Changes
|
|
6
292
|
|
|
7
293
|
- Updated dependencies
|
|
8
|
-
[[`dd3ef599c`](https://github.com/benjie/
|
|
294
|
+
[[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
|
|
9
295
|
- grafast@0.0.1-alpha.8
|
|
10
296
|
|
|
11
297
|
## 5.0.0-alpha.8
|
|
12
298
|
|
|
13
299
|
### Patch Changes
|
|
14
300
|
|
|
15
|
-
- [#340](https://github.com/benjie/
|
|
16
|
-
[`fe9154b23`](https://github.com/benjie/
|
|
301
|
+
- [#340](https://github.com/benjie/crystal/pull/340)
|
|
302
|
+
[`fe9154b23`](https://github.com/benjie/crystal/commit/fe9154b23f6e45c56ff5827dfe758bdf4974e215)
|
|
17
303
|
Thanks [@benjie](https://github.com/benjie)! - Make Datetime RFC3339
|
|
18
304
|
compatible when a timezone is present
|
|
19
305
|
|
|
20
306
|
- 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/
|
|
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)]:
|
|
25
311
|
- grafast@0.0.1-alpha.7
|
|
26
312
|
- graphile-config@0.0.1-alpha.3
|
|
27
313
|
|
|
@@ -30,20 +316,20 @@
|
|
|
30
316
|
### Patch Changes
|
|
31
317
|
|
|
32
318
|
- Updated dependencies
|
|
33
|
-
[[`f75926f4b`](https://github.com/benjie/
|
|
319
|
+
[[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)]:
|
|
34
320
|
- grafast@0.0.1-alpha.6
|
|
35
321
|
|
|
36
322
|
## 5.0.0-alpha.6
|
|
37
323
|
|
|
38
324
|
### Patch Changes
|
|
39
325
|
|
|
40
|
-
- [`2850e4732`](https://github.com/benjie/
|
|
326
|
+
- [`2850e4732`](https://github.com/benjie/crystal/commit/2850e4732ff173347357dba048eaf3c1ef775497)
|
|
41
327
|
Thanks [@benjie](https://github.com/benjie)! - Improve the error output when
|
|
42
328
|
the schema fails to build.
|
|
43
329
|
|
|
44
330
|
- Updated dependencies
|
|
45
|
-
[[`86e503d78`](https://github.com/benjie/
|
|
46
|
-
[`24822d0dc`](https://github.com/benjie/
|
|
331
|
+
[[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
|
|
332
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
|
|
47
333
|
- grafast@0.0.1-alpha.5
|
|
48
334
|
|
|
49
335
|
## 5.0.0-alpha.5
|
|
@@ -51,15 +337,15 @@
|
|
|
51
337
|
### Patch Changes
|
|
52
338
|
|
|
53
339
|
- Updated dependencies
|
|
54
|
-
[[`45dcf3a8f`](https://github.com/benjie/
|
|
340
|
+
[[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950)]:
|
|
55
341
|
- grafast@0.0.1-alpha.4
|
|
56
342
|
|
|
57
343
|
## 5.0.0-alpha.4
|
|
58
344
|
|
|
59
345
|
### Patch Changes
|
|
60
346
|
|
|
61
|
-
- [#332](https://github.com/benjie/
|
|
62
|
-
[`faa1c9eaa`](https://github.com/benjie/
|
|
347
|
+
- [#332](https://github.com/benjie/crystal/pull/332)
|
|
348
|
+
[`faa1c9eaa`](https://github.com/benjie/crystal/commit/faa1c9eaa25cbd6f0e25635f6a100d0dc9be6106)
|
|
63
349
|
Thanks [@benjie](https://github.com/benjie)! - Adjust dependencies and
|
|
64
350
|
peerDependencies and peerDependenciesMeta.
|
|
65
351
|
|
|
@@ -67,17 +353,17 @@
|
|
|
67
353
|
|
|
68
354
|
### Patch Changes
|
|
69
355
|
|
|
70
|
-
- [`7f857950a`](https://github.com/benjie/
|
|
356
|
+
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
71
357
|
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
72
358
|
TypeScript/tslib
|
|
73
359
|
|
|
74
360
|
- 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/
|
|
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)]:
|
|
81
367
|
- graphile-export@0.0.2-alpha.2
|
|
82
368
|
- grafast@0.0.1-alpha.3
|
|
83
369
|
- graphile-config@0.0.1-alpha.2
|
|
@@ -87,19 +373,19 @@
|
|
|
87
373
|
### Patch Changes
|
|
88
374
|
|
|
89
375
|
- Updated dependencies
|
|
90
|
-
[[`3df3f1726`](https://github.com/benjie/
|
|
376
|
+
[[`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
|
|
91
377
|
- grafast@0.0.1-alpha.2
|
|
92
378
|
|
|
93
379
|
## 5.0.0-alpha.1
|
|
94
380
|
|
|
95
381
|
### Patch Changes
|
|
96
382
|
|
|
97
|
-
- [`759ad403d`](https://github.com/benjie/
|
|
383
|
+
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
98
384
|
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
99
385
|
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
100
386
|
|
|
101
387
|
- Updated dependencies
|
|
102
|
-
[[`759ad403d`](https://github.com/benjie/
|
|
388
|
+
[[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
|
|
103
389
|
- grafast@0.0.1-alpha.1
|
|
104
390
|
- graphile-config@0.0.1-alpha.1
|
|
105
391
|
- graphile-export@0.0.2-alpha.1
|
|
@@ -109,8 +395,8 @@
|
|
|
109
395
|
### Patch Changes
|
|
110
396
|
|
|
111
397
|
- Updated dependencies
|
|
112
|
-
[[`8d270ead3`](https://github.com/benjie/
|
|
113
|
-
[`b4eaf89f4`](https://github.com/benjie/
|
|
398
|
+
[[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf),
|
|
399
|
+
[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
|
|
114
400
|
- grafast@0.0.1-1.3
|
|
115
401
|
- graphile-config@0.0.1-1.2
|
|
116
402
|
|
|
@@ -119,29 +405,29 @@
|
|
|
119
405
|
### Patch Changes
|
|
120
406
|
|
|
121
407
|
- Updated dependencies
|
|
122
|
-
[[`7dcb0e008`](https://github.com/benjie/
|
|
408
|
+
[[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
123
409
|
- grafast@0.0.1-1.2
|
|
124
410
|
|
|
125
411
|
## 5.0.0-1.1
|
|
126
412
|
|
|
127
413
|
### Patch Changes
|
|
128
414
|
|
|
129
|
-
- [#287](https://github.com/benjie/
|
|
130
|
-
[`c5d89d705`](https://github.com/benjie/
|
|
415
|
+
- [#287](https://github.com/benjie/crystal/pull/287)
|
|
416
|
+
[`c5d89d705`](https://github.com/benjie/crystal/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07)
|
|
131
417
|
Thanks [@benjie](https://github.com/benjie)! - Fix the type definition of
|
|
132
418
|
GatherHooks to allow plugins to indicate individual gather hook ordering.
|
|
133
419
|
|
|
134
|
-
- [#260](https://github.com/benjie/
|
|
135
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
420
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
421
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
136
422
|
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
137
423
|
|
|
138
|
-
- [#265](https://github.com/benjie/
|
|
139
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
424
|
+
- [#265](https://github.com/benjie/crystal/pull/265)
|
|
425
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8)
|
|
140
426
|
Thanks [@benjie](https://github.com/benjie)! - 'extensions.graphile' is now
|
|
141
427
|
'extensions.grafast'
|
|
142
428
|
|
|
143
|
-
- [#271](https://github.com/benjie/
|
|
144
|
-
[`261eb520b`](https://github.com/benjie/
|
|
429
|
+
- [#271](https://github.com/benjie/crystal/pull/271)
|
|
430
|
+
[`261eb520b`](https://github.com/benjie/crystal/commit/261eb520b33fe3673fe3a7712085e50291aed1e5)
|
|
145
431
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 **RENAME ALL THE THINGS**
|
|
146
432
|
|
|
147
433
|
The term 'source' was overloaded, and 'configs' was too vague, and
|
|
@@ -169,11 +455,11 @@
|
|
|
169
455
|
`helpers.pgIntrospection.getExecutorForService`
|
|
170
456
|
|
|
171
457
|
- 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/
|
|
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)]:
|
|
177
463
|
- grafast@0.0.1-1.1
|
|
178
464
|
- graphile-config@0.0.1-1.1
|
|
179
465
|
- graphile-export@0.0.2-1.1
|
|
@@ -183,35 +469,35 @@
|
|
|
183
469
|
### Patch Changes
|
|
184
470
|
|
|
185
471
|
- Updated dependencies
|
|
186
|
-
[[`89d16c972`](https://github.com/benjie/
|
|
187
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
188
|
-
[`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)]:
|
|
189
475
|
- grafast@0.0.1-0.23
|
|
190
476
|
|
|
191
477
|
## 5.0.0-0.28
|
|
192
478
|
|
|
193
479
|
### Patch Changes
|
|
194
480
|
|
|
195
|
-
- [#233](https://github.com/benjie/
|
|
196
|
-
[`a50bc5be4`](https://github.com/benjie/
|
|
481
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
482
|
+
[`a50bc5be4`](https://github.com/benjie/crystal/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8)
|
|
197
483
|
Thanks [@benjie](https://github.com/benjie)! - Introduce new
|
|
198
484
|
GraphQLObjectType_fields_field_args_arg and
|
|
199
485
|
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
|
|
200
486
|
ordering issues.
|
|
201
487
|
|
|
202
|
-
- [#233](https://github.com/benjie/
|
|
203
|
-
[`6fb7ef449`](https://github.com/benjie/
|
|
488
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
489
|
+
[`6fb7ef449`](https://github.com/benjie/crystal/commit/6fb7ef4494b4f61b3b1aa36642e51eb9ec99a941)
|
|
204
490
|
Thanks [@benjie](https://github.com/benjie)! - Also trim the empty
|
|
205
491
|
descriptions from interface fields/args in addition to all the existing places
|
|
206
492
|
empty descriptions are trimmed.
|
|
207
493
|
|
|
208
|
-
- [#233](https://github.com/benjie/
|
|
209
|
-
[`11e7c12c5`](https://github.com/benjie/
|
|
494
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
495
|
+
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
210
496
|
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
211
497
|
ordering code which lead to heisenbugs.
|
|
212
498
|
|
|
213
499
|
- Updated dependencies
|
|
214
|
-
[[`11e7c12c5`](https://github.com/benjie/
|
|
500
|
+
[[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
|
|
215
501
|
- graphile-config@0.0.1-0.6
|
|
216
502
|
- grafast@0.0.1-0.22
|
|
217
503
|
|
|
@@ -219,13 +505,13 @@
|
|
|
219
505
|
|
|
220
506
|
### Patch Changes
|
|
221
507
|
|
|
222
|
-
- [#229](https://github.com/benjie/
|
|
223
|
-
[`b9a2236d4`](https://github.com/benjie/
|
|
508
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
509
|
+
[`b9a2236d4`](https://github.com/benjie/crystal/commit/b9a2236d43cc92e06085298e379de71f7fdedcb7)
|
|
224
510
|
Thanks [@benjie](https://github.com/benjie)! - Remove deprecated
|
|
225
511
|
'subscriptions' option
|
|
226
512
|
|
|
227
513
|
- Updated dependencies
|
|
228
|
-
[[`f5a04cf66`](https://github.com/benjie/
|
|
514
|
+
[[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa)]:
|
|
229
515
|
- grafast@0.0.1-0.21
|
|
230
516
|
|
|
231
517
|
## 5.0.0-0.26
|
|
@@ -240,15 +526,15 @@
|
|
|
240
526
|
### Patch Changes
|
|
241
527
|
|
|
242
528
|
- Updated dependencies
|
|
243
|
-
[[`397e8bb40`](https://github.com/benjie/
|
|
529
|
+
[[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
244
530
|
- grafast@0.0.1-0.19
|
|
245
531
|
|
|
246
532
|
## 5.0.0-0.24
|
|
247
533
|
|
|
248
534
|
### Patch Changes
|
|
249
535
|
|
|
250
|
-
- [#220](https://github.com/benjie/
|
|
251
|
-
[`2abc58cf6`](https://github.com/benjie/
|
|
536
|
+
- [#220](https://github.com/benjie/crystal/pull/220)
|
|
537
|
+
[`2abc58cf6`](https://github.com/benjie/crystal/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245)
|
|
252
538
|
Thanks [@benjie](https://github.com/benjie)! - Convert a few more more options
|
|
253
539
|
from V4 to V5.
|
|
254
540
|
|
|
@@ -257,23 +543,23 @@
|
|
|
257
543
|
|
|
258
544
|
Add schema exporting.
|
|
259
545
|
|
|
260
|
-
- [#223](https://github.com/benjie/
|
|
261
|
-
[`df8c06657`](https://github.com/benjie/
|
|
546
|
+
- [#223](https://github.com/benjie/crystal/pull/223)
|
|
547
|
+
[`df8c06657`](https://github.com/benjie/crystal/commit/df8c06657e6f5a7d1444d86dc32fd750d1433223)
|
|
262
548
|
Thanks [@benjie](https://github.com/benjie)! - `graphile-utils` now includes
|
|
263
549
|
the `makeAddPgTableConditionPlugin` and `makeAddPgTableOrderByPlugin`
|
|
264
550
|
generators, freshly ported from V4. The signatures of these functions has
|
|
265
551
|
changed slightly, but the functionality is broadly the same.
|
|
266
552
|
- Updated dependencies
|
|
267
|
-
[[`4c2b7d1ca`](https://github.com/benjie/
|
|
268
|
-
[`c8a56cdc8`](https://github.com/benjie/
|
|
553
|
+
[[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
554
|
+
[`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c)]:
|
|
269
555
|
- grafast@0.0.1-0.18
|
|
270
556
|
|
|
271
557
|
## 5.0.0-0.23
|
|
272
558
|
|
|
273
559
|
### Patch Changes
|
|
274
560
|
|
|
275
|
-
- [#219](https://github.com/benjie/
|
|
276
|
-
[`b58f5dfac`](https://github.com/benjie/
|
|
561
|
+
- [#219](https://github.com/benjie/crystal/pull/219)
|
|
562
|
+
[`b58f5dfac`](https://github.com/benjie/crystal/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)
|
|
277
563
|
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
278
564
|
`GraphileBuild.GraphileBuildGatherOptions` to `GraphileBuild.GatherOptions`.
|
|
279
565
|
Rename `GraphileBuild.GraphileBuildInflectionOptions` to
|
|
@@ -293,49 +579,49 @@
|
|
|
293
579
|
### Patch Changes
|
|
294
580
|
|
|
295
581
|
- Updated dependencies
|
|
296
|
-
[[`df89aba52`](https://github.com/benjie/
|
|
582
|
+
[[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
|
|
297
583
|
- grafast@0.0.1-0.16
|
|
298
584
|
|
|
299
585
|
## 5.0.0-0.20
|
|
300
586
|
|
|
301
587
|
### Patch Changes
|
|
302
588
|
|
|
303
|
-
- [#210](https://github.com/benjie/
|
|
304
|
-
[`2fb5001b4`](https://github.com/benjie/
|
|
589
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
590
|
+
[`2fb5001b4`](https://github.com/benjie/crystal/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d)
|
|
305
591
|
Thanks [@benjie](https://github.com/benjie)! - retryOnInitFail implemented,
|
|
306
592
|
and bug in introspection cache on error resolved.
|
|
307
593
|
|
|
308
|
-
- [#210](https://github.com/benjie/
|
|
309
|
-
[`b523118fe`](https://github.com/benjie/
|
|
594
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
595
|
+
[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)
|
|
310
596
|
Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
|
|
311
597
|
Grafast.Context throughout.
|
|
312
598
|
|
|
313
599
|
- Updated dependencies
|
|
314
|
-
[[`b523118fe`](https://github.com/benjie/
|
|
600
|
+
[[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
|
|
315
601
|
- grafast@0.0.1-0.15
|
|
316
602
|
|
|
317
603
|
## 5.0.0-0.19
|
|
318
604
|
|
|
319
605
|
### Patch Changes
|
|
320
606
|
|
|
321
|
-
- [#206](https://github.com/benjie/
|
|
322
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
607
|
+
- [#206](https://github.com/benjie/crystal/pull/206)
|
|
608
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
|
|
323
609
|
Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
|
|
324
610
|
errors by default; trusted errors are constructed via GraphQL's GraphQLError
|
|
325
611
|
or Grafast's SafeError.
|
|
326
612
|
- 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/
|
|
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)]:
|
|
331
617
|
- grafast@0.0.1-0.14
|
|
332
618
|
|
|
333
619
|
## 5.0.0-0.18
|
|
334
620
|
|
|
335
621
|
### Patch Changes
|
|
336
622
|
|
|
337
|
-
- [#201](https://github.com/benjie/
|
|
338
|
-
[`dca706ad9`](https://github.com/benjie/
|
|
623
|
+
- [#201](https://github.com/benjie/crystal/pull/201)
|
|
624
|
+
[`dca706ad9`](https://github.com/benjie/crystal/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)
|
|
339
625
|
Thanks [@benjie](https://github.com/benjie)! - JSON now works how most users
|
|
340
626
|
would expect it to.
|
|
341
627
|
|
|
@@ -350,14 +636,14 @@
|
|
|
350
636
|
|
|
351
637
|
### Patch Changes
|
|
352
638
|
|
|
353
|
-
- [#198](https://github.com/benjie/
|
|
354
|
-
[`a1158d83e`](https://github.com/benjie/
|
|
639
|
+
- [#198](https://github.com/benjie/crystal/pull/198)
|
|
640
|
+
[`a1158d83e`](https://github.com/benjie/crystal/commit/a1158d83e2d26f7da0182ec2b651f7f1ec202f14)
|
|
355
641
|
Thanks [@benjie](https://github.com/benjie)! - Gather phase initialState may
|
|
356
642
|
now be asynchronous. If initialCache returns a promise, a helpful error
|
|
357
643
|
message with advice is now raised.
|
|
358
644
|
- Updated dependencies
|
|
359
|
-
[[`4f5d5bec7`](https://github.com/benjie/
|
|
360
|
-
[`25f5a6cbf`](https://github.com/benjie/
|
|
645
|
+
[[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
646
|
+
[`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
361
647
|
- grafast@0.0.1-0.12
|
|
362
648
|
|
|
363
649
|
## 5.0.0-0.15
|
|
@@ -366,8 +652,8 @@
|
|
|
366
652
|
|
|
367
653
|
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
368
654
|
|
|
369
|
-
- [#190](https://github.com/benjie/
|
|
370
|
-
[`652cf1073`](https://github.com/benjie/
|
|
655
|
+
- [#190](https://github.com/benjie/crystal/pull/190)
|
|
656
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
371
657
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
372
658
|
types and postgres configuration:
|
|
373
659
|
|
|
@@ -395,8 +681,8 @@
|
|
|
395
681
|
this if appropriate
|
|
396
682
|
|
|
397
683
|
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
398
|
-
[`4783bdd7c`](https://github.com/benjie/
|
|
399
|
-
[`652cf1073`](https://github.com/benjie/
|
|
684
|
+
[`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
685
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)]:
|
|
400
686
|
- grafast@0.0.1-0.11
|
|
401
687
|
- graphile-config@0.0.1-0.5
|
|
402
688
|
|
|
@@ -426,7 +712,7 @@
|
|
|
426
712
|
### Patch Changes
|
|
427
713
|
|
|
428
714
|
- Updated dependencies
|
|
429
|
-
[[`842f6ccbb`](https://github.com/benjie/
|
|
715
|
+
[[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
|
|
430
716
|
- graphile-config@0.0.1-0.4
|
|
431
717
|
- grafast@0.0.1-0.10
|
|
432
718
|
|
|
@@ -434,8 +720,8 @@
|
|
|
434
720
|
|
|
435
721
|
### Patch Changes
|
|
436
722
|
|
|
437
|
-
- [#183](https://github.com/benjie/
|
|
438
|
-
[`3eb9da95e`](https://github.com/benjie/
|
|
723
|
+
- [#183](https://github.com/benjie/crystal/pull/183)
|
|
724
|
+
[`3eb9da95e`](https://github.com/benjie/crystal/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)
|
|
439
725
|
Thanks [@benjie](https://github.com/benjie)! - Fix potential construction loop
|
|
440
726
|
on failure to construct a type
|
|
441
727
|
|
|
@@ -443,13 +729,13 @@
|
|
|
443
729
|
|
|
444
730
|
### Patch Changes
|
|
445
731
|
|
|
446
|
-
- [#176](https://github.com/benjie/
|
|
447
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
732
|
+
- [#176](https://github.com/benjie/crystal/pull/176)
|
|
733
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
|
|
448
734
|
Thanks [@benjie](https://github.com/benjie)! - Fix issue with plugin
|
|
449
735
|
versioning. Add more TSDoc comments. New getTerminalWidth() helper.
|
|
450
736
|
- Updated dependencies
|
|
451
|
-
[[`19e2961de`](https://github.com/benjie/
|
|
452
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
737
|
+
[[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
|
|
738
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
453
739
|
- graphile-config@0.0.1-0.3
|
|
454
740
|
- grafast@0.0.1-0.9
|
|
455
741
|
|
|
@@ -458,14 +744,14 @@
|
|
|
458
744
|
### Patch Changes
|
|
459
745
|
|
|
460
746
|
- Updated dependencies
|
|
461
|
-
[[`208166269`](https://github.com/benjie/
|
|
747
|
+
[[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
462
748
|
- grafast@0.0.1-0.8
|
|
463
749
|
|
|
464
750
|
## 5.0.0-0.9
|
|
465
751
|
|
|
466
752
|
### Patch Changes
|
|
467
753
|
|
|
468
|
-
- [`6ebe3a13e`](https://github.com/benjie/
|
|
754
|
+
- [`6ebe3a13e`](https://github.com/benjie/crystal/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a)
|
|
469
755
|
Thanks [@benjie](https://github.com/benjie)! - Enable omitting update/delete
|
|
470
756
|
mutations using behaviors on unique constraints.
|
|
471
757
|
|
|
@@ -541,12 +827,12 @@
|
|
|
541
827
|
|
|
542
828
|
### Patch Changes
|
|
543
829
|
|
|
544
|
-
- [#125](https://github.com/benjie/
|
|
545
|
-
[`91f2256b3`](https://github.com/benjie/
|
|
830
|
+
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
831
|
+
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
546
832
|
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|
|
547
833
|
|
|
548
834
|
- Updated dependencies
|
|
549
|
-
[[`91f2256b3`](https://github.com/benjie/
|
|
835
|
+
[[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
|
|
550
836
|
- @graphile/lru@5.0.0-0.1
|
|
551
837
|
- grafast@0.0.1-0.0
|
|
552
838
|
- graphile-config@0.0.1-0.0
|