postgraphile 5.0.0-alpha.9 → 5.0.0-beta.10
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 +1169 -261
- package/README.md +2 -4
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +19 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/plugins/PgV4SmartTagsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4SmartTagsPlugin.js +14 -6
- package/dist/plugins/PgV4SmartTagsPlugin.js.map +1 -1
- package/dist/presets/amber.d.ts +3 -1
- package/dist/presets/amber.d.ts.map +1 -1
- package/dist/presets/amber.js +5 -4
- package/dist/presets/amber.js.map +1 -1
- package/dist/presets/lazy-jwt.d.ts +23 -0
- package/dist/presets/lazy-jwt.d.ts.map +1 -0
- package/dist/presets/lazy-jwt.js +76 -0
- package/dist/presets/lazy-jwt.js.map +1 -0
- package/dist/presets/relay.d.ts +9 -0
- package/dist/presets/relay.d.ts.map +1 -0
- package/dist/presets/relay.js +140 -0
- package/dist/presets/relay.js.map +1 -0
- package/dist/presets/v4.d.ts +10 -3
- package/dist/presets/v4.d.ts.map +1 -1
- package/dist/presets/v4.js +45 -42
- package/dist/presets/v4.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +6 -0
- package/dist/version.js.map +1 -0
- package/fwd/@dataplan/json/index.d.ts +1 -0
- package/fwd/@dataplan/json/index.js +1 -0
- package/fwd/@dataplan/pg/adaptors/pg/index.d.ts +1 -0
- package/fwd/@dataplan/pg/adaptors/pg/index.js +1 -0
- package/fwd/@dataplan/pg/index.d.ts +1 -0
- package/fwd/@dataplan/pg/index.js +1 -0
- package/fwd/grafast/envelop/index.d.ts +1 -0
- package/fwd/grafast/envelop/index.js +1 -0
- package/fwd/grafast/graphql/index.d.ts +1 -0
- package/fwd/grafast/graphql/index.js +1 -0
- package/fwd/grafast/index.d.ts +1 -0
- package/fwd/grafast/index.js +1 -0
- package/fwd/grafserv/express/v4/index.d.ts +1 -0
- package/fwd/grafserv/express/v4/index.js +1 -0
- package/fwd/grafserv/fastify/v4/index.d.ts +1 -0
- package/fwd/grafserv/fastify/v4/index.js +1 -0
- package/fwd/grafserv/h3/v1/index.d.ts +1 -0
- package/fwd/grafserv/h3/v1/index.js +1 -0
- package/fwd/grafserv/index.d.ts +1 -0
- package/fwd/grafserv/index.js +1 -0
- package/fwd/grafserv/koa/v2/index.d.ts +1 -0
- package/fwd/grafserv/koa/v2/index.js +1 -0
- package/fwd/grafserv/node/index.d.ts +1 -0
- package/fwd/grafserv/node/index.js +1 -0
- package/fwd/grafserv/ruru/cli/index.d.ts +1 -0
- package/fwd/grafserv/ruru/cli/index.js +1 -0
- package/fwd/grafserv/ruru/index.d.ts +1 -0
- package/fwd/grafserv/ruru/index.js +1 -0
- package/fwd/grafserv/ruru/server/index.d.ts +1 -0
- package/fwd/grafserv/ruru/server/index.js +1 -0
- package/fwd/graphile-build/index.d.ts +2 -0
- package/fwd/graphile-build/index.js +1 -0
- package/fwd/graphile-build-pg/index.d.ts +1 -0
- package/fwd/graphile-build-pg/index.js +1 -0
- package/fwd/graphile-build-pg/pg-introspection/index.d.ts +1 -0
- package/fwd/graphile-build-pg/pg-introspection/index.js +1 -0
- package/fwd/graphile-utils/index.d.ts +1 -0
- package/fwd/graphile-utils/index.js +1 -0
- package/fwd/pg-sql2/index.d.ts +1 -0
- package/fwd/pg-sql2/index.js +1 -0
- package/fwd/tamedevil/index.d.ts +1 -0
- package/fwd/tamedevil/index.js +1 -0
- package/package.json +179 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +1,939 @@
|
|
|
1
1
|
# postgraphile
|
|
2
2
|
|
|
3
|
+
## 5.0.0-beta.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- grafserv@0.0.1-beta.8
|
|
9
|
+
- graphile-build-pg@5.0.0-beta.9
|
|
10
|
+
- @dataplan/pg@0.0.1-beta.7
|
|
11
|
+
- graphile-utils@5.0.0-beta.9
|
|
12
|
+
|
|
13
|
+
## 5.0.0-beta.9
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
[[`3700e204f`](https://github.com/benjie/crystal/commit/3700e204f430db182c92ca7abc82017c81fa1f9b)]:
|
|
19
|
+
- grafast@0.0.1-beta.7
|
|
20
|
+
- @dataplan/json@0.0.1-beta.7
|
|
21
|
+
- @dataplan/pg@0.0.1-beta.7
|
|
22
|
+
- grafserv@0.0.1-beta.7
|
|
23
|
+
- graphile-build@5.0.0-beta.8
|
|
24
|
+
- graphile-build-pg@5.0.0-beta.9
|
|
25
|
+
- graphile-utils@5.0.0-beta.9
|
|
26
|
+
|
|
27
|
+
## 5.0.0-beta.8
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- [#496](https://github.com/benjie/crystal/pull/496)
|
|
32
|
+
[`ac092e021`](https://github.com/benjie/crystal/commit/ac092e0217d1385967dcdf39c9c1a390ebf6add8)
|
|
33
|
+
Thanks [@benjie](https://github.com/benjie)! - PostGraphile no longer exports
|
|
34
|
+
`GraphileBuild` nor `GraphileConfig` - these are global namespaces.
|
|
35
|
+
|
|
36
|
+
- [#496](https://github.com/benjie/crystal/pull/496)
|
|
37
|
+
[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
|
|
38
|
+
Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
|
|
39
|
+
through major versions).
|
|
40
|
+
|
|
41
|
+
- Updated dependencies
|
|
42
|
+
[[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1),
|
|
43
|
+
[`e613b476d`](https://github.com/benjie/crystal/commit/e613b476d6ee867d1f7509c895dabee40e7f9a31)]:
|
|
44
|
+
- graphile-build-pg@5.0.0-beta.8
|
|
45
|
+
- graphile-build@5.0.0-beta.7
|
|
46
|
+
- graphile-utils@5.0.0-beta.8
|
|
47
|
+
- @dataplan/json@0.0.1-beta.6
|
|
48
|
+
- graphile-config@0.0.1-beta.2
|
|
49
|
+
- @dataplan/pg@0.0.1-beta.6
|
|
50
|
+
- grafserv@0.0.1-beta.6
|
|
51
|
+
- grafast@0.0.1-beta.6
|
|
52
|
+
- tamedevil@0.0.0-beta.2
|
|
53
|
+
- pg-sql2@5.0.0-beta.2
|
|
54
|
+
- @graphile/lru@5.0.0-beta.2
|
|
55
|
+
|
|
56
|
+
## 5.0.0-beta.7
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- [#488](https://github.com/benjie/crystal/pull/488)
|
|
61
|
+
[`e916b7412`](https://github.com/benjie/crystal/commit/e916b7412fc1fbbcb1578dbe07684189c2a720ad)
|
|
62
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix issues with polymorphism
|
|
63
|
+
when interacting with nodeIds, particularly in mutations and SQL functions.
|
|
64
|
+
- Updated dependencies
|
|
65
|
+
[[`95e902f54`](https://github.com/benjie/crystal/commit/95e902f5403c16895e874692f7650293d77590dd),
|
|
66
|
+
[`53186213a`](https://github.com/benjie/crystal/commit/53186213ade962f4b66cb0d5ea8b57b5ce7ea85f),
|
|
67
|
+
[`e916b7412`](https://github.com/benjie/crystal/commit/e916b7412fc1fbbcb1578dbe07684189c2a720ad),
|
|
68
|
+
[`73f1b5218`](https://github.com/benjie/crystal/commit/73f1b52187b2e009d502afa1db8a4e8f702e2958),
|
|
69
|
+
[`109c8ec67`](https://github.com/benjie/crystal/commit/109c8ec6784dc74f4c4c4c43cc61516cc12401c8)]:
|
|
70
|
+
- @dataplan/pg@0.0.1-beta.5
|
|
71
|
+
- grafast@0.0.1-beta.5
|
|
72
|
+
- graphile-build-pg@5.0.0-beta.7
|
|
73
|
+
- graphile-build@5.0.0-beta.6
|
|
74
|
+
- grafserv@0.0.1-beta.5
|
|
75
|
+
- @dataplan/json@0.0.1-beta.5
|
|
76
|
+
- graphile-utils@5.0.0-beta.7
|
|
77
|
+
|
|
78
|
+
## 5.0.0-beta.6
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- [#462](https://github.com/benjie/crystal/pull/462)
|
|
83
|
+
[`53f0488b1`](https://github.com/benjie/crystal/commit/53f0488b1c060fe9f5dfcd67ad5c0bd932a4b7aa)
|
|
84
|
+
Thanks [@benjie](https://github.com/benjie)! - Allow 'null' to be passed to
|
|
85
|
+
`withPgClient`/`withPgClientTransaction`
|
|
86
|
+
|
|
87
|
+
- [#460](https://github.com/benjie/crystal/pull/460)
|
|
88
|
+
[`07883a1a5`](https://github.com/benjie/crystal/commit/07883a1a5eac63bdc0541d6a2b562fc97342c439)
|
|
89
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix makeExtendSchemaPlugin: now
|
|
90
|
+
calls callback in 'init' phase, so `Build` type is used (rather than
|
|
91
|
+
`Partial<Build>`) and other types/handlers/etc should already be registered.
|
|
92
|
+
|
|
93
|
+
- [#463](https://github.com/benjie/crystal/pull/463)
|
|
94
|
+
[`22fa6230a`](https://github.com/benjie/crystal/commit/22fa6230aa7c7271e5360e619ec9e1f52c6ea49c)
|
|
95
|
+
Thanks [@benjie](https://github.com/benjie)! - Add experimental support for h3
|
|
96
|
+
server to grafserv.
|
|
97
|
+
|
|
98
|
+
- [#459](https://github.com/benjie/crystal/pull/459)
|
|
99
|
+
[`d17dd1cd4`](https://github.com/benjie/crystal/commit/d17dd1cd47d6cb125fbc84c38a8c004857e1bdd2)
|
|
100
|
+
Thanks [@benjie](https://github.com/benjie)! - Disable mutations for
|
|
101
|
+
`@interface mode:relational` tables. (They shouldn't have been enabled, and
|
|
102
|
+
they don't work yet.)
|
|
103
|
+
|
|
104
|
+
- [#464](https://github.com/benjie/crystal/pull/464)
|
|
105
|
+
[`00d026409`](https://github.com/benjie/crystal/commit/00d0264090f90914eac881b34918fa3370782adc)
|
|
106
|
+
Thanks [@benjie](https://github.com/benjie)! - `@dataplan/pg/adaptors/pg` now
|
|
107
|
+
adds `rawClient` property which is the underlying Postgres client for use with
|
|
108
|
+
`pgTyped`, `zapatos`, and other libraries that can use a raw postgres client.
|
|
109
|
+
This is exposed via `NodePostgresPgClient` interface which is a subtype of
|
|
110
|
+
`PgClient`.
|
|
111
|
+
- Updated dependencies
|
|
112
|
+
[[`53f0488b1`](https://github.com/benjie/crystal/commit/53f0488b1c060fe9f5dfcd67ad5c0bd932a4b7aa),
|
|
113
|
+
[`f9cc88dc4`](https://github.com/benjie/crystal/commit/f9cc88dc442d371aee154a28d4e63c6da39f6b2e),
|
|
114
|
+
[`07883a1a5`](https://github.com/benjie/crystal/commit/07883a1a5eac63bdc0541d6a2b562fc97342c439),
|
|
115
|
+
[`22fa6230a`](https://github.com/benjie/crystal/commit/22fa6230aa7c7271e5360e619ec9e1f52c6ea49c),
|
|
116
|
+
[`d17dd1cd4`](https://github.com/benjie/crystal/commit/d17dd1cd47d6cb125fbc84c38a8c004857e1bdd2),
|
|
117
|
+
[`fa8cfcf9b`](https://github.com/benjie/crystal/commit/fa8cfcf9b4ce0c3e12511f3f6392051924a719e5),
|
|
118
|
+
[`00d026409`](https://github.com/benjie/crystal/commit/00d0264090f90914eac881b34918fa3370782adc)]:
|
|
119
|
+
- @dataplan/pg@0.0.1-beta.4
|
|
120
|
+
- grafast@0.0.1-beta.4
|
|
121
|
+
- graphile-utils@5.0.0-beta.6
|
|
122
|
+
- grafserv@0.0.1-beta.4
|
|
123
|
+
- graphile-build-pg@5.0.0-beta.6
|
|
124
|
+
- @dataplan/json@0.0.1-beta.4
|
|
125
|
+
- graphile-build@5.0.0-beta.5
|
|
126
|
+
|
|
127
|
+
## 5.0.0-beta.5
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- Updated dependencies
|
|
132
|
+
[[`22ecd1e5d`](https://github.com/benjie/crystal/commit/22ecd1e5de1dcd094be3085cba56b705446413f9)]:
|
|
133
|
+
- graphile-build-pg@5.0.0-beta.5
|
|
134
|
+
- graphile-utils@5.0.0-beta.5
|
|
135
|
+
|
|
136
|
+
## 5.0.0-beta.4
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- [#454](https://github.com/benjie/crystal/pull/454)
|
|
141
|
+
[`196e5c1aa`](https://github.com/benjie/crystal/commit/196e5c1aab52dbe2a069d0a15b9e4931523fd2dd)
|
|
142
|
+
Thanks [@benjie](https://github.com/benjie)! -
|
|
143
|
+
`@interface mode=single/relational` now get `Node` interface if the table has
|
|
144
|
+
a PK.
|
|
145
|
+
|
|
146
|
+
🚨 `@interface mode=union` no longer gets `Node` interface unless you also add
|
|
147
|
+
`@behavior node`.
|
|
148
|
+
|
|
149
|
+
- [#454](https://github.com/benjie/crystal/pull/454)
|
|
150
|
+
[`e75bf57dd`](https://github.com/benjie/crystal/commit/e75bf57ddb20d20c86dba880cbb1970ec6a875af)
|
|
151
|
+
Thanks [@benjie](https://github.com/benjie)! - Automatically register
|
|
152
|
+
connection types for unionMember unions.
|
|
153
|
+
|
|
154
|
+
- Updated dependencies
|
|
155
|
+
[[`196e5c1aa`](https://github.com/benjie/crystal/commit/196e5c1aab52dbe2a069d0a15b9e4931523fd2dd),
|
|
156
|
+
[`e75bf57dd`](https://github.com/benjie/crystal/commit/e75bf57ddb20d20c86dba880cbb1970ec6a875af)]:
|
|
157
|
+
- graphile-build-pg@5.0.0-beta.4
|
|
158
|
+
- graphile-build@5.0.0-beta.4
|
|
159
|
+
- graphile-utils@5.0.0-beta.4
|
|
160
|
+
- @dataplan/pg@0.0.1-beta.3
|
|
161
|
+
|
|
162
|
+
## 5.0.0-beta.3
|
|
163
|
+
|
|
164
|
+
### Patch Changes
|
|
165
|
+
|
|
166
|
+
- Updated dependencies
|
|
167
|
+
[[`46cd08aa1`](https://github.com/benjie/crystal/commit/46cd08aa13e3bac4d186c72c6ce24997f37658af),
|
|
168
|
+
[`d3ab4e12d`](https://github.com/benjie/crystal/commit/d3ab4e12d5bf0dc1c0364c603585175fa4d94d34)]:
|
|
169
|
+
- grafast@0.0.1-beta.3
|
|
170
|
+
- graphile-build-pg@5.0.0-beta.3
|
|
171
|
+
- graphile-build@5.0.0-beta.3
|
|
172
|
+
- @dataplan/pg@0.0.1-beta.3
|
|
173
|
+
- @dataplan/json@0.0.1-beta.3
|
|
174
|
+
- grafserv@0.0.1-beta.3
|
|
175
|
+
- graphile-utils@5.0.0-beta.3
|
|
176
|
+
|
|
177
|
+
## 5.0.0-beta.2
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- Updated dependencies
|
|
182
|
+
[[`23bd3c291`](https://github.com/benjie/crystal/commit/23bd3c291246aebf27cf2784f40fc948485f43c9)]:
|
|
183
|
+
- grafast@0.0.1-beta.2
|
|
184
|
+
- @dataplan/json@0.0.1-beta.2
|
|
185
|
+
- @dataplan/pg@0.0.1-beta.2
|
|
186
|
+
- grafserv@0.0.1-beta.2
|
|
187
|
+
- graphile-build@5.0.0-beta.2
|
|
188
|
+
- graphile-build-pg@5.0.0-beta.2
|
|
189
|
+
- graphile-utils@5.0.0-beta.2
|
|
190
|
+
|
|
191
|
+
## 5.0.0-beta.1
|
|
192
|
+
|
|
193
|
+
### Patch Changes
|
|
194
|
+
|
|
195
|
+
- [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
|
|
196
|
+
Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
|
|
197
|
+
|
|
198
|
+
- Updated dependencies
|
|
199
|
+
[[`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)]:
|
|
200
|
+
- @dataplan/json@0.0.1-beta.1
|
|
201
|
+
- @dataplan/pg@0.0.1-beta.1
|
|
202
|
+
- grafast@0.0.1-beta.1
|
|
203
|
+
- grafserv@0.0.1-beta.1
|
|
204
|
+
- graphile-build@5.0.0-beta.1
|
|
205
|
+
- graphile-build-pg@5.0.0-beta.1
|
|
206
|
+
- graphile-utils@5.0.0-beta.1
|
|
207
|
+
- graphile-config@0.0.1-beta.1
|
|
208
|
+
- @graphile/lru@5.0.0-beta.1
|
|
209
|
+
- pg-sql2@5.0.0-beta.1
|
|
210
|
+
- tamedevil@0.0.0-beta.1
|
|
211
|
+
|
|
212
|
+
## 5.0.0-alpha.20
|
|
213
|
+
|
|
214
|
+
### Patch Changes
|
|
215
|
+
|
|
216
|
+
- [#441](https://github.com/benjie/crystal/pull/441)
|
|
217
|
+
[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)
|
|
218
|
+
Thanks [@benjie](https://github.com/benjie)! - Change bundling techniques for
|
|
219
|
+
grafast and @dataplan/pg
|
|
220
|
+
|
|
221
|
+
- [#441](https://github.com/benjie/crystal/pull/441)
|
|
222
|
+
[`6c1c1a34f`](https://github.com/benjie/crystal/commit/6c1c1a34f674bf4ef3b13dadebb4e13c422c940e)
|
|
223
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce \_allRows base
|
|
224
|
+
inflector used by allRowsConnection and allRowsList
|
|
225
|
+
|
|
226
|
+
- Updated dependencies
|
|
227
|
+
[[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f),
|
|
228
|
+
[`6c1c1a34f`](https://github.com/benjie/crystal/commit/6c1c1a34f674bf4ef3b13dadebb4e13c422c940e)]:
|
|
229
|
+
- graphile-build-pg@5.0.0-alpha.20
|
|
230
|
+
- @dataplan/pg@0.0.1-alpha.17
|
|
231
|
+
- grafast@0.0.1-alpha.16
|
|
232
|
+
- graphile-utils@5.0.0-alpha.20
|
|
233
|
+
- @dataplan/json@0.0.1-alpha.16
|
|
234
|
+
- grafserv@0.0.1-alpha.16
|
|
235
|
+
- graphile-build@5.0.0-alpha.18
|
|
236
|
+
|
|
237
|
+
## 5.0.0-alpha.19
|
|
238
|
+
|
|
239
|
+
### Patch Changes
|
|
240
|
+
|
|
241
|
+
- [#433](https://github.com/benjie/crystal/pull/433)
|
|
242
|
+
[`5491e10b0`](https://github.com/benjie/crystal/commit/5491e10b0f1629e607e7385985315169e156071d)
|
|
243
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve error messages from
|
|
244
|
+
custom string scalars when they cannot be parsed as a string.
|
|
245
|
+
|
|
246
|
+
- [#434](https://github.com/benjie/crystal/pull/434)
|
|
247
|
+
[`a9561d62d`](https://github.com/benjie/crystal/commit/a9561d62d54a6a1331d64b32e4cf3d162ad67a55)
|
|
248
|
+
Thanks [@benjie](https://github.com/benjie)! - Deprecate
|
|
249
|
+
`preset.gather.pgJwtType` (tuple), instead use `preset.gather.pgJwtTypes`
|
|
250
|
+
which expects a string and parses it similar to the PostgreSQL parser (and
|
|
251
|
+
also allows multiple types to be specified).
|
|
252
|
+
|
|
253
|
+
- [#433](https://github.com/benjie/crystal/pull/433)
|
|
254
|
+
[`232885703`](https://github.com/benjie/crystal/commit/232885703dd577f71488fd1fc5a02e852a96d446)
|
|
255
|
+
Thanks [@benjie](https://github.com/benjie)! - Change type of pgJwtSecret and
|
|
256
|
+
pgJwtSignOptions from `any` to the correct types.
|
|
257
|
+
|
|
258
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
259
|
+
[`db19ed9c3`](https://github.com/benjie/crystal/commit/db19ed9c39f08b537f3bf316d1cf9bb39cee2603)
|
|
260
|
+
Thanks [@benjie](https://github.com/benjie)! - When using
|
|
261
|
+
`@interface mode:relational`, don't add pointless relationships from concrete
|
|
262
|
+
type back to abstract or from abstract to related concrete types.
|
|
263
|
+
|
|
264
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
265
|
+
[`31e776e03`](https://github.com/benjie/crystal/commit/31e776e03ad0829e0ded52e32be789578dcf8d4f)
|
|
266
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix spurious error relating to
|
|
267
|
+
connection for `@interface type:relational`
|
|
268
|
+
|
|
269
|
+
- [#436](https://github.com/benjie/crystal/pull/436)
|
|
270
|
+
[`055c4e438`](https://github.com/benjie/crystal/commit/055c4e43888c007706db7079edd89d6def9b318d)
|
|
271
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix inflection of computed
|
|
272
|
+
column field names in secondary schemas when using the V5 preset. Also, use
|
|
273
|
+
underscores instead of dashes for the serviceName/schemaName separator for the
|
|
274
|
+
names of the function resources, so that they can be typed manually rather
|
|
275
|
+
than having to use string properties like
|
|
276
|
+
`const { ["myService-mySchema-my_function_name"]: myFunctionResource } = pgRegistry.pgResources`
|
|
277
|
+
|
|
278
|
+
- [#435](https://github.com/benjie/crystal/pull/435)
|
|
279
|
+
[`cf32f0397`](https://github.com/benjie/crystal/commit/cf32f0397f7a47509df9876112275f1ad135e8f2)
|
|
280
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug in listOfCodec causing
|
|
281
|
+
wrong extensions to be used in non-deterministic manner (thanks to @jvandermey
|
|
282
|
+
for finding the bug and helping to track it down).
|
|
283
|
+
|
|
284
|
+
- [#428](https://github.com/benjie/crystal/pull/428)
|
|
285
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b)
|
|
286
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug exporting schema, and
|
|
287
|
+
importing schema with \_\_assertStep.
|
|
288
|
+
|
|
289
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
290
|
+
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d)
|
|
291
|
+
Thanks [@benjie](https://github.com/benjie)! - Plugin name now automatically
|
|
292
|
+
used in `provides` for every hook, allowing ordering hooks before/after their
|
|
293
|
+
equivalents in other plugins.
|
|
294
|
+
|
|
295
|
+
- [#422](https://github.com/benjie/crystal/pull/422)
|
|
296
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)
|
|
297
|
+
Thanks [@benjie](https://github.com/benjie)! - Comments enabled in released
|
|
298
|
+
packages
|
|
299
|
+
|
|
300
|
+
- [#428](https://github.com/benjie/crystal/pull/428)
|
|
301
|
+
[`9695c65f8`](https://github.com/benjie/crystal/commit/9695c65f8dbad807de683a70f5f663af2d3b35f0)
|
|
302
|
+
Thanks [@benjie](https://github.com/benjie)! - Optimize away some unnecessary
|
|
303
|
+
content from graphile-exported schema
|
|
304
|
+
|
|
305
|
+
- [#428](https://github.com/benjie/crystal/pull/428)
|
|
306
|
+
[`c00a21cb9`](https://github.com/benjie/crystal/commit/c00a21cb9e9dd80a8b69228746bd7973da21facc)
|
|
307
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve name and description of
|
|
308
|
+
TagsFilePlugin
|
|
309
|
+
|
|
310
|
+
- [#433](https://github.com/benjie/crystal/pull/433)
|
|
311
|
+
[`a5f224295`](https://github.com/benjie/crystal/commit/a5f22429501f9e13f0490d25500ca7a8403babc7)
|
|
312
|
+
Thanks [@benjie](https://github.com/benjie)! - Add
|
|
313
|
+
`postgraphile/presets/lazy-jwt` to handle boilerplate of JWT setup if the user
|
|
314
|
+
doesn't want to do it themselves.
|
|
315
|
+
- Updated dependencies
|
|
316
|
+
[[`ea003ca3a`](https://github.com/benjie/crystal/commit/ea003ca3a8f68fb87dca603582e47981ed033996),
|
|
317
|
+
[`5491e10b0`](https://github.com/benjie/crystal/commit/5491e10b0f1629e607e7385985315169e156071d),
|
|
318
|
+
[`a9561d62d`](https://github.com/benjie/crystal/commit/a9561d62d54a6a1331d64b32e4cf3d162ad67a55),
|
|
319
|
+
[`232885703`](https://github.com/benjie/crystal/commit/232885703dd577f71488fd1fc5a02e852a96d446),
|
|
320
|
+
[`db19ed9c3`](https://github.com/benjie/crystal/commit/db19ed9c39f08b537f3bf316d1cf9bb39cee2603),
|
|
321
|
+
[`31e776e03`](https://github.com/benjie/crystal/commit/31e776e03ad0829e0ded52e32be789578dcf8d4f),
|
|
322
|
+
[`055c4e438`](https://github.com/benjie/crystal/commit/055c4e43888c007706db7079edd89d6def9b318d),
|
|
323
|
+
[`cf32f0397`](https://github.com/benjie/crystal/commit/cf32f0397f7a47509df9876112275f1ad135e8f2),
|
|
324
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b),
|
|
325
|
+
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d),
|
|
326
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5),
|
|
327
|
+
[`9695c65f8`](https://github.com/benjie/crystal/commit/9695c65f8dbad807de683a70f5f663af2d3b35f0),
|
|
328
|
+
[`c00a21cb9`](https://github.com/benjie/crystal/commit/c00a21cb9e9dd80a8b69228746bd7973da21facc)]:
|
|
329
|
+
- grafast@0.0.1-alpha.15
|
|
330
|
+
- graphile-build-pg@5.0.0-alpha.19
|
|
331
|
+
- graphile-build@5.0.0-alpha.17
|
|
332
|
+
- @dataplan/pg@0.0.1-alpha.16
|
|
333
|
+
- graphile-config@0.0.1-alpha.7
|
|
334
|
+
- @dataplan/json@0.0.1-alpha.15
|
|
335
|
+
- grafserv@0.0.1-alpha.15
|
|
336
|
+
- graphile-utils@5.0.0-alpha.19
|
|
337
|
+
|
|
338
|
+
## 5.0.0-alpha.18
|
|
339
|
+
|
|
340
|
+
### Patch Changes
|
|
341
|
+
|
|
342
|
+
- [#421](https://github.com/benjie/crystal/pull/421)
|
|
343
|
+
[`415f436a0`](https://github.com/benjie/crystal/commit/415f436a04d42ba7d7a51457f99e8d8e6baee051)
|
|
344
|
+
Thanks [@benjie](https://github.com/benjie)! - `@notNull` is now respected in
|
|
345
|
+
PgAttributesPlugin for outputs as well as inputs.
|
|
346
|
+
|
|
347
|
+
- [#421](https://github.com/benjie/crystal/pull/421)
|
|
348
|
+
[`5b8e46a8a`](https://github.com/benjie/crystal/commit/5b8e46a8a868d68290d0f274934593a23b5bb25e)
|
|
349
|
+
Thanks [@benjie](https://github.com/benjie)! - Breaking for types: move
|
|
350
|
+
`Pg*Tags` to `GraphileBuild.Pg*Tags` for easier declaration merging
|
|
351
|
+
|
|
352
|
+
- [#421](https://github.com/benjie/crystal/pull/421)
|
|
353
|
+
[`bb64c090d`](https://github.com/benjie/crystal/commit/bb64c090d1094875ec51a8577a000cb4f796e197)
|
|
354
|
+
Thanks [@benjie](https://github.com/benjie)! - New `build.pgResolveOutputType`
|
|
355
|
+
helper exported to aid plugins determining GraphQL output type from a codec
|
|
356
|
+
(taken from PgAttributesPlugin).
|
|
357
|
+
- Updated dependencies
|
|
358
|
+
[[`415f436a0`](https://github.com/benjie/crystal/commit/415f436a04d42ba7d7a51457f99e8d8e6baee051),
|
|
359
|
+
[`5b8e46a8a`](https://github.com/benjie/crystal/commit/5b8e46a8a868d68290d0f274934593a23b5bb25e),
|
|
360
|
+
[`bb64c090d`](https://github.com/benjie/crystal/commit/bb64c090d1094875ec51a8577a000cb4f796e197)]:
|
|
361
|
+
- graphile-build-pg@5.0.0-alpha.18
|
|
362
|
+
- graphile-utils@5.0.0-alpha.18
|
|
363
|
+
|
|
364
|
+
## 5.0.0-alpha.17
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- [#420](https://github.com/benjie/crystal/pull/420)
|
|
369
|
+
[`c1518fad0`](https://github.com/benjie/crystal/commit/c1518fad093dc53c033866541f378878aab69b5c)
|
|
370
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix schema so it can run
|
|
371
|
+
without NodePlugin
|
|
372
|
+
|
|
373
|
+
- Updated dependencies
|
|
374
|
+
[[`c1518fad0`](https://github.com/benjie/crystal/commit/c1518fad093dc53c033866541f378878aab69b5c)]:
|
|
375
|
+
- graphile-build-pg@5.0.0-alpha.17
|
|
376
|
+
- graphile-build@5.0.0-alpha.16
|
|
377
|
+
- graphile-utils@5.0.0-alpha.17
|
|
378
|
+
|
|
379
|
+
## 5.0.0-alpha.16
|
|
380
|
+
|
|
381
|
+
### Patch Changes
|
|
382
|
+
|
|
383
|
+
- Updated dependencies
|
|
384
|
+
[[`d99d666fb`](https://github.com/benjie/crystal/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
|
|
385
|
+
- grafast@0.0.1-alpha.14
|
|
386
|
+
- @dataplan/json@0.0.1-alpha.14
|
|
387
|
+
- @dataplan/pg@0.0.1-alpha.15
|
|
388
|
+
- grafserv@0.0.1-alpha.14
|
|
389
|
+
- graphile-build@5.0.0-alpha.15
|
|
390
|
+
- graphile-build-pg@5.0.0-alpha.16
|
|
391
|
+
- graphile-utils@5.0.0-alpha.16
|
|
392
|
+
|
|
393
|
+
## 5.0.0-alpha.15
|
|
394
|
+
|
|
395
|
+
### Patch Changes
|
|
396
|
+
|
|
397
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
398
|
+
[`e7dd2e039`](https://github.com/benjie/crystal/commit/e7dd2e039769958d59a83ec3b164cad063c82500)
|
|
399
|
+
Thanks [@benjie](https://github.com/benjie)! - `codec` is now baked into
|
|
400
|
+
NodeId handlers (rather than using `codecName` and looking that up in
|
|
401
|
+
`codecs`). All related APIs have thus simplified, e.g. the step
|
|
402
|
+
`node(codecs, handler, $id)` is now `node(handler, $id)`, etc. TypeScript
|
|
403
|
+
should point out any issues you have hopefully.
|
|
404
|
+
|
|
405
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
406
|
+
[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b)
|
|
407
|
+
Thanks [@benjie](https://github.com/benjie)! - Grafast now supports
|
|
408
|
+
`operationsCacheMaxLength` and `operationOperationPlansCacheMaxLength`
|
|
409
|
+
configuration via `schema.extensions.grafast.*`. Currently undocumented.
|
|
410
|
+
|
|
411
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
412
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d)
|
|
413
|
+
Thanks [@benjie](https://github.com/benjie)! - `deepEval` has been renamed to
|
|
414
|
+
`applyTransforms`
|
|
415
|
+
|
|
416
|
+
- [#418](https://github.com/benjie/crystal/pull/418)
|
|
417
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
|
|
418
|
+
Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
|
|
419
|
+
dependencies to try and eliminate duplicate modules error.
|
|
420
|
+
|
|
421
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
422
|
+
[`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9)
|
|
423
|
+
Thanks [@benjie](https://github.com/benjie)! - Grafast operation cache now
|
|
424
|
+
tied to the schema, so multiple schemas will not cause degraded performance
|
|
425
|
+
from clearing the cache.
|
|
426
|
+
|
|
427
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
428
|
+
[`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b)
|
|
429
|
+
Thanks [@benjie](https://github.com/benjie)! - `preset.grafast.context` second
|
|
430
|
+
parameter is no longer the existing GraphQL context, but instead the GraphQL
|
|
431
|
+
request details (which contains the `contextValue`). If you were using this
|
|
432
|
+
(unlikely), add `.contextValue` to usage of the second argument.
|
|
433
|
+
|
|
434
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
435
|
+
[`dc94b4a30`](https://github.com/benjie/crystal/commit/dc94b4a3003a2fbe1d76e17bb519092fa134243a)
|
|
436
|
+
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
437
|
+
'postgraphilePresetAmber' to 'PostGraphileAmberPreset'
|
|
438
|
+
|
|
439
|
+
- [#410](https://github.com/benjie/crystal/pull/410)
|
|
440
|
+
[`4eda0cd57`](https://github.com/benjie/crystal/commit/4eda0cd572274febad696ebb5a89472a981f8212)
|
|
441
|
+
Thanks [@benjie](https://github.com/benjie)! - Use a single behavior check per
|
|
442
|
+
location.
|
|
443
|
+
|
|
444
|
+
In the past two weeks I added a few behavior strings like
|
|
445
|
+
`array:attribute:filterBy` (a scoped form of `attribute:filterBy` to only be
|
|
446
|
+
used by attributes that were arrays); however I've realised that this will
|
|
447
|
+
require plugin authors to implement all the same logic to figure out what type
|
|
448
|
+
an attribute is in order to then see if it has the relevant behavior. This
|
|
449
|
+
goes against the design of the behavior system, and makes plugin authors'
|
|
450
|
+
lives harder. So I've reverted this, and instead used the `entityBehaviors`
|
|
451
|
+
system to add or remove the base `attribute:filterBy` (etc) behavior depending
|
|
452
|
+
on what the type of the attribute is.
|
|
453
|
+
|
|
454
|
+
- Updated dependencies
|
|
455
|
+
[[`e7dd2e039`](https://github.com/benjie/crystal/commit/e7dd2e039769958d59a83ec3b164cad063c82500),
|
|
456
|
+
[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
|
|
457
|
+
[`f115b6fb2`](https://github.com/benjie/crystal/commit/f115b6fb2338212688ccdbc3aeef77416058a2f7),
|
|
458
|
+
[`1882e0185`](https://github.com/benjie/crystal/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
|
|
459
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d),
|
|
460
|
+
[`e5012f9a1`](https://github.com/benjie/crystal/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
|
|
461
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
|
|
462
|
+
[`47f6f018b`](https://github.com/benjie/crystal/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
|
|
463
|
+
[`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
|
|
464
|
+
[`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b),
|
|
465
|
+
[`4eda0cd57`](https://github.com/benjie/crystal/commit/4eda0cd572274febad696ebb5a89472a981f8212)]:
|
|
466
|
+
- graphile-build-pg@5.0.0-alpha.15
|
|
467
|
+
- graphile-build@5.0.0-alpha.14
|
|
468
|
+
- grafast@0.0.1-alpha.13
|
|
469
|
+
- @dataplan/pg@0.0.1-alpha.14
|
|
470
|
+
- graphile-utils@5.0.0-alpha.15
|
|
471
|
+
- @dataplan/json@0.0.1-alpha.13
|
|
472
|
+
- grafserv@0.0.1-alpha.13
|
|
473
|
+
|
|
474
|
+
## 5.0.0-alpha.14
|
|
475
|
+
|
|
476
|
+
### Patch Changes
|
|
477
|
+
|
|
478
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
479
|
+
[`bfe5997e3`](https://github.com/benjie/crystal/commit/bfe5997e365fae9561133f6cd8126e986860b8c2)
|
|
480
|
+
Thanks [@benjie](https://github.com/benjie)! - Ability to control via
|
|
481
|
+
behaviors whether the record type is selectable on CRUD mutation payloads.
|
|
482
|
+
|
|
483
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
484
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
485
|
+
Thanks [@benjie](https://github.com/benjie)! - Exported `version` no longer
|
|
486
|
+
uses `require('../package.json')` hack, instead the version number is written
|
|
487
|
+
to a source file at versioning time. Packages now export `version`.
|
|
488
|
+
|
|
489
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
490
|
+
[`903c04b3b`](https://github.com/benjie/crystal/commit/903c04b3b866b4b9136ba6f8ba22dfd7aae8b7b5)
|
|
491
|
+
Thanks [@benjie](https://github.com/benjie)! - Add `filterBy` and `orderBy`
|
|
492
|
+
behaviors for each codec type (array, range, composite, binary, scalar) to
|
|
493
|
+
allow simpler global customization.
|
|
494
|
+
|
|
495
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
496
|
+
[`c5eceba07`](https://github.com/benjie/crystal/commit/c5eceba07d0ca2ec93c058e2fcaf9fdf1b7b32e0)
|
|
497
|
+
Thanks [@benjie](https://github.com/benjie)! - Incorrect ordering of behaviors
|
|
498
|
+
`orderBy:array`/`orderBy:range` fixed ->
|
|
499
|
+
`array:attribute:orderBy`/`range:attribute:orderBy`.
|
|
500
|
+
|
|
501
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
502
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
503
|
+
Thanks [@benjie](https://github.com/benjie)! - More accurate database
|
|
504
|
+
identifier parser used in a couple places.
|
|
505
|
+
|
|
506
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
507
|
+
[`808af8af3`](https://github.com/benjie/crystal/commit/808af8af3fcc0d20154845a6b9962a094153d899)
|
|
508
|
+
Thanks [@benjie](https://github.com/benjie)! - Allow marking relations as
|
|
509
|
+
`@notNull`
|
|
510
|
+
|
|
511
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
512
|
+
[`9f5a784c6`](https://github.com/benjie/crystal/commit/9f5a784c601b67dfb2cbf7bd836d7aa060fba63c)
|
|
513
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce TypeScript CIF
|
|
514
|
+
gatherConfig() to help typing the `gather` phase for plugins.
|
|
515
|
+
|
|
516
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
517
|
+
[`2849cc3fb`](https://github.com/benjie/crystal/commit/2849cc3fb8e4302b57cdf21f8c9a5fea33b797f8)
|
|
518
|
+
Thanks [@benjie](https://github.com/benjie)! - Better handle the situation
|
|
519
|
+
where a node fetcher could not be found.
|
|
520
|
+
|
|
521
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
522
|
+
[`8ca9425ed`](https://github.com/benjie/crystal/commit/8ca9425edec68fbac0e727bd3d2754bf4843cc74)
|
|
523
|
+
Thanks [@benjie](https://github.com/benjie)! - Detect when your preset doesn't
|
|
524
|
+
have any plugins, or omits the QueryPlugin, and raise an error or warning
|
|
525
|
+
indicating to the user that there's likely an issue here.
|
|
526
|
+
|
|
527
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
528
|
+
[`51414d328`](https://github.com/benjie/crystal/commit/51414d3281f04c8fd450d6364960336b862a5795)
|
|
529
|
+
Thanks [@benjie](https://github.com/benjie)! - Add support for `bytea`
|
|
530
|
+
datatype using new `Base64EncodedBinary` scalar in GraphQL.
|
|
531
|
+
|
|
532
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
533
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
534
|
+
Thanks [@benjie](https://github.com/benjie)! - Possible to set the modifier of
|
|
535
|
+
an argument type via `@arg0modifier` smart tag
|
|
536
|
+
|
|
537
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
538
|
+
[`bc14d488d`](https://github.com/benjie/crystal/commit/bc14d488d5385f350b6d377716e43c46a405dc57)
|
|
539
|
+
Thanks [@benjie](https://github.com/benjie)! - When sorting, specify a
|
|
540
|
+
concrete locale to localeCompare to ensure stable ordering across machines.
|
|
541
|
+
|
|
542
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
543
|
+
[`dda361d11`](https://github.com/benjie/crystal/commit/dda361d11c4d2625c5770df32843f3ec1407c922)
|
|
544
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve error messages for
|
|
545
|
+
getInputTypeByName and getOutputTypeByName.
|
|
546
|
+
|
|
547
|
+
- Updated dependencies
|
|
548
|
+
[[`f5dd38aa3`](https://github.com/benjie/crystal/commit/f5dd38aa34c10f5ef0e0fa8fa48b70534ac3c294),
|
|
549
|
+
[`bfe5997e3`](https://github.com/benjie/crystal/commit/bfe5997e365fae9561133f6cd8126e986860b8c2),
|
|
550
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
551
|
+
[`903c04b3b`](https://github.com/benjie/crystal/commit/903c04b3b866b4b9136ba6f8ba22dfd7aae8b7b5),
|
|
552
|
+
[`c5eceba07`](https://github.com/benjie/crystal/commit/c5eceba07d0ca2ec93c058e2fcaf9fdf1b7b32e0),
|
|
553
|
+
[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999),
|
|
554
|
+
[`c5050dd28`](https://github.com/benjie/crystal/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd),
|
|
555
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
556
|
+
[`808af8af3`](https://github.com/benjie/crystal/commit/808af8af3fcc0d20154845a6b9962a094153d899),
|
|
557
|
+
[`9f5a784c6`](https://github.com/benjie/crystal/commit/9f5a784c601b67dfb2cbf7bd836d7aa060fba63c),
|
|
558
|
+
[`2849cc3fb`](https://github.com/benjie/crystal/commit/2849cc3fb8e4302b57cdf21f8c9a5fea33b797f8),
|
|
559
|
+
[`8ca9425ed`](https://github.com/benjie/crystal/commit/8ca9425edec68fbac0e727bd3d2754bf4843cc74),
|
|
560
|
+
[`51414d328`](https://github.com/benjie/crystal/commit/51414d3281f04c8fd450d6364960336b862a5795),
|
|
561
|
+
[`a298fc893`](https://github.com/benjie/crystal/commit/a298fc8931f3a0579fb6846d63b52fa3fcc6e65e),
|
|
562
|
+
[`1300a9753`](https://github.com/benjie/crystal/commit/1300a975394f4e22540019bb0d40ba0bb9bec550),
|
|
563
|
+
[`088d83b1d`](https://github.com/benjie/crystal/commit/088d83b1de2782a1a37a5998747b202a6c2b27a2),
|
|
564
|
+
[`0d1782869`](https://github.com/benjie/crystal/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37),
|
|
565
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
566
|
+
[`bc14d488d`](https://github.com/benjie/crystal/commit/bc14d488d5385f350b6d377716e43c46a405dc57),
|
|
567
|
+
[`dda361d11`](https://github.com/benjie/crystal/commit/dda361d11c4d2625c5770df32843f3ec1407c922)]:
|
|
568
|
+
- tamedevil@0.0.0-alpha.4
|
|
569
|
+
- graphile-build-pg@5.0.0-alpha.14
|
|
570
|
+
- grafast@0.0.1-alpha.12
|
|
571
|
+
- graphile-build@5.0.0-alpha.13
|
|
572
|
+
- @dataplan/pg@0.0.1-alpha.13
|
|
573
|
+
- graphile-config@0.0.1-alpha.6
|
|
574
|
+
- pg-introspection@0.0.1-alpha.4
|
|
575
|
+
- @dataplan/json@0.0.1-alpha.12
|
|
576
|
+
- grafserv@0.0.1-alpha.12
|
|
577
|
+
- ruru@2.0.0-alpha.9
|
|
578
|
+
|
|
579
|
+
## 5.0.0-alpha.13
|
|
580
|
+
|
|
581
|
+
### Patch Changes
|
|
582
|
+
|
|
583
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
584
|
+
[`70b2c3900`](https://github.com/benjie/crystal/commit/70b2c3900cd29d241e968fc81d6279848fafb9ae)
|
|
585
|
+
Thanks [@benjie](https://github.com/benjie)! - pgCodecAttribute behavior now
|
|
586
|
+
uses attributeName rather than attribute spec in the callback (BREAKING)
|
|
587
|
+
|
|
588
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
589
|
+
[`37d829b89`](https://github.com/benjie/crystal/commit/37d829b8912fb3d2b7e1aa99d2314444d136971d)
|
|
590
|
+
Thanks [@benjie](https://github.com/benjie)! - Ability to control whether the
|
|
591
|
+
nodeId or regular column CRUD mutations are used
|
|
592
|
+
|
|
593
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
594
|
+
[`ff91a5660`](https://github.com/benjie/crystal/commit/ff91a5660c5a33ab32555ab3da12f880179d9892)
|
|
595
|
+
Thanks [@benjie](https://github.com/benjie)! - Added
|
|
596
|
+
`postgraphile/presets/relay` preset:
|
|
597
|
+
|
|
598
|
+
- Hides primary key columns from output schema, and includes `id: ID` instead
|
|
599
|
+
- Hides foreign key columns from output schema, expecting you to use the
|
|
600
|
+
relation instead
|
|
601
|
+
- Hides columns that are part of the primary key from update/delete mutations
|
|
602
|
+
(but still present for create if the column is writeable - it shouldn't be)
|
|
603
|
+
- Hides columns that are part of a foreign key from CRUD mutations/filters,
|
|
604
|
+
instead exposes the `ID` for the remote side of the relation
|
|
605
|
+
- Does not allow ordering by individual primary key columns (though you can
|
|
606
|
+
still order by `PRIMARY_KEY_ASC`/`DESC`)
|
|
607
|
+
- Does not allow ordering by individual foreign key columns
|
|
608
|
+
- Turns off the row fetchers that don't use the node `ID`
|
|
609
|
+
- Turns off the CRUD mutations that don't use the node `ID`
|
|
610
|
+
- Functions can now use `@arg0variant nodeId` to indicate the first argument
|
|
611
|
+
(increase the `0` for other arguments) should accept a node `ID` (this
|
|
612
|
+
currently only works where the argument type is a table type)
|
|
613
|
+
- Removes relations from mutation payloads, these should be traversed via the
|
|
614
|
+
record instead (they're redundant)
|
|
615
|
+
|
|
616
|
+
Most of these changes are reversible, so for example if you really want to
|
|
617
|
+
turn back on `Query.userByUsername` you can do so by adding the `+connection`
|
|
618
|
+
behavior to the "unique username" constraint on the `users` table.
|
|
619
|
+
|
|
620
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
621
|
+
[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)
|
|
622
|
+
Thanks [@benjie](https://github.com/benjie)! - Use `file://` URLs in import()
|
|
623
|
+
to fix compatibility with Windows (e.g. when loading `graphile.config.mjs`)
|
|
624
|
+
|
|
625
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
626
|
+
[`47365f0df`](https://github.com/benjie/crystal/commit/47365f0df2644fd91839a6698998e1463df8de79)
|
|
627
|
+
Thanks [@benjie](https://github.com/benjie)! - Add helper for more easily
|
|
628
|
+
handling NodeIDs for known typeName.
|
|
629
|
+
|
|
630
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
631
|
+
[`339cb005e`](https://github.com/benjie/crystal/commit/339cb005ed91aa8d421cdacd934877aee32e3f23)
|
|
632
|
+
Thanks [@benjie](https://github.com/benjie)! - Remove relations from mutation
|
|
633
|
+
payloads (unless using V4 preset) - they're redundant.
|
|
634
|
+
- Updated dependencies
|
|
635
|
+
[[`70b2c3900`](https://github.com/benjie/crystal/commit/70b2c3900cd29d241e968fc81d6279848fafb9ae),
|
|
636
|
+
[`37d829b89`](https://github.com/benjie/crystal/commit/37d829b8912fb3d2b7e1aa99d2314444d136971d),
|
|
637
|
+
[`ff91a5660`](https://github.com/benjie/crystal/commit/ff91a5660c5a33ab32555ab3da12f880179d9892),
|
|
638
|
+
[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714),
|
|
639
|
+
[`47365f0df`](https://github.com/benjie/crystal/commit/47365f0df2644fd91839a6698998e1463df8de79),
|
|
640
|
+
[`339cb005e`](https://github.com/benjie/crystal/commit/339cb005ed91aa8d421cdacd934877aee32e3f23)]:
|
|
641
|
+
- graphile-build-pg@5.0.0-alpha.13
|
|
642
|
+
- graphile-build@5.0.0-alpha.12
|
|
643
|
+
- graphile-config@0.0.1-alpha.5
|
|
644
|
+
- @dataplan/pg@0.0.1-alpha.12
|
|
645
|
+
- grafast@0.0.1-alpha.11
|
|
646
|
+
- grafserv@0.0.1-alpha.11
|
|
647
|
+
- ruru@2.0.0-alpha.8
|
|
648
|
+
- @dataplan/json@0.0.1-alpha.11
|
|
649
|
+
|
|
650
|
+
## 5.0.0-alpha.12
|
|
651
|
+
|
|
652
|
+
### Patch Changes
|
|
653
|
+
|
|
654
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
655
|
+
[`17fe531d7`](https://github.com/benjie/crystal/commit/17fe531d729e88a7126b0e2e06fc1ee9ab3ac5b8)
|
|
656
|
+
Thanks [@benjie](https://github.com/benjie)! - pgUnionAll uses a slightly more
|
|
657
|
+
optimal SQL (where JSON isn't cast to `::text` and then back to `::json`)
|
|
658
|
+
|
|
659
|
+
- [#398](https://github.com/benjie/crystal/pull/398)
|
|
660
|
+
[`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4)
|
|
661
|
+
Thanks [@benjie](https://github.com/benjie)! - Incremental delivery will no
|
|
662
|
+
longer deliver payloads for paths that don't exist when an error is thrown in
|
|
663
|
+
an output plan.
|
|
664
|
+
|
|
665
|
+
- [#376](https://github.com/benjie/crystal/pull/376)
|
|
666
|
+
[`326aa99cd`](https://github.com/benjie/crystal/commit/326aa99cd5e6b5cc8f30e4500382738eb63b792d)
|
|
667
|
+
Thanks [@benjie](https://github.com/benjie)! - Can now give constraints
|
|
668
|
+
separate forward/backward behaviors
|
|
669
|
+
|
|
670
|
+
- [#385](https://github.com/benjie/crystal/pull/385)
|
|
671
|
+
[`7c5a0fe3a`](https://github.com/benjie/crystal/commit/7c5a0fe3a8c28aeac0dd9ab90d7a29170c542e5b)
|
|
672
|
+
Thanks [@benjie](https://github.com/benjie)! - makeV4Preset is now typed to
|
|
673
|
+
support arbitrary schema options (it already supported this, but the types
|
|
674
|
+
didn't allow it).
|
|
675
|
+
|
|
676
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
677
|
+
[`b5eb7c490`](https://github.com/benjie/crystal/commit/b5eb7c490305b869e1bfc176a5a417e28f1411cd)
|
|
678
|
+
Thanks [@benjie](https://github.com/benjie)! - Cursor pagination over nullable
|
|
679
|
+
columns _should_ now work, although it is untested.
|
|
680
|
+
|
|
681
|
+
- [#399](https://github.com/benjie/crystal/pull/399)
|
|
682
|
+
[`976958e80`](https://github.com/benjie/crystal/commit/976958e80c791819cd80e96df8209dcff1918585)
|
|
683
|
+
Thanks [@benjie](https://github.com/benjie)! - Plugins can now use
|
|
684
|
+
build.grafast rather than adding grafast as a peerDependency.
|
|
685
|
+
|
|
686
|
+
- [#399](https://github.com/benjie/crystal/pull/399)
|
|
687
|
+
[`e0f322b79`](https://github.com/benjie/crystal/commit/e0f322b795abc7242490542d35d3467bde3141d7)
|
|
688
|
+
Thanks [@benjie](https://github.com/benjie)! - Re-export dependencies at
|
|
689
|
+
`postgraphile/{depName}` e.g. `postgraphile/@dataplan/pg` so exports can be
|
|
690
|
+
used without peerDependency/hoisting issues.
|
|
691
|
+
|
|
692
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
693
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279)
|
|
694
|
+
Thanks [@benjie](https://github.com/benjie)! - Address a decent number of
|
|
695
|
+
TODO/FIXME/etc comments in the codebase.
|
|
696
|
+
|
|
697
|
+
- [#378](https://github.com/benjie/crystal/pull/378)
|
|
698
|
+
[`95b2ab41e`](https://github.com/benjie/crystal/commit/95b2ab41e41976de852276b83f7fb5924555e7c5)
|
|
699
|
+
Thanks [@benjie](https://github.com/benjie)! - Support for nested arrays via
|
|
700
|
+
PostgreSQL domains.
|
|
701
|
+
|
|
702
|
+
- [#386](https://github.com/benjie/crystal/pull/386)
|
|
703
|
+
[`8230fcaeb`](https://github.com/benjie/crystal/commit/8230fcaeb0286c905fc0dad4b7af2d94bac88a44)
|
|
704
|
+
Thanks [@benjie](https://github.com/benjie)! - If an issue occurs whilst
|
|
705
|
+
retrieving attributes for a constraint, we now log an error and return an
|
|
706
|
+
empty array.
|
|
707
|
+
|
|
708
|
+
- [#398](https://github.com/benjie/crystal/pull/398)
|
|
709
|
+
[`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0)
|
|
710
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix a number of issues relating
|
|
711
|
+
to incremental delivery and iterators
|
|
712
|
+
|
|
713
|
+
- [#398](https://github.com/benjie/crystal/pull/398)
|
|
714
|
+
[`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8)
|
|
715
|
+
Thanks [@benjie](https://github.com/benjie)! - Incremental delivery `@stream`
|
|
716
|
+
now works for regular steps as well as streamable steps.
|
|
717
|
+
|
|
718
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
719
|
+
[`b66d2503b`](https://github.com/benjie/crystal/commit/b66d2503b90eb458af709bb593e5a00d869df03f)
|
|
720
|
+
Thanks [@benjie](https://github.com/benjie)! - hasNextPage (via hasMore) now
|
|
721
|
+
uses an access plan rather than a lambda plan.
|
|
722
|
+
|
|
723
|
+
- [#401](https://github.com/benjie/crystal/pull/401)
|
|
724
|
+
[`b868aa63f`](https://github.com/benjie/crystal/commit/b868aa63f7759396b71fdd1e8eda1012352ad595)
|
|
725
|
+
Thanks [@benjie](https://github.com/benjie)! - Added `Build.dataplanPg` so
|
|
726
|
+
plugins don't need to import this module.
|
|
727
|
+
|
|
728
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
729
|
+
[`3caaced6c`](https://github.com/benjie/crystal/commit/3caaced6cfbac4a187a245a61eb103edcb8cd4c9)
|
|
730
|
+
Thanks [@benjie](https://github.com/benjie)! - When fetching a single row, an
|
|
731
|
+
`ORDER BY` clause will no longer be added.
|
|
732
|
+
|
|
733
|
+
- Updated dependencies
|
|
734
|
+
[[`659508371`](https://github.com/benjie/crystal/commit/659508371e79e76b581532978fe26d50a54e6248),
|
|
735
|
+
[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
|
|
736
|
+
[`4d64ac127`](https://github.com/benjie/crystal/commit/4d64ac12799be55680448aab6906312bcbc525ab),
|
|
737
|
+
[`17fe531d7`](https://github.com/benjie/crystal/commit/17fe531d729e88a7126b0e2e06fc1ee9ab3ac5b8),
|
|
738
|
+
[`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
|
|
739
|
+
[`326aa99cd`](https://github.com/benjie/crystal/commit/326aa99cd5e6b5cc8f30e4500382738eb63b792d),
|
|
740
|
+
[`56b52295c`](https://github.com/benjie/crystal/commit/56b52295c77d1748c01754d5e71702e05c8a2dd3),
|
|
741
|
+
[`9238d3ce4`](https://github.com/benjie/crystal/commit/9238d3ce4f6f59295ba849d6325286e4847c1bac),
|
|
742
|
+
[`9feb769c2`](https://github.com/benjie/crystal/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
|
|
743
|
+
[`b5eb7c490`](https://github.com/benjie/crystal/commit/b5eb7c490305b869e1bfc176a5a417e28f1411cd),
|
|
744
|
+
[`976958e80`](https://github.com/benjie/crystal/commit/976958e80c791819cd80e96df8209dcff1918585),
|
|
745
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279),
|
|
746
|
+
[`95b2ab41e`](https://github.com/benjie/crystal/commit/95b2ab41e41976de852276b83f7fb5924555e7c5),
|
|
747
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
|
|
748
|
+
[`8230fcaeb`](https://github.com/benjie/crystal/commit/8230fcaeb0286c905fc0dad4b7af2d94bac88a44),
|
|
749
|
+
[`6f545683c`](https://github.com/benjie/crystal/commit/6f545683c981af4ee40d51b272a053b01d535491),
|
|
750
|
+
[`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
|
|
751
|
+
[`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
|
|
752
|
+
[`b66d2503b`](https://github.com/benjie/crystal/commit/b66d2503b90eb458af709bb593e5a00d869df03f),
|
|
753
|
+
[`9008c4f87`](https://github.com/benjie/crystal/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
|
|
754
|
+
[`47ff7e824`](https://github.com/benjie/crystal/commit/47ff7e824b2fc96c11f601c3814d0200208711ce),
|
|
755
|
+
[`b868aa63f`](https://github.com/benjie/crystal/commit/b868aa63f7759396b71fdd1e8eda1012352ad595),
|
|
756
|
+
[`e8c81cd20`](https://github.com/benjie/crystal/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a),
|
|
757
|
+
[`3caaced6c`](https://github.com/benjie/crystal/commit/3caaced6cfbac4a187a245a61eb103edcb8cd4c9),
|
|
758
|
+
[`9f2507ed9`](https://github.com/benjie/crystal/commit/9f2507ed9fe8a6abe93c9c8a1cff410446587fd6)]:
|
|
759
|
+
- @dataplan/pg@0.0.1-alpha.11
|
|
760
|
+
- graphile-build-pg@5.0.0-alpha.12
|
|
761
|
+
- graphile-build@5.0.0-alpha.11
|
|
762
|
+
- grafserv@0.0.1-alpha.10
|
|
763
|
+
- grafast@0.0.1-alpha.10
|
|
764
|
+
- ruru@2.0.0-alpha.7
|
|
765
|
+
- pg-introspection@0.0.1-alpha.3
|
|
766
|
+
- @dataplan/json@0.0.1-alpha.10
|
|
767
|
+
|
|
768
|
+
## 5.0.0-alpha.11
|
|
769
|
+
|
|
770
|
+
### Patch Changes
|
|
771
|
+
|
|
772
|
+
- [#349](https://github.com/benjie/crystal/pull/349)
|
|
773
|
+
[`a94f11091`](https://github.com/benjie/crystal/commit/a94f11091520b52d90fd007986760848ed20017b)
|
|
774
|
+
Thanks [@benjie](https://github.com/benjie)! - **Overhaul behavior system**
|
|
775
|
+
|
|
776
|
+
Previously the behavior system worked during the schema building process,
|
|
777
|
+
inside the various schema hooks. So looking at the behavior of a `relation`
|
|
778
|
+
might have looked like:
|
|
779
|
+
|
|
780
|
+
```ts
|
|
781
|
+
GraphQLObjectType_fields_field(field, build, context) {
|
|
782
|
+
const relation = context.scope.pgRelationOrWhatever;
|
|
783
|
+
|
|
784
|
+
// Establish a default behavior, e.g. you might give it different default behavior
|
|
785
|
+
// depending on if the remote table is in the same schema or not
|
|
786
|
+
const defaultBehavior = someCondition(relation) ? "behavior_if_true" : "behavior_if_false";
|
|
787
|
+
|
|
788
|
+
// Now establish the user-specified behavior for the entity, inheriting from all the
|
|
789
|
+
// relevant places.
|
|
790
|
+
const behavior = getBehavior([
|
|
791
|
+
relation.remoteResource.codec.extensions,
|
|
792
|
+
relation.remoteResource.extensions,
|
|
793
|
+
relation.extensions
|
|
794
|
+
]);
|
|
795
|
+
|
|
796
|
+
// Finally check this behavior string against `behavior_to_test`, being sure to apply
|
|
797
|
+
// the "schema-time smart defaulting" that we established in `defaultBehavior` above.
|
|
798
|
+
if (build.behavior.matches(behavior, "behavior_to_test", defaultBehavior)) {
|
|
799
|
+
doTheThing();
|
|
800
|
+
}
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
This meant that each plugin might treat the behavior of the entity different -
|
|
804
|
+
for example `postgraphile-plugin-connection-filter` might have a different
|
|
805
|
+
`someCondition()` under which the "filter" behavior would apply by default,
|
|
806
|
+
whereas the built in `condition` plugin might have a different one.
|
|
807
|
+
|
|
808
|
+
Moreover, each place needs to know to call `getBehavior` with the same list of
|
|
809
|
+
extension sources in the same order, otherwise subtle (or not so subtle)
|
|
810
|
+
differences in the schema would occur.
|
|
811
|
+
|
|
812
|
+
And finally, because each entity doesn't have an established behavior, you
|
|
813
|
+
can't ask "what's the final behavior for this entity" because it's dynamic,
|
|
814
|
+
depending on which plugin is viewing it.
|
|
815
|
+
|
|
816
|
+
This update fixes all of this; now each entity has a single behavior that's
|
|
817
|
+
established once. Each plugin can register `entityBehaviors` for the various
|
|
818
|
+
behavior entity types (or global behaviors which apply to all entity types if
|
|
819
|
+
that makes more sense). So the hook code equivalent to the above would now be
|
|
820
|
+
more like:
|
|
821
|
+
|
|
822
|
+
```ts
|
|
823
|
+
GraphQLObjectType_fields_field(field, build, context) {
|
|
824
|
+
const relation = context.scope.pgRelationOrWhatever;
|
|
825
|
+
// Do the thing if the relation has the given behavior. Simples.
|
|
826
|
+
if (build.behavior.pgCodecRelationMatches(relation, "behavior_to_test")) {
|
|
827
|
+
doTheThing();
|
|
828
|
+
}
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
This code is much more to the point, much easier for plugin authors to
|
|
832
|
+
implement, and also a lot easier to debug since everything has a single
|
|
833
|
+
established behavior now (except `refs`, which aren't really an entity in
|
|
834
|
+
their own right, but a combination of entities...).
|
|
835
|
+
|
|
836
|
+
These changes haven't changed any of the schemas in the test suite, but they
|
|
837
|
+
may impact you. This could be a breaking change - so be sure to do a schema
|
|
838
|
+
diff before/after this.
|
|
839
|
+
|
|
840
|
+
- [#355](https://github.com/benjie/crystal/pull/355)
|
|
841
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84)
|
|
842
|
+
Thanks [@benjie](https://github.com/benjie)! - **MAJOR BREAKING CHANGE**:
|
|
843
|
+
implicit application of args/input fields has been removed.
|
|
844
|
+
|
|
845
|
+
Previously we would track the fieldArgs that you accessed (via `.get()`,
|
|
846
|
+
`.getRaw()` or `.apply()`) and those that you _did not access_ would
|
|
847
|
+
automatically have their `applyPlan` called, if they had one. This isn't
|
|
848
|
+
likely to be particularly useful for pure Gra*fast* users (unless they want to
|
|
849
|
+
adopt this pattern) but it's extremely useful for plugin-based schemas as it
|
|
850
|
+
allows plugins to add arguments that can influence their field's plan _without
|
|
851
|
+
having to wrap the field's plan resolver function_. This is fairly critical,
|
|
852
|
+
otherwise each behavior added (`first:`, `condition:`, `orderBy:`, `filter:`,
|
|
853
|
+
`ignoreArchived:`, etc etc) would wrap the plan resolver with another function
|
|
854
|
+
layer, and they would get _messy_.
|
|
855
|
+
|
|
856
|
+
However, implicit is rarely good. And it turns out that it severely limited
|
|
857
|
+
what I wanted to do for improving the `fieldArgs` APIs.
|
|
858
|
+
|
|
859
|
+
I decided to remove this implicit functionality by making it more explicit, so
|
|
860
|
+
now args/input fields can specify the relevant
|
|
861
|
+
`autoApplyAfterParent{Plan,SubscribePlan,InputPlan,ApplyPlan}: true` property
|
|
862
|
+
and we'll only apply them at a single level.
|
|
863
|
+
|
|
864
|
+
From a user perspective, little has changed. From a plugin author perspective,
|
|
865
|
+
if you were relying on the implicit `applyPlan` then you should now add the
|
|
866
|
+
relevant `autoApply*` property next to your `applyPlan` method.
|
|
867
|
+
|
|
868
|
+
- [#363](https://github.com/benjie/crystal/pull/363)
|
|
869
|
+
[`bcfffd5fe`](https://github.com/benjie/crystal/commit/bcfffd5fe14d5bbc3517c62041da585a3bf1bab1)
|
|
870
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug causing `@foreignKey`
|
|
871
|
+
relation to not show up under rare circumstances (by updating
|
|
872
|
+
PgRelationsPlugin to use codec, not resource, as the primary entity).
|
|
873
|
+
|
|
874
|
+
- [#362](https://github.com/benjie/crystal/pull/362)
|
|
875
|
+
[`e443db39b`](https://github.com/benjie/crystal/commit/e443db39b07f9d71f7a1ce402475004e072a2d1d)
|
|
876
|
+
Thanks [@benjie](https://github.com/benjie)! - Use original case for table
|
|
877
|
+
resource names.
|
|
878
|
+
|
|
879
|
+
- Updated dependencies
|
|
880
|
+
[[`56237691b`](https://github.com/benjie/crystal/commit/56237691bf3eed321b7159e17f36e3651356946f),
|
|
881
|
+
[`ed1982f31`](https://github.com/benjie/crystal/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
|
|
882
|
+
[`a94f11091`](https://github.com/benjie/crystal/commit/a94f11091520b52d90fd007986760848ed20017b),
|
|
883
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
|
|
884
|
+
[`198ac74d5`](https://github.com/benjie/crystal/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25),
|
|
885
|
+
[`6878c589c`](https://github.com/benjie/crystal/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
|
|
886
|
+
[`2ac706f18`](https://github.com/benjie/crystal/commit/2ac706f18660c855fe20f460b50694fdd04a7768),
|
|
887
|
+
[`77e011294`](https://github.com/benjie/crystal/commit/77e01129450ab78d55d3868661e37b0c99db3da5),
|
|
888
|
+
[`bcfffd5fe`](https://github.com/benjie/crystal/commit/bcfffd5fe14d5bbc3517c62041da585a3bf1bab1),
|
|
889
|
+
[`dad4d4aae`](https://github.com/benjie/crystal/commit/dad4d4aaee499098104841740c9049b1deb6ac5f),
|
|
890
|
+
[`e443db39b`](https://github.com/benjie/crystal/commit/e443db39b07f9d71f7a1ce402475004e072a2d1d)]:
|
|
891
|
+
- grafast@0.0.1-alpha.9
|
|
892
|
+
- graphile-build-pg@5.0.0-alpha.11
|
|
893
|
+
- graphile-build@5.0.0-alpha.10
|
|
894
|
+
- graphile-config@0.0.1-alpha.4
|
|
895
|
+
- @dataplan/pg@0.0.1-alpha.10
|
|
896
|
+
- grafserv@0.0.1-alpha.9
|
|
897
|
+
- ruru@2.0.0-alpha.6
|
|
898
|
+
|
|
899
|
+
## 5.0.0-alpha.10
|
|
900
|
+
|
|
901
|
+
### Patch Changes
|
|
902
|
+
|
|
903
|
+
- Updated dependencies
|
|
904
|
+
[[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
|
|
905
|
+
- grafast@0.0.1-alpha.8
|
|
906
|
+
- @dataplan/pg@0.0.1-alpha.9
|
|
907
|
+
- grafserv@0.0.1-alpha.8
|
|
908
|
+
- graphile-build@5.0.0-alpha.9
|
|
909
|
+
- graphile-build-pg@5.0.0-alpha.10
|
|
910
|
+
|
|
3
911
|
## 5.0.0-alpha.9
|
|
4
912
|
|
|
5
913
|
### Patch Changes
|
|
6
914
|
|
|
7
|
-
- [#346](https://github.com/benjie/
|
|
8
|
-
[`9ddaaaa96`](https://github.com/benjie/
|
|
915
|
+
- [#346](https://github.com/benjie/crystal/pull/346)
|
|
916
|
+
[`9ddaaaa96`](https://github.com/benjie/crystal/commit/9ddaaaa9617874cb44946acfcd252517ae427446)
|
|
9
917
|
Thanks [@benjie](https://github.com/benjie)! - Fix a bug in subscriptions
|
|
10
918
|
where variables were not recognized
|
|
11
919
|
|
|
12
|
-
- [#345](https://github.com/benjie/
|
|
13
|
-
[`3a984718a`](https://github.com/benjie/
|
|
920
|
+
- [#345](https://github.com/benjie/crystal/pull/345)
|
|
921
|
+
[`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d)
|
|
14
922
|
Thanks [@benjie](https://github.com/benjie)! - Cursor validation errors are
|
|
15
923
|
now raised by the connection directly, rather than the subfields.
|
|
16
924
|
|
|
17
|
-
- [#340](https://github.com/benjie/
|
|
18
|
-
[`fe9154b23`](https://github.com/benjie/
|
|
925
|
+
- [#340](https://github.com/benjie/crystal/pull/340)
|
|
926
|
+
[`fe9154b23`](https://github.com/benjie/crystal/commit/fe9154b23f6e45c56ff5827dfe758bdf4974e215)
|
|
19
927
|
Thanks [@benjie](https://github.com/benjie)! - Make Datetime RFC3339
|
|
20
928
|
compatible when a timezone is present
|
|
21
929
|
|
|
22
930
|
- Updated dependencies
|
|
23
|
-
[[`5c9d32264`](https://github.com/benjie/
|
|
24
|
-
[`9ddaaaa96`](https://github.com/benjie/
|
|
25
|
-
[`2fcbe688c`](https://github.com/benjie/
|
|
26
|
-
[`3a984718a`](https://github.com/benjie/
|
|
27
|
-
[`fe9154b23`](https://github.com/benjie/
|
|
28
|
-
[`adc7ae5e0`](https://github.com/benjie/
|
|
931
|
+
[[`5c9d32264`](https://github.com/benjie/crystal/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
|
|
932
|
+
[`9ddaaaa96`](https://github.com/benjie/crystal/commit/9ddaaaa9617874cb44946acfcd252517ae427446),
|
|
933
|
+
[`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
|
|
934
|
+
[`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d),
|
|
935
|
+
[`fe9154b23`](https://github.com/benjie/crystal/commit/fe9154b23f6e45c56ff5827dfe758bdf4974e215),
|
|
936
|
+
[`adc7ae5e0`](https://github.com/benjie/crystal/commit/adc7ae5e002961c8b8286500527752f21139ab9e)]:
|
|
29
937
|
- grafast@0.0.1-alpha.7
|
|
30
938
|
- grafserv@0.0.1-alpha.7
|
|
31
939
|
- graphile-build-pg@5.0.0-alpha.9
|
|
@@ -38,31 +946,31 @@
|
|
|
38
946
|
|
|
39
947
|
### Patch Changes
|
|
40
948
|
|
|
41
|
-
- [#338](https://github.com/benjie/
|
|
42
|
-
[`dcc3d0355`](https://github.com/benjie/
|
|
949
|
+
- [#338](https://github.com/benjie/crystal/pull/338)
|
|
950
|
+
[`dcc3d0355`](https://github.com/benjie/crystal/commit/dcc3d03558d28506260dcfc79e1a797b60ec1773)
|
|
43
951
|
Thanks [@benjie](https://github.com/benjie)! - `@interface mode:union`
|
|
44
952
|
interfaces now also gain root fields.
|
|
45
953
|
|
|
46
|
-
- [#339](https://github.com/benjie/
|
|
47
|
-
[`f75926f4b`](https://github.com/benjie/
|
|
954
|
+
- [#339](https://github.com/benjie/crystal/pull/339)
|
|
955
|
+
[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)
|
|
48
956
|
Thanks [@benjie](https://github.com/benjie)! - CRITICAL BUGFIX: mistake in
|
|
49
957
|
optimization of list() can lead to arrays being truncated
|
|
50
958
|
|
|
51
|
-
- [#338](https://github.com/benjie/
|
|
52
|
-
[`ca1526b70`](https://github.com/benjie/
|
|
959
|
+
- [#338](https://github.com/benjie/crystal/pull/338)
|
|
960
|
+
[`ca1526b70`](https://github.com/benjie/crystal/commit/ca1526b7028b0b9d506b6ccda7da046b64af1ab6)
|
|
53
961
|
Thanks [@benjie](https://github.com/benjie)! - Fix startCursor/endCursor for
|
|
54
962
|
connections using pgUnionAll steps.
|
|
55
963
|
|
|
56
|
-
- [#338](https://github.com/benjie/
|
|
57
|
-
[`3426b0f4a`](https://github.com/benjie/
|
|
964
|
+
- [#338](https://github.com/benjie/crystal/pull/338)
|
|
965
|
+
[`3426b0f4a`](https://github.com/benjie/crystal/commit/3426b0f4adb0c5d80c66e51c203214f06f364d3a)
|
|
58
966
|
Thanks [@benjie](https://github.com/benjie)! - Fix bugs in pgUnionAll
|
|
59
967
|
connections relating to PageInfo
|
|
60
968
|
|
|
61
969
|
- Updated dependencies
|
|
62
|
-
[[`dcc3d0355`](https://github.com/benjie/
|
|
63
|
-
[`f75926f4b`](https://github.com/benjie/
|
|
64
|
-
[`ca1526b70`](https://github.com/benjie/
|
|
65
|
-
[`3426b0f4a`](https://github.com/benjie/
|
|
970
|
+
[[`dcc3d0355`](https://github.com/benjie/crystal/commit/dcc3d03558d28506260dcfc79e1a797b60ec1773),
|
|
971
|
+
[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba),
|
|
972
|
+
[`ca1526b70`](https://github.com/benjie/crystal/commit/ca1526b7028b0b9d506b6ccda7da046b64af1ab6),
|
|
973
|
+
[`3426b0f4a`](https://github.com/benjie/crystal/commit/3426b0f4adb0c5d80c66e51c203214f06f364d3a)]:
|
|
66
974
|
- graphile-build-pg@5.0.0-alpha.8
|
|
67
975
|
- grafast@0.0.1-alpha.6
|
|
68
976
|
- @dataplan/pg@0.0.1-alpha.7
|
|
@@ -73,21 +981,21 @@
|
|
|
73
981
|
|
|
74
982
|
### Patch Changes
|
|
75
983
|
|
|
76
|
-
- [#335](https://github.com/benjie/
|
|
77
|
-
[`ef8432511`](https://github.com/benjie/
|
|
984
|
+
- [#335](https://github.com/benjie/crystal/pull/335)
|
|
985
|
+
[`ef8432511`](https://github.com/benjie/crystal/commit/ef84325111416a9663417bb58ec664998040cf7c)
|
|
78
986
|
Thanks [@benjie](https://github.com/benjie)! - Have ref fields support
|
|
79
987
|
ordering and filtering.
|
|
80
988
|
|
|
81
|
-
- [#336](https://github.com/benjie/
|
|
82
|
-
[`24822d0dc`](https://github.com/benjie/
|
|
989
|
+
- [#336](https://github.com/benjie/crystal/pull/336)
|
|
990
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)
|
|
83
991
|
Thanks [@benjie](https://github.com/benjie)! - Fix over-cautious throw when
|
|
84
992
|
dealing with recursive inputs.
|
|
85
993
|
|
|
86
994
|
- Updated dependencies
|
|
87
|
-
[[`ef8432511`](https://github.com/benjie/
|
|
88
|
-
[`86e503d78`](https://github.com/benjie/
|
|
89
|
-
[`2850e4732`](https://github.com/benjie/
|
|
90
|
-
[`24822d0dc`](https://github.com/benjie/
|
|
995
|
+
[[`ef8432511`](https://github.com/benjie/crystal/commit/ef84325111416a9663417bb58ec664998040cf7c),
|
|
996
|
+
[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
|
|
997
|
+
[`2850e4732`](https://github.com/benjie/crystal/commit/2850e4732ff173347357dba048eaf3c1ef775497),
|
|
998
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
|
|
91
999
|
- graphile-build-pg@5.0.0-alpha.7
|
|
92
1000
|
- grafast@0.0.1-alpha.5
|
|
93
1001
|
- graphile-build@5.0.0-alpha.6
|
|
@@ -98,12 +1006,12 @@
|
|
|
98
1006
|
|
|
99
1007
|
### Patch Changes
|
|
100
1008
|
|
|
101
|
-
- [#334](https://github.com/benjie/
|
|
102
|
-
[`1ea7acdf5`](https://github.com/benjie/
|
|
1009
|
+
- [#334](https://github.com/benjie/crystal/pull/334)
|
|
1010
|
+
[`1ea7acdf5`](https://github.com/benjie/crystal/commit/1ea7acdf5cbf39c876d5a7990ff456eb0803ac0b)
|
|
103
1011
|
Thanks [@benjie](https://github.com/benjie)! - Tweak peerDependencies
|
|
104
1012
|
|
|
105
1013
|
- Updated dependencies
|
|
106
|
-
[[`1ea7acdf5`](https://github.com/benjie/
|
|
1014
|
+
[[`1ea7acdf5`](https://github.com/benjie/crystal/commit/1ea7acdf5cbf39c876d5a7990ff456eb0803ac0b)]:
|
|
107
1015
|
- graphile-build-pg@5.0.0-alpha.6
|
|
108
1016
|
- @dataplan/pg@0.0.1-alpha.5
|
|
109
1017
|
|
|
@@ -112,8 +1020,8 @@
|
|
|
112
1020
|
### Patch Changes
|
|
113
1021
|
|
|
114
1022
|
- Updated dependencies
|
|
115
|
-
[[`45dcf3a8f`](https://github.com/benjie/
|
|
116
|
-
[`f34bd5a3c`](https://github.com/benjie/
|
|
1023
|
+
[[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950),
|
|
1024
|
+
[`f34bd5a3c`](https://github.com/benjie/crystal/commit/f34bd5a3c353693b86a0307357a3620110700e1c)]:
|
|
117
1025
|
- grafast@0.0.1-alpha.4
|
|
118
1026
|
- @dataplan/pg@0.0.1-alpha.4
|
|
119
1027
|
- ruru@2.0.0-alpha.4
|
|
@@ -125,13 +1033,13 @@
|
|
|
125
1033
|
|
|
126
1034
|
### Patch Changes
|
|
127
1035
|
|
|
128
|
-
- [#332](https://github.com/benjie/
|
|
129
|
-
[`faa1c9eaa`](https://github.com/benjie/
|
|
1036
|
+
- [#332](https://github.com/benjie/crystal/pull/332)
|
|
1037
|
+
[`faa1c9eaa`](https://github.com/benjie/crystal/commit/faa1c9eaa25cbd6f0e25635f6a100d0dc9be6106)
|
|
130
1038
|
Thanks [@benjie](https://github.com/benjie)! - Adjust dependencies and
|
|
131
1039
|
peerDependencies and peerDependenciesMeta.
|
|
132
1040
|
|
|
133
1041
|
- Updated dependencies
|
|
134
|
-
[[`faa1c9eaa`](https://github.com/benjie/
|
|
1042
|
+
[[`faa1c9eaa`](https://github.com/benjie/crystal/commit/faa1c9eaa25cbd6f0e25635f6a100d0dc9be6106)]:
|
|
135
1043
|
- graphile-build-pg@5.0.0-alpha.4
|
|
136
1044
|
- graphile-build@5.0.0-alpha.4
|
|
137
1045
|
- @dataplan/pg@0.0.1-alpha.3
|
|
@@ -140,24 +1048,24 @@
|
|
|
140
1048
|
|
|
141
1049
|
### Patch Changes
|
|
142
1050
|
|
|
143
|
-
- [`7f857950a`](https://github.com/benjie/
|
|
1051
|
+
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
144
1052
|
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
145
1053
|
TypeScript/tslib
|
|
146
1054
|
|
|
147
|
-
- [`9605165d5`](https://github.com/benjie/
|
|
1055
|
+
- [`9605165d5`](https://github.com/benjie/crystal/commit/9605165d5857c97053778275836b95bf19c0b1c9)
|
|
148
1056
|
Thanks [@benjie](https://github.com/benjie)! - Fix naming conflict that occurs
|
|
149
1057
|
with `@enum` smart tag when not using `@enumName`. New `enumTableEnum`
|
|
150
1058
|
inflector.
|
|
151
1059
|
- Updated dependencies
|
|
152
|
-
[[`21e95326d`](https://github.com/benjie/
|
|
153
|
-
[`98ae00f59`](https://github.com/benjie/
|
|
154
|
-
[`2389f47ec`](https://github.com/benjie/
|
|
155
|
-
[`2fe247f75`](https://github.com/benjie/
|
|
156
|
-
[`e91ee201d`](https://github.com/benjie/
|
|
157
|
-
[`865bec590`](https://github.com/benjie/
|
|
158
|
-
[`7f857950a`](https://github.com/benjie/
|
|
159
|
-
[`9605165d5`](https://github.com/benjie/
|
|
160
|
-
[`d39a5d409`](https://github.com/benjie/
|
|
1060
|
+
[[`21e95326d`](https://github.com/benjie/crystal/commit/21e95326d72eaad7a8860c4c21a11736191f169b),
|
|
1061
|
+
[`98ae00f59`](https://github.com/benjie/crystal/commit/98ae00f59a8ab3edc5718ad8437a0dab734a7d69),
|
|
1062
|
+
[`2389f47ec`](https://github.com/benjie/crystal/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
|
|
1063
|
+
[`2fe247f75`](https://github.com/benjie/crystal/commit/2fe247f751377e18b3d6809cba39a01aa1602dbc),
|
|
1064
|
+
[`e91ee201d`](https://github.com/benjie/crystal/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
|
|
1065
|
+
[`865bec590`](https://github.com/benjie/crystal/commit/865bec5901f666e147f5d4088152d1f0d2584827),
|
|
1066
|
+
[`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
|
|
1067
|
+
[`9605165d5`](https://github.com/benjie/crystal/commit/9605165d5857c97053778275836b95bf19c0b1c9),
|
|
1068
|
+
[`d39a5d409`](https://github.com/benjie/crystal/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
|
|
161
1069
|
- graphile-export@0.0.2-alpha.2
|
|
162
1070
|
- @graphile/lru@5.0.0-alpha.2
|
|
163
1071
|
- grafast@0.0.1-alpha.3
|
|
@@ -173,8 +1081,8 @@
|
|
|
173
1081
|
|
|
174
1082
|
### Patch Changes
|
|
175
1083
|
|
|
176
|
-
- [#305](https://github.com/benjie/
|
|
177
|
-
[`3cf35fdb4`](https://github.com/benjie/
|
|
1084
|
+
- [#305](https://github.com/benjie/crystal/pull/305)
|
|
1085
|
+
[`3cf35fdb4`](https://github.com/benjie/crystal/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8)
|
|
178
1086
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 Ruru is now a CommonJS
|
|
179
1087
|
module, no longer an ESM module.
|
|
180
1088
|
|
|
@@ -219,8 +1127,8 @@
|
|
|
219
1127
|
};
|
|
220
1128
|
```
|
|
221
1129
|
|
|
222
|
-
- [#307](https://github.com/benjie/
|
|
223
|
-
[`7c45eaf4e`](https://github.com/benjie/
|
|
1130
|
+
- [#307](https://github.com/benjie/crystal/pull/307)
|
|
1131
|
+
[`7c45eaf4e`](https://github.com/benjie/crystal/commit/7c45eaf4ed6edf3b9e7bb17846d553f5504e0fb4)
|
|
224
1132
|
Thanks [@benjie](https://github.com/benjie)! - 🚨
|
|
225
1133
|
'application/x-www-form-urlencoded' is now opt-in (unless you're using the V4
|
|
226
1134
|
preset).
|
|
@@ -286,9 +1194,9 @@
|
|
|
286
1194
|
so disabling it does not make your server non-compliant.
|
|
287
1195
|
|
|
288
1196
|
- Updated dependencies
|
|
289
|
-
[[`3cf35fdb4`](https://github.com/benjie/
|
|
290
|
-
[`7c45eaf4e`](https://github.com/benjie/
|
|
291
|
-
[`3df3f1726`](https://github.com/benjie/
|
|
1197
|
+
[[`3cf35fdb4`](https://github.com/benjie/crystal/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8),
|
|
1198
|
+
[`7c45eaf4e`](https://github.com/benjie/crystal/commit/7c45eaf4ed6edf3b9e7bb17846d553f5504e0fb4),
|
|
1199
|
+
[`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
|
|
292
1200
|
- grafserv@0.0.1-alpha.2
|
|
293
1201
|
- ruru@2.0.0-alpha.2
|
|
294
1202
|
- grafast@0.0.1-alpha.2
|
|
@@ -300,12 +1208,12 @@
|
|
|
300
1208
|
|
|
301
1209
|
### Patch Changes
|
|
302
1210
|
|
|
303
|
-
- [`759ad403d`](https://github.com/benjie/
|
|
1211
|
+
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
304
1212
|
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
305
1213
|
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
306
1214
|
|
|
307
1215
|
- Updated dependencies
|
|
308
|
-
[[`759ad403d`](https://github.com/benjie/
|
|
1216
|
+
[[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
|
|
309
1217
|
- @dataplan/pg@0.0.1-alpha.1
|
|
310
1218
|
- grafast@0.0.1-alpha.1
|
|
311
1219
|
- grafserv@0.0.1-alpha.1
|
|
@@ -321,22 +1229,22 @@
|
|
|
321
1229
|
|
|
322
1230
|
### Patch Changes
|
|
323
1231
|
|
|
324
|
-
- [#297](https://github.com/benjie/
|
|
325
|
-
[`90ed0cb7a`](https://github.com/benjie/
|
|
1232
|
+
- [#297](https://github.com/benjie/crystal/pull/297)
|
|
1233
|
+
[`90ed0cb7a`](https://github.com/benjie/crystal/commit/90ed0cb7a78479b85115cd1ce045ac253107b3eb)
|
|
326
1234
|
Thanks [@benjie](https://github.com/benjie)! - Overhaul websocket handling in
|
|
327
1235
|
Grafserv providing cleaner integration with Grafast.
|
|
328
1236
|
|
|
329
|
-
- [#297](https://github.com/benjie/
|
|
330
|
-
[`56be761c2`](https://github.com/benjie/
|
|
1237
|
+
- [#297](https://github.com/benjie/crystal/pull/297)
|
|
1238
|
+
[`56be761c2`](https://github.com/benjie/crystal/commit/56be761c29343e28ba4980c62c955b5adaef25c0)
|
|
331
1239
|
Thanks [@benjie](https://github.com/benjie)! - Grafserv now has a plugin
|
|
332
1240
|
system (via graphile-config), first plugin hook enables manipulating the
|
|
333
1241
|
incoming request body which is useful for persisted operations.
|
|
334
1242
|
- Updated dependencies
|
|
335
|
-
[[`90ed0cb7a`](https://github.com/benjie/
|
|
336
|
-
[`56be761c2`](https://github.com/benjie/
|
|
337
|
-
[`8d270ead3`](https://github.com/benjie/
|
|
338
|
-
[`1a012bdd7`](https://github.com/benjie/
|
|
339
|
-
[`b4eaf89f4`](https://github.com/benjie/
|
|
1243
|
+
[[`90ed0cb7a`](https://github.com/benjie/crystal/commit/90ed0cb7a78479b85115cd1ce045ac253107b3eb),
|
|
1244
|
+
[`56be761c2`](https://github.com/benjie/crystal/commit/56be761c29343e28ba4980c62c955b5adaef25c0),
|
|
1245
|
+
[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf),
|
|
1246
|
+
[`1a012bdd7`](https://github.com/benjie/crystal/commit/1a012bdd7d3748ac9a4ca9b1f771876654988f25),
|
|
1247
|
+
[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
|
|
340
1248
|
- grafserv@0.0.1-1.3
|
|
341
1249
|
- grafast@0.0.1-1.3
|
|
342
1250
|
- graphile-config@0.0.1-1.2
|
|
@@ -350,7 +1258,7 @@
|
|
|
350
1258
|
### Patch Changes
|
|
351
1259
|
|
|
352
1260
|
- Updated dependencies
|
|
353
|
-
[[`7dcb0e008`](https://github.com/benjie/
|
|
1261
|
+
[[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
354
1262
|
- grafast@0.0.1-1.2
|
|
355
1263
|
- @dataplan/pg@0.0.1-1.2
|
|
356
1264
|
- grafserv@0.0.1-1.2
|
|
@@ -361,13 +1269,13 @@
|
|
|
361
1269
|
|
|
362
1270
|
### Patch Changes
|
|
363
1271
|
|
|
364
|
-
- [#279](https://github.com/benjie/
|
|
365
|
-
[`2df36c5a1`](https://github.com/benjie/
|
|
1272
|
+
- [#279](https://github.com/benjie/crystal/pull/279)
|
|
1273
|
+
[`2df36c5a1`](https://github.com/benjie/crystal/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7)
|
|
366
1274
|
Thanks [@benjie](https://github.com/benjie)! - `description` moved out of
|
|
367
1275
|
`extensions` to live directly on all the relevant entities.
|
|
368
1276
|
|
|
369
|
-
- [#279](https://github.com/benjie/
|
|
370
|
-
[`a73f9c709`](https://github.com/benjie/
|
|
1277
|
+
- [#279](https://github.com/benjie/crystal/pull/279)
|
|
1278
|
+
[`a73f9c709`](https://github.com/benjie/crystal/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26)
|
|
371
1279
|
Thanks [@benjie](https://github.com/benjie)! -
|
|
372
1280
|
`PgConnectionArgFirstLastBeforeAfterPlugin` is now
|
|
373
1281
|
`PgFirstLastBeforeAfterArgsPlugin` (because it applies to lists as well as
|
|
@@ -380,12 +1288,12 @@
|
|
|
380
1288
|
consistency (V4 preset users are unaffected). Lots of field scopes in
|
|
381
1289
|
`graphile-build-pg` have been updated to incorporate `field` into their names.
|
|
382
1290
|
|
|
383
|
-
- [#267](https://github.com/benjie/
|
|
384
|
-
[`159735204`](https://github.com/benjie/
|
|
1291
|
+
- [#267](https://github.com/benjie/crystal/pull/267)
|
|
1292
|
+
[`159735204`](https://github.com/benjie/crystal/commit/15973520462d4a95e3cdf04fdacfc71ca851122f)
|
|
385
1293
|
Thanks [@benjie](https://github.com/benjie)! - Add formatting for SQL aliases
|
|
386
1294
|
|
|
387
|
-
- [#270](https://github.com/benjie/
|
|
388
|
-
[`ef42d717c`](https://github.com/benjie/
|
|
1295
|
+
- [#270](https://github.com/benjie/crystal/pull/270)
|
|
1296
|
+
[`ef42d717c`](https://github.com/benjie/crystal/commit/ef42d717c38df7fddc1cd3a5b97dc8d68419417a)
|
|
389
1297
|
Thanks [@benjie](https://github.com/benjie)! - SQL is now generated in a
|
|
390
1298
|
slightly different way, helping PostgreSQL to optimize queries that have a
|
|
391
1299
|
batch size of 1. Also removes internal mapping code as we now simply append
|
|
@@ -394,25 +1302,25 @@
|
|
|
394
1302
|
`PgExecutor` (_extremely_ unlikely!) then you'll want to check out PR #270 to
|
|
395
1303
|
see the differences.
|
|
396
1304
|
|
|
397
|
-
- [#260](https://github.com/benjie/
|
|
398
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
1305
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
1306
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
399
1307
|
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
400
1308
|
|
|
401
|
-
- [#285](https://github.com/benjie/
|
|
402
|
-
[`bd37be707`](https://github.com/benjie/
|
|
1309
|
+
- [#285](https://github.com/benjie/crystal/pull/285)
|
|
1310
|
+
[`bd37be707`](https://github.com/benjie/crystal/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1)
|
|
403
1311
|
Thanks [@benjie](https://github.com/benjie)! - Single table inheritance no
|
|
404
1312
|
longer exposes non-shared columns via condition/order, and also only exposes
|
|
405
1313
|
the relationships on the types where they are appropriate.
|
|
406
1314
|
|
|
407
|
-
- [#270](https://github.com/benjie/
|
|
408
|
-
[`f8954fb17`](https://github.com/benjie/
|
|
1315
|
+
- [#270](https://github.com/benjie/crystal/pull/270)
|
|
1316
|
+
[`f8954fb17`](https://github.com/benjie/crystal/commit/f8954fb17bbcb0f6633475d09924cdd9f94aaf23)
|
|
409
1317
|
Thanks [@benjie](https://github.com/benjie)! - `EXPLAIN ANALYZE` (for
|
|
410
1318
|
`SELECT`) and `EXPLAIN` (for other operations) support added. Currently
|
|
411
1319
|
requires `DEBUG="datasource:pg:PgExecutor:explain"` to be set. Publish this
|
|
412
1320
|
through all the way to Ruru.
|
|
413
1321
|
|
|
414
|
-
- [#260](https://github.com/benjie/
|
|
415
|
-
[`96b0bd14e`](https://github.com/benjie/
|
|
1322
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
1323
|
+
[`96b0bd14e`](https://github.com/benjie/crystal/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4)
|
|
416
1324
|
Thanks [@benjie](https://github.com/benjie)! - `PgSource` has been renamed to
|
|
417
1325
|
`PgResource`, `PgTypeCodec` to `PgCodec`, `PgEnumTypeCodec` to `PgEnumCodec`,
|
|
418
1326
|
`PgTypeColumn` to `PgCodecAttribute` (and similar for related
|
|
@@ -457,24 +1365,24 @@
|
|
|
457
1365
|
|
|
458
1366
|
Fixes an RBAC bug when using superuser role for introspection.
|
|
459
1367
|
|
|
460
|
-
- [#271](https://github.com/benjie/
|
|
461
|
-
[`d951897ee`](https://github.com/benjie/
|
|
1368
|
+
- [#271](https://github.com/benjie/crystal/pull/271)
|
|
1369
|
+
[`d951897ee`](https://github.com/benjie/crystal/commit/d951897eea824acabdb17baab4bf900b4b3b842f)
|
|
462
1370
|
Thanks [@benjie](https://github.com/benjie)! - Add extensions.pg to Postgres
|
|
463
1371
|
function resources (makes it easier for plugins to hook them).
|
|
464
1372
|
|
|
465
|
-
- [#270](https://github.com/benjie/
|
|
466
|
-
[`c564825f3`](https://github.com/benjie/
|
|
1373
|
+
- [#270](https://github.com/benjie/crystal/pull/270)
|
|
1374
|
+
[`c564825f3`](https://github.com/benjie/crystal/commit/c564825f3fda0083e536154c4c34ce0b2948eba4)
|
|
467
1375
|
Thanks [@benjie](https://github.com/benjie)! - `set jit = 'off'` replaced with
|
|
468
1376
|
`set jit_optimize_above_cost = -1` so that JIT can still be used but heavy
|
|
469
1377
|
optimization costs are not incurred.
|
|
470
1378
|
|
|
471
|
-
- [#286](https://github.com/benjie/
|
|
472
|
-
[`366b166dc`](https://github.com/benjie/
|
|
1379
|
+
- [#286](https://github.com/benjie/crystal/pull/286)
|
|
1380
|
+
[`366b166dc`](https://github.com/benjie/crystal/commit/366b166dc88a340de7f092f92840b0fba1f03d60)
|
|
473
1381
|
Thanks [@benjie](https://github.com/benjie)! - Add detection for `@ref` that
|
|
474
1382
|
is missing `singular`, fix docs and test schema and add tests for same.
|
|
475
1383
|
|
|
476
|
-
- [#271](https://github.com/benjie/
|
|
477
|
-
[`261eb520b`](https://github.com/benjie/
|
|
1384
|
+
- [#271](https://github.com/benjie/crystal/pull/271)
|
|
1385
|
+
[`261eb520b`](https://github.com/benjie/crystal/commit/261eb520b33fe3673fe3a7712085e50291aed1e5)
|
|
478
1386
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 **RENAME ALL THE THINGS**
|
|
479
1387
|
|
|
480
1388
|
The term 'source' was overloaded, and 'configs' was too vague, and
|
|
@@ -501,8 +1409,8 @@
|
|
|
501
1409
|
- `helpers.pgIntrospection.getExecutorForDatabase` ->
|
|
502
1410
|
`helpers.pgIntrospection.getExecutorForService`
|
|
503
1411
|
|
|
504
|
-
- [#266](https://github.com/benjie/
|
|
505
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
1412
|
+
- [#266](https://github.com/benjie/crystal/pull/266)
|
|
1413
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)
|
|
506
1414
|
Thanks [@benjie](https://github.com/benjie)! - The Grafast step class
|
|
507
1415
|
'execute' and 'stream' methods now have a new additional first argument
|
|
508
1416
|
`count` which indicates how many results they must return. This means we don't
|
|
@@ -510,33 +1418,33 @@
|
|
|
510
1418
|
return, and thus we can pass through an empty tuple to steps that have no
|
|
511
1419
|
dependencies.
|
|
512
1420
|
|
|
513
|
-
- [#268](https://github.com/benjie/
|
|
514
|
-
[`a14cf5f4c`](https://github.com/benjie/
|
|
1421
|
+
- [#268](https://github.com/benjie/crystal/pull/268)
|
|
1422
|
+
[`a14cf5f4c`](https://github.com/benjie/crystal/commit/a14cf5f4c233cd794eb4d3c6f2281e747d234a71)
|
|
515
1423
|
Thanks [@benjie](https://github.com/benjie)! - PgV4NoIgnoreIndexesPlugin is
|
|
516
1424
|
now PgIndexBehaviorsPlugin, moved to graphile-build-pg, and is enabled by
|
|
517
1425
|
default
|
|
518
1426
|
- Updated dependencies
|
|
519
|
-
[[`2df36c5a1`](https://github.com/benjie/
|
|
520
|
-
[`c5d89d705`](https://github.com/benjie/
|
|
521
|
-
[`a73f9c709`](https://github.com/benjie/
|
|
522
|
-
[`ae304b33c`](https://github.com/benjie/
|
|
523
|
-
[`159735204`](https://github.com/benjie/
|
|
524
|
-
[`ef42d717c`](https://github.com/benjie/
|
|
525
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
526
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
527
|
-
[`0f4709356`](https://github.com/benjie/
|
|
528
|
-
[`c22dcde7b`](https://github.com/benjie/
|
|
529
|
-
[`bd37be707`](https://github.com/benjie/
|
|
530
|
-
[`f8954fb17`](https://github.com/benjie/
|
|
531
|
-
[`96b0bd14e`](https://github.com/benjie/
|
|
532
|
-
[`d951897ee`](https://github.com/benjie/
|
|
533
|
-
[`fbf1da26a`](https://github.com/benjie/
|
|
534
|
-
[`c564825f3`](https://github.com/benjie/
|
|
535
|
-
[`366b166dc`](https://github.com/benjie/
|
|
536
|
-
[`261eb520b`](https://github.com/benjie/
|
|
537
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
538
|
-
[`a14cf5f4c`](https://github.com/benjie/
|
|
539
|
-
[`f6e644bd3`](https://github.com/benjie/
|
|
1427
|
+
[[`2df36c5a1`](https://github.com/benjie/crystal/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7),
|
|
1428
|
+
[`c5d89d705`](https://github.com/benjie/crystal/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07),
|
|
1429
|
+
[`a73f9c709`](https://github.com/benjie/crystal/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26),
|
|
1430
|
+
[`ae304b33c`](https://github.com/benjie/crystal/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
1431
|
+
[`159735204`](https://github.com/benjie/crystal/commit/15973520462d4a95e3cdf04fdacfc71ca851122f),
|
|
1432
|
+
[`ef42d717c`](https://github.com/benjie/crystal/commit/ef42d717c38df7fddc1cd3a5b97dc8d68419417a),
|
|
1433
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
1434
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
1435
|
+
[`0f4709356`](https://github.com/benjie/crystal/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
1436
|
+
[`c22dcde7b`](https://github.com/benjie/crystal/commit/c22dcde7b53af323d907b22a0a69924841072aa9),
|
|
1437
|
+
[`bd37be707`](https://github.com/benjie/crystal/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1),
|
|
1438
|
+
[`f8954fb17`](https://github.com/benjie/crystal/commit/f8954fb17bbcb0f6633475d09924cdd9f94aaf23),
|
|
1439
|
+
[`96b0bd14e`](https://github.com/benjie/crystal/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4),
|
|
1440
|
+
[`d951897ee`](https://github.com/benjie/crystal/commit/d951897eea824acabdb17baab4bf900b4b3b842f),
|
|
1441
|
+
[`fbf1da26a`](https://github.com/benjie/crystal/commit/fbf1da26a9208519ee58f7ac34dd7e569bf1f9e5),
|
|
1442
|
+
[`c564825f3`](https://github.com/benjie/crystal/commit/c564825f3fda0083e536154c4c34ce0b2948eba4),
|
|
1443
|
+
[`366b166dc`](https://github.com/benjie/crystal/commit/366b166dc88a340de7f092f92840b0fba1f03d60),
|
|
1444
|
+
[`261eb520b`](https://github.com/benjie/crystal/commit/261eb520b33fe3673fe3a7712085e50291aed1e5),
|
|
1445
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef),
|
|
1446
|
+
[`a14cf5f4c`](https://github.com/benjie/crystal/commit/a14cf5f4c233cd794eb4d3c6f2281e747d234a71),
|
|
1447
|
+
[`f6e644bd3`](https://github.com/benjie/crystal/commit/f6e644bd35be1ee2b63c8636785a241d863b8b5d)]:
|
|
540
1448
|
- graphile-build-pg@5.0.0-1.1
|
|
541
1449
|
- @dataplan/pg@0.0.1-1.1
|
|
542
1450
|
- graphile-build@5.0.0-1.1
|
|
@@ -552,26 +1460,26 @@
|
|
|
552
1460
|
|
|
553
1461
|
### Patch Changes
|
|
554
1462
|
|
|
555
|
-
- [#257](https://github.com/benjie/
|
|
556
|
-
[`89d16c972`](https://github.com/benjie/
|
|
1463
|
+
- [#257](https://github.com/benjie/crystal/pull/257)
|
|
1464
|
+
[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b)
|
|
557
1465
|
Thanks [@benjie](https://github.com/benjie)! - PgClassSinglePlan is now
|
|
558
1466
|
enforced, users will be informed if plans return a step incompatible with the
|
|
559
1467
|
given GraphQL object type.
|
|
560
1468
|
|
|
561
|
-
- [#257](https://github.com/benjie/
|
|
562
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
1469
|
+
- [#257](https://github.com/benjie/crystal/pull/257)
|
|
1470
|
+
[`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf)
|
|
563
1471
|
Thanks [@benjie](https://github.com/benjie)! - When multiple versions of
|
|
564
1472
|
grafast or pg-sql2 are detected, a warning will be raised.
|
|
565
1473
|
|
|
566
|
-
- [#257](https://github.com/benjie/
|
|
567
|
-
[`dd5464e39`](https://github.com/benjie/
|
|
1474
|
+
- [#257](https://github.com/benjie/crystal/pull/257)
|
|
1475
|
+
[`dd5464e39`](https://github.com/benjie/crystal/commit/dd5464e3986fcc917c8e2dadcec6bfe6bc451e56)
|
|
568
1476
|
Thanks [@benjie](https://github.com/benjie)! - `@omit read` on a column now
|
|
569
1477
|
omits constraints using that column, as it did in V4.
|
|
570
1478
|
- Updated dependencies
|
|
571
|
-
[[`89d16c972`](https://github.com/benjie/
|
|
572
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
573
|
-
[`9e7183c02`](https://github.com/benjie/
|
|
574
|
-
[`fce77f40e`](https://github.com/benjie/
|
|
1479
|
+
[[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
1480
|
+
[`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
1481
|
+
[`9e7183c02`](https://github.com/benjie/crystal/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83),
|
|
1482
|
+
[`fce77f40e`](https://github.com/benjie/crystal/commit/fce77f40efb194a3dfa7f38bfe20eb99e09efa70),
|
|
575
1483
|
[`612092359`](undefined)]:
|
|
576
1484
|
- grafast@0.0.1-0.23
|
|
577
1485
|
- graphile-build-pg@5.0.0-0.34
|
|
@@ -584,34 +1492,34 @@
|
|
|
584
1492
|
|
|
585
1493
|
### Patch Changes
|
|
586
1494
|
|
|
587
|
-
- [#233](https://github.com/benjie/
|
|
588
|
-
[`a50bc5be4`](https://github.com/benjie/
|
|
1495
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
1496
|
+
[`a50bc5be4`](https://github.com/benjie/crystal/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8)
|
|
589
1497
|
Thanks [@benjie](https://github.com/benjie)! - Introduce new
|
|
590
1498
|
GraphQLObjectType_fields_field_args_arg and
|
|
591
1499
|
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
|
|
592
1500
|
ordering issues.
|
|
593
1501
|
|
|
594
|
-
- [#233](https://github.com/benjie/
|
|
595
|
-
[`11e7c12c5`](https://github.com/benjie/
|
|
1502
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
1503
|
+
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
596
1504
|
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
597
1505
|
ordering code which lead to heisenbugs.
|
|
598
1506
|
|
|
599
|
-
- [#233](https://github.com/benjie/
|
|
600
|
-
[`2f50a633a`](https://github.com/benjie/
|
|
1507
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
1508
|
+
[`2f50a633a`](https://github.com/benjie/crystal/commit/2f50a633acab7c112413ec4576beeec2efef24df)
|
|
601
1509
|
Thanks [@benjie](https://github.com/benjie)! - Fix a bug where plugin ordering
|
|
602
1510
|
could result in update mutations not being created.
|
|
603
1511
|
|
|
604
|
-
- [#233](https://github.com/benjie/
|
|
605
|
-
[`005e5cea0`](https://github.com/benjie/
|
|
1512
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
1513
|
+
[`005e5cea0`](https://github.com/benjie/crystal/commit/005e5cea01224533282bc4d0f3516368fb8db81a)
|
|
606
1514
|
Thanks [@benjie](https://github.com/benjie)! - Eradicate
|
|
607
1515
|
PgSmartCommentsPlugin, it is no longer needed. Solves some plugin ordering
|
|
608
1516
|
issues.
|
|
609
1517
|
- Updated dependencies
|
|
610
|
-
[[`a50bc5be4`](https://github.com/benjie/
|
|
611
|
-
[`6fb7ef449`](https://github.com/benjie/
|
|
612
|
-
[`11e7c12c5`](https://github.com/benjie/
|
|
613
|
-
[`2f50a633a`](https://github.com/benjie/
|
|
614
|
-
[`005e5cea0`](https://github.com/benjie/
|
|
1518
|
+
[[`a50bc5be4`](https://github.com/benjie/crystal/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8),
|
|
1519
|
+
[`6fb7ef449`](https://github.com/benjie/crystal/commit/6fb7ef4494b4f61b3b1aa36642e51eb9ec99a941),
|
|
1520
|
+
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85),
|
|
1521
|
+
[`2f50a633a`](https://github.com/benjie/crystal/commit/2f50a633acab7c112413ec4576beeec2efef24df),
|
|
1522
|
+
[`005e5cea0`](https://github.com/benjie/crystal/commit/005e5cea01224533282bc4d0f3516368fb8db81a)]:
|
|
615
1523
|
- graphile-build@5.0.0-0.28
|
|
616
1524
|
- graphile-build-pg@5.0.0-0.33
|
|
617
1525
|
- graphile-config@0.0.1-0.6
|
|
@@ -624,37 +1532,37 @@
|
|
|
624
1532
|
|
|
625
1533
|
### Patch Changes
|
|
626
1534
|
|
|
627
|
-
- [#229](https://github.com/benjie/
|
|
628
|
-
[`f5a04cf66`](https://github.com/benjie/
|
|
1535
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
1536
|
+
[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa)
|
|
629
1537
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 **BREAKING CHANGE**
|
|
630
1538
|
`hookArgs()` now accepts arguments in the same order as `grafast()`:
|
|
631
1539
|
`hookArgs(args, resolvedPreset, ctx)`. Please update all your `hookArgs`
|
|
632
1540
|
calls.
|
|
633
1541
|
|
|
634
|
-
- [#229](https://github.com/benjie/
|
|
635
|
-
[`a06b8933f`](https://github.com/benjie/
|
|
1542
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
1543
|
+
[`a06b8933f`](https://github.com/benjie/crystal/commit/a06b8933f9365627c2eab019af0c12393e29e509)
|
|
636
1544
|
Thanks [@benjie](https://github.com/benjie)! - Rename 'eventStreamRoute' to
|
|
637
1545
|
'eventStreamPath' for consistency with 'graphqlPath' and 'graphiqlPath'. V4
|
|
638
1546
|
preset unaffected.
|
|
639
1547
|
|
|
640
|
-
- [#229](https://github.com/benjie/
|
|
641
|
-
[`ac6137bb6`](https://github.com/benjie/
|
|
1548
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
1549
|
+
[`ac6137bb6`](https://github.com/benjie/crystal/commit/ac6137bb60a34a3ebf5fad3c6ac153c95acb6158)
|
|
642
1550
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 PgRBACPlugin is now included
|
|
643
1551
|
in the default `graphile-build-pg` (and thus PostGraphile amber) preset. Users
|
|
644
1552
|
of the V4 preset are unaffected.
|
|
645
1553
|
|
|
646
|
-
- [#229](https://github.com/benjie/
|
|
647
|
-
[`9edf7511a`](https://github.com/benjie/
|
|
1554
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
1555
|
+
[`9edf7511a`](https://github.com/benjie/crystal/commit/9edf7511ae71928390213ff9c807b7cc7e3174fa)
|
|
648
1556
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 pgl.getServerParams() has
|
|
649
1557
|
been renamed to pgl.getSchemaResult()
|
|
650
1558
|
|
|
651
1559
|
- Updated dependencies
|
|
652
|
-
[[`f5a04cf66`](https://github.com/benjie/
|
|
653
|
-
[`13cfc7501`](https://github.com/benjie/
|
|
654
|
-
[`b795b3da5`](https://github.com/benjie/
|
|
655
|
-
[`a06b8933f`](https://github.com/benjie/
|
|
656
|
-
[`b9a2236d4`](https://github.com/benjie/
|
|
657
|
-
[`ac6137bb6`](https://github.com/benjie/
|
|
1560
|
+
[[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa),
|
|
1561
|
+
[`13cfc7501`](https://github.com/benjie/crystal/commit/13cfc75019d42353c1e6be394c28c6ba61ab32d0),
|
|
1562
|
+
[`b795b3da5`](https://github.com/benjie/crystal/commit/b795b3da5f8e8f13c495be3a8cf71667f3d149f8),
|
|
1563
|
+
[`a06b8933f`](https://github.com/benjie/crystal/commit/a06b8933f9365627c2eab019af0c12393e29e509),
|
|
1564
|
+
[`b9a2236d4`](https://github.com/benjie/crystal/commit/b9a2236d43cc92e06085298e379de71f7fdedcb7),
|
|
1565
|
+
[`ac6137bb6`](https://github.com/benjie/crystal/commit/ac6137bb60a34a3ebf5fad3c6ac153c95acb6158)]:
|
|
658
1566
|
- grafast@0.0.1-0.21
|
|
659
1567
|
- @dataplan/pg@0.0.1-0.26
|
|
660
1568
|
- graphile-build-pg@5.0.0-0.32
|
|
@@ -666,18 +1574,18 @@
|
|
|
666
1574
|
|
|
667
1575
|
### Patch Changes
|
|
668
1576
|
|
|
669
|
-
- [#226](https://github.com/benjie/
|
|
670
|
-
[`2a7c682f4`](https://github.com/benjie/
|
|
1577
|
+
- [#226](https://github.com/benjie/crystal/pull/226)
|
|
1578
|
+
[`2a7c682f4`](https://github.com/benjie/crystal/commit/2a7c682f46ff916c040732d91510fb19f639955e)
|
|
671
1579
|
Thanks [@benjie](https://github.com/benjie)! - Enable websockets and add
|
|
672
1580
|
better compatibility with V4's pgSettings/additionalGraphQLContextFromRequest
|
|
673
1581
|
for websockets when using `makeV4Preset({subscriptions: true})`.
|
|
674
1582
|
|
|
675
|
-
- [#226](https://github.com/benjie/
|
|
676
|
-
[`6a846e009`](https://github.com/benjie/
|
|
1583
|
+
- [#226](https://github.com/benjie/crystal/pull/226)
|
|
1584
|
+
[`6a846e009`](https://github.com/benjie/crystal/commit/6a846e00945ba2dcea0cd89f5e6a8ecc5a32775d)
|
|
677
1585
|
Thanks [@benjie](https://github.com/benjie)! - Enable users to use Grafserv
|
|
678
1586
|
alongside other websocket-enabled entities in their final server.
|
|
679
1587
|
- Updated dependencies [[`aac8732f9`](undefined),
|
|
680
|
-
[`6a846e009`](https://github.com/benjie/
|
|
1588
|
+
[`6a846e009`](https://github.com/benjie/crystal/commit/6a846e00945ba2dcea0cd89f5e6a8ecc5a32775d)]:
|
|
681
1589
|
- grafast@0.0.1-0.20
|
|
682
1590
|
- grafserv@0.0.1-0.22
|
|
683
1591
|
- @dataplan/pg@0.0.1-0.25
|
|
@@ -689,7 +1597,7 @@
|
|
|
689
1597
|
### Patch Changes
|
|
690
1598
|
|
|
691
1599
|
- Updated dependencies
|
|
692
|
-
[[`397e8bb40`](https://github.com/benjie/
|
|
1600
|
+
[[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
693
1601
|
- grafast@0.0.1-0.19
|
|
694
1602
|
- @dataplan/pg@0.0.1-0.24
|
|
695
1603
|
- grafserv@0.0.1-0.21
|
|
@@ -700,8 +1608,8 @@
|
|
|
700
1608
|
|
|
701
1609
|
### Patch Changes
|
|
702
1610
|
|
|
703
|
-
- [#220](https://github.com/benjie/
|
|
704
|
-
[`2abc58cf6`](https://github.com/benjie/
|
|
1611
|
+
- [#220](https://github.com/benjie/crystal/pull/220)
|
|
1612
|
+
[`2abc58cf6`](https://github.com/benjie/crystal/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245)
|
|
705
1613
|
Thanks [@benjie](https://github.com/benjie)! - Convert a few more more options
|
|
706
1614
|
from V4 to V5.
|
|
707
1615
|
|
|
@@ -711,10 +1619,10 @@
|
|
|
711
1619
|
Add schema exporting.
|
|
712
1620
|
|
|
713
1621
|
- Updated dependencies
|
|
714
|
-
[[`4c2b7d1ca`](https://github.com/benjie/
|
|
715
|
-
[`2abc58cf6`](https://github.com/benjie/
|
|
716
|
-
[`c8a56cdc8`](https://github.com/benjie/
|
|
717
|
-
[`df8c06657`](https://github.com/benjie/
|
|
1622
|
+
[[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
1623
|
+
[`2abc58cf6`](https://github.com/benjie/crystal/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245),
|
|
1624
|
+
[`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c),
|
|
1625
|
+
[`df8c06657`](https://github.com/benjie/crystal/commit/df8c06657e6f5a7d1444d86dc32fd750d1433223)]:
|
|
718
1626
|
- grafast@0.0.1-0.18
|
|
719
1627
|
- graphile-build@5.0.0-0.24
|
|
720
1628
|
- @dataplan/pg@0.0.1-0.23
|
|
@@ -725,21 +1633,21 @@
|
|
|
725
1633
|
|
|
726
1634
|
### Patch Changes
|
|
727
1635
|
|
|
728
|
-
- [#218](https://github.com/benjie/
|
|
729
|
-
[`f2c1423fb`](https://github.com/benjie/
|
|
1636
|
+
- [#218](https://github.com/benjie/crystal/pull/218)
|
|
1637
|
+
[`f2c1423fb`](https://github.com/benjie/crystal/commit/f2c1423fbd6c354146a70a9a2ebabd97370b9b05)
|
|
730
1638
|
Thanks [@benjie](https://github.com/benjie)! - Option for `@foreignKey` smart
|
|
731
1639
|
tag to have unique auto-created for it to ease transition from V4:
|
|
732
1640
|
`{ gather: { pgFakeConstraintsAutofixForeignKeyUniqueness: true } }`
|
|
733
1641
|
|
|
734
|
-
- [#219](https://github.com/benjie/
|
|
735
|
-
[`b58f5dfac`](https://github.com/benjie/
|
|
1642
|
+
- [#219](https://github.com/benjie/crystal/pull/219)
|
|
1643
|
+
[`b58f5dfac`](https://github.com/benjie/crystal/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)
|
|
736
1644
|
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
737
1645
|
`GraphileBuild.GraphileBuildGatherOptions` to `GraphileBuild.GatherOptions`.
|
|
738
1646
|
Rename `GraphileBuild.GraphileBuildInflectionOptions` to
|
|
739
1647
|
`GraphileBuild.InflectionOptions`.
|
|
740
1648
|
- Updated dependencies
|
|
741
|
-
[[`f2c1423fb`](https://github.com/benjie/
|
|
742
|
-
[`b58f5dfac`](https://github.com/benjie/
|
|
1649
|
+
[[`f2c1423fb`](https://github.com/benjie/crystal/commit/f2c1423fbd6c354146a70a9a2ebabd97370b9b05),
|
|
1650
|
+
[`b58f5dfac`](https://github.com/benjie/crystal/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)]:
|
|
743
1651
|
- graphile-build-pg@5.0.0-0.28
|
|
744
1652
|
- graphile-build@5.0.0-0.23
|
|
745
1653
|
|
|
@@ -758,15 +1666,15 @@
|
|
|
758
1666
|
|
|
759
1667
|
### Patch Changes
|
|
760
1668
|
|
|
761
|
-
- [#214](https://github.com/benjie/
|
|
762
|
-
[`3ed7d3349`](https://github.com/benjie/
|
|
1669
|
+
- [#214](https://github.com/benjie/crystal/pull/214)
|
|
1670
|
+
[`3ed7d3349`](https://github.com/benjie/crystal/commit/3ed7d334939e5e0ab2f63b2fde202884cc2daa74)
|
|
763
1671
|
Thanks [@benjie](https://github.com/benjie)! - @uniqueKey smart tag now
|
|
764
1672
|
converted via V4 preset to @unique.
|
|
765
1673
|
|
|
766
1674
|
- Updated dependencies
|
|
767
|
-
[[`7e3bfef04`](https://github.com/benjie/
|
|
768
|
-
[`df89aba52`](https://github.com/benjie/
|
|
769
|
-
[`3ed7d3349`](https://github.com/benjie/
|
|
1675
|
+
[[`7e3bfef04`](https://github.com/benjie/crystal/commit/7e3bfef04ebb76fbde8273341ec92073b9e9f04d),
|
|
1676
|
+
[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5),
|
|
1677
|
+
[`3ed7d3349`](https://github.com/benjie/crystal/commit/3ed7d334939e5e0ab2f63b2fde202884cc2daa74)]:
|
|
770
1678
|
- @dataplan/pg@0.0.1-0.21
|
|
771
1679
|
- grafast@0.0.1-0.16
|
|
772
1680
|
- graphile-build-pg@5.0.0-0.26
|
|
@@ -795,28 +1703,28 @@
|
|
|
795
1703
|
|
|
796
1704
|
### Patch Changes
|
|
797
1705
|
|
|
798
|
-
- [#210](https://github.com/benjie/
|
|
799
|
-
[`2fb5001b4`](https://github.com/benjie/
|
|
1706
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
1707
|
+
[`2fb5001b4`](https://github.com/benjie/crystal/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d)
|
|
800
1708
|
Thanks [@benjie](https://github.com/benjie)! - retryOnInitFail implemented,
|
|
801
1709
|
and bug in introspection cache on error resolved.
|
|
802
1710
|
|
|
803
|
-
- [#210](https://github.com/benjie/
|
|
804
|
-
[`2bd4b619e`](https://github.com/benjie/
|
|
1711
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
1712
|
+
[`2bd4b619e`](https://github.com/benjie/crystal/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99)
|
|
805
1713
|
Thanks [@benjie](https://github.com/benjie)! - Add
|
|
806
1714
|
`extensions.pg = { databaseName, schemaName, name }` to various DB-derived
|
|
807
1715
|
resources (codecs, sources, etc); this replaces the `originalName` temporary
|
|
808
1716
|
solution that we had previously.
|
|
809
1717
|
|
|
810
|
-
- [#210](https://github.com/benjie/
|
|
811
|
-
[`b523118fe`](https://github.com/benjie/
|
|
1718
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
1719
|
+
[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)
|
|
812
1720
|
Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
|
|
813
1721
|
Grafast.Context throughout.
|
|
814
1722
|
|
|
815
1723
|
- Updated dependencies
|
|
816
|
-
[[`2fb5001b4`](https://github.com/benjie/
|
|
817
|
-
[`2bd4b619e`](https://github.com/benjie/
|
|
818
|
-
[`b523118fe`](https://github.com/benjie/
|
|
819
|
-
[`461c03b72`](https://github.com/benjie/
|
|
1724
|
+
[[`2fb5001b4`](https://github.com/benjie/crystal/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d),
|
|
1725
|
+
[`2bd4b619e`](https://github.com/benjie/crystal/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99),
|
|
1726
|
+
[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df),
|
|
1727
|
+
[`461c03b72`](https://github.com/benjie/crystal/commit/461c03b72477821ec26cbf703011542e453d083c)]:
|
|
820
1728
|
- graphile-build@5.0.0-0.20
|
|
821
1729
|
- graphile-build-pg@5.0.0-0.23
|
|
822
1730
|
- @dataplan/pg@0.0.1-0.20
|
|
@@ -834,28 +1742,28 @@
|
|
|
834
1742
|
|
|
835
1743
|
### Patch Changes
|
|
836
1744
|
|
|
837
|
-
- [#207](https://github.com/benjie/
|
|
838
|
-
[`c850dd4ec`](https://github.com/benjie/
|
|
1745
|
+
- [#207](https://github.com/benjie/crystal/pull/207)
|
|
1746
|
+
[`c850dd4ec`](https://github.com/benjie/crystal/commit/c850dd4ec0e42e37122f5bca55a079b53bfd895e)
|
|
839
1747
|
Thanks [@benjie](https://github.com/benjie)! - Rename 'preset.server' to
|
|
840
1748
|
'preset.grafserv'.
|
|
841
1749
|
|
|
842
|
-
- [#207](https://github.com/benjie/
|
|
843
|
-
[`afa0ea5f6`](https://github.com/benjie/
|
|
1750
|
+
- [#207](https://github.com/benjie/crystal/pull/207)
|
|
1751
|
+
[`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0)
|
|
844
1752
|
Thanks [@benjie](https://github.com/benjie)! - Fix bug in subscriptions where
|
|
845
1753
|
termination of underlying stream wouldn't terminate the subscription.
|
|
846
1754
|
|
|
847
|
-
- [#206](https://github.com/benjie/
|
|
848
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
1755
|
+
- [#206](https://github.com/benjie/crystal/pull/206)
|
|
1756
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
|
|
849
1757
|
Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
|
|
850
1758
|
errors by default; trusted errors are constructed via GraphQL's GraphQLError
|
|
851
1759
|
or Grafast's SafeError.
|
|
852
1760
|
- Updated dependencies
|
|
853
|
-
[[`d76043453`](https://github.com/benjie/
|
|
854
|
-
[`c850dd4ec`](https://github.com/benjie/
|
|
855
|
-
[`afa0ea5f6`](https://github.com/benjie/
|
|
856
|
-
[`92c2378f2`](https://github.com/benjie/
|
|
857
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
858
|
-
[`384b3594f`](https://github.com/benjie/
|
|
1761
|
+
[[`d76043453`](https://github.com/benjie/crystal/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
1762
|
+
[`c850dd4ec`](https://github.com/benjie/crystal/commit/c850dd4ec0e42e37122f5bca55a079b53bfd895e),
|
|
1763
|
+
[`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
1764
|
+
[`92c2378f2`](https://github.com/benjie/crystal/commit/92c2378f297cc917f542b126e1cdddf58e1f0fc3),
|
|
1765
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
1766
|
+
[`384b3594f`](https://github.com/benjie/crystal/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
859
1767
|
- grafast@0.0.1-0.14
|
|
860
1768
|
- grafserv@0.0.1-0.16
|
|
861
1769
|
- @dataplan/pg@0.0.1-0.19
|
|
@@ -866,14 +1774,14 @@
|
|
|
866
1774
|
|
|
867
1775
|
### Patch Changes
|
|
868
1776
|
|
|
869
|
-
- [#201](https://github.com/benjie/
|
|
870
|
-
[`dca706ad9`](https://github.com/benjie/
|
|
1777
|
+
- [#201](https://github.com/benjie/crystal/pull/201)
|
|
1778
|
+
[`dca706ad9`](https://github.com/benjie/crystal/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)
|
|
871
1779
|
Thanks [@benjie](https://github.com/benjie)! - JSON now works how most users
|
|
872
1780
|
would expect it to.
|
|
873
1781
|
|
|
874
1782
|
- Updated dependencies
|
|
875
|
-
[[`a14bd2288`](https://github.com/benjie/
|
|
876
|
-
[`dca706ad9`](https://github.com/benjie/
|
|
1783
|
+
[[`a14bd2288`](https://github.com/benjie/crystal/commit/a14bd2288532b0977945d1c0508e51baef6dba2b),
|
|
1784
|
+
[`dca706ad9`](https://github.com/benjie/crystal/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)]:
|
|
877
1785
|
- @dataplan/pg@0.0.1-0.18
|
|
878
1786
|
- graphile-build@5.0.0-0.18
|
|
879
1787
|
- graphile-build-pg@5.0.0-0.21
|
|
@@ -893,25 +1801,25 @@
|
|
|
893
1801
|
|
|
894
1802
|
### Patch Changes
|
|
895
1803
|
|
|
896
|
-
- [#200](https://github.com/benjie/
|
|
897
|
-
[`1e5671cdb`](https://github.com/benjie/
|
|
1804
|
+
- [#200](https://github.com/benjie/crystal/pull/200)
|
|
1805
|
+
[`1e5671cdb`](https://github.com/benjie/crystal/commit/1e5671cdbbf9f4600b74c43eaa7e33b7bfd75fb9)
|
|
898
1806
|
Thanks [@benjie](https://github.com/benjie)! - Add support for websocket
|
|
899
1807
|
GraphQL subscriptions (via graphql-ws) to grafserv and PostGraphile (currently
|
|
900
1808
|
supporting Node, Express, Koa and Fastify)
|
|
901
1809
|
|
|
902
|
-
- [#200](https://github.com/benjie/
|
|
903
|
-
[`5b634a78e`](https://github.com/benjie/
|
|
1810
|
+
- [#200](https://github.com/benjie/crystal/pull/200)
|
|
1811
|
+
[`5b634a78e`](https://github.com/benjie/crystal/commit/5b634a78e51816071447aceb1edfb813d77d563b)
|
|
904
1812
|
Thanks [@benjie](https://github.com/benjie)! - Standardize on `serv.addTo`
|
|
905
1813
|
interface, even for Node
|
|
906
1814
|
|
|
907
1815
|
- Updated dependencies
|
|
908
|
-
[[`4f5d5bec7`](https://github.com/benjie/
|
|
909
|
-
[`e11698473`](https://github.com/benjie/
|
|
910
|
-
[`1e5671cdb`](https://github.com/benjie/
|
|
911
|
-
[`fb40bd97b`](https://github.com/benjie/
|
|
912
|
-
[`a1158d83e`](https://github.com/benjie/
|
|
913
|
-
[`5b634a78e`](https://github.com/benjie/
|
|
914
|
-
[`25f5a6cbf`](https://github.com/benjie/
|
|
1816
|
+
[[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
1817
|
+
[`e11698473`](https://github.com/benjie/crystal/commit/e1169847303790570bfafa07eb25d8fce53a0391),
|
|
1818
|
+
[`1e5671cdb`](https://github.com/benjie/crystal/commit/1e5671cdbbf9f4600b74c43eaa7e33b7bfd75fb9),
|
|
1819
|
+
[`fb40bd97b`](https://github.com/benjie/crystal/commit/fb40bd97b8a36da91c6b08e0ce67f1a9419ad91f),
|
|
1820
|
+
[`a1158d83e`](https://github.com/benjie/crystal/commit/a1158d83e2d26f7da0182ec2b651f7f1ec202f14),
|
|
1821
|
+
[`5b634a78e`](https://github.com/benjie/crystal/commit/5b634a78e51816071447aceb1edfb813d77d563b),
|
|
1822
|
+
[`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
915
1823
|
- @dataplan/pg@0.0.1-0.16
|
|
916
1824
|
- grafast@0.0.1-0.12
|
|
917
1825
|
- ruru@2.0.0-0.10
|
|
@@ -925,13 +1833,13 @@
|
|
|
925
1833
|
|
|
926
1834
|
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
927
1835
|
|
|
928
|
-
- [#196](https://github.com/benjie/
|
|
929
|
-
[`af9bc38c8`](https://github.com/benjie/
|
|
1836
|
+
- [#196](https://github.com/benjie/crystal/pull/196)
|
|
1837
|
+
[`af9bc38c8`](https://github.com/benjie/crystal/commit/af9bc38c86dddfa776e5d8db117b5cb35dbe2cd7)
|
|
930
1838
|
Thanks [@benjie](https://github.com/benjie)! - Allow passing `pool` directly
|
|
931
1839
|
to `makePgConfig`.
|
|
932
1840
|
|
|
933
|
-
- [#190](https://github.com/benjie/
|
|
934
|
-
[`652cf1073`](https://github.com/benjie/
|
|
1841
|
+
- [#190](https://github.com/benjie/crystal/pull/190)
|
|
1842
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
935
1843
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
936
1844
|
types and postgres configuration:
|
|
937
1845
|
|
|
@@ -958,8 +1866,8 @@
|
|
|
958
1866
|
`Grafast.RequestContext.node.req/res`; all server adaptors should implement
|
|
959
1867
|
this if appropriate
|
|
960
1868
|
|
|
961
|
-
- [#192](https://github.com/benjie/
|
|
962
|
-
[`80091a8e0`](https://github.com/benjie/
|
|
1869
|
+
- [#192](https://github.com/benjie/crystal/pull/192)
|
|
1870
|
+
[`80091a8e0`](https://github.com/benjie/crystal/commit/80091a8e0343a162bf2b60cf619267a874a67e60)
|
|
963
1871
|
Thanks [@benjie](https://github.com/benjie)! - - Conflicts in `pgConfigs`
|
|
964
1872
|
(e.g. multiple sources using the same 'name') now detected and output
|
|
965
1873
|
- Fix defaults for `pgSettingsKey` and `withPgClientKey` based on config name
|
|
@@ -968,11 +1876,11 @@
|
|
|
968
1876
|
- Multiple postgres sources now works nicely with multiple `makePgConfig`
|
|
969
1877
|
calls
|
|
970
1878
|
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
971
|
-
[`af9bc38c8`](https://github.com/benjie/
|
|
972
|
-
[`4783bdd7c`](https://github.com/benjie/
|
|
973
|
-
[`652cf1073`](https://github.com/benjie/
|
|
974
|
-
[`752ec9c51`](https://github.com/benjie/
|
|
975
|
-
[`80091a8e0`](https://github.com/benjie/
|
|
1879
|
+
[`af9bc38c8`](https://github.com/benjie/crystal/commit/af9bc38c86dddfa776e5d8db117b5cb35dbe2cd7),
|
|
1880
|
+
[`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
1881
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876),
|
|
1882
|
+
[`752ec9c51`](https://github.com/benjie/crystal/commit/752ec9c516add7c4617b426e97eccd1d4e5b7833),
|
|
1883
|
+
[`80091a8e0`](https://github.com/benjie/crystal/commit/80091a8e0343a162bf2b60cf619267a874a67e60)]:
|
|
976
1884
|
- @dataplan/pg@0.0.1-0.15
|
|
977
1885
|
- grafast@0.0.1-0.11
|
|
978
1886
|
- grafserv@0.0.1-0.13
|
|
@@ -1011,12 +1919,12 @@
|
|
|
1011
1919
|
|
|
1012
1920
|
### Patch Changes
|
|
1013
1921
|
|
|
1014
|
-
- [#184](https://github.com/benjie/
|
|
1015
|
-
[`842f6ccbb`](https://github.com/benjie/
|
|
1922
|
+
- [#184](https://github.com/benjie/crystal/pull/184)
|
|
1923
|
+
[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)
|
|
1016
1924
|
Thanks [@benjie](https://github.com/benjie)! - Handle array-to-object issue in
|
|
1017
1925
|
graphile-config when multiple presets set an array key.
|
|
1018
1926
|
- Updated dependencies
|
|
1019
|
-
[[`842f6ccbb`](https://github.com/benjie/
|
|
1927
|
+
[[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
|
|
1020
1928
|
- graphile-config@0.0.1-0.4
|
|
1021
1929
|
- grafast@0.0.1-0.10
|
|
1022
1930
|
- grafserv@0.0.1-0.12
|
|
@@ -1029,28 +1937,28 @@
|
|
|
1029
1937
|
|
|
1030
1938
|
### Patch Changes
|
|
1031
1939
|
|
|
1032
|
-
- [#183](https://github.com/benjie/
|
|
1033
|
-
[`ebb24895c`](https://github.com/benjie/
|
|
1940
|
+
- [#183](https://github.com/benjie/crystal/pull/183)
|
|
1941
|
+
[`ebb24895c`](https://github.com/benjie/crystal/commit/ebb24895c3ee05c670ffb6c9b4fa4bd1328d9005)
|
|
1034
1942
|
Thanks [@benjie](https://github.com/benjie)! - Fix bug when handling stable
|
|
1035
1943
|
void functions
|
|
1036
1944
|
|
|
1037
|
-
- [#181](https://github.com/benjie/
|
|
1038
|
-
[`d3cba220c`](https://github.com/benjie/
|
|
1945
|
+
- [#181](https://github.com/benjie/crystal/pull/181)
|
|
1946
|
+
[`d3cba220c`](https://github.com/benjie/crystal/commit/d3cba220c5acb52bb45f1f82f599dd13e0340e65)
|
|
1039
1947
|
Thanks [@benjie](https://github.com/benjie)! - `*FieldName` smart tags are now
|
|
1040
1948
|
used verbatim rather than being piped through `inflection.camelCase(...)` -
|
|
1041
1949
|
you've explicitly stated a 'field name' so we should use that. This may be a
|
|
1042
1950
|
breaking change for you if your field names are currently different
|
|
1043
1951
|
before/after they are camelCase'd.
|
|
1044
1952
|
|
|
1045
|
-
- [#183](https://github.com/benjie/
|
|
1046
|
-
[`3eb9da95e`](https://github.com/benjie/
|
|
1953
|
+
- [#183](https://github.com/benjie/crystal/pull/183)
|
|
1954
|
+
[`3eb9da95e`](https://github.com/benjie/crystal/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)
|
|
1047
1955
|
Thanks [@benjie](https://github.com/benjie)! - Fix potential construction loop
|
|
1048
1956
|
on failure to construct a type
|
|
1049
1957
|
|
|
1050
1958
|
- Updated dependencies
|
|
1051
|
-
[[`ebb24895c`](https://github.com/benjie/
|
|
1052
|
-
[`d3cba220c`](https://github.com/benjie/
|
|
1053
|
-
[`3eb9da95e`](https://github.com/benjie/
|
|
1959
|
+
[[`ebb24895c`](https://github.com/benjie/crystal/commit/ebb24895c3ee05c670ffb6c9b4fa4bd1328d9005),
|
|
1960
|
+
[`d3cba220c`](https://github.com/benjie/crystal/commit/d3cba220c5acb52bb45f1f82f599dd13e0340e65),
|
|
1961
|
+
[`3eb9da95e`](https://github.com/benjie/crystal/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)]:
|
|
1054
1962
|
- graphile-build-pg@5.0.0-0.15
|
|
1055
1963
|
- graphile-build@5.0.0-0.12
|
|
1056
1964
|
|
|
@@ -1058,19 +1966,19 @@
|
|
|
1058
1966
|
|
|
1059
1967
|
### Patch Changes
|
|
1060
1968
|
|
|
1061
|
-
- [#178](https://github.com/benjie/
|
|
1062
|
-
[`1b040b3ba`](https://github.com/benjie/
|
|
1969
|
+
- [#178](https://github.com/benjie/crystal/pull/178)
|
|
1970
|
+
[`1b040b3ba`](https://github.com/benjie/crystal/commit/1b040b3bad10ea42b01134e6bddaefaf604936c0)
|
|
1063
1971
|
Thanks [@benjie](https://github.com/benjie)! - `@omit` and similar smart tags
|
|
1064
1972
|
are now processed on `@foreignKey` and other fake constraints.
|
|
1065
1973
|
|
|
1066
|
-
- [#176](https://github.com/benjie/
|
|
1067
|
-
[`19e2961de`](https://github.com/benjie/
|
|
1974
|
+
- [#176](https://github.com/benjie/crystal/pull/176)
|
|
1975
|
+
[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb)
|
|
1068
1976
|
Thanks [@benjie](https://github.com/benjie)! - Better graphile.config.\*
|
|
1069
1977
|
compatibility with ESM-emulation, so 'export default preset;' should work in
|
|
1070
1978
|
TypeScript even if outputting to CommonJS.
|
|
1071
1979
|
|
|
1072
|
-
- [#177](https://github.com/benjie/
|
|
1073
|
-
[`6be68a53e`](https://github.com/benjie/
|
|
1980
|
+
- [#177](https://github.com/benjie/crystal/pull/177)
|
|
1981
|
+
[`6be68a53e`](https://github.com/benjie/crystal/commit/6be68a53e21940406a9fd629ee15cb1673497a6e)
|
|
1074
1982
|
Thanks [@benjie](https://github.com/benjie)! - `@foreignFieldName` smart tag
|
|
1075
1983
|
is now fed into the `inflection.connectionField(...)` or
|
|
1076
1984
|
`inflection.listField(...)` inflector as appropriate. If you are using
|
|
@@ -1078,10 +1986,10 @@
|
|
|
1078
1986
|
you should consider renaming `@foreignFieldName` to
|
|
1079
1987
|
`@foreignConnectionFieldName` for consistency.
|
|
1080
1988
|
- Updated dependencies
|
|
1081
|
-
[[`1b040b3ba`](https://github.com/benjie/
|
|
1082
|
-
[`19e2961de`](https://github.com/benjie/
|
|
1083
|
-
[`6be68a53e`](https://github.com/benjie/
|
|
1084
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
1989
|
+
[[`1b040b3ba`](https://github.com/benjie/crystal/commit/1b040b3bad10ea42b01134e6bddaefaf604936c0),
|
|
1990
|
+
[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
|
|
1991
|
+
[`6be68a53e`](https://github.com/benjie/crystal/commit/6be68a53e21940406a9fd629ee15cb1673497a6e),
|
|
1992
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
1085
1993
|
- graphile-build-pg@5.0.0-0.14
|
|
1086
1994
|
- graphile-config@0.0.1-0.3
|
|
1087
1995
|
- grafast@0.0.1-0.9
|
|
@@ -1095,7 +2003,7 @@
|
|
|
1095
2003
|
### Patch Changes
|
|
1096
2004
|
|
|
1097
2005
|
- Updated dependencies
|
|
1098
|
-
[[`208166269`](https://github.com/benjie/
|
|
2006
|
+
[[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
1099
2007
|
- grafast@0.0.1-0.8
|
|
1100
2008
|
- @dataplan/pg@0.0.1-0.12
|
|
1101
2009
|
- grafserv@0.0.1-0.10
|
|
@@ -1106,27 +2014,27 @@
|
|
|
1106
2014
|
|
|
1107
2015
|
### Patch Changes
|
|
1108
2016
|
|
|
1109
|
-
- [`af9f11f28`](https://github.com/benjie/
|
|
2017
|
+
- [`af9f11f28`](https://github.com/benjie/crystal/commit/af9f11f289b0029442c6cf4ededf86ee823a26c3)
|
|
1110
2018
|
Thanks [@benjie](https://github.com/benjie)! - 'preset.pgSources' renamed to
|
|
1111
2019
|
'preset.pgConfigs' to avoid confusion with PgSource class and
|
|
1112
2020
|
'input.pgSources' used for build.
|
|
1113
2021
|
|
|
1114
|
-
- [`6ebe3a13e`](https://github.com/benjie/
|
|
2022
|
+
- [`6ebe3a13e`](https://github.com/benjie/crystal/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a)
|
|
1115
2023
|
Thanks [@benjie](https://github.com/benjie)! - Enable omitting update/delete
|
|
1116
2024
|
mutations using behaviors on unique constraints.
|
|
1117
2025
|
|
|
1118
|
-
- [`0e440a862`](https://github.com/benjie/
|
|
2026
|
+
- [`0e440a862`](https://github.com/benjie/crystal/commit/0e440a862d29e8db40fd72413223a10de885ef46)
|
|
1119
2027
|
Thanks [@benjie](https://github.com/benjie)! - Add new
|
|
1120
2028
|
`--superuser-connection` option to allow installing watch fixtures as
|
|
1121
2029
|
superuser.
|
|
1122
2030
|
|
|
1123
|
-
- [`f7d885527`](https://github.com/benjie/
|
|
2031
|
+
- [`f7d885527`](https://github.com/benjie/crystal/commit/f7d8855276c3ab0bbcaf8505a1f2f6e872d53128)
|
|
1124
2032
|
Thanks [@benjie](https://github.com/benjie)! - Fix bug in server startup
|
|
1125
2033
|
message where preset.server.graphqlPath was not respected.
|
|
1126
2034
|
- Updated dependencies
|
|
1127
|
-
[[`af9f11f28`](https://github.com/benjie/
|
|
1128
|
-
[`6ebe3a13e`](https://github.com/benjie/
|
|
1129
|
-
[`0e440a862`](https://github.com/benjie/
|
|
2035
|
+
[[`af9f11f28`](https://github.com/benjie/crystal/commit/af9f11f289b0029442c6cf4ededf86ee823a26c3),
|
|
2036
|
+
[`6ebe3a13e`](https://github.com/benjie/crystal/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a),
|
|
2037
|
+
[`0e440a862`](https://github.com/benjie/crystal/commit/0e440a862d29e8db40fd72413223a10de885ef46)]:
|
|
1130
2038
|
- graphile-build-pg@5.0.0-0.12
|
|
1131
2039
|
- graphile-build@5.0.0-0.9
|
|
1132
2040
|
- @dataplan/pg@0.0.1-0.11
|
|
@@ -1136,7 +2044,7 @@
|
|
|
1136
2044
|
### Patch Changes
|
|
1137
2045
|
|
|
1138
2046
|
- Updated dependencies [[`a40fa6966`](undefined), [`677c8f5fc`](undefined),
|
|
1139
|
-
[`8f04af08d`](https://github.com/benjie/
|
|
2047
|
+
[`8f04af08d`](https://github.com/benjie/crystal/commit/8f04af08da68baf7b2b4d508eac0d2a57064da7b)]:
|
|
1140
2048
|
- ruru@2.0.0-0.6
|
|
1141
2049
|
- graphile-build@5.0.0-0.8
|
|
1142
2050
|
- graphile-build-pg@5.0.0-0.11
|
|
@@ -1275,12 +2183,12 @@
|
|
|
1275
2183
|
|
|
1276
2184
|
### Patch Changes
|
|
1277
2185
|
|
|
1278
|
-
- [#125](https://github.com/benjie/
|
|
1279
|
-
[`91f2256b3`](https://github.com/benjie/
|
|
2186
|
+
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
2187
|
+
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
1280
2188
|
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|
|
1281
2189
|
|
|
1282
2190
|
- Updated dependencies
|
|
1283
|
-
[[`91f2256b3`](https://github.com/benjie/
|
|
2191
|
+
[[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
|
|
1284
2192
|
- ruru@2.0.0-0.0
|
|
1285
2193
|
- @dataplan/pg@0.0.1-0.0
|
|
1286
2194
|
- @graphile/lru@5.0.0-0.1
|