postgraphile 5.0.0-0.8 → 5.0.0-1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +841 -0
- package/README.md +2 -4
- package/dist/cli.d.ts +4 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +53 -16
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +13 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -34
- package/dist/index.js.map +1 -1
- package/dist/plugins/PgV4BehaviorPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4BehaviorPlugin.js +7 -7
- package/dist/plugins/PgV4BehaviorPlugin.js.map +1 -1
- package/dist/plugins/PgV4InflectionPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4InflectionPlugin.js +17 -16
- package/dist/plugins/PgV4InflectionPlugin.js.map +1 -1
- package/dist/plugins/PgV4SmartTagsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgV4SmartTagsPlugin.js +77 -42
- package/dist/plugins/PgV4SmartTagsPlugin.js.map +1 -1
- package/dist/presets/amber.d.ts.map +1 -1
- package/dist/presets/amber.js +3 -2
- package/dist/presets/amber.js.map +1 -1
- package/dist/presets/v4.d.ts +38 -8
- package/dist/presets/v4.d.ts.map +1 -1
- package/dist/presets/v4.js +67 -14
- package/dist/presets/v4.js.map +1 -1
- package/package.json +15 -14
- package/dist/plugins/PgV4NoIgnoreIndexes.d.ts +0 -2
- package/dist/plugins/PgV4NoIgnoreIndexes.d.ts.map +0 -1
- package/dist/plugins/PgV4NoIgnoreIndexes.js +0 -72
- package/dist/plugins/PgV4NoIgnoreIndexes.js.map +0 -1
- package/dist/schema.d.ts +0 -34
- package/dist/schema.d.ts.map +0 -1
- package/dist/schema.js +0 -82
- package/dist/schema.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,846 @@
|
|
|
1
1
|
# postgraphile
|
|
2
2
|
|
|
3
|
+
## 5.0.0-1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#279](https://github.com/benjie/postgraphile-private/pull/279)
|
|
8
|
+
[`2df36c5a1`](https://github.com/benjie/postgraphile-private/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7)
|
|
9
|
+
Thanks [@benjie](https://github.com/benjie)! - `description` moved out of
|
|
10
|
+
`extensions` to live directly on all the relevant entities.
|
|
11
|
+
|
|
12
|
+
- [#279](https://github.com/benjie/postgraphile-private/pull/279)
|
|
13
|
+
[`a73f9c709`](https://github.com/benjie/postgraphile-private/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26)
|
|
14
|
+
Thanks [@benjie](https://github.com/benjie)! -
|
|
15
|
+
`PgConnectionArgFirstLastBeforeAfterPlugin` is now
|
|
16
|
+
`PgFirstLastBeforeAfterArgsPlugin` (because it applies to lists as well as
|
|
17
|
+
connections).
|
|
18
|
+
`PgInsertStep`/`pgInsert()`/`PgUpdateStep`/`pgUpdate()`/`PgDeleteStep`/`pgDelete()`
|
|
19
|
+
are now
|
|
20
|
+
`PgInsertSingleStep`/`pgInsertSingle()`/`PgUpdateSingleStep`/`pgUpdateSingle()`/`PgDeleteSingleStep`/`pgDeleteSingle()`
|
|
21
|
+
(to make space to add a future bulk API if we want to).
|
|
22
|
+
`config.schema.orderByNullsLast` is now `config.schema.pgOrderByNullsLast` for
|
|
23
|
+
consistency (V4 preset users are unaffected). Lots of field scopes in
|
|
24
|
+
`graphile-build-pg` have been updated to incorporate `field` into their names.
|
|
25
|
+
|
|
26
|
+
- [#267](https://github.com/benjie/postgraphile-private/pull/267)
|
|
27
|
+
[`159735204`](https://github.com/benjie/postgraphile-private/commit/15973520462d4a95e3cdf04fdacfc71ca851122f)
|
|
28
|
+
Thanks [@benjie](https://github.com/benjie)! - Add formatting for SQL aliases
|
|
29
|
+
|
|
30
|
+
- [#270](https://github.com/benjie/postgraphile-private/pull/270)
|
|
31
|
+
[`ef42d717c`](https://github.com/benjie/postgraphile-private/commit/ef42d717c38df7fddc1cd3a5b97dc8d68419417a)
|
|
32
|
+
Thanks [@benjie](https://github.com/benjie)! - SQL is now generated in a
|
|
33
|
+
slightly different way, helping PostgreSQL to optimize queries that have a
|
|
34
|
+
batch size of 1. Also removes internal mapping code as we now simply append
|
|
35
|
+
placeholder values rather than search and replacing a symbol (eradicates
|
|
36
|
+
`queryValuesSymbol` and related hacks). If you manually issue queries through
|
|
37
|
+
`PgExecutor` (_extremely_ unlikely!) then you'll want to check out PR #270 to
|
|
38
|
+
see the differences.
|
|
39
|
+
|
|
40
|
+
- [#260](https://github.com/benjie/postgraphile-private/pull/260)
|
|
41
|
+
[`d5312e6b9`](https://github.com/benjie/postgraphile-private/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
42
|
+
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
43
|
+
|
|
44
|
+
- [#285](https://github.com/benjie/postgraphile-private/pull/285)
|
|
45
|
+
[`bd37be707`](https://github.com/benjie/postgraphile-private/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1)
|
|
46
|
+
Thanks [@benjie](https://github.com/benjie)! - Single table inheritance no
|
|
47
|
+
longer exposes non-shared columns via condition/order, and also only exposes
|
|
48
|
+
the relationships on the types where they are appropriate.
|
|
49
|
+
|
|
50
|
+
- [#270](https://github.com/benjie/postgraphile-private/pull/270)
|
|
51
|
+
[`f8954fb17`](https://github.com/benjie/postgraphile-private/commit/f8954fb17bbcb0f6633475d09924cdd9f94aaf23)
|
|
52
|
+
Thanks [@benjie](https://github.com/benjie)! - `EXPLAIN ANALYZE` (for
|
|
53
|
+
`SELECT`) and `EXPLAIN` (for other operations) support added. Currently
|
|
54
|
+
requires `DEBUG="datasource:pg:PgExecutor:explain"` to be set. Publish this
|
|
55
|
+
through all the way to Ruru.
|
|
56
|
+
|
|
57
|
+
- [#260](https://github.com/benjie/postgraphile-private/pull/260)
|
|
58
|
+
[`96b0bd14e`](https://github.com/benjie/postgraphile-private/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4)
|
|
59
|
+
Thanks [@benjie](https://github.com/benjie)! - `PgSource` has been renamed to
|
|
60
|
+
`PgResource`, `PgTypeCodec` to `PgCodec`, `PgEnumTypeCodec` to `PgEnumCodec`,
|
|
61
|
+
`PgTypeColumn` to `PgCodecAttribute` (and similar for related
|
|
62
|
+
types/interfaces). `source` has been replaced by `resource` in various of the
|
|
63
|
+
APIs where it relates to a `PgResource`.
|
|
64
|
+
|
|
65
|
+
`PgSourceBuilder` is no more, instead being replaced with `PgResourceOptions`
|
|
66
|
+
and being built into the final `PgResource` via the new
|
|
67
|
+
`makeRegistryBuilder`/`makeRegistry` functions.
|
|
68
|
+
|
|
69
|
+
`build.input` no longer contains the `pgSources` directly, instead
|
|
70
|
+
`build.input.pgRegistry.pgResources` should be used.
|
|
71
|
+
|
|
72
|
+
The new registry system also means that various of the hooks in the gather
|
|
73
|
+
phase have been renamed/replaced, there's a new `PgRegistryPlugin` plugin in
|
|
74
|
+
the default preset. The only plugin that uses the `main` method in the
|
|
75
|
+
`gather` phase is now `PgRegistryPlugin` - if you are using the `main`
|
|
76
|
+
function for Postgres-related behaviors you should consider moving your logic
|
|
77
|
+
to hooks instead.
|
|
78
|
+
|
|
79
|
+
Plugin ordering has changed and thus the shape of the final schema is likely
|
|
80
|
+
to change (please use `lexicographicSortSchema` on your before/after schemas
|
|
81
|
+
when comparing).
|
|
82
|
+
|
|
83
|
+
Relationships are now from a codec to a resource, rather than from resource to
|
|
84
|
+
resource, so all the relationship inflectors (`singleRelation`,
|
|
85
|
+
`singleRelationBackwards`, `_manyRelation`, `manyRelationConnection`,
|
|
86
|
+
`manyRelationList`) now accept different parameters
|
|
87
|
+
(`{registry, codec, relationName}` instead of `{source, relationaName}`).
|
|
88
|
+
|
|
89
|
+
Significant type overhaul, most generic types no longer require generics to be
|
|
90
|
+
explicitly passed in many circumstances. `PgSelectStep`, `PgSelectSingleStep`,
|
|
91
|
+
`PgInsertStep`, `PgUpdateStep` and `PgDeleteStep` now all accept the resource
|
|
92
|
+
as their single type parameter rather than accepting the 4 generics they did
|
|
93
|
+
previously. `PgClassExpressionStep` now accepts just a codec and a resource as
|
|
94
|
+
generics. `PgResource` and `PgCodec` have gained a new `TName extends string`
|
|
95
|
+
generic at the very front that is used by the registry system to massively
|
|
96
|
+
improve continuity of the types through all the various APIs.
|
|
97
|
+
|
|
98
|
+
Fixed various issues in schema exporting, and detect more potential
|
|
99
|
+
issues/oversights automatically.
|
|
100
|
+
|
|
101
|
+
Fixes an RBAC bug when using superuser role for introspection.
|
|
102
|
+
|
|
103
|
+
- [#271](https://github.com/benjie/postgraphile-private/pull/271)
|
|
104
|
+
[`d951897ee`](https://github.com/benjie/postgraphile-private/commit/d951897eea824acabdb17baab4bf900b4b3b842f)
|
|
105
|
+
Thanks [@benjie](https://github.com/benjie)! - Add extensions.pg to Postgres
|
|
106
|
+
function resources (makes it easier for plugins to hook them).
|
|
107
|
+
|
|
108
|
+
- [#270](https://github.com/benjie/postgraphile-private/pull/270)
|
|
109
|
+
[`c564825f3`](https://github.com/benjie/postgraphile-private/commit/c564825f3fda0083e536154c4c34ce0b2948eba4)
|
|
110
|
+
Thanks [@benjie](https://github.com/benjie)! - `set jit = 'off'` replaced with
|
|
111
|
+
`set jit_optimize_above_cost = -1` so that JIT can still be used but heavy
|
|
112
|
+
optimization costs are not incurred.
|
|
113
|
+
|
|
114
|
+
- [#286](https://github.com/benjie/postgraphile-private/pull/286)
|
|
115
|
+
[`366b166dc`](https://github.com/benjie/postgraphile-private/commit/366b166dc88a340de7f092f92840b0fba1f03d60)
|
|
116
|
+
Thanks [@benjie](https://github.com/benjie)! - Add detection for `@ref` that
|
|
117
|
+
is missing `singular`, fix docs and test schema and add tests for same.
|
|
118
|
+
|
|
119
|
+
- [#271](https://github.com/benjie/postgraphile-private/pull/271)
|
|
120
|
+
[`261eb520b`](https://github.com/benjie/postgraphile-private/commit/261eb520b33fe3673fe3a7712085e50291aed1e5)
|
|
121
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 **RENAME ALL THE THINGS**
|
|
122
|
+
|
|
123
|
+
The term 'source' was overloaded, and 'configs' was too vague, and
|
|
124
|
+
'databaseName' was misleading, and 'source' behaviours actually applied to
|
|
125
|
+
resources, and more. So, we've renamed lots of things as part of the API
|
|
126
|
+
stabilization work. You're probably only affected by the first 2 bullet
|
|
127
|
+
points.
|
|
128
|
+
|
|
129
|
+
- `pgConfigs` -> `pgServices` (also applies to related `pgConfig` terms such
|
|
130
|
+
as `makePgConfig` -> `makePgService`, `MakePgConfigOptions` ->
|
|
131
|
+
`MakePgServiceOptions`, etc) - see your `graphile.config.ts` or equivalent
|
|
132
|
+
file
|
|
133
|
+
- All `*:source:*` behaviors are now `*:resource:*` behaviors (use regexp
|
|
134
|
+
`/:source\b|\bsource:[a-z$]/` to find the places that need updating)
|
|
135
|
+
- `PgDatabaseConfiguration` -> `PgServiceConfiguration`
|
|
136
|
+
- `databaseName` -> `serviceName` (because it's not the name of the database,
|
|
137
|
+
it's the name of the `pgServices` (which was `pgConfigs`) entry)
|
|
138
|
+
- `PgResourceConfig::source` -> `PgResourceConfig.from` ('source' is
|
|
139
|
+
overloaded, so use a more direct term)
|
|
140
|
+
- `PgResource::source` -> `PgResource.from`
|
|
141
|
+
- `PgSelectPlanJoin::source` -> `PgSelectPlanJoin.from`
|
|
142
|
+
- `helpers.pgIntrospection.getDatabase` ->
|
|
143
|
+
`helpers.pgIntrospection.getService`
|
|
144
|
+
- `helpers.pgIntrospection.getExecutorForDatabase` ->
|
|
145
|
+
`helpers.pgIntrospection.getExecutorForService`
|
|
146
|
+
|
|
147
|
+
- [#266](https://github.com/benjie/postgraphile-private/pull/266)
|
|
148
|
+
[`395b4a2dd`](https://github.com/benjie/postgraphile-private/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)
|
|
149
|
+
Thanks [@benjie](https://github.com/benjie)! - The Grafast step class
|
|
150
|
+
'execute' and 'stream' methods now have a new additional first argument
|
|
151
|
+
`count` which indicates how many results they must return. This means we don't
|
|
152
|
+
need to rely on the `values[0].length` trick to determine how many results to
|
|
153
|
+
return, and thus we can pass through an empty tuple to steps that have no
|
|
154
|
+
dependencies.
|
|
155
|
+
|
|
156
|
+
- [#268](https://github.com/benjie/postgraphile-private/pull/268)
|
|
157
|
+
[`a14cf5f4c`](https://github.com/benjie/postgraphile-private/commit/a14cf5f4c233cd794eb4d3c6f2281e747d234a71)
|
|
158
|
+
Thanks [@benjie](https://github.com/benjie)! - PgV4NoIgnoreIndexesPlugin is
|
|
159
|
+
now PgIndexBehaviorsPlugin, moved to graphile-build-pg, and is enabled by
|
|
160
|
+
default
|
|
161
|
+
- Updated dependencies
|
|
162
|
+
[[`2df36c5a1`](https://github.com/benjie/postgraphile-private/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7),
|
|
163
|
+
[`c5d89d705`](https://github.com/benjie/postgraphile-private/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07),
|
|
164
|
+
[`a73f9c709`](https://github.com/benjie/postgraphile-private/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26),
|
|
165
|
+
[`ae304b33c`](https://github.com/benjie/postgraphile-private/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
166
|
+
[`159735204`](https://github.com/benjie/postgraphile-private/commit/15973520462d4a95e3cdf04fdacfc71ca851122f),
|
|
167
|
+
[`ef42d717c`](https://github.com/benjie/postgraphile-private/commit/ef42d717c38df7fddc1cd3a5b97dc8d68419417a),
|
|
168
|
+
[`d5312e6b9`](https://github.com/benjie/postgraphile-private/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
169
|
+
[`22ec50e36`](https://github.com/benjie/postgraphile-private/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
170
|
+
[`0f4709356`](https://github.com/benjie/postgraphile-private/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
171
|
+
[`c22dcde7b`](https://github.com/benjie/postgraphile-private/commit/c22dcde7b53af323d907b22a0a69924841072aa9),
|
|
172
|
+
[`bd37be707`](https://github.com/benjie/postgraphile-private/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1),
|
|
173
|
+
[`f8954fb17`](https://github.com/benjie/postgraphile-private/commit/f8954fb17bbcb0f6633475d09924cdd9f94aaf23),
|
|
174
|
+
[`96b0bd14e`](https://github.com/benjie/postgraphile-private/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4),
|
|
175
|
+
[`d951897ee`](https://github.com/benjie/postgraphile-private/commit/d951897eea824acabdb17baab4bf900b4b3b842f),
|
|
176
|
+
[`fbf1da26a`](https://github.com/benjie/postgraphile-private/commit/fbf1da26a9208519ee58f7ac34dd7e569bf1f9e5),
|
|
177
|
+
[`c564825f3`](https://github.com/benjie/postgraphile-private/commit/c564825f3fda0083e536154c4c34ce0b2948eba4),
|
|
178
|
+
[`366b166dc`](https://github.com/benjie/postgraphile-private/commit/366b166dc88a340de7f092f92840b0fba1f03d60),
|
|
179
|
+
[`261eb520b`](https://github.com/benjie/postgraphile-private/commit/261eb520b33fe3673fe3a7712085e50291aed1e5),
|
|
180
|
+
[`395b4a2dd`](https://github.com/benjie/postgraphile-private/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef),
|
|
181
|
+
[`a14cf5f4c`](https://github.com/benjie/postgraphile-private/commit/a14cf5f4c233cd794eb4d3c6f2281e747d234a71),
|
|
182
|
+
[`f6e644bd3`](https://github.com/benjie/postgraphile-private/commit/f6e644bd35be1ee2b63c8636785a241d863b8b5d)]:
|
|
183
|
+
- graphile-build-pg@5.0.0-1.1
|
|
184
|
+
- @dataplan/pg@0.0.1-1.1
|
|
185
|
+
- graphile-build@5.0.0-1.1
|
|
186
|
+
- grafast@0.0.1-1.1
|
|
187
|
+
- ruru@2.0.0-1.1
|
|
188
|
+
- pg-introspection@0.0.1-1.1
|
|
189
|
+
- graphile-config@0.0.1-1.1
|
|
190
|
+
- graphile-export@0.0.2-1.1
|
|
191
|
+
- grafserv@0.0.1-1.1
|
|
192
|
+
- @graphile/lru@5.0.0-1.1
|
|
193
|
+
|
|
194
|
+
## 5.0.0-0.37
|
|
195
|
+
|
|
196
|
+
### Patch Changes
|
|
197
|
+
|
|
198
|
+
- [#257](https://github.com/benjie/postgraphile-private/pull/257)
|
|
199
|
+
[`89d16c972`](https://github.com/benjie/postgraphile-private/commit/89d16c972f12659de091b0b866768cacfccc8f6b)
|
|
200
|
+
Thanks [@benjie](https://github.com/benjie)! - PgClassSinglePlan is now
|
|
201
|
+
enforced, users will be informed if plans return a step incompatible with the
|
|
202
|
+
given GraphQL object type.
|
|
203
|
+
|
|
204
|
+
- [#257](https://github.com/benjie/postgraphile-private/pull/257)
|
|
205
|
+
[`8f323bdc8`](https://github.com/benjie/postgraphile-private/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf)
|
|
206
|
+
Thanks [@benjie](https://github.com/benjie)! - When multiple versions of
|
|
207
|
+
grafast or pg-sql2 are detected, a warning will be raised.
|
|
208
|
+
|
|
209
|
+
- [#257](https://github.com/benjie/postgraphile-private/pull/257)
|
|
210
|
+
[`dd5464e39`](https://github.com/benjie/postgraphile-private/commit/dd5464e3986fcc917c8e2dadcec6bfe6bc451e56)
|
|
211
|
+
Thanks [@benjie](https://github.com/benjie)! - `@omit read` on a column now
|
|
212
|
+
omits constraints using that column, as it did in V4.
|
|
213
|
+
- Updated dependencies
|
|
214
|
+
[[`89d16c972`](https://github.com/benjie/postgraphile-private/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
215
|
+
[`8f323bdc8`](https://github.com/benjie/postgraphile-private/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
216
|
+
[`9e7183c02`](https://github.com/benjie/postgraphile-private/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83),
|
|
217
|
+
[`fce77f40e`](https://github.com/benjie/postgraphile-private/commit/fce77f40efb194a3dfa7f38bfe20eb99e09efa70),
|
|
218
|
+
[`612092359`](undefined)]:
|
|
219
|
+
- grafast@0.0.1-0.23
|
|
220
|
+
- graphile-build-pg@5.0.0-0.34
|
|
221
|
+
- @dataplan/pg@0.0.1-0.28
|
|
222
|
+
- ruru@2.0.0-0.13
|
|
223
|
+
- grafserv@0.0.1-0.25
|
|
224
|
+
- graphile-build@5.0.0-0.29
|
|
225
|
+
|
|
226
|
+
## 5.0.0-0.36
|
|
227
|
+
|
|
228
|
+
### Patch Changes
|
|
229
|
+
|
|
230
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
231
|
+
[`a50bc5be4`](https://github.com/benjie/postgraphile-private/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8)
|
|
232
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce new
|
|
233
|
+
GraphQLObjectType_fields_field_args_arg and
|
|
234
|
+
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
|
|
235
|
+
ordering issues.
|
|
236
|
+
|
|
237
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
238
|
+
[`11e7c12c5`](https://github.com/benjie/postgraphile-private/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
239
|
+
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
240
|
+
ordering code which lead to heisenbugs.
|
|
241
|
+
|
|
242
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
243
|
+
[`2f50a633a`](https://github.com/benjie/postgraphile-private/commit/2f50a633acab7c112413ec4576beeec2efef24df)
|
|
244
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix a bug where plugin ordering
|
|
245
|
+
could result in update mutations not being created.
|
|
246
|
+
|
|
247
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
248
|
+
[`005e5cea0`](https://github.com/benjie/postgraphile-private/commit/005e5cea01224533282bc4d0f3516368fb8db81a)
|
|
249
|
+
Thanks [@benjie](https://github.com/benjie)! - Eradicate
|
|
250
|
+
PgSmartCommentsPlugin, it is no longer needed. Solves some plugin ordering
|
|
251
|
+
issues.
|
|
252
|
+
- Updated dependencies
|
|
253
|
+
[[`a50bc5be4`](https://github.com/benjie/postgraphile-private/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8),
|
|
254
|
+
[`6fb7ef449`](https://github.com/benjie/postgraphile-private/commit/6fb7ef4494b4f61b3b1aa36642e51eb9ec99a941),
|
|
255
|
+
[`11e7c12c5`](https://github.com/benjie/postgraphile-private/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85),
|
|
256
|
+
[`2f50a633a`](https://github.com/benjie/postgraphile-private/commit/2f50a633acab7c112413ec4576beeec2efef24df),
|
|
257
|
+
[`005e5cea0`](https://github.com/benjie/postgraphile-private/commit/005e5cea01224533282bc4d0f3516368fb8db81a)]:
|
|
258
|
+
- graphile-build@5.0.0-0.28
|
|
259
|
+
- graphile-build-pg@5.0.0-0.33
|
|
260
|
+
- graphile-config@0.0.1-0.6
|
|
261
|
+
- grafast@0.0.1-0.22
|
|
262
|
+
- grafserv@0.0.1-0.24
|
|
263
|
+
- ruru@2.0.0-0.12
|
|
264
|
+
- @dataplan/pg@0.0.1-0.27
|
|
265
|
+
|
|
266
|
+
## 5.0.0-0.35
|
|
267
|
+
|
|
268
|
+
### Patch Changes
|
|
269
|
+
|
|
270
|
+
- [#229](https://github.com/benjie/postgraphile-private/pull/229)
|
|
271
|
+
[`f5a04cf66`](https://github.com/benjie/postgraphile-private/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa)
|
|
272
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 **BREAKING CHANGE**
|
|
273
|
+
`hookArgs()` now accepts arguments in the same order as `grafast()`:
|
|
274
|
+
`hookArgs(args, resolvedPreset, ctx)`. Please update all your `hookArgs`
|
|
275
|
+
calls.
|
|
276
|
+
|
|
277
|
+
- [#229](https://github.com/benjie/postgraphile-private/pull/229)
|
|
278
|
+
[`a06b8933f`](https://github.com/benjie/postgraphile-private/commit/a06b8933f9365627c2eab019af0c12393e29e509)
|
|
279
|
+
Thanks [@benjie](https://github.com/benjie)! - Rename 'eventStreamRoute' to
|
|
280
|
+
'eventStreamPath' for consistency with 'graphqlPath' and 'graphiqlPath'. V4
|
|
281
|
+
preset unaffected.
|
|
282
|
+
|
|
283
|
+
- [#229](https://github.com/benjie/postgraphile-private/pull/229)
|
|
284
|
+
[`ac6137bb6`](https://github.com/benjie/postgraphile-private/commit/ac6137bb60a34a3ebf5fad3c6ac153c95acb6158)
|
|
285
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 PgRBACPlugin is now included
|
|
286
|
+
in the default `graphile-build-pg` (and thus PostGraphile amber) preset. Users
|
|
287
|
+
of the V4 preset are unaffected.
|
|
288
|
+
|
|
289
|
+
- [#229](https://github.com/benjie/postgraphile-private/pull/229)
|
|
290
|
+
[`9edf7511a`](https://github.com/benjie/postgraphile-private/commit/9edf7511ae71928390213ff9c807b7cc7e3174fa)
|
|
291
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 pgl.getServerParams() has
|
|
292
|
+
been renamed to pgl.getSchemaResult()
|
|
293
|
+
|
|
294
|
+
- Updated dependencies
|
|
295
|
+
[[`f5a04cf66`](https://github.com/benjie/postgraphile-private/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa),
|
|
296
|
+
[`13cfc7501`](https://github.com/benjie/postgraphile-private/commit/13cfc75019d42353c1e6be394c28c6ba61ab32d0),
|
|
297
|
+
[`b795b3da5`](https://github.com/benjie/postgraphile-private/commit/b795b3da5f8e8f13c495be3a8cf71667f3d149f8),
|
|
298
|
+
[`a06b8933f`](https://github.com/benjie/postgraphile-private/commit/a06b8933f9365627c2eab019af0c12393e29e509),
|
|
299
|
+
[`b9a2236d4`](https://github.com/benjie/postgraphile-private/commit/b9a2236d43cc92e06085298e379de71f7fdedcb7),
|
|
300
|
+
[`ac6137bb6`](https://github.com/benjie/postgraphile-private/commit/ac6137bb60a34a3ebf5fad3c6ac153c95acb6158)]:
|
|
301
|
+
- grafast@0.0.1-0.21
|
|
302
|
+
- @dataplan/pg@0.0.1-0.26
|
|
303
|
+
- graphile-build-pg@5.0.0-0.32
|
|
304
|
+
- ruru@2.0.0-0.11
|
|
305
|
+
- grafserv@0.0.1-0.23
|
|
306
|
+
- graphile-build@5.0.0-0.27
|
|
307
|
+
|
|
308
|
+
## 5.0.0-0.34
|
|
309
|
+
|
|
310
|
+
### Patch Changes
|
|
311
|
+
|
|
312
|
+
- [#226](https://github.com/benjie/postgraphile-private/pull/226)
|
|
313
|
+
[`2a7c682f4`](https://github.com/benjie/postgraphile-private/commit/2a7c682f46ff916c040732d91510fb19f639955e)
|
|
314
|
+
Thanks [@benjie](https://github.com/benjie)! - Enable websockets and add
|
|
315
|
+
better compatibility with V4's pgSettings/additionalGraphQLContextFromRequest
|
|
316
|
+
for websockets when using `makeV4Preset({subscriptions: true})`.
|
|
317
|
+
|
|
318
|
+
- [#226](https://github.com/benjie/postgraphile-private/pull/226)
|
|
319
|
+
[`6a846e009`](https://github.com/benjie/postgraphile-private/commit/6a846e00945ba2dcea0cd89f5e6a8ecc5a32775d)
|
|
320
|
+
Thanks [@benjie](https://github.com/benjie)! - Enable users to use Grafserv
|
|
321
|
+
alongside other websocket-enabled entities in their final server.
|
|
322
|
+
- Updated dependencies [[`aac8732f9`](undefined),
|
|
323
|
+
[`6a846e009`](https://github.com/benjie/postgraphile-private/commit/6a846e00945ba2dcea0cd89f5e6a8ecc5a32775d)]:
|
|
324
|
+
- grafast@0.0.1-0.20
|
|
325
|
+
- grafserv@0.0.1-0.22
|
|
326
|
+
- @dataplan/pg@0.0.1-0.25
|
|
327
|
+
- graphile-build@5.0.0-0.26
|
|
328
|
+
- graphile-build-pg@5.0.0-0.31
|
|
329
|
+
|
|
330
|
+
## 5.0.0-0.33
|
|
331
|
+
|
|
332
|
+
### Patch Changes
|
|
333
|
+
|
|
334
|
+
- Updated dependencies
|
|
335
|
+
[[`397e8bb40`](https://github.com/benjie/postgraphile-private/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
336
|
+
- grafast@0.0.1-0.19
|
|
337
|
+
- @dataplan/pg@0.0.1-0.24
|
|
338
|
+
- grafserv@0.0.1-0.21
|
|
339
|
+
- graphile-build@5.0.0-0.25
|
|
340
|
+
- graphile-build-pg@5.0.0-0.30
|
|
341
|
+
|
|
342
|
+
## 5.0.0-0.32
|
|
343
|
+
|
|
344
|
+
### Patch Changes
|
|
345
|
+
|
|
346
|
+
- [#220](https://github.com/benjie/postgraphile-private/pull/220)
|
|
347
|
+
[`2abc58cf6`](https://github.com/benjie/postgraphile-private/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245)
|
|
348
|
+
Thanks [@benjie](https://github.com/benjie)! - Convert a few more more options
|
|
349
|
+
from V4 to V5.
|
|
350
|
+
|
|
351
|
+
Explicitly remove query batching functionality, instead use HTTP2+ or
|
|
352
|
+
websockets or similar.
|
|
353
|
+
|
|
354
|
+
Add schema exporting.
|
|
355
|
+
|
|
356
|
+
- Updated dependencies
|
|
357
|
+
[[`4c2b7d1ca`](https://github.com/benjie/postgraphile-private/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
358
|
+
[`2abc58cf6`](https://github.com/benjie/postgraphile-private/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245),
|
|
359
|
+
[`c8a56cdc8`](https://github.com/benjie/postgraphile-private/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c),
|
|
360
|
+
[`df8c06657`](https://github.com/benjie/postgraphile-private/commit/df8c06657e6f5a7d1444d86dc32fd750d1433223)]:
|
|
361
|
+
- grafast@0.0.1-0.18
|
|
362
|
+
- graphile-build@5.0.0-0.24
|
|
363
|
+
- @dataplan/pg@0.0.1-0.23
|
|
364
|
+
- grafserv@0.0.1-0.20
|
|
365
|
+
- graphile-build-pg@5.0.0-0.29
|
|
366
|
+
|
|
367
|
+
## 5.0.0-0.31
|
|
368
|
+
|
|
369
|
+
### Patch Changes
|
|
370
|
+
|
|
371
|
+
- [#218](https://github.com/benjie/postgraphile-private/pull/218)
|
|
372
|
+
[`f2c1423fb`](https://github.com/benjie/postgraphile-private/commit/f2c1423fbd6c354146a70a9a2ebabd97370b9b05)
|
|
373
|
+
Thanks [@benjie](https://github.com/benjie)! - Option for `@foreignKey` smart
|
|
374
|
+
tag to have unique auto-created for it to ease transition from V4:
|
|
375
|
+
`{ gather: { pgFakeConstraintsAutofixForeignKeyUniqueness: true } }`
|
|
376
|
+
|
|
377
|
+
- [#219](https://github.com/benjie/postgraphile-private/pull/219)
|
|
378
|
+
[`b58f5dfac`](https://github.com/benjie/postgraphile-private/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)
|
|
379
|
+
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
380
|
+
`GraphileBuild.GraphileBuildGatherOptions` to `GraphileBuild.GatherOptions`.
|
|
381
|
+
Rename `GraphileBuild.GraphileBuildInflectionOptions` to
|
|
382
|
+
`GraphileBuild.InflectionOptions`.
|
|
383
|
+
- Updated dependencies
|
|
384
|
+
[[`f2c1423fb`](https://github.com/benjie/postgraphile-private/commit/f2c1423fbd6c354146a70a9a2ebabd97370b9b05),
|
|
385
|
+
[`b58f5dfac`](https://github.com/benjie/postgraphile-private/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)]:
|
|
386
|
+
- graphile-build-pg@5.0.0-0.28
|
|
387
|
+
- graphile-build@5.0.0-0.23
|
|
388
|
+
|
|
389
|
+
## 5.0.0-0.30
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- Updated dependencies [[`f48860d4f`](undefined)]:
|
|
394
|
+
- grafast@0.0.1-0.17
|
|
395
|
+
- graphile-build@5.0.0-0.22
|
|
396
|
+
- @dataplan/pg@0.0.1-0.22
|
|
397
|
+
- grafserv@0.0.1-0.19
|
|
398
|
+
- graphile-build-pg@5.0.0-0.27
|
|
399
|
+
|
|
400
|
+
## 5.0.0-0.29
|
|
401
|
+
|
|
402
|
+
### Patch Changes
|
|
403
|
+
|
|
404
|
+
- [#214](https://github.com/benjie/postgraphile-private/pull/214)
|
|
405
|
+
[`3ed7d3349`](https://github.com/benjie/postgraphile-private/commit/3ed7d334939e5e0ab2f63b2fde202884cc2daa74)
|
|
406
|
+
Thanks [@benjie](https://github.com/benjie)! - @uniqueKey smart tag now
|
|
407
|
+
converted via V4 preset to @unique.
|
|
408
|
+
|
|
409
|
+
- Updated dependencies
|
|
410
|
+
[[`7e3bfef04`](https://github.com/benjie/postgraphile-private/commit/7e3bfef04ebb76fbde8273341ec92073b9e9f04d),
|
|
411
|
+
[`df89aba52`](https://github.com/benjie/postgraphile-private/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5),
|
|
412
|
+
[`3ed7d3349`](https://github.com/benjie/postgraphile-private/commit/3ed7d334939e5e0ab2f63b2fde202884cc2daa74)]:
|
|
413
|
+
- @dataplan/pg@0.0.1-0.21
|
|
414
|
+
- grafast@0.0.1-0.16
|
|
415
|
+
- graphile-build-pg@5.0.0-0.26
|
|
416
|
+
- grafserv@0.0.1-0.18
|
|
417
|
+
- graphile-build@5.0.0-0.21
|
|
418
|
+
|
|
419
|
+
## 5.0.0-0.28
|
|
420
|
+
|
|
421
|
+
### Patch Changes
|
|
422
|
+
|
|
423
|
+
- [`a8d26b30a`](undefined) - `ignoreReplaceIfNotExists` now truly ignores
|
|
424
|
+
replacement inflectors. Better handle disabled NodePlugin.
|
|
425
|
+
- Updated dependencies [[`a8d26b30a`](undefined)]:
|
|
426
|
+
- graphile-build-pg@5.0.0-0.25
|
|
427
|
+
|
|
428
|
+
## 5.0.0-0.27
|
|
429
|
+
|
|
430
|
+
### Patch Changes
|
|
431
|
+
|
|
432
|
+
- [`5812ad277`](undefined) - Deal better with NodePlugin being disabled.
|
|
433
|
+
|
|
434
|
+
- Updated dependencies [[`5812ad277`](undefined)]:
|
|
435
|
+
- graphile-build-pg@5.0.0-0.24
|
|
436
|
+
|
|
437
|
+
## 5.0.0-0.26
|
|
438
|
+
|
|
439
|
+
### Patch Changes
|
|
440
|
+
|
|
441
|
+
- [#210](https://github.com/benjie/postgraphile-private/pull/210)
|
|
442
|
+
[`2fb5001b4`](https://github.com/benjie/postgraphile-private/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d)
|
|
443
|
+
Thanks [@benjie](https://github.com/benjie)! - retryOnInitFail implemented,
|
|
444
|
+
and bug in introspection cache on error resolved.
|
|
445
|
+
|
|
446
|
+
- [#210](https://github.com/benjie/postgraphile-private/pull/210)
|
|
447
|
+
[`2bd4b619e`](https://github.com/benjie/postgraphile-private/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99)
|
|
448
|
+
Thanks [@benjie](https://github.com/benjie)! - Add
|
|
449
|
+
`extensions.pg = { databaseName, schemaName, name }` to various DB-derived
|
|
450
|
+
resources (codecs, sources, etc); this replaces the `originalName` temporary
|
|
451
|
+
solution that we had previously.
|
|
452
|
+
|
|
453
|
+
- [#210](https://github.com/benjie/postgraphile-private/pull/210)
|
|
454
|
+
[`b523118fe`](https://github.com/benjie/postgraphile-private/commit/b523118fe6217c027363fea91252a3a1764e17df)
|
|
455
|
+
Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
|
|
456
|
+
Grafast.Context throughout.
|
|
457
|
+
|
|
458
|
+
- Updated dependencies
|
|
459
|
+
[[`2fb5001b4`](https://github.com/benjie/postgraphile-private/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d),
|
|
460
|
+
[`2bd4b619e`](https://github.com/benjie/postgraphile-private/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99),
|
|
461
|
+
[`b523118fe`](https://github.com/benjie/postgraphile-private/commit/b523118fe6217c027363fea91252a3a1764e17df),
|
|
462
|
+
[`461c03b72`](https://github.com/benjie/postgraphile-private/commit/461c03b72477821ec26cbf703011542e453d083c)]:
|
|
463
|
+
- graphile-build@5.0.0-0.20
|
|
464
|
+
- graphile-build-pg@5.0.0-0.23
|
|
465
|
+
- @dataplan/pg@0.0.1-0.20
|
|
466
|
+
- grafast@0.0.1-0.15
|
|
467
|
+
- grafserv@0.0.1-0.17
|
|
468
|
+
|
|
469
|
+
## 5.0.0-0.25
|
|
470
|
+
|
|
471
|
+
### Patch Changes
|
|
472
|
+
|
|
473
|
+
- [`9a6b18fd9`](undefined) - Give postgraphile() a named return type and export
|
|
474
|
+
the V4 plugins from the V4 preset.
|
|
475
|
+
|
|
476
|
+
## 5.0.0-0.24
|
|
477
|
+
|
|
478
|
+
### Patch Changes
|
|
479
|
+
|
|
480
|
+
- [#207](https://github.com/benjie/postgraphile-private/pull/207)
|
|
481
|
+
[`c850dd4ec`](https://github.com/benjie/postgraphile-private/commit/c850dd4ec0e42e37122f5bca55a079b53bfd895e)
|
|
482
|
+
Thanks [@benjie](https://github.com/benjie)! - Rename 'preset.server' to
|
|
483
|
+
'preset.grafserv'.
|
|
484
|
+
|
|
485
|
+
- [#207](https://github.com/benjie/postgraphile-private/pull/207)
|
|
486
|
+
[`afa0ea5f6`](https://github.com/benjie/postgraphile-private/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0)
|
|
487
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug in subscriptions where
|
|
488
|
+
termination of underlying stream wouldn't terminate the subscription.
|
|
489
|
+
|
|
490
|
+
- [#206](https://github.com/benjie/postgraphile-private/pull/206)
|
|
491
|
+
[`851b78ef2`](https://github.com/benjie/postgraphile-private/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
|
|
492
|
+
Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
|
|
493
|
+
errors by default; trusted errors are constructed via GraphQL's GraphQLError
|
|
494
|
+
or Grafast's SafeError.
|
|
495
|
+
- Updated dependencies
|
|
496
|
+
[[`d76043453`](https://github.com/benjie/postgraphile-private/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
497
|
+
[`c850dd4ec`](https://github.com/benjie/postgraphile-private/commit/c850dd4ec0e42e37122f5bca55a079b53bfd895e),
|
|
498
|
+
[`afa0ea5f6`](https://github.com/benjie/postgraphile-private/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
499
|
+
[`92c2378f2`](https://github.com/benjie/postgraphile-private/commit/92c2378f297cc917f542b126e1cdddf58e1f0fc3),
|
|
500
|
+
[`851b78ef2`](https://github.com/benjie/postgraphile-private/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
501
|
+
[`384b3594f`](https://github.com/benjie/postgraphile-private/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
502
|
+
- grafast@0.0.1-0.14
|
|
503
|
+
- grafserv@0.0.1-0.16
|
|
504
|
+
- @dataplan/pg@0.0.1-0.19
|
|
505
|
+
- graphile-build@5.0.0-0.19
|
|
506
|
+
- graphile-build-pg@5.0.0-0.22
|
|
507
|
+
|
|
508
|
+
## 5.0.0-0.23
|
|
509
|
+
|
|
510
|
+
### Patch Changes
|
|
511
|
+
|
|
512
|
+
- [#201](https://github.com/benjie/postgraphile-private/pull/201)
|
|
513
|
+
[`dca706ad9`](https://github.com/benjie/postgraphile-private/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)
|
|
514
|
+
Thanks [@benjie](https://github.com/benjie)! - JSON now works how most users
|
|
515
|
+
would expect it to.
|
|
516
|
+
|
|
517
|
+
- Updated dependencies
|
|
518
|
+
[[`a14bd2288`](https://github.com/benjie/postgraphile-private/commit/a14bd2288532b0977945d1c0508e51baef6dba2b),
|
|
519
|
+
[`dca706ad9`](https://github.com/benjie/postgraphile-private/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)]:
|
|
520
|
+
- @dataplan/pg@0.0.1-0.18
|
|
521
|
+
- graphile-build@5.0.0-0.18
|
|
522
|
+
- graphile-build-pg@5.0.0-0.21
|
|
523
|
+
|
|
524
|
+
## 5.0.0-0.22
|
|
525
|
+
|
|
526
|
+
### Patch Changes
|
|
527
|
+
|
|
528
|
+
- Updated dependencies [[`e5b664b6f`](undefined)]:
|
|
529
|
+
- @dataplan/pg@0.0.1-0.17
|
|
530
|
+
- grafast@0.0.1-0.13
|
|
531
|
+
- graphile-build-pg@5.0.0-0.20
|
|
532
|
+
- grafserv@0.0.1-0.15
|
|
533
|
+
- graphile-build@5.0.0-0.17
|
|
534
|
+
|
|
535
|
+
## 5.0.0-0.21
|
|
536
|
+
|
|
537
|
+
### Patch Changes
|
|
538
|
+
|
|
539
|
+
- [#200](https://github.com/benjie/postgraphile-private/pull/200)
|
|
540
|
+
[`1e5671cdb`](https://github.com/benjie/postgraphile-private/commit/1e5671cdbbf9f4600b74c43eaa7e33b7bfd75fb9)
|
|
541
|
+
Thanks [@benjie](https://github.com/benjie)! - Add support for websocket
|
|
542
|
+
GraphQL subscriptions (via graphql-ws) to grafserv and PostGraphile (currently
|
|
543
|
+
supporting Node, Express, Koa and Fastify)
|
|
544
|
+
|
|
545
|
+
- [#200](https://github.com/benjie/postgraphile-private/pull/200)
|
|
546
|
+
[`5b634a78e`](https://github.com/benjie/postgraphile-private/commit/5b634a78e51816071447aceb1edfb813d77d563b)
|
|
547
|
+
Thanks [@benjie](https://github.com/benjie)! - Standardize on `serv.addTo`
|
|
548
|
+
interface, even for Node
|
|
549
|
+
|
|
550
|
+
- Updated dependencies
|
|
551
|
+
[[`4f5d5bec7`](https://github.com/benjie/postgraphile-private/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
552
|
+
[`e11698473`](https://github.com/benjie/postgraphile-private/commit/e1169847303790570bfafa07eb25d8fce53a0391),
|
|
553
|
+
[`1e5671cdb`](https://github.com/benjie/postgraphile-private/commit/1e5671cdbbf9f4600b74c43eaa7e33b7bfd75fb9),
|
|
554
|
+
[`fb40bd97b`](https://github.com/benjie/postgraphile-private/commit/fb40bd97b8a36da91c6b08e0ce67f1a9419ad91f),
|
|
555
|
+
[`a1158d83e`](https://github.com/benjie/postgraphile-private/commit/a1158d83e2d26f7da0182ec2b651f7f1ec202f14),
|
|
556
|
+
[`5b634a78e`](https://github.com/benjie/postgraphile-private/commit/5b634a78e51816071447aceb1edfb813d77d563b),
|
|
557
|
+
[`25f5a6cbf`](https://github.com/benjie/postgraphile-private/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
558
|
+
- @dataplan/pg@0.0.1-0.16
|
|
559
|
+
- grafast@0.0.1-0.12
|
|
560
|
+
- ruru@2.0.0-0.10
|
|
561
|
+
- grafserv@0.0.1-0.14
|
|
562
|
+
- graphile-build@5.0.0-0.16
|
|
563
|
+
- graphile-build-pg@5.0.0-0.19
|
|
564
|
+
|
|
565
|
+
## 5.0.0-0.20
|
|
566
|
+
|
|
567
|
+
### Patch Changes
|
|
568
|
+
|
|
569
|
+
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
570
|
+
|
|
571
|
+
- [#196](https://github.com/benjie/postgraphile-private/pull/196)
|
|
572
|
+
[`af9bc38c8`](https://github.com/benjie/postgraphile-private/commit/af9bc38c86dddfa776e5d8db117b5cb35dbe2cd7)
|
|
573
|
+
Thanks [@benjie](https://github.com/benjie)! - Allow passing `pool` directly
|
|
574
|
+
to `makePgConfig`.
|
|
575
|
+
|
|
576
|
+
- [#190](https://github.com/benjie/postgraphile-private/pull/190)
|
|
577
|
+
[`652cf1073`](https://github.com/benjie/postgraphile-private/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
578
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
579
|
+
types and postgres configuration:
|
|
580
|
+
|
|
581
|
+
- `GraphileBuild.GraphileResolverContext` renamed to `Grafast.Context`
|
|
582
|
+
- `GraphileConfig.GraphQLRequestContext` renamed to `Grafast.RequestContext`
|
|
583
|
+
- `Grafast.PgDatabaseAdaptorOptions` renaed to
|
|
584
|
+
`GraphileConfig.PgDatabaseAdaptorOptions`
|
|
585
|
+
- `@dataplan/pg/adaptors/node-postgres` is now `@dataplan/pg/adaptors/pg` due
|
|
586
|
+
to the bizarre naming of PostgreSQL clients on npm - we've decided to use
|
|
587
|
+
the module name as the unique identifier
|
|
588
|
+
- `makePgConfigs`:
|
|
589
|
+
- is now `makePgConfig` (singular) - so you'll need to wrap it in an array
|
|
590
|
+
where you use it
|
|
591
|
+
- no longer exported by `@dataplan/pg` (because it depended on `pg`) -
|
|
592
|
+
instead each adaptor exposes this helper - so import from
|
|
593
|
+
`@dataplan/pg/adaptors/node-postgres`
|
|
594
|
+
- accepts an object parameter containing
|
|
595
|
+
`{connectionString, schemas, superuserConnectionString}`, rather than
|
|
596
|
+
multiple string parameters
|
|
597
|
+
- `makeNodePostgresWithPgClient` -> `makePgAdaptorWithPgClient`
|
|
598
|
+
- `postgraphile` CLI will now try and respect the adaptor stated in your
|
|
599
|
+
preset when overriding connection arguments
|
|
600
|
+
- Removed `Grafast.RequestContext.httpRequest` and instead use
|
|
601
|
+
`Grafast.RequestContext.node.req/res`; all server adaptors should implement
|
|
602
|
+
this if appropriate
|
|
603
|
+
|
|
604
|
+
- [#192](https://github.com/benjie/postgraphile-private/pull/192)
|
|
605
|
+
[`80091a8e0`](https://github.com/benjie/postgraphile-private/commit/80091a8e0343a162bf2b60cf619267a874a67e60)
|
|
606
|
+
Thanks [@benjie](https://github.com/benjie)! - - Conflicts in `pgConfigs`
|
|
607
|
+
(e.g. multiple sources using the same 'name') now detected and output
|
|
608
|
+
- Fix defaults for `pgSettingsKey` and `withPgClientKey` based on config name
|
|
609
|
+
- `makePgConfig` now allows passing `pgSettings` callback and
|
|
610
|
+
`pgSettingsForIntrospection` config object
|
|
611
|
+
- Multiple postgres sources now works nicely with multiple `makePgConfig`
|
|
612
|
+
calls
|
|
613
|
+
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
614
|
+
[`af9bc38c8`](https://github.com/benjie/postgraphile-private/commit/af9bc38c86dddfa776e5d8db117b5cb35dbe2cd7),
|
|
615
|
+
[`4783bdd7c`](https://github.com/benjie/postgraphile-private/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
616
|
+
[`652cf1073`](https://github.com/benjie/postgraphile-private/commit/652cf107316ea5832f69c6a55574632187f5c876),
|
|
617
|
+
[`752ec9c51`](https://github.com/benjie/postgraphile-private/commit/752ec9c516add7c4617b426e97eccd1d4e5b7833),
|
|
618
|
+
[`80091a8e0`](https://github.com/benjie/postgraphile-private/commit/80091a8e0343a162bf2b60cf619267a874a67e60)]:
|
|
619
|
+
- @dataplan/pg@0.0.1-0.15
|
|
620
|
+
- grafast@0.0.1-0.11
|
|
621
|
+
- grafserv@0.0.1-0.13
|
|
622
|
+
- graphile-build@5.0.0-0.15
|
|
623
|
+
- graphile-build-pg@5.0.0-0.18
|
|
624
|
+
- graphile-config@0.0.1-0.5
|
|
625
|
+
- pg-introspection@0.0.1-0.3
|
|
626
|
+
- ruru@2.0.0-0.9
|
|
627
|
+
|
|
628
|
+
## 5.0.0-0.19
|
|
629
|
+
|
|
630
|
+
### Patch Changes
|
|
631
|
+
|
|
632
|
+
- [`72bf5f535`](undefined) - Overhaul the behavior system (see
|
|
633
|
+
https://postgraphile.org/postgraphile/next/behavior).
|
|
634
|
+
|
|
635
|
+
- Adds `schema.defaultBehavior` configuration option to save having to write a
|
|
636
|
+
plugin for such a simple task
|
|
637
|
+
- Changes a bunch of behavior strings:
|
|
638
|
+
- `(query|singularRelation|manyRelation|queryField|typeField):(list|connection|single)`
|
|
639
|
+
-> `$1:source:$2` (e.g. `query:list` -> `query:source:list`)
|
|
640
|
+
- Checks for more specific behaviors, e.g. `source:update` or
|
|
641
|
+
`constraint:source:update` or `attribute:update` rather than just `update`
|
|
642
|
+
- Updates every change to `getBehavior` so that it follows the relevant chain
|
|
643
|
+
(e.g. codec -> source -> relation for relations, similar for other types)
|
|
644
|
+
- More helpful error message when `-insert` prevents functions with input
|
|
645
|
+
arguments working
|
|
646
|
+
- Throw an error if you try and use "create" scope (because we use
|
|
647
|
+
insert/update/delete not create/update/delete)
|
|
648
|
+
|
|
649
|
+
- Updated dependencies [[`72bf5f535`](undefined)]:
|
|
650
|
+
- graphile-build@5.0.0-0.14
|
|
651
|
+
- graphile-build-pg@5.0.0-0.17
|
|
652
|
+
|
|
653
|
+
## 5.0.0-0.18
|
|
654
|
+
|
|
655
|
+
### Patch Changes
|
|
656
|
+
|
|
657
|
+
- [#184](https://github.com/benjie/postgraphile-private/pull/184)
|
|
658
|
+
[`842f6ccbb`](https://github.com/benjie/postgraphile-private/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)
|
|
659
|
+
Thanks [@benjie](https://github.com/benjie)! - Handle array-to-object issue in
|
|
660
|
+
graphile-config when multiple presets set an array key.
|
|
661
|
+
- Updated dependencies
|
|
662
|
+
[[`842f6ccbb`](https://github.com/benjie/postgraphile-private/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
|
|
663
|
+
- graphile-config@0.0.1-0.4
|
|
664
|
+
- grafast@0.0.1-0.10
|
|
665
|
+
- grafserv@0.0.1-0.12
|
|
666
|
+
- ruru@2.0.0-0.8
|
|
667
|
+
- graphile-build@5.0.0-0.13
|
|
668
|
+
- graphile-build-pg@5.0.0-0.16
|
|
669
|
+
- @dataplan/pg@0.0.1-0.14
|
|
670
|
+
|
|
671
|
+
## 5.0.0-0.17
|
|
672
|
+
|
|
673
|
+
### Patch Changes
|
|
674
|
+
|
|
675
|
+
- [#183](https://github.com/benjie/postgraphile-private/pull/183)
|
|
676
|
+
[`ebb24895c`](https://github.com/benjie/postgraphile-private/commit/ebb24895c3ee05c670ffb6c9b4fa4bd1328d9005)
|
|
677
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug when handling stable
|
|
678
|
+
void functions
|
|
679
|
+
|
|
680
|
+
- [#181](https://github.com/benjie/postgraphile-private/pull/181)
|
|
681
|
+
[`d3cba220c`](https://github.com/benjie/postgraphile-private/commit/d3cba220c5acb52bb45f1f82f599dd13e0340e65)
|
|
682
|
+
Thanks [@benjie](https://github.com/benjie)! - `*FieldName` smart tags are now
|
|
683
|
+
used verbatim rather than being piped through `inflection.camelCase(...)` -
|
|
684
|
+
you've explicitly stated a 'field name' so we should use that. This may be a
|
|
685
|
+
breaking change for you if your field names are currently different
|
|
686
|
+
before/after they are camelCase'd.
|
|
687
|
+
|
|
688
|
+
- [#183](https://github.com/benjie/postgraphile-private/pull/183)
|
|
689
|
+
[`3eb9da95e`](https://github.com/benjie/postgraphile-private/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)
|
|
690
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix potential construction loop
|
|
691
|
+
on failure to construct a type
|
|
692
|
+
|
|
693
|
+
- Updated dependencies
|
|
694
|
+
[[`ebb24895c`](https://github.com/benjie/postgraphile-private/commit/ebb24895c3ee05c670ffb6c9b4fa4bd1328d9005),
|
|
695
|
+
[`d3cba220c`](https://github.com/benjie/postgraphile-private/commit/d3cba220c5acb52bb45f1f82f599dd13e0340e65),
|
|
696
|
+
[`3eb9da95e`](https://github.com/benjie/postgraphile-private/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)]:
|
|
697
|
+
- graphile-build-pg@5.0.0-0.15
|
|
698
|
+
- graphile-build@5.0.0-0.12
|
|
699
|
+
|
|
700
|
+
## 5.0.0-0.16
|
|
701
|
+
|
|
702
|
+
### Patch Changes
|
|
703
|
+
|
|
704
|
+
- [#178](https://github.com/benjie/postgraphile-private/pull/178)
|
|
705
|
+
[`1b040b3ba`](https://github.com/benjie/postgraphile-private/commit/1b040b3bad10ea42b01134e6bddaefaf604936c0)
|
|
706
|
+
Thanks [@benjie](https://github.com/benjie)! - `@omit` and similar smart tags
|
|
707
|
+
are now processed on `@foreignKey` and other fake constraints.
|
|
708
|
+
|
|
709
|
+
- [#176](https://github.com/benjie/postgraphile-private/pull/176)
|
|
710
|
+
[`19e2961de`](https://github.com/benjie/postgraphile-private/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb)
|
|
711
|
+
Thanks [@benjie](https://github.com/benjie)! - Better graphile.config.\*
|
|
712
|
+
compatibility with ESM-emulation, so 'export default preset;' should work in
|
|
713
|
+
TypeScript even if outputting to CommonJS.
|
|
714
|
+
|
|
715
|
+
- [#177](https://github.com/benjie/postgraphile-private/pull/177)
|
|
716
|
+
[`6be68a53e`](https://github.com/benjie/postgraphile-private/commit/6be68a53e21940406a9fd629ee15cb1673497a6e)
|
|
717
|
+
Thanks [@benjie](https://github.com/benjie)! - `@foreignFieldName` smart tag
|
|
718
|
+
is now fed into the `inflection.connectionField(...)` or
|
|
719
|
+
`inflection.listField(...)` inflector as appropriate. If you are using
|
|
720
|
+
`@foreignSimpleFieldName` you may be able to delete that now; alternatively
|
|
721
|
+
you should consider renaming `@foreignFieldName` to
|
|
722
|
+
`@foreignConnectionFieldName` for consistency.
|
|
723
|
+
- Updated dependencies
|
|
724
|
+
[[`1b040b3ba`](https://github.com/benjie/postgraphile-private/commit/1b040b3bad10ea42b01134e6bddaefaf604936c0),
|
|
725
|
+
[`19e2961de`](https://github.com/benjie/postgraphile-private/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
|
|
726
|
+
[`6be68a53e`](https://github.com/benjie/postgraphile-private/commit/6be68a53e21940406a9fd629ee15cb1673497a6e),
|
|
727
|
+
[`11d6be65e`](https://github.com/benjie/postgraphile-private/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
728
|
+
- graphile-build-pg@5.0.0-0.14
|
|
729
|
+
- graphile-config@0.0.1-0.3
|
|
730
|
+
- grafast@0.0.1-0.9
|
|
731
|
+
- grafserv@0.0.1-0.11
|
|
732
|
+
- graphile-build@5.0.0-0.11
|
|
733
|
+
- ruru@2.0.0-0.7
|
|
734
|
+
- @dataplan/pg@0.0.1-0.13
|
|
735
|
+
|
|
736
|
+
## 5.0.0-0.15
|
|
737
|
+
|
|
738
|
+
### Patch Changes
|
|
739
|
+
|
|
740
|
+
- Updated dependencies
|
|
741
|
+
[[`208166269`](https://github.com/benjie/postgraphile-private/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
742
|
+
- grafast@0.0.1-0.8
|
|
743
|
+
- @dataplan/pg@0.0.1-0.12
|
|
744
|
+
- grafserv@0.0.1-0.10
|
|
745
|
+
- graphile-build@5.0.0-0.10
|
|
746
|
+
- graphile-build-pg@5.0.0-0.13
|
|
747
|
+
|
|
748
|
+
## 5.0.0-0.14
|
|
749
|
+
|
|
750
|
+
### Patch Changes
|
|
751
|
+
|
|
752
|
+
- [`af9f11f28`](https://github.com/benjie/postgraphile-private/commit/af9f11f289b0029442c6cf4ededf86ee823a26c3)
|
|
753
|
+
Thanks [@benjie](https://github.com/benjie)! - 'preset.pgSources' renamed to
|
|
754
|
+
'preset.pgConfigs' to avoid confusion with PgSource class and
|
|
755
|
+
'input.pgSources' used for build.
|
|
756
|
+
|
|
757
|
+
- [`6ebe3a13e`](https://github.com/benjie/postgraphile-private/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a)
|
|
758
|
+
Thanks [@benjie](https://github.com/benjie)! - Enable omitting update/delete
|
|
759
|
+
mutations using behaviors on unique constraints.
|
|
760
|
+
|
|
761
|
+
- [`0e440a862`](https://github.com/benjie/postgraphile-private/commit/0e440a862d29e8db40fd72413223a10de885ef46)
|
|
762
|
+
Thanks [@benjie](https://github.com/benjie)! - Add new
|
|
763
|
+
`--superuser-connection` option to allow installing watch fixtures as
|
|
764
|
+
superuser.
|
|
765
|
+
|
|
766
|
+
- [`f7d885527`](https://github.com/benjie/postgraphile-private/commit/f7d8855276c3ab0bbcaf8505a1f2f6e872d53128)
|
|
767
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug in server startup
|
|
768
|
+
message where preset.server.graphqlPath was not respected.
|
|
769
|
+
- Updated dependencies
|
|
770
|
+
[[`af9f11f28`](https://github.com/benjie/postgraphile-private/commit/af9f11f289b0029442c6cf4ededf86ee823a26c3),
|
|
771
|
+
[`6ebe3a13e`](https://github.com/benjie/postgraphile-private/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a),
|
|
772
|
+
[`0e440a862`](https://github.com/benjie/postgraphile-private/commit/0e440a862d29e8db40fd72413223a10de885ef46)]:
|
|
773
|
+
- graphile-build-pg@5.0.0-0.12
|
|
774
|
+
- graphile-build@5.0.0-0.9
|
|
775
|
+
- @dataplan/pg@0.0.1-0.11
|
|
776
|
+
|
|
777
|
+
## 5.0.0-0.13
|
|
778
|
+
|
|
779
|
+
### Patch Changes
|
|
780
|
+
|
|
781
|
+
- Updated dependencies [[`a40fa6966`](undefined), [`677c8f5fc`](undefined),
|
|
782
|
+
[`8f04af08d`](https://github.com/benjie/postgraphile-private/commit/8f04af08da68baf7b2b4d508eac0d2a57064da7b)]:
|
|
783
|
+
- ruru@2.0.0-0.6
|
|
784
|
+
- graphile-build@5.0.0-0.8
|
|
785
|
+
- graphile-build-pg@5.0.0-0.11
|
|
786
|
+
- pg-introspection@0.0.1-0.2
|
|
787
|
+
- grafserv@0.0.1-0.9
|
|
788
|
+
- grafast@0.0.1-0.7
|
|
789
|
+
- @dataplan/pg@0.0.1-0.10
|
|
790
|
+
|
|
791
|
+
## 5.0.0-0.12
|
|
792
|
+
|
|
793
|
+
### Patch Changes
|
|
794
|
+
|
|
795
|
+
- [`c4213e91d`](undefined) - Add pgl.getResolvedPreset() API; fix Ruru
|
|
796
|
+
respecting graphqlPath setting; replace 'instance' with 'pgl'/'serv' as
|
|
797
|
+
appropriate; forbid subscriptions on GET
|
|
798
|
+
- Updated dependencies [[`c4213e91d`](undefined)]:
|
|
799
|
+
- @dataplan/pg@0.0.1-0.9
|
|
800
|
+
- grafserv@0.0.1-0.8
|
|
801
|
+
- graphile-build-pg@5.0.0-0.10
|
|
802
|
+
|
|
803
|
+
## 5.0.0-0.11
|
|
804
|
+
|
|
805
|
+
### Patch Changes
|
|
806
|
+
|
|
807
|
+
- [`9b296ba54`](undefined) - More secure, more compatible, and lots of fixes
|
|
808
|
+
across the monorepo
|
|
809
|
+
|
|
810
|
+
- Updated dependencies [[`9b296ba54`](undefined)]:
|
|
811
|
+
- @dataplan/pg@0.0.1-0.8
|
|
812
|
+
- grafast@0.0.1-0.6
|
|
813
|
+
- grafserv@0.0.1-0.7
|
|
814
|
+
- ruru@2.0.0-0.5
|
|
815
|
+
- graphile-build@5.0.0-0.7
|
|
816
|
+
- graphile-build-pg@5.0.0-0.9
|
|
817
|
+
- graphile-config@0.0.1-0.2
|
|
818
|
+
- pg-introspection@0.0.1-0.1
|
|
819
|
+
|
|
820
|
+
## 5.0.0-0.10
|
|
821
|
+
|
|
822
|
+
### Patch Changes
|
|
823
|
+
|
|
824
|
+
- Updated dependencies [[`cd37fd02a`](undefined)]:
|
|
825
|
+
- grafast@0.0.1-0.5
|
|
826
|
+
- graphile-build-pg@5.0.0-0.8
|
|
827
|
+
- @dataplan/pg@0.0.1-0.7
|
|
828
|
+
- grafserv@0.0.1-0.6
|
|
829
|
+
- graphile-build@5.0.0-0.6
|
|
830
|
+
|
|
831
|
+
## 5.0.0-0.9
|
|
832
|
+
|
|
833
|
+
### Patch Changes
|
|
834
|
+
|
|
835
|
+
- Updated dependencies [[`768f32681`](undefined)]:
|
|
836
|
+
- @dataplan/pg@0.0.1-0.6
|
|
837
|
+
- grafast@0.0.1-0.4
|
|
838
|
+
- grafserv@0.0.1-0.5
|
|
839
|
+
- ruru@2.0.0-0.4
|
|
840
|
+
- graphile-build@5.0.0-0.5
|
|
841
|
+
- graphile-export@0.0.2-0.4
|
|
842
|
+
- graphile-build-pg@5.0.0-0.7
|
|
843
|
+
|
|
3
844
|
## 5.0.0-0.8
|
|
4
845
|
|
|
5
846
|
### Patch Changes
|