graphile-build-pg 5.0.0-0.9 → 5.0.0-1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +627 -0
- package/README.md +8 -9
- package/dist/behavior.d.ts +3 -3
- package/dist/behavior.d.ts.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -15
- package/dist/index.js.map +1 -1
- package/dist/inputUtils.d.ts +9 -9
- package/dist/inputUtils.d.ts.map +1 -1
- package/dist/inputUtils.js +22 -32
- package/dist/inputUtils.js.map +1 -1
- package/dist/interfaces.d.ts +39 -32
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/pgServices.d.ts +14 -0
- package/dist/pgServices.d.ts.map +1 -0
- package/dist/pgServices.js +123 -0
- package/dist/pgServices.js.map +1 -0
- package/dist/plugins/PgAllRowsPlugin.d.ts +5 -5
- package/dist/plugins/PgAllRowsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgAllRowsPlugin.js +34 -33
- package/dist/plugins/PgAllRowsPlugin.js.map +1 -1
- package/dist/plugins/PgAttributeDeprecationPlugin.d.ts +3 -0
- package/dist/plugins/PgAttributeDeprecationPlugin.d.ts.map +1 -0
- package/dist/plugins/{PgColumnDeprecationPlugin.js → PgAttributeDeprecationPlugin.js} +10 -10
- package/dist/plugins/PgAttributeDeprecationPlugin.js.map +1 -0
- package/dist/plugins/PgAttributesPlugin.d.ts +48 -0
- package/dist/plugins/PgAttributesPlugin.d.ts.map +1 -0
- package/dist/plugins/PgAttributesPlugin.js +296 -0
- package/dist/plugins/PgAttributesPlugin.js.map +1 -0
- package/dist/plugins/PgBasicsPlugin.d.ts +7 -7
- package/dist/plugins/PgBasicsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgBasicsPlugin.js +3 -3
- package/dist/plugins/PgBasicsPlugin.js.map +1 -1
- package/dist/plugins/PgCodecsPlugin.d.ts +40 -49
- package/dist/plugins/PgCodecsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgCodecsPlugin.js +256 -141
- package/dist/plugins/PgCodecsPlugin.js.map +1 -1
- package/dist/plugins/PgConditionArgumentPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConditionArgumentPlugin.js +47 -23
- package/dist/plugins/PgConditionArgumentPlugin.js.map +1 -1
- package/dist/plugins/PgConditionCustomFieldsPlugin.d.ts +2 -2
- package/dist/plugins/PgConditionCustomFieldsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConditionCustomFieldsPlugin.js +22 -19
- package/dist/plugins/PgConditionCustomFieldsPlugin.js.map +1 -1
- package/dist/plugins/PgConnectionArgOrderByDefaultValuePlugin.d.ts.map +1 -1
- package/dist/plugins/PgConnectionArgOrderByDefaultValuePlugin.js +16 -18
- package/dist/plugins/PgConnectionArgOrderByDefaultValuePlugin.js.map +1 -1
- package/dist/plugins/PgConnectionArgOrderByPlugin.d.ts +3 -3
- package/dist/plugins/PgConnectionArgOrderByPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConnectionArgOrderByPlugin.js +18 -16
- package/dist/plugins/PgConnectionArgOrderByPlugin.js.map +1 -1
- package/dist/plugins/PgConnectionTotalCountPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConnectionTotalCountPlugin.js +3 -3
- package/dist/plugins/PgConnectionTotalCountPlugin.js.map +1 -1
- package/dist/plugins/PgContextPlugin.d.ts.map +1 -1
- package/dist/plugins/PgContextPlugin.js +20 -17
- package/dist/plugins/PgContextPlugin.js.map +1 -1
- package/dist/plugins/PgCustomTypeFieldPlugin.d.ts +15 -15
- package/dist/plugins/PgCustomTypeFieldPlugin.d.ts.map +1 -1
- package/dist/plugins/PgCustomTypeFieldPlugin.js +187 -150
- package/dist/plugins/PgCustomTypeFieldPlugin.js.map +1 -1
- package/dist/plugins/PgEnumTablesPlugin.d.ts +3 -3
- package/dist/plugins/PgEnumTablesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgEnumTablesPlugin.js +50 -46
- package/dist/plugins/PgEnumTablesPlugin.js.map +1 -1
- package/dist/plugins/PgFakeConstraintsPlugin.d.ts +15 -0
- package/dist/plugins/PgFakeConstraintsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgFakeConstraintsPlugin.js +68 -27
- package/dist/plugins/PgFakeConstraintsPlugin.js.map +1 -1
- package/dist/plugins/{PgConnectionArgFirstLastBeforeAfterPlugin.d.ts → PgFirstLastBeforeAfterArgsPlugin.d.ts} +2 -2
- package/dist/plugins/PgFirstLastBeforeAfterArgsPlugin.d.ts.map +1 -0
- package/dist/plugins/{PgConnectionArgFirstLastBeforeAfterPlugin.js → PgFirstLastBeforeAfterArgsPlugin.js} +12 -12
- package/dist/plugins/PgFirstLastBeforeAfterArgsPlugin.js.map +1 -0
- package/dist/plugins/PgIndexBehaviorsPlugin.d.ts +2 -0
- package/dist/plugins/PgIndexBehaviorsPlugin.d.ts.map +1 -0
- package/dist/plugins/PgIndexBehaviorsPlugin.js +76 -0
- package/dist/plugins/PgIndexBehaviorsPlugin.js.map +1 -0
- package/dist/plugins/PgIntrospectionPlugin.d.ts +81 -79
- package/dist/plugins/PgIntrospectionPlugin.d.ts.map +1 -1
- package/dist/plugins/PgIntrospectionPlugin.js +205 -119
- package/dist/plugins/PgIntrospectionPlugin.js.map +1 -1
- package/dist/plugins/PgJWTPlugin.d.ts +10 -4
- package/dist/plugins/PgJWTPlugin.d.ts.map +1 -1
- package/dist/plugins/PgJWTPlugin.js +15 -13
- package/dist/plugins/PgJWTPlugin.js.map +1 -1
- package/dist/plugins/PgMutationCreatePlugin.d.ts +5 -5
- package/dist/plugins/PgMutationCreatePlugin.d.ts.map +1 -1
- package/dist/plugins/PgMutationCreatePlugin.js +52 -43
- package/dist/plugins/PgMutationCreatePlugin.js.map +1 -1
- package/dist/plugins/PgMutationPayloadEdgePlugin.d.ts +2 -2
- package/dist/plugins/PgMutationPayloadEdgePlugin.d.ts.map +1 -1
- package/dist/plugins/PgMutationPayloadEdgePlugin.js +25 -25
- package/dist/plugins/PgMutationPayloadEdgePlugin.js.map +1 -1
- package/dist/plugins/PgMutationUpdateDeletePlugin.d.ts +23 -23
- package/dist/plugins/PgMutationUpdateDeletePlugin.d.ts.map +1 -1
- package/dist/plugins/PgMutationUpdateDeletePlugin.js +175 -137
- package/dist/plugins/PgMutationUpdateDeletePlugin.js.map +1 -1
- package/dist/plugins/PgOrderAllAttributesPlugin.d.ts +17 -0
- package/dist/plugins/PgOrderAllAttributesPlugin.d.ts.map +1 -0
- package/dist/plugins/{PgOrderAllColumnsPlugin.js → PgOrderAllAttributesPlugin.js} +59 -42
- package/dist/plugins/PgOrderAllAttributesPlugin.js.map +1 -0
- package/dist/plugins/PgOrderByPrimaryKeyPlugin.d.ts +2 -2
- package/dist/plugins/PgOrderByPrimaryKeyPlugin.d.ts.map +1 -1
- package/dist/plugins/PgOrderByPrimaryKeyPlugin.js +30 -29
- package/dist/plugins/PgOrderByPrimaryKeyPlugin.js.map +1 -1
- package/dist/plugins/PgOrderCustomFieldsPlugin.d.ts +3 -3
- package/dist/plugins/PgOrderCustomFieldsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgOrderCustomFieldsPlugin.js +25 -23
- package/dist/plugins/PgOrderCustomFieldsPlugin.js.map +1 -1
- package/dist/plugins/PgPolymorphismPlugin.d.ts +12 -5
- package/dist/plugins/PgPolymorphismPlugin.d.ts.map +1 -1
- package/dist/plugins/PgPolymorphismPlugin.js +218 -127
- package/dist/plugins/PgPolymorphismPlugin.js.map +1 -1
- package/dist/plugins/PgProceduresPlugin.d.ts +16 -22
- package/dist/plugins/PgProceduresPlugin.d.ts.map +1 -1
- package/dist/plugins/PgProceduresPlugin.js +107 -96
- package/dist/plugins/PgProceduresPlugin.js.map +1 -1
- package/dist/plugins/PgRBACPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRBACPlugin.js +35 -30
- package/dist/plugins/PgRBACPlugin.js.map +1 -1
- package/dist/plugins/PgRefsPlugin.d.ts +1 -1
- package/dist/plugins/PgRefsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRefsPlugin.js +40 -44
- package/dist/plugins/PgRefsPlugin.js.map +1 -1
- package/dist/plugins/PgRegistryPlugin.d.ts +34 -0
- package/dist/plugins/PgRegistryPlugin.d.ts.map +1 -0
- package/dist/plugins/PgRegistryPlugin.js +57 -0
- package/dist/plugins/PgRegistryPlugin.js.map +1 -0
- package/dist/plugins/PgRelationsPlugin.d.ts +15 -15
- package/dist/plugins/PgRelationsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRelationsPlugin.js +247 -186
- package/dist/plugins/PgRelationsPlugin.js.map +1 -1
- package/dist/plugins/PgRemoveExtensionResourcesPlugin.js +4 -4
- package/dist/plugins/PgRemoveExtensionResourcesPlugin.js.map +1 -1
- package/dist/plugins/PgRowByUniquePlugin.d.ts +3 -3
- package/dist/plugins/PgRowByUniquePlugin.d.ts.map +1 -1
- package/dist/plugins/PgRowByUniquePlugin.js +48 -45
- package/dist/plugins/PgRowByUniquePlugin.js.map +1 -1
- package/dist/plugins/PgTableNodePlugin.d.ts +1 -1
- package/dist/plugins/PgTableNodePlugin.d.ts.map +1 -1
- package/dist/plugins/PgTableNodePlugin.js +34 -31
- package/dist/plugins/PgTableNodePlugin.js.map +1 -1
- package/dist/plugins/PgTablesPlugin.d.ts +50 -57
- package/dist/plugins/PgTablesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgTablesPlugin.js +126 -130
- package/dist/plugins/PgTablesPlugin.js.map +1 -1
- package/dist/plugins/PgTypesPlugin.d.ts +1 -1
- package/dist/plugins/PgTypesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgTypesPlugin.js +6 -6
- package/dist/plugins/PgTypesPlugin.js.map +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.js +14 -10
- package/dist/preset.js.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +4 -1
- package/dist/utils.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/package.json +13 -13
- package/dist/mergeTags.d.ts +0 -3
- package/dist/mergeTags.d.ts.map +0 -1
- package/dist/mergeTags.js +0 -9
- package/dist/mergeTags.js.map +0 -1
- package/dist/pgSources.d.ts +0 -60
- package/dist/pgSources.d.ts.map +0 -1
- package/dist/pgSources.js +0 -108
- package/dist/pgSources.js.map +0 -1
- package/dist/plugins/PgColumnDeprecationPlugin.d.ts +0 -3
- package/dist/plugins/PgColumnDeprecationPlugin.d.ts.map +0 -1
- package/dist/plugins/PgColumnDeprecationPlugin.js.map +0 -1
- package/dist/plugins/PgColumnsPlugin.d.ts +0 -48
- package/dist/plugins/PgColumnsPlugin.d.ts.map +0 -1
- package/dist/plugins/PgColumnsPlugin.js +0 -275
- package/dist/plugins/PgColumnsPlugin.js.map +0 -1
- package/dist/plugins/PgConnectionArgFirstLastBeforeAfterPlugin.d.ts.map +0 -1
- package/dist/plugins/PgConnectionArgFirstLastBeforeAfterPlugin.js.map +0 -1
- package/dist/plugins/PgOrderAllColumnsPlugin.d.ts +0 -17
- package/dist/plugins/PgOrderAllColumnsPlugin.d.ts.map +0 -1
- package/dist/plugins/PgOrderAllColumnsPlugin.js.map +0 -1
- package/dist/plugins/PgSmartCommentsPlugin.d.ts +0 -14
- package/dist/plugins/PgSmartCommentsPlugin.d.ts.map +0 -1
- package/dist/plugins/PgSmartCommentsPlugin.js +0 -99
- package/dist/plugins/PgSmartCommentsPlugin.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,632 @@
|
|
|
1
1
|
# graphile-build-pg
|
|
2
2
|
|
|
3
|
+
## 5.0.0-1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`7dcb0e008`](https://github.com/benjie/postgraphile-private/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
9
|
+
- grafast@0.0.1-1.2
|
|
10
|
+
- @dataplan/pg@0.0.1-1.2
|
|
11
|
+
- graphile-build@5.0.0-1.2
|
|
12
|
+
|
|
13
|
+
## 5.0.0-1.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#279](https://github.com/benjie/postgraphile-private/pull/279)
|
|
18
|
+
[`2df36c5a1`](https://github.com/benjie/postgraphile-private/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7)
|
|
19
|
+
Thanks [@benjie](https://github.com/benjie)! - `description` moved out of
|
|
20
|
+
`extensions` to live directly on all the relevant entities.
|
|
21
|
+
|
|
22
|
+
- [#287](https://github.com/benjie/postgraphile-private/pull/287)
|
|
23
|
+
[`c5d89d705`](https://github.com/benjie/postgraphile-private/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07)
|
|
24
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix the type definition of
|
|
25
|
+
GatherHooks to allow plugins to indicate individual gather hook ordering.
|
|
26
|
+
|
|
27
|
+
- [#279](https://github.com/benjie/postgraphile-private/pull/279)
|
|
28
|
+
[`a73f9c709`](https://github.com/benjie/postgraphile-private/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26)
|
|
29
|
+
Thanks [@benjie](https://github.com/benjie)! -
|
|
30
|
+
`PgConnectionArgFirstLastBeforeAfterPlugin` is now
|
|
31
|
+
`PgFirstLastBeforeAfterArgsPlugin` (because it applies to lists as well as
|
|
32
|
+
connections).
|
|
33
|
+
`PgInsertStep`/`pgInsert()`/`PgUpdateStep`/`pgUpdate()`/`PgDeleteStep`/`pgDelete()`
|
|
34
|
+
are now
|
|
35
|
+
`PgInsertSingleStep`/`pgInsertSingle()`/`PgUpdateSingleStep`/`pgUpdateSingle()`/`PgDeleteSingleStep`/`pgDeleteSingle()`
|
|
36
|
+
(to make space to add a future bulk API if we want to).
|
|
37
|
+
`config.schema.orderByNullsLast` is now `config.schema.pgOrderByNullsLast` for
|
|
38
|
+
consistency (V4 preset users are unaffected). Lots of field scopes in
|
|
39
|
+
`graphile-build-pg` have been updated to incorporate `field` into their names.
|
|
40
|
+
|
|
41
|
+
- [#260](https://github.com/benjie/postgraphile-private/pull/260)
|
|
42
|
+
[`d5312e6b9`](https://github.com/benjie/postgraphile-private/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
43
|
+
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
44
|
+
|
|
45
|
+
- [#259](https://github.com/benjie/postgraphile-private/pull/259)
|
|
46
|
+
[`c22dcde7b`](https://github.com/benjie/postgraphile-private/commit/c22dcde7b53af323d907b22a0a69924841072aa9)
|
|
47
|
+
Thanks [@benjie](https://github.com/benjie)! - Renamed `recordType` codec
|
|
48
|
+
factory to `recordCodec`. `recordCodec()` now only accepts a single object
|
|
49
|
+
argument. Renamed `enumType` codec factory to `enumCodec`. `enumCodec()` now
|
|
50
|
+
only accepts a single object argument. Rename `listOfType` to `listOfCodec`.
|
|
51
|
+
|
|
52
|
+
Massive overhaul of PgTypeCodec, PgTypeColumn and PgTypeColumns generics -
|
|
53
|
+
types should be passed through much deeper now, but if you reference any of
|
|
54
|
+
these types directly you'll need to update your code.
|
|
55
|
+
|
|
56
|
+
- [#285](https://github.com/benjie/postgraphile-private/pull/285)
|
|
57
|
+
[`bd37be707`](https://github.com/benjie/postgraphile-private/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1)
|
|
58
|
+
Thanks [@benjie](https://github.com/benjie)! - Single table inheritance no
|
|
59
|
+
longer exposes non-shared columns via condition/order, and also only exposes
|
|
60
|
+
the relationships on the types where they are appropriate.
|
|
61
|
+
|
|
62
|
+
- [#260](https://github.com/benjie/postgraphile-private/pull/260)
|
|
63
|
+
[`96b0bd14e`](https://github.com/benjie/postgraphile-private/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4)
|
|
64
|
+
Thanks [@benjie](https://github.com/benjie)! - `PgSource` has been renamed to
|
|
65
|
+
`PgResource`, `PgTypeCodec` to `PgCodec`, `PgEnumTypeCodec` to `PgEnumCodec`,
|
|
66
|
+
`PgTypeColumn` to `PgCodecAttribute` (and similar for related
|
|
67
|
+
types/interfaces). `source` has been replaced by `resource` in various of the
|
|
68
|
+
APIs where it relates to a `PgResource`.
|
|
69
|
+
|
|
70
|
+
`PgSourceBuilder` is no more, instead being replaced with `PgResourceOptions`
|
|
71
|
+
and being built into the final `PgResource` via the new
|
|
72
|
+
`makeRegistryBuilder`/`makeRegistry` functions.
|
|
73
|
+
|
|
74
|
+
`build.input` no longer contains the `pgSources` directly, instead
|
|
75
|
+
`build.input.pgRegistry.pgResources` should be used.
|
|
76
|
+
|
|
77
|
+
The new registry system also means that various of the hooks in the gather
|
|
78
|
+
phase have been renamed/replaced, there's a new `PgRegistryPlugin` plugin in
|
|
79
|
+
the default preset. The only plugin that uses the `main` method in the
|
|
80
|
+
`gather` phase is now `PgRegistryPlugin` - if you are using the `main`
|
|
81
|
+
function for Postgres-related behaviors you should consider moving your logic
|
|
82
|
+
to hooks instead.
|
|
83
|
+
|
|
84
|
+
Plugin ordering has changed and thus the shape of the final schema is likely
|
|
85
|
+
to change (please use `lexicographicSortSchema` on your before/after schemas
|
|
86
|
+
when comparing).
|
|
87
|
+
|
|
88
|
+
Relationships are now from a codec to a resource, rather than from resource to
|
|
89
|
+
resource, so all the relationship inflectors (`singleRelation`,
|
|
90
|
+
`singleRelationBackwards`, `_manyRelation`, `manyRelationConnection`,
|
|
91
|
+
`manyRelationList`) now accept different parameters
|
|
92
|
+
(`{registry, codec, relationName}` instead of `{source, relationaName}`).
|
|
93
|
+
|
|
94
|
+
Significant type overhaul, most generic types no longer require generics to be
|
|
95
|
+
explicitly passed in many circumstances. `PgSelectStep`, `PgSelectSingleStep`,
|
|
96
|
+
`PgInsertStep`, `PgUpdateStep` and `PgDeleteStep` now all accept the resource
|
|
97
|
+
as their single type parameter rather than accepting the 4 generics they did
|
|
98
|
+
previously. `PgClassExpressionStep` now accepts just a codec and a resource as
|
|
99
|
+
generics. `PgResource` and `PgCodec` have gained a new `TName extends string`
|
|
100
|
+
generic at the very front that is used by the registry system to massively
|
|
101
|
+
improve continuity of the types through all the various APIs.
|
|
102
|
+
|
|
103
|
+
Fixed various issues in schema exporting, and detect more potential
|
|
104
|
+
issues/oversights automatically.
|
|
105
|
+
|
|
106
|
+
Fixes an RBAC bug when using superuser role for introspection.
|
|
107
|
+
|
|
108
|
+
- [#271](https://github.com/benjie/postgraphile-private/pull/271)
|
|
109
|
+
[`d951897ee`](https://github.com/benjie/postgraphile-private/commit/d951897eea824acabdb17baab4bf900b4b3b842f)
|
|
110
|
+
Thanks [@benjie](https://github.com/benjie)! - Add extensions.pg to Postgres
|
|
111
|
+
function resources (makes it easier for plugins to hook them).
|
|
112
|
+
|
|
113
|
+
- [#286](https://github.com/benjie/postgraphile-private/pull/286)
|
|
114
|
+
[`366b166dc`](https://github.com/benjie/postgraphile-private/commit/366b166dc88a340de7f092f92840b0fba1f03d60)
|
|
115
|
+
Thanks [@benjie](https://github.com/benjie)! - Add detection for `@ref` that
|
|
116
|
+
is missing `singular`, fix docs and test schema and add tests for same.
|
|
117
|
+
|
|
118
|
+
- [#271](https://github.com/benjie/postgraphile-private/pull/271)
|
|
119
|
+
[`261eb520b`](https://github.com/benjie/postgraphile-private/commit/261eb520b33fe3673fe3a7712085e50291aed1e5)
|
|
120
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 **RENAME ALL THE THINGS**
|
|
121
|
+
|
|
122
|
+
The term 'source' was overloaded, and 'configs' was too vague, and
|
|
123
|
+
'databaseName' was misleading, and 'source' behaviours actually applied to
|
|
124
|
+
resources, and more. So, we've renamed lots of things as part of the API
|
|
125
|
+
stabilization work. You're probably only affected by the first 2 bullet
|
|
126
|
+
points.
|
|
127
|
+
|
|
128
|
+
- `pgConfigs` -> `pgServices` (also applies to related `pgConfig` terms such
|
|
129
|
+
as `makePgConfig` -> `makePgService`, `MakePgConfigOptions` ->
|
|
130
|
+
`MakePgServiceOptions`, etc) - see your `graphile.config.ts` or equivalent
|
|
131
|
+
file
|
|
132
|
+
- All `*:source:*` behaviors are now `*:resource:*` behaviors (use regexp
|
|
133
|
+
`/:source\b|\bsource:[a-z$]/` to find the places that need updating)
|
|
134
|
+
- `PgDatabaseConfiguration` -> `PgServiceConfiguration`
|
|
135
|
+
- `databaseName` -> `serviceName` (because it's not the name of the database,
|
|
136
|
+
it's the name of the `pgServices` (which was `pgConfigs`) entry)
|
|
137
|
+
- `PgResourceConfig::source` -> `PgResourceConfig.from` ('source' is
|
|
138
|
+
overloaded, so use a more direct term)
|
|
139
|
+
- `PgResource::source` -> `PgResource.from`
|
|
140
|
+
- `PgSelectPlanJoin::source` -> `PgSelectPlanJoin.from`
|
|
141
|
+
- `helpers.pgIntrospection.getDatabase` ->
|
|
142
|
+
`helpers.pgIntrospection.getService`
|
|
143
|
+
- `helpers.pgIntrospection.getExecutorForDatabase` ->
|
|
144
|
+
`helpers.pgIntrospection.getExecutorForService`
|
|
145
|
+
|
|
146
|
+
- [#268](https://github.com/benjie/postgraphile-private/pull/268)
|
|
147
|
+
[`a14cf5f4c`](https://github.com/benjie/postgraphile-private/commit/a14cf5f4c233cd794eb4d3c6f2281e747d234a71)
|
|
148
|
+
Thanks [@benjie](https://github.com/benjie)! - PgV4NoIgnoreIndexesPlugin is
|
|
149
|
+
now PgIndexBehaviorsPlugin, moved to graphile-build-pg, and is enabled by
|
|
150
|
+
default
|
|
151
|
+
- Updated dependencies
|
|
152
|
+
[[`2df36c5a1`](https://github.com/benjie/postgraphile-private/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7),
|
|
153
|
+
[`c5d89d705`](https://github.com/benjie/postgraphile-private/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07),
|
|
154
|
+
[`a73f9c709`](https://github.com/benjie/postgraphile-private/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26),
|
|
155
|
+
[`ae304b33c`](https://github.com/benjie/postgraphile-private/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
156
|
+
[`ef42d717c`](https://github.com/benjie/postgraphile-private/commit/ef42d717c38df7fddc1cd3a5b97dc8d68419417a),
|
|
157
|
+
[`d5312e6b9`](https://github.com/benjie/postgraphile-private/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
158
|
+
[`22ec50e36`](https://github.com/benjie/postgraphile-private/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
159
|
+
[`0f4709356`](https://github.com/benjie/postgraphile-private/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
160
|
+
[`c22dcde7b`](https://github.com/benjie/postgraphile-private/commit/c22dcde7b53af323d907b22a0a69924841072aa9),
|
|
161
|
+
[`bd37be707`](https://github.com/benjie/postgraphile-private/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1),
|
|
162
|
+
[`f8954fb17`](https://github.com/benjie/postgraphile-private/commit/f8954fb17bbcb0f6633475d09924cdd9f94aaf23),
|
|
163
|
+
[`96b0bd14e`](https://github.com/benjie/postgraphile-private/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4),
|
|
164
|
+
[`f93c79b94`](https://github.com/benjie/postgraphile-private/commit/f93c79b94eb93ae04b1b2e0478f5106e1aca8ee2),
|
|
165
|
+
[`fbf1da26a`](https://github.com/benjie/postgraphile-private/commit/fbf1da26a9208519ee58f7ac34dd7e569bf1f9e5),
|
|
166
|
+
[`53e164cbc`](https://github.com/benjie/postgraphile-private/commit/53e164cbca7eaf1e6e03c849ac1bbe1789c61105),
|
|
167
|
+
[`c564825f3`](https://github.com/benjie/postgraphile-private/commit/c564825f3fda0083e536154c4c34ce0b2948eba4),
|
|
168
|
+
[`261eb520b`](https://github.com/benjie/postgraphile-private/commit/261eb520b33fe3673fe3a7712085e50291aed1e5),
|
|
169
|
+
[`395b4a2dd`](https://github.com/benjie/postgraphile-private/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
|
|
170
|
+
- @dataplan/pg@0.0.1-1.1
|
|
171
|
+
- graphile-build@5.0.0-1.1
|
|
172
|
+
- grafast@0.0.1-1.1
|
|
173
|
+
- pg-introspection@0.0.1-1.1
|
|
174
|
+
- graphile-config@0.0.1-1.1
|
|
175
|
+
- graphile-export@0.0.2-1.1
|
|
176
|
+
- tamedevil@0.0.0-1.1
|
|
177
|
+
- pg-sql2@5.0.0-1.1
|
|
178
|
+
|
|
179
|
+
## 5.0.0-0.34
|
|
180
|
+
|
|
181
|
+
### Patch Changes
|
|
182
|
+
|
|
183
|
+
- [#257](https://github.com/benjie/postgraphile-private/pull/257)
|
|
184
|
+
[`89d16c972`](https://github.com/benjie/postgraphile-private/commit/89d16c972f12659de091b0b866768cacfccc8f6b)
|
|
185
|
+
Thanks [@benjie](https://github.com/benjie)! - PgClassSinglePlan is now
|
|
186
|
+
enforced, users will be informed if plans return a step incompatible with the
|
|
187
|
+
given GraphQL object type.
|
|
188
|
+
- Updated dependencies
|
|
189
|
+
[[`89d16c972`](https://github.com/benjie/postgraphile-private/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
190
|
+
[`8f323bdc8`](https://github.com/benjie/postgraphile-private/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
191
|
+
[`9e7183c02`](https://github.com/benjie/postgraphile-private/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83),
|
|
192
|
+
[`fce77f40e`](https://github.com/benjie/postgraphile-private/commit/fce77f40efb194a3dfa7f38bfe20eb99e09efa70)]:
|
|
193
|
+
- grafast@0.0.1-0.23
|
|
194
|
+
- pg-sql2@5.0.0-0.4
|
|
195
|
+
- @dataplan/pg@0.0.1-0.28
|
|
196
|
+
- graphile-build@5.0.0-0.29
|
|
197
|
+
|
|
198
|
+
## 5.0.0-0.33
|
|
199
|
+
|
|
200
|
+
### Patch Changes
|
|
201
|
+
|
|
202
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
203
|
+
[`a50bc5be4`](https://github.com/benjie/postgraphile-private/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8)
|
|
204
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce new
|
|
205
|
+
GraphQLObjectType_fields_field_args_arg and
|
|
206
|
+
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
|
|
207
|
+
ordering issues.
|
|
208
|
+
|
|
209
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
210
|
+
[`11e7c12c5`](https://github.com/benjie/postgraphile-private/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
211
|
+
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
212
|
+
ordering code which lead to heisenbugs.
|
|
213
|
+
|
|
214
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
215
|
+
[`2f50a633a`](https://github.com/benjie/postgraphile-private/commit/2f50a633acab7c112413ec4576beeec2efef24df)
|
|
216
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix a bug where plugin ordering
|
|
217
|
+
could result in update mutations not being created.
|
|
218
|
+
|
|
219
|
+
- [#233](https://github.com/benjie/postgraphile-private/pull/233)
|
|
220
|
+
[`005e5cea0`](https://github.com/benjie/postgraphile-private/commit/005e5cea01224533282bc4d0f3516368fb8db81a)
|
|
221
|
+
Thanks [@benjie](https://github.com/benjie)! - Eradicate
|
|
222
|
+
PgSmartCommentsPlugin, it is no longer needed. Solves some plugin ordering
|
|
223
|
+
issues.
|
|
224
|
+
- Updated dependencies
|
|
225
|
+
[[`a50bc5be4`](https://github.com/benjie/postgraphile-private/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8),
|
|
226
|
+
[`6fb7ef449`](https://github.com/benjie/postgraphile-private/commit/6fb7ef4494b4f61b3b1aa36642e51eb9ec99a941),
|
|
227
|
+
[`11e7c12c5`](https://github.com/benjie/postgraphile-private/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
|
|
228
|
+
- graphile-build@5.0.0-0.28
|
|
229
|
+
- graphile-config@0.0.1-0.6
|
|
230
|
+
- grafast@0.0.1-0.22
|
|
231
|
+
- @dataplan/pg@0.0.1-0.27
|
|
232
|
+
|
|
233
|
+
## 5.0.0-0.32
|
|
234
|
+
|
|
235
|
+
### Patch Changes
|
|
236
|
+
|
|
237
|
+
- [#229](https://github.com/benjie/postgraphile-private/pull/229)
|
|
238
|
+
[`13cfc7501`](https://github.com/benjie/postgraphile-private/commit/13cfc75019d42353c1e6be394c28c6ba61ab32d0)
|
|
239
|
+
Thanks [@benjie](https://github.com/benjie)! - pgConfig.listen is no more; it
|
|
240
|
+
was redundant versus PgSubscriber. Have migrated PgIntrospectionPlugin to use
|
|
241
|
+
PgSubscriber instead.
|
|
242
|
+
|
|
243
|
+
- [#229](https://github.com/benjie/postgraphile-private/pull/229)
|
|
244
|
+
[`ac6137bb6`](https://github.com/benjie/postgraphile-private/commit/ac6137bb60a34a3ebf5fad3c6ac153c95acb6158)
|
|
245
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 PgRBACPlugin is now included
|
|
246
|
+
in the default `graphile-build-pg` (and thus PostGraphile amber) preset. Users
|
|
247
|
+
of the V4 preset are unaffected.
|
|
248
|
+
- Updated dependencies
|
|
249
|
+
[[`f5a04cf66`](https://github.com/benjie/postgraphile-private/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa),
|
|
250
|
+
[`13cfc7501`](https://github.com/benjie/postgraphile-private/commit/13cfc75019d42353c1e6be394c28c6ba61ab32d0),
|
|
251
|
+
[`b9a2236d4`](https://github.com/benjie/postgraphile-private/commit/b9a2236d43cc92e06085298e379de71f7fdedcb7)]:
|
|
252
|
+
- grafast@0.0.1-0.21
|
|
253
|
+
- @dataplan/pg@0.0.1-0.26
|
|
254
|
+
- graphile-build@5.0.0-0.27
|
|
255
|
+
|
|
256
|
+
## 5.0.0-0.31
|
|
257
|
+
|
|
258
|
+
### Patch Changes
|
|
259
|
+
|
|
260
|
+
- Updated dependencies [[`aac8732f9`](undefined)]:
|
|
261
|
+
- grafast@0.0.1-0.20
|
|
262
|
+
- @dataplan/pg@0.0.1-0.25
|
|
263
|
+
- graphile-build@5.0.0-0.26
|
|
264
|
+
|
|
265
|
+
## 5.0.0-0.30
|
|
266
|
+
|
|
267
|
+
### Patch Changes
|
|
268
|
+
|
|
269
|
+
- Updated dependencies
|
|
270
|
+
[[`397e8bb40`](https://github.com/benjie/postgraphile-private/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
271
|
+
- grafast@0.0.1-0.19
|
|
272
|
+
- @dataplan/pg@0.0.1-0.24
|
|
273
|
+
- graphile-build@5.0.0-0.25
|
|
274
|
+
|
|
275
|
+
## 5.0.0-0.29
|
|
276
|
+
|
|
277
|
+
### Patch Changes
|
|
278
|
+
|
|
279
|
+
- Updated dependencies
|
|
280
|
+
[[`4c2b7d1ca`](https://github.com/benjie/postgraphile-private/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
281
|
+
[`2abc58cf6`](https://github.com/benjie/postgraphile-private/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245),
|
|
282
|
+
[`c8a56cdc8`](https://github.com/benjie/postgraphile-private/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c),
|
|
283
|
+
[`df8c06657`](https://github.com/benjie/postgraphile-private/commit/df8c06657e6f5a7d1444d86dc32fd750d1433223)]:
|
|
284
|
+
- grafast@0.0.1-0.18
|
|
285
|
+
- graphile-build@5.0.0-0.24
|
|
286
|
+
- @dataplan/pg@0.0.1-0.23
|
|
287
|
+
|
|
288
|
+
## 5.0.0-0.28
|
|
289
|
+
|
|
290
|
+
### Patch Changes
|
|
291
|
+
|
|
292
|
+
- [#218](https://github.com/benjie/postgraphile-private/pull/218)
|
|
293
|
+
[`f2c1423fb`](https://github.com/benjie/postgraphile-private/commit/f2c1423fbd6c354146a70a9a2ebabd97370b9b05)
|
|
294
|
+
Thanks [@benjie](https://github.com/benjie)! - Option for `@foreignKey` smart
|
|
295
|
+
tag to have unique auto-created for it to ease transition from V4:
|
|
296
|
+
`{ gather: { pgFakeConstraintsAutofixForeignKeyUniqueness: true } }`
|
|
297
|
+
|
|
298
|
+
- [#219](https://github.com/benjie/postgraphile-private/pull/219)
|
|
299
|
+
[`b58f5dfac`](https://github.com/benjie/postgraphile-private/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)
|
|
300
|
+
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
301
|
+
`GraphileBuild.GraphileBuildGatherOptions` to `GraphileBuild.GatherOptions`.
|
|
302
|
+
Rename `GraphileBuild.GraphileBuildInflectionOptions` to
|
|
303
|
+
`GraphileBuild.InflectionOptions`.
|
|
304
|
+
- Updated dependencies
|
|
305
|
+
[[`b58f5dfac`](https://github.com/benjie/postgraphile-private/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)]:
|
|
306
|
+
- graphile-build@5.0.0-0.23
|
|
307
|
+
|
|
308
|
+
## 5.0.0-0.27
|
|
309
|
+
|
|
310
|
+
### Patch Changes
|
|
311
|
+
|
|
312
|
+
- Updated dependencies [[`f48860d4f`](undefined)]:
|
|
313
|
+
- grafast@0.0.1-0.17
|
|
314
|
+
- graphile-build@5.0.0-0.22
|
|
315
|
+
- @dataplan/pg@0.0.1-0.22
|
|
316
|
+
|
|
317
|
+
## 5.0.0-0.26
|
|
318
|
+
|
|
319
|
+
### Patch Changes
|
|
320
|
+
|
|
321
|
+
- [#214](https://github.com/benjie/postgraphile-private/pull/214)
|
|
322
|
+
[`3ed7d3349`](https://github.com/benjie/postgraphile-private/commit/3ed7d334939e5e0ab2f63b2fde202884cc2daa74)
|
|
323
|
+
Thanks [@benjie](https://github.com/benjie)! - @uniqueKey smart tag now
|
|
324
|
+
converted via V4 preset to @unique.
|
|
325
|
+
|
|
326
|
+
- Updated dependencies
|
|
327
|
+
[[`7e3bfef04`](https://github.com/benjie/postgraphile-private/commit/7e3bfef04ebb76fbde8273341ec92073b9e9f04d),
|
|
328
|
+
[`df89aba52`](https://github.com/benjie/postgraphile-private/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
|
|
329
|
+
- @dataplan/pg@0.0.1-0.21
|
|
330
|
+
- grafast@0.0.1-0.16
|
|
331
|
+
- graphile-build@5.0.0-0.21
|
|
332
|
+
|
|
333
|
+
## 5.0.0-0.25
|
|
334
|
+
|
|
335
|
+
### Patch Changes
|
|
336
|
+
|
|
337
|
+
- [`a8d26b30a`](undefined) - `ignoreReplaceIfNotExists` now truly ignores
|
|
338
|
+
replacement inflectors. Better handle disabled NodePlugin.
|
|
339
|
+
|
|
340
|
+
## 5.0.0-0.24
|
|
341
|
+
|
|
342
|
+
### Patch Changes
|
|
343
|
+
|
|
344
|
+
- [`5812ad277`](undefined) - Deal better with NodePlugin being disabled.
|
|
345
|
+
|
|
346
|
+
## 5.0.0-0.23
|
|
347
|
+
|
|
348
|
+
### Patch Changes
|
|
349
|
+
|
|
350
|
+
- [#210](https://github.com/benjie/postgraphile-private/pull/210)
|
|
351
|
+
[`2fb5001b4`](https://github.com/benjie/postgraphile-private/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d)
|
|
352
|
+
Thanks [@benjie](https://github.com/benjie)! - retryOnInitFail implemented,
|
|
353
|
+
and bug in introspection cache on error resolved.
|
|
354
|
+
|
|
355
|
+
- [#210](https://github.com/benjie/postgraphile-private/pull/210)
|
|
356
|
+
[`2bd4b619e`](https://github.com/benjie/postgraphile-private/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99)
|
|
357
|
+
Thanks [@benjie](https://github.com/benjie)! - Add
|
|
358
|
+
`extensions.pg = { databaseName, schemaName, name }` to various DB-derived
|
|
359
|
+
resources (codecs, sources, etc); this replaces the `originalName` temporary
|
|
360
|
+
solution that we had previously.
|
|
361
|
+
|
|
362
|
+
- [#210](https://github.com/benjie/postgraphile-private/pull/210)
|
|
363
|
+
[`b523118fe`](https://github.com/benjie/postgraphile-private/commit/b523118fe6217c027363fea91252a3a1764e17df)
|
|
364
|
+
Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
|
|
365
|
+
Grafast.Context throughout.
|
|
366
|
+
|
|
367
|
+
- Updated dependencies
|
|
368
|
+
[[`2fb5001b4`](https://github.com/benjie/postgraphile-private/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d),
|
|
369
|
+
[`2bd4b619e`](https://github.com/benjie/postgraphile-private/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99),
|
|
370
|
+
[`b523118fe`](https://github.com/benjie/postgraphile-private/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
|
|
371
|
+
- graphile-build@5.0.0-0.20
|
|
372
|
+
- @dataplan/pg@0.0.1-0.20
|
|
373
|
+
- grafast@0.0.1-0.15
|
|
374
|
+
|
|
375
|
+
## 5.0.0-0.22
|
|
376
|
+
|
|
377
|
+
### Patch Changes
|
|
378
|
+
|
|
379
|
+
- [#206](https://github.com/benjie/postgraphile-private/pull/206)
|
|
380
|
+
[`851b78ef2`](https://github.com/benjie/postgraphile-private/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
|
|
381
|
+
Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
|
|
382
|
+
errors by default; trusted errors are constructed via GraphQL's GraphQLError
|
|
383
|
+
or Grafast's SafeError.
|
|
384
|
+
- Updated dependencies
|
|
385
|
+
[[`d76043453`](https://github.com/benjie/postgraphile-private/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
386
|
+
[`afa0ea5f6`](https://github.com/benjie/postgraphile-private/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
387
|
+
[`92c2378f2`](https://github.com/benjie/postgraphile-private/commit/92c2378f297cc917f542b126e1cdddf58e1f0fc3),
|
|
388
|
+
[`851b78ef2`](https://github.com/benjie/postgraphile-private/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
389
|
+
[`384b3594f`](https://github.com/benjie/postgraphile-private/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
390
|
+
- grafast@0.0.1-0.14
|
|
391
|
+
- @dataplan/pg@0.0.1-0.19
|
|
392
|
+
- graphile-build@5.0.0-0.19
|
|
393
|
+
|
|
394
|
+
## 5.0.0-0.21
|
|
395
|
+
|
|
396
|
+
### Patch Changes
|
|
397
|
+
|
|
398
|
+
- Updated dependencies
|
|
399
|
+
[[`a14bd2288`](https://github.com/benjie/postgraphile-private/commit/a14bd2288532b0977945d1c0508e51baef6dba2b),
|
|
400
|
+
[`dca706ad9`](https://github.com/benjie/postgraphile-private/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)]:
|
|
401
|
+
- @dataplan/pg@0.0.1-0.18
|
|
402
|
+
- graphile-build@5.0.0-0.18
|
|
403
|
+
|
|
404
|
+
## 5.0.0-0.20
|
|
405
|
+
|
|
406
|
+
### Patch Changes
|
|
407
|
+
|
|
408
|
+
- Updated dependencies [[`e5b664b6f`](undefined)]:
|
|
409
|
+
- @dataplan/pg@0.0.1-0.17
|
|
410
|
+
- grafast@0.0.1-0.13
|
|
411
|
+
- graphile-build@5.0.0-0.17
|
|
412
|
+
|
|
413
|
+
## 5.0.0-0.19
|
|
414
|
+
|
|
415
|
+
### Patch Changes
|
|
416
|
+
|
|
417
|
+
- Updated dependencies
|
|
418
|
+
[[`4f5d5bec7`](https://github.com/benjie/postgraphile-private/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
419
|
+
[`fb40bd97b`](https://github.com/benjie/postgraphile-private/commit/fb40bd97b8a36da91c6b08e0ce67f1a9419ad91f),
|
|
420
|
+
[`a1158d83e`](https://github.com/benjie/postgraphile-private/commit/a1158d83e2d26f7da0182ec2b651f7f1ec202f14),
|
|
421
|
+
[`25f5a6cbf`](https://github.com/benjie/postgraphile-private/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
422
|
+
- @dataplan/pg@0.0.1-0.16
|
|
423
|
+
- grafast@0.0.1-0.12
|
|
424
|
+
- graphile-build@5.0.0-0.16
|
|
425
|
+
|
|
426
|
+
## 5.0.0-0.18
|
|
427
|
+
|
|
428
|
+
### Patch Changes
|
|
429
|
+
|
|
430
|
+
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
431
|
+
|
|
432
|
+
- [#190](https://github.com/benjie/postgraphile-private/pull/190)
|
|
433
|
+
[`652cf1073`](https://github.com/benjie/postgraphile-private/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
434
|
+
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
435
|
+
types and postgres configuration:
|
|
436
|
+
|
|
437
|
+
- `GraphileBuild.GraphileResolverContext` renamed to `Grafast.Context`
|
|
438
|
+
- `GraphileConfig.GraphQLRequestContext` renamed to `Grafast.RequestContext`
|
|
439
|
+
- `Grafast.PgDatabaseAdaptorOptions` renaed to
|
|
440
|
+
`GraphileConfig.PgDatabaseAdaptorOptions`
|
|
441
|
+
- `@dataplan/pg/adaptors/node-postgres` is now `@dataplan/pg/adaptors/pg` due
|
|
442
|
+
to the bizarre naming of PostgreSQL clients on npm - we've decided to use
|
|
443
|
+
the module name as the unique identifier
|
|
444
|
+
- `makePgConfigs`:
|
|
445
|
+
- is now `makePgConfig` (singular) - so you'll need to wrap it in an array
|
|
446
|
+
where you use it
|
|
447
|
+
- no longer exported by `@dataplan/pg` (because it depended on `pg`) -
|
|
448
|
+
instead each adaptor exposes this helper - so import from
|
|
449
|
+
`@dataplan/pg/adaptors/node-postgres`
|
|
450
|
+
- accepts an object parameter containing
|
|
451
|
+
`{connectionString, schemas, superuserConnectionString}`, rather than
|
|
452
|
+
multiple string parameters
|
|
453
|
+
- `makeNodePostgresWithPgClient` -> `makePgAdaptorWithPgClient`
|
|
454
|
+
- `postgraphile` CLI will now try and respect the adaptor stated in your
|
|
455
|
+
preset when overriding connection arguments
|
|
456
|
+
- Removed `Grafast.RequestContext.httpRequest` and instead use
|
|
457
|
+
`Grafast.RequestContext.node.req/res`; all server adaptors should implement
|
|
458
|
+
this if appropriate
|
|
459
|
+
|
|
460
|
+
- [#192](https://github.com/benjie/postgraphile-private/pull/192)
|
|
461
|
+
[`80091a8e0`](https://github.com/benjie/postgraphile-private/commit/80091a8e0343a162bf2b60cf619267a874a67e60)
|
|
462
|
+
Thanks [@benjie](https://github.com/benjie)! - - Conflicts in `pgConfigs`
|
|
463
|
+
(e.g. multiple sources using the same 'name') now detected and output
|
|
464
|
+
- Fix defaults for `pgSettingsKey` and `withPgClientKey` based on config name
|
|
465
|
+
- `makePgConfig` now allows passing `pgSettings` callback and
|
|
466
|
+
`pgSettingsForIntrospection` config object
|
|
467
|
+
- Multiple postgres sources now works nicely with multiple `makePgConfig`
|
|
468
|
+
calls
|
|
469
|
+
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
470
|
+
[`af9bc38c8`](https://github.com/benjie/postgraphile-private/commit/af9bc38c86dddfa776e5d8db117b5cb35dbe2cd7),
|
|
471
|
+
[`4783bdd7c`](https://github.com/benjie/postgraphile-private/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
472
|
+
[`652cf1073`](https://github.com/benjie/postgraphile-private/commit/652cf107316ea5832f69c6a55574632187f5c876),
|
|
473
|
+
[`80091a8e0`](https://github.com/benjie/postgraphile-private/commit/80091a8e0343a162bf2b60cf619267a874a67e60)]:
|
|
474
|
+
- @dataplan/pg@0.0.1-0.15
|
|
475
|
+
- grafast@0.0.1-0.11
|
|
476
|
+
- graphile-build@5.0.0-0.15
|
|
477
|
+
- graphile-config@0.0.1-0.5
|
|
478
|
+
- pg-introspection@0.0.1-0.3
|
|
479
|
+
- pg-sql2@5.0.0-0.3
|
|
480
|
+
- tamedevil@0.0.0-0.4
|
|
481
|
+
|
|
482
|
+
## 5.0.0-0.17
|
|
483
|
+
|
|
484
|
+
### Patch Changes
|
|
485
|
+
|
|
486
|
+
- [`72bf5f535`](undefined) - Overhaul the behavior system (see
|
|
487
|
+
https://postgraphile.org/postgraphile/next/behavior).
|
|
488
|
+
|
|
489
|
+
- Adds `schema.defaultBehavior` configuration option to save having to write a
|
|
490
|
+
plugin for such a simple task
|
|
491
|
+
- Changes a bunch of behavior strings:
|
|
492
|
+
- `(query|singularRelation|manyRelation|queryField|typeField):(list|connection|single)`
|
|
493
|
+
-> `$1:source:$2` (e.g. `query:list` -> `query:source:list`)
|
|
494
|
+
- Checks for more specific behaviors, e.g. `source:update` or
|
|
495
|
+
`constraint:source:update` or `attribute:update` rather than just `update`
|
|
496
|
+
- Updates every change to `getBehavior` so that it follows the relevant chain
|
|
497
|
+
(e.g. codec -> source -> relation for relations, similar for other types)
|
|
498
|
+
- More helpful error message when `-insert` prevents functions with input
|
|
499
|
+
arguments working
|
|
500
|
+
- Throw an error if you try and use "create" scope (because we use
|
|
501
|
+
insert/update/delete not create/update/delete)
|
|
502
|
+
|
|
503
|
+
- Updated dependencies [[`72bf5f535`](undefined)]:
|
|
504
|
+
- graphile-build@5.0.0-0.14
|
|
505
|
+
|
|
506
|
+
## 5.0.0-0.16
|
|
507
|
+
|
|
508
|
+
### Patch Changes
|
|
509
|
+
|
|
510
|
+
- Updated dependencies
|
|
511
|
+
[[`842f6ccbb`](https://github.com/benjie/postgraphile-private/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
|
|
512
|
+
- graphile-config@0.0.1-0.4
|
|
513
|
+
- grafast@0.0.1-0.10
|
|
514
|
+
- graphile-build@5.0.0-0.13
|
|
515
|
+
- @dataplan/pg@0.0.1-0.14
|
|
516
|
+
|
|
517
|
+
## 5.0.0-0.15
|
|
518
|
+
|
|
519
|
+
### Patch Changes
|
|
520
|
+
|
|
521
|
+
- [#183](https://github.com/benjie/postgraphile-private/pull/183)
|
|
522
|
+
[`ebb24895c`](https://github.com/benjie/postgraphile-private/commit/ebb24895c3ee05c670ffb6c9b4fa4bd1328d9005)
|
|
523
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug when handling stable
|
|
524
|
+
void functions
|
|
525
|
+
|
|
526
|
+
- [#181](https://github.com/benjie/postgraphile-private/pull/181)
|
|
527
|
+
[`d3cba220c`](https://github.com/benjie/postgraphile-private/commit/d3cba220c5acb52bb45f1f82f599dd13e0340e65)
|
|
528
|
+
Thanks [@benjie](https://github.com/benjie)! - `*FieldName` smart tags are now
|
|
529
|
+
used verbatim rather than being piped through `inflection.camelCase(...)` -
|
|
530
|
+
you've explicitly stated a 'field name' so we should use that. This may be a
|
|
531
|
+
breaking change for you if your field names are currently different
|
|
532
|
+
before/after they are camelCase'd.
|
|
533
|
+
|
|
534
|
+
- [#183](https://github.com/benjie/postgraphile-private/pull/183)
|
|
535
|
+
[`3eb9da95e`](https://github.com/benjie/postgraphile-private/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)
|
|
536
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix potential construction loop
|
|
537
|
+
on failure to construct a type
|
|
538
|
+
|
|
539
|
+
- Updated dependencies
|
|
540
|
+
[[`3eb9da95e`](https://github.com/benjie/postgraphile-private/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)]:
|
|
541
|
+
- graphile-build@5.0.0-0.12
|
|
542
|
+
|
|
543
|
+
## 5.0.0-0.14
|
|
544
|
+
|
|
545
|
+
### Patch Changes
|
|
546
|
+
|
|
547
|
+
- [#178](https://github.com/benjie/postgraphile-private/pull/178)
|
|
548
|
+
[`1b040b3ba`](https://github.com/benjie/postgraphile-private/commit/1b040b3bad10ea42b01134e6bddaefaf604936c0)
|
|
549
|
+
Thanks [@benjie](https://github.com/benjie)! - `@omit` and similar smart tags
|
|
550
|
+
are now processed on `@foreignKey` and other fake constraints.
|
|
551
|
+
|
|
552
|
+
- [#177](https://github.com/benjie/postgraphile-private/pull/177)
|
|
553
|
+
[`6be68a53e`](https://github.com/benjie/postgraphile-private/commit/6be68a53e21940406a9fd629ee15cb1673497a6e)
|
|
554
|
+
Thanks [@benjie](https://github.com/benjie)! - `@foreignFieldName` smart tag
|
|
555
|
+
is now fed into the `inflection.connectionField(...)` or
|
|
556
|
+
`inflection.listField(...)` inflector as appropriate. If you are using
|
|
557
|
+
`@foreignSimpleFieldName` you may be able to delete that now; alternatively
|
|
558
|
+
you should consider renaming `@foreignFieldName` to
|
|
559
|
+
`@foreignConnectionFieldName` for consistency.
|
|
560
|
+
|
|
561
|
+
- [#176](https://github.com/benjie/postgraphile-private/pull/176)
|
|
562
|
+
[`11d6be65e`](https://github.com/benjie/postgraphile-private/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
|
|
563
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix issue with plugin
|
|
564
|
+
versioning. Add more TSDoc comments. New getTerminalWidth() helper.
|
|
565
|
+
- Updated dependencies
|
|
566
|
+
[[`19e2961de`](https://github.com/benjie/postgraphile-private/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
|
|
567
|
+
[`11d6be65e`](https://github.com/benjie/postgraphile-private/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
568
|
+
- graphile-config@0.0.1-0.3
|
|
569
|
+
- grafast@0.0.1-0.9
|
|
570
|
+
- graphile-build@5.0.0-0.11
|
|
571
|
+
- @dataplan/pg@0.0.1-0.13
|
|
572
|
+
|
|
573
|
+
## 5.0.0-0.13
|
|
574
|
+
|
|
575
|
+
### Patch Changes
|
|
576
|
+
|
|
577
|
+
- Updated dependencies
|
|
578
|
+
[[`208166269`](https://github.com/benjie/postgraphile-private/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
579
|
+
- grafast@0.0.1-0.8
|
|
580
|
+
- @dataplan/pg@0.0.1-0.12
|
|
581
|
+
- graphile-build@5.0.0-0.10
|
|
582
|
+
|
|
583
|
+
## 5.0.0-0.12
|
|
584
|
+
|
|
585
|
+
### Patch Changes
|
|
586
|
+
|
|
587
|
+
- [`af9f11f28`](https://github.com/benjie/postgraphile-private/commit/af9f11f289b0029442c6cf4ededf86ee823a26c3)
|
|
588
|
+
Thanks [@benjie](https://github.com/benjie)! - 'preset.pgSources' renamed to
|
|
589
|
+
'preset.pgConfigs' to avoid confusion with PgSource class and
|
|
590
|
+
'input.pgSources' used for build.
|
|
591
|
+
|
|
592
|
+
- [`6ebe3a13e`](https://github.com/benjie/postgraphile-private/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a)
|
|
593
|
+
Thanks [@benjie](https://github.com/benjie)! - Enable omitting update/delete
|
|
594
|
+
mutations using behaviors on unique constraints.
|
|
595
|
+
|
|
596
|
+
- [`0e440a862`](https://github.com/benjie/postgraphile-private/commit/0e440a862d29e8db40fd72413223a10de885ef46)
|
|
597
|
+
Thanks [@benjie](https://github.com/benjie)! - Add new
|
|
598
|
+
`--superuser-connection` option to allow installing watch fixtures as
|
|
599
|
+
superuser.
|
|
600
|
+
- Updated dependencies
|
|
601
|
+
[[`6ebe3a13e`](https://github.com/benjie/postgraphile-private/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a),
|
|
602
|
+
[`0e440a862`](https://github.com/benjie/postgraphile-private/commit/0e440a862d29e8db40fd72413223a10de885ef46)]:
|
|
603
|
+
- graphile-build@5.0.0-0.9
|
|
604
|
+
- @dataplan/pg@0.0.1-0.11
|
|
605
|
+
|
|
606
|
+
## 5.0.0-0.11
|
|
607
|
+
|
|
608
|
+
### Patch Changes
|
|
609
|
+
|
|
610
|
+
- [`677c8f5fc`](undefined) - Create new getTags() introspection helper and use
|
|
611
|
+
it. Rename GraphileBuild.GraphileBuildSchemaOptions to
|
|
612
|
+
GraphileBuild.SchemaOptions. Fix a couple minor inflection bugs. Add some
|
|
613
|
+
missing descriptions. Fix the initial inflection types to not leak
|
|
614
|
+
implementation details. Fix inflectors to use ResolvedPreset rather than
|
|
615
|
+
Preset.
|
|
616
|
+
- Updated dependencies [[`4ca7fce12`](undefined), [`677c8f5fc`](undefined)]:
|
|
617
|
+
- tamedevil@0.0.0-0.3
|
|
618
|
+
- graphile-build@5.0.0-0.8
|
|
619
|
+
- pg-introspection@0.0.1-0.2
|
|
620
|
+
- grafast@0.0.1-0.7
|
|
621
|
+
- @dataplan/pg@0.0.1-0.10
|
|
622
|
+
|
|
623
|
+
## 5.0.0-0.10
|
|
624
|
+
|
|
625
|
+
### Patch Changes
|
|
626
|
+
|
|
627
|
+
- Updated dependencies [[`c4213e91d`](undefined)]:
|
|
628
|
+
- @dataplan/pg@0.0.1-0.9
|
|
629
|
+
|
|
3
630
|
## 5.0.0-0.9
|
|
4
631
|
|
|
5
632
|
### Patch Changes
|