graphile-build-pg 5.0.0-alpha.2 → 5.0.0-alpha.20
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 +863 -141
- package/README.md +4 -5
- package/dist/behavior.d.ts +2 -3
- package/dist/behavior.d.ts.map +1 -1
- package/dist/behavior.js +2 -3
- package/dist/behavior.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +76 -70
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/pgServices.d.ts +4 -0
- package/dist/pgServices.d.ts.map +1 -1
- package/dist/pgServices.js +16 -6
- package/dist/pgServices.js.map +1 -1
- package/dist/plugins/PgAllRowsPlugin.d.ts +4 -1
- package/dist/plugins/PgAllRowsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgAllRowsPlugin.js +10 -14
- package/dist/plugins/PgAllRowsPlugin.js.map +1 -1
- package/dist/plugins/PgAttributesPlugin.d.ts +5 -2
- package/dist/plugins/PgAttributesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgAttributesPlugin.js +177 -88
- package/dist/plugins/PgAttributesPlugin.js.map +1 -1
- package/dist/plugins/PgBasicsPlugin.d.ts +23 -2
- package/dist/plugins/PgBasicsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgBasicsPlugin.js +87 -0
- package/dist/plugins/PgBasicsPlugin.js.map +1 -1
- package/dist/plugins/PgCodecsPlugin.d.ts +4 -5
- package/dist/plugins/PgCodecsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgCodecsPlugin.js +24 -21
- package/dist/plugins/PgCodecsPlugin.js.map +1 -1
- package/dist/plugins/PgConditionArgumentPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConditionArgumentPlugin.js +20 -84
- package/dist/plugins/PgConditionArgumentPlugin.js.map +1 -1
- package/dist/plugins/PgConditionCustomFieldsPlugin.d.ts +6 -0
- package/dist/plugins/PgConditionCustomFieldsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConditionCustomFieldsPlugin.js +46 -22
- package/dist/plugins/PgConditionCustomFieldsPlugin.js.map +1 -1
- package/dist/plugins/PgConnectionArgOrderByPlugin.d.ts +1 -1
- package/dist/plugins/PgConnectionArgOrderByPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConnectionArgOrderByPlugin.js +28 -16
- package/dist/plugins/PgConnectionArgOrderByPlugin.js.map +1 -1
- package/dist/plugins/PgConnectionTotalCountPlugin.d.ts.map +1 -1
- package/dist/plugins/PgConnectionTotalCountPlugin.js +6 -5
- package/dist/plugins/PgConnectionTotalCountPlugin.js.map +1 -1
- package/dist/plugins/PgCustomTypeFieldPlugin.d.ts +4 -1
- package/dist/plugins/PgCustomTypeFieldPlugin.d.ts.map +1 -1
- package/dist/plugins/PgCustomTypeFieldPlugin.js +86 -57
- package/dist/plugins/PgCustomTypeFieldPlugin.js.map +1 -1
- package/dist/plugins/PgEnumTablesPlugin.d.ts +13 -0
- package/dist/plugins/PgEnumTablesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgEnumTablesPlugin.js +27 -9
- package/dist/plugins/PgEnumTablesPlugin.js.map +1 -1
- package/dist/plugins/PgFakeConstraintsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgFakeConstraintsPlugin.js +9 -4
- package/dist/plugins/PgFakeConstraintsPlugin.js.map +1 -1
- package/dist/plugins/PgFirstLastBeforeAfterArgsPlugin.js +11 -6
- package/dist/plugins/PgFirstLastBeforeAfterArgsPlugin.js.map +1 -1
- package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.d.ts +25 -0
- package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.d.ts.map +1 -0
- package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.js +212 -0
- package/dist/plugins/PgInterfaceModeUnionAllRowsPlugin.js.map +1 -0
- package/dist/plugins/PgIntrospectionPlugin.d.ts +2 -2
- package/dist/plugins/PgIntrospectionPlugin.d.ts.map +1 -1
- package/dist/plugins/PgIntrospectionPlugin.js +27 -39
- package/dist/plugins/PgIntrospectionPlugin.js.map +1 -1
- package/dist/plugins/PgJWTPlugin.d.ts +16 -7
- package/dist/plugins/PgJWTPlugin.d.ts.map +1 -1
- package/dist/plugins/PgJWTPlugin.js +36 -14
- package/dist/plugins/PgJWTPlugin.js.map +1 -1
- package/dist/plugins/PgMutationCreatePlugin.d.ts +3 -0
- package/dist/plugins/PgMutationCreatePlugin.d.ts.map +1 -1
- package/dist/plugins/PgMutationCreatePlugin.js +34 -21
- package/dist/plugins/PgMutationCreatePlugin.js.map +1 -1
- package/dist/plugins/PgMutationPayloadEdgePlugin.d.ts +0 -1
- package/dist/plugins/PgMutationPayloadEdgePlugin.d.ts.map +1 -1
- package/dist/plugins/PgMutationPayloadEdgePlugin.js +12 -17
- package/dist/plugins/PgMutationPayloadEdgePlugin.js.map +1 -1
- package/dist/plugins/PgMutationUpdateDeletePlugin.d.ts.map +1 -1
- package/dist/plugins/PgMutationUpdateDeletePlugin.js +64 -75
- package/dist/plugins/PgMutationUpdateDeletePlugin.js.map +1 -1
- package/dist/plugins/PgNodeIdAttributesPlugin.d.ts +21 -0
- package/dist/plugins/PgNodeIdAttributesPlugin.d.ts.map +1 -0
- package/dist/plugins/PgNodeIdAttributesPlugin.js +133 -0
- package/dist/plugins/PgNodeIdAttributesPlugin.js.map +1 -0
- package/dist/plugins/PgOrderAllAttributesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgOrderAllAttributesPlugin.js +5 -21
- package/dist/plugins/PgOrderAllAttributesPlugin.js.map +1 -1
- package/dist/plugins/PgOrderByPrimaryKeyPlugin.js +3 -3
- package/dist/plugins/PgOrderByPrimaryKeyPlugin.js.map +1 -1
- package/dist/plugins/PgOrderCustomFieldsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgOrderCustomFieldsPlugin.js +21 -22
- package/dist/plugins/PgOrderCustomFieldsPlugin.js.map +1 -1
- package/dist/plugins/PgPolymorphismPlugin.d.ts.map +1 -1
- package/dist/plugins/PgPolymorphismPlugin.js +90 -39
- package/dist/plugins/PgPolymorphismPlugin.js.map +1 -1
- package/dist/plugins/PgProceduresPlugin.d.ts +6 -8
- package/dist/plugins/PgProceduresPlugin.d.ts.map +1 -1
- package/dist/plugins/PgProceduresPlugin.js +57 -29
- package/dist/plugins/PgProceduresPlugin.js.map +1 -1
- package/dist/plugins/PgRBACPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRBACPlugin.js +10 -2
- package/dist/plugins/PgRBACPlugin.js.map +1 -1
- package/dist/plugins/PgRefsPlugin.d.ts +15 -15
- package/dist/plugins/PgRefsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRefsPlugin.js +15 -11
- package/dist/plugins/PgRefsPlugin.js.map +1 -1
- package/dist/plugins/PgRegistryPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRegistryPlugin.js +3 -2
- package/dist/plugins/PgRegistryPlugin.js.map +1 -1
- package/dist/plugins/PgRelationsPlugin.d.ts +14 -15
- package/dist/plugins/PgRelationsPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRelationsPlugin.js +180 -176
- package/dist/plugins/PgRelationsPlugin.js.map +1 -1
- package/dist/plugins/PgRemoveExtensionResourcesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgRemoveExtensionResourcesPlugin.js +10 -2
- package/dist/plugins/PgRemoveExtensionResourcesPlugin.js.map +1 -1
- package/dist/plugins/PgRowByUniquePlugin.d.ts.map +1 -1
- package/dist/plugins/PgRowByUniquePlugin.js +10 -12
- package/dist/plugins/PgRowByUniquePlugin.js.map +1 -1
- package/dist/plugins/PgTableNodePlugin.d.ts +0 -1
- package/dist/plugins/PgTableNodePlugin.d.ts.map +1 -1
- package/dist/plugins/PgTableNodePlugin.js +36 -30
- package/dist/plugins/PgTableNodePlugin.js.map +1 -1
- package/dist/plugins/PgTablesPlugin.d.ts +0 -1
- package/dist/plugins/PgTablesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgTablesPlugin.js +39 -34
- package/dist/plugins/PgTablesPlugin.js.map +1 -1
- package/dist/plugins/PgTypesPlugin.d.ts +0 -1
- package/dist/plugins/PgTypesPlugin.d.ts.map +1 -1
- package/dist/plugins/PgTypesPlugin.js +57 -30
- package/dist/plugins/PgTypesPlugin.js.map +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.js +4 -0
- package/dist/preset.js.map +1 -1
- package/dist/utils.d.ts +25 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +141 -21
- package/dist/utils.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -1
- package/dist/version.js.map +1 -1
- package/dist/watchFixtures.js +1 -1
- package/fwd/pg-introspection/index.d.ts +1 -0
- package/fwd/pg-introspection/index.js +1 -0
- package/package.json +28 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,733 @@
|
|
|
1
1
|
# graphile-build-pg
|
|
2
2
|
|
|
3
|
+
## 5.0.0-alpha.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#441](https://github.com/benjie/crystal/pull/441)
|
|
8
|
+
[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)
|
|
9
|
+
Thanks [@benjie](https://github.com/benjie)! - Change bundling techniques for
|
|
10
|
+
grafast and @dataplan/pg
|
|
11
|
+
|
|
12
|
+
- [#441](https://github.com/benjie/crystal/pull/441)
|
|
13
|
+
[`6c1c1a34f`](https://github.com/benjie/crystal/commit/6c1c1a34f674bf4ef3b13dadebb4e13c422c940e)
|
|
14
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce \_allRows base
|
|
15
|
+
inflector used by allRowsConnection and allRowsList
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
[[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)]:
|
|
19
|
+
- @dataplan/pg@0.0.1-alpha.17
|
|
20
|
+
- grafast@0.0.1-alpha.16
|
|
21
|
+
- graphile-build@5.0.0-alpha.18
|
|
22
|
+
|
|
23
|
+
## 5.0.0-alpha.19
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [#433](https://github.com/benjie/crystal/pull/433)
|
|
28
|
+
[`5491e10b0`](https://github.com/benjie/crystal/commit/5491e10b0f1629e607e7385985315169e156071d)
|
|
29
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve error messages from
|
|
30
|
+
custom string scalars when they cannot be parsed as a string.
|
|
31
|
+
|
|
32
|
+
- [#434](https://github.com/benjie/crystal/pull/434)
|
|
33
|
+
[`a9561d62d`](https://github.com/benjie/crystal/commit/a9561d62d54a6a1331d64b32e4cf3d162ad67a55)
|
|
34
|
+
Thanks [@benjie](https://github.com/benjie)! - Deprecate
|
|
35
|
+
`preset.gather.pgJwtType` (tuple), instead use `preset.gather.pgJwtTypes`
|
|
36
|
+
which expects a string and parses it similar to the PostgreSQL parser (and
|
|
37
|
+
also allows multiple types to be specified).
|
|
38
|
+
|
|
39
|
+
- [#433](https://github.com/benjie/crystal/pull/433)
|
|
40
|
+
[`232885703`](https://github.com/benjie/crystal/commit/232885703dd577f71488fd1fc5a02e852a96d446)
|
|
41
|
+
Thanks [@benjie](https://github.com/benjie)! - Change type of pgJwtSecret and
|
|
42
|
+
pgJwtSignOptions from `any` to the correct types.
|
|
43
|
+
|
|
44
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
45
|
+
[`db19ed9c3`](https://github.com/benjie/crystal/commit/db19ed9c39f08b537f3bf316d1cf9bb39cee2603)
|
|
46
|
+
Thanks [@benjie](https://github.com/benjie)! - When using
|
|
47
|
+
`@interface mode:relational`, don't add pointless relationships from concrete
|
|
48
|
+
type back to abstract or from abstract to related concrete types.
|
|
49
|
+
|
|
50
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
51
|
+
[`31e776e03`](https://github.com/benjie/crystal/commit/31e776e03ad0829e0ded52e32be789578dcf8d4f)
|
|
52
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix spurious error relating to
|
|
53
|
+
connection for `@interface type:relational`
|
|
54
|
+
|
|
55
|
+
- [#436](https://github.com/benjie/crystal/pull/436)
|
|
56
|
+
[`055c4e438`](https://github.com/benjie/crystal/commit/055c4e43888c007706db7079edd89d6def9b318d)
|
|
57
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix inflection of computed
|
|
58
|
+
column field names in secondary schemas when using the V5 preset. Also, use
|
|
59
|
+
underscores instead of dashes for the serviceName/schemaName separator for the
|
|
60
|
+
names of the function resources, so that they can be typed manually rather
|
|
61
|
+
than having to use string properties like
|
|
62
|
+
`const { ["myService-mySchema-my_function_name"]: myFunctionResource } = pgRegistry.pgResources`
|
|
63
|
+
|
|
64
|
+
- [#435](https://github.com/benjie/crystal/pull/435)
|
|
65
|
+
[`cf32f0397`](https://github.com/benjie/crystal/commit/cf32f0397f7a47509df9876112275f1ad135e8f2)
|
|
66
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug in listOfCodec causing
|
|
67
|
+
wrong extensions to be used in non-deterministic manner (thanks to @jvandermey
|
|
68
|
+
for finding the bug and helping to track it down).
|
|
69
|
+
|
|
70
|
+
- [#428](https://github.com/benjie/crystal/pull/428)
|
|
71
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b)
|
|
72
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug exporting schema, and
|
|
73
|
+
importing schema with \_\_assertStep.
|
|
74
|
+
|
|
75
|
+
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
76
|
+
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d)
|
|
77
|
+
Thanks [@benjie](https://github.com/benjie)! - Plugin name now automatically
|
|
78
|
+
used in `provides` for every hook, allowing ordering hooks before/after their
|
|
79
|
+
equivalents in other plugins.
|
|
80
|
+
|
|
81
|
+
- [#428](https://github.com/benjie/crystal/pull/428)
|
|
82
|
+
[`9695c65f8`](https://github.com/benjie/crystal/commit/9695c65f8dbad807de683a70f5f663af2d3b35f0)
|
|
83
|
+
Thanks [@benjie](https://github.com/benjie)! - Optimize away some unnecessary
|
|
84
|
+
content from graphile-exported schema
|
|
85
|
+
|
|
86
|
+
- Updated dependencies
|
|
87
|
+
[[`ea003ca3a`](https://github.com/benjie/crystal/commit/ea003ca3a8f68fb87dca603582e47981ed033996),
|
|
88
|
+
[`5491e10b0`](https://github.com/benjie/crystal/commit/5491e10b0f1629e607e7385985315169e156071d),
|
|
89
|
+
[`cf32f0397`](https://github.com/benjie/crystal/commit/cf32f0397f7a47509df9876112275f1ad135e8f2),
|
|
90
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b),
|
|
91
|
+
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d),
|
|
92
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)]:
|
|
93
|
+
- grafast@0.0.1-alpha.15
|
|
94
|
+
- graphile-build@5.0.0-alpha.17
|
|
95
|
+
- @dataplan/pg@0.0.1-alpha.16
|
|
96
|
+
- graphile-config@0.0.1-alpha.7
|
|
97
|
+
|
|
98
|
+
## 5.0.0-alpha.18
|
|
99
|
+
|
|
100
|
+
### Patch Changes
|
|
101
|
+
|
|
102
|
+
- [#421](https://github.com/benjie/crystal/pull/421)
|
|
103
|
+
[`415f436a0`](https://github.com/benjie/crystal/commit/415f436a04d42ba7d7a51457f99e8d8e6baee051)
|
|
104
|
+
Thanks [@benjie](https://github.com/benjie)! - `@notNull` is now respected in
|
|
105
|
+
PgAttributesPlugin for outputs as well as inputs.
|
|
106
|
+
|
|
107
|
+
- [#421](https://github.com/benjie/crystal/pull/421)
|
|
108
|
+
[`5b8e46a8a`](https://github.com/benjie/crystal/commit/5b8e46a8a868d68290d0f274934593a23b5bb25e)
|
|
109
|
+
Thanks [@benjie](https://github.com/benjie)! - Breaking for types: move
|
|
110
|
+
`Pg*Tags` to `GraphileBuild.Pg*Tags` for easier declaration merging
|
|
111
|
+
|
|
112
|
+
- [#421](https://github.com/benjie/crystal/pull/421)
|
|
113
|
+
[`bb64c090d`](https://github.com/benjie/crystal/commit/bb64c090d1094875ec51a8577a000cb4f796e197)
|
|
114
|
+
Thanks [@benjie](https://github.com/benjie)! - New `build.pgResolveOutputType`
|
|
115
|
+
helper exported to aid plugins determining GraphQL output type from a codec
|
|
116
|
+
(taken from PgAttributesPlugin).
|
|
117
|
+
|
|
118
|
+
## 5.0.0-alpha.17
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- [#420](https://github.com/benjie/crystal/pull/420)
|
|
123
|
+
[`c1518fad0`](https://github.com/benjie/crystal/commit/c1518fad093dc53c033866541f378878aab69b5c)
|
|
124
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix schema so it can run
|
|
125
|
+
without NodePlugin
|
|
126
|
+
|
|
127
|
+
- Updated dependencies
|
|
128
|
+
[[`c1518fad0`](https://github.com/benjie/crystal/commit/c1518fad093dc53c033866541f378878aab69b5c)]:
|
|
129
|
+
- graphile-build@5.0.0-alpha.16
|
|
130
|
+
|
|
131
|
+
## 5.0.0-alpha.16
|
|
132
|
+
|
|
133
|
+
### Patch Changes
|
|
134
|
+
|
|
135
|
+
- Updated dependencies
|
|
136
|
+
[[`d99d666fb`](https://github.com/benjie/crystal/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
|
|
137
|
+
- grafast@0.0.1-alpha.14
|
|
138
|
+
- @dataplan/pg@0.0.1-alpha.15
|
|
139
|
+
- graphile-build@5.0.0-alpha.15
|
|
140
|
+
|
|
141
|
+
## 5.0.0-alpha.15
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
146
|
+
[`e7dd2e039`](https://github.com/benjie/crystal/commit/e7dd2e039769958d59a83ec3b164cad063c82500)
|
|
147
|
+
Thanks [@benjie](https://github.com/benjie)! - `codec` is now baked into
|
|
148
|
+
NodeId handlers (rather than using `codecName` and looking that up in
|
|
149
|
+
`codecs`). All related APIs have thus simplified, e.g. the step
|
|
150
|
+
`node(codecs, handler, $id)` is now `node(handler, $id)`, etc. TypeScript
|
|
151
|
+
should point out any issues you have hopefully.
|
|
152
|
+
|
|
153
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
154
|
+
[`f115b6fb2`](https://github.com/benjie/crystal/commit/f115b6fb2338212688ccdbc3aeef77416058a2f7)
|
|
155
|
+
Thanks [@benjie](https://github.com/benjie)! - Export
|
|
156
|
+
`parseDatabaseIdentifier`
|
|
157
|
+
|
|
158
|
+
- [#417](https://github.com/benjie/crystal/pull/417)
|
|
159
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d)
|
|
160
|
+
Thanks [@benjie](https://github.com/benjie)! - `deepEval` has been renamed to
|
|
161
|
+
`applyTransforms`
|
|
162
|
+
|
|
163
|
+
- [#418](https://github.com/benjie/crystal/pull/418)
|
|
164
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
|
|
165
|
+
Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
|
|
166
|
+
dependencies to try and eliminate duplicate modules error.
|
|
167
|
+
|
|
168
|
+
- [#410](https://github.com/benjie/crystal/pull/410)
|
|
169
|
+
[`4eda0cd57`](https://github.com/benjie/crystal/commit/4eda0cd572274febad696ebb5a89472a981f8212)
|
|
170
|
+
Thanks [@benjie](https://github.com/benjie)! - Use a single behavior check per
|
|
171
|
+
location.
|
|
172
|
+
|
|
173
|
+
In the past two weeks I added a few behavior strings like
|
|
174
|
+
`array:attribute:filterBy` (a scoped form of `attribute:filterBy` to only be
|
|
175
|
+
used by attributes that were arrays); however I've realised that this will
|
|
176
|
+
require plugin authors to implement all the same logic to figure out what type
|
|
177
|
+
an attribute is in order to then see if it has the relevant behavior. This
|
|
178
|
+
goes against the design of the behavior system, and makes plugin authors'
|
|
179
|
+
lives harder. So I've reverted this, and instead used the `entityBehaviors`
|
|
180
|
+
system to add or remove the base `attribute:filterBy` (etc) behavior depending
|
|
181
|
+
on what the type of the attribute is.
|
|
182
|
+
|
|
183
|
+
- Updated dependencies
|
|
184
|
+
[[`e7dd2e039`](https://github.com/benjie/crystal/commit/e7dd2e039769958d59a83ec3b164cad063c82500),
|
|
185
|
+
[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
|
|
186
|
+
[`1882e0185`](https://github.com/benjie/crystal/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
|
|
187
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d),
|
|
188
|
+
[`e5012f9a1`](https://github.com/benjie/crystal/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
|
|
189
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
|
|
190
|
+
[`47f6f018b`](https://github.com/benjie/crystal/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
|
|
191
|
+
[`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
|
|
192
|
+
[`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b),
|
|
193
|
+
[`4eda0cd57`](https://github.com/benjie/crystal/commit/4eda0cd572274febad696ebb5a89472a981f8212)]:
|
|
194
|
+
- graphile-build@5.0.0-alpha.14
|
|
195
|
+
- grafast@0.0.1-alpha.13
|
|
196
|
+
- @dataplan/pg@0.0.1-alpha.14
|
|
197
|
+
|
|
198
|
+
## 5.0.0-alpha.14
|
|
199
|
+
|
|
200
|
+
### Patch Changes
|
|
201
|
+
|
|
202
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
203
|
+
[`bfe5997e3`](https://github.com/benjie/crystal/commit/bfe5997e365fae9561133f6cd8126e986860b8c2)
|
|
204
|
+
Thanks [@benjie](https://github.com/benjie)! - Ability to control via
|
|
205
|
+
behaviors whether the record type is selectable on CRUD mutation payloads.
|
|
206
|
+
|
|
207
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
208
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
209
|
+
Thanks [@benjie](https://github.com/benjie)! - Exported `version` no longer
|
|
210
|
+
uses `require('../package.json')` hack, instead the version number is written
|
|
211
|
+
to a source file at versioning time. Packages now export `version`.
|
|
212
|
+
|
|
213
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
214
|
+
[`903c04b3b`](https://github.com/benjie/crystal/commit/903c04b3b866b4b9136ba6f8ba22dfd7aae8b7b5)
|
|
215
|
+
Thanks [@benjie](https://github.com/benjie)! - Add `filterBy` and `orderBy`
|
|
216
|
+
behaviors for each codec type (array, range, composite, binary, scalar) to
|
|
217
|
+
allow simpler global customization.
|
|
218
|
+
|
|
219
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
220
|
+
[`c5eceba07`](https://github.com/benjie/crystal/commit/c5eceba07d0ca2ec93c058e2fcaf9fdf1b7b32e0)
|
|
221
|
+
Thanks [@benjie](https://github.com/benjie)! - Incorrect ordering of behaviors
|
|
222
|
+
`orderBy:array`/`orderBy:range` fixed ->
|
|
223
|
+
`array:attribute:orderBy`/`range:attribute:orderBy`.
|
|
224
|
+
|
|
225
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
226
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
227
|
+
Thanks [@benjie](https://github.com/benjie)! - More accurate database
|
|
228
|
+
identifier parser used in a couple places.
|
|
229
|
+
|
|
230
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
231
|
+
[`808af8af3`](https://github.com/benjie/crystal/commit/808af8af3fcc0d20154845a6b9962a094153d899)
|
|
232
|
+
Thanks [@benjie](https://github.com/benjie)! - Allow marking relations as
|
|
233
|
+
`@notNull`
|
|
234
|
+
|
|
235
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
236
|
+
[`9f5a784c6`](https://github.com/benjie/crystal/commit/9f5a784c601b67dfb2cbf7bd836d7aa060fba63c)
|
|
237
|
+
Thanks [@benjie](https://github.com/benjie)! - Introduce TypeScript CIF
|
|
238
|
+
gatherConfig() to help typing the `gather` phase for plugins.
|
|
239
|
+
|
|
240
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
241
|
+
[`2849cc3fb`](https://github.com/benjie/crystal/commit/2849cc3fb8e4302b57cdf21f8c9a5fea33b797f8)
|
|
242
|
+
Thanks [@benjie](https://github.com/benjie)! - Better handle the situation
|
|
243
|
+
where a node fetcher could not be found.
|
|
244
|
+
|
|
245
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
246
|
+
[`51414d328`](https://github.com/benjie/crystal/commit/51414d3281f04c8fd450d6364960336b862a5795)
|
|
247
|
+
Thanks [@benjie](https://github.com/benjie)! - Add support for `bytea`
|
|
248
|
+
datatype using new `Base64EncodedBinary` scalar in GraphQL.
|
|
249
|
+
|
|
250
|
+
- [#406](https://github.com/benjie/crystal/pull/406)
|
|
251
|
+
[`a298fc893`](https://github.com/benjie/crystal/commit/a298fc8931f3a0579fb6846d63b52fa3fcc6e65e)
|
|
252
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix constraint finding for
|
|
253
|
+
polymorphism (was theoretically possible to find the wrong constraint).
|
|
254
|
+
|
|
255
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
256
|
+
[`1300a9753`](https://github.com/benjie/crystal/commit/1300a975394f4e22540019bb0d40ba0bb9bec550)
|
|
257
|
+
Thanks [@benjie](https://github.com/benjie)! - Move attribute logic from
|
|
258
|
+
PgConditionArgumentPlugin to PgAttributesPlugin
|
|
259
|
+
|
|
260
|
+
- [#407](https://github.com/benjie/crystal/pull/407)
|
|
261
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478)
|
|
262
|
+
Thanks [@benjie](https://github.com/benjie)! - Possible to set the modifier of
|
|
263
|
+
an argument type via `@arg0modifier` smart tag
|
|
264
|
+
|
|
265
|
+
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
266
|
+
[`dda361d11`](https://github.com/benjie/crystal/commit/dda361d11c4d2625c5770df32843f3ec1407c922)
|
|
267
|
+
Thanks [@benjie](https://github.com/benjie)! - Improve error messages for
|
|
268
|
+
getInputTypeByName and getOutputTypeByName.
|
|
269
|
+
|
|
270
|
+
- Updated dependencies
|
|
271
|
+
[[`f5dd38aa3`](https://github.com/benjie/crystal/commit/f5dd38aa34c10f5ef0e0fa8fa48b70534ac3c294),
|
|
272
|
+
[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
273
|
+
[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999),
|
|
274
|
+
[`c5050dd28`](https://github.com/benjie/crystal/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd),
|
|
275
|
+
[`9f5a784c6`](https://github.com/benjie/crystal/commit/9f5a784c601b67dfb2cbf7bd836d7aa060fba63c),
|
|
276
|
+
[`2849cc3fb`](https://github.com/benjie/crystal/commit/2849cc3fb8e4302b57cdf21f8c9a5fea33b797f8),
|
|
277
|
+
[`8ca9425ed`](https://github.com/benjie/crystal/commit/8ca9425edec68fbac0e727bd3d2754bf4843cc74),
|
|
278
|
+
[`51414d328`](https://github.com/benjie/crystal/commit/51414d3281f04c8fd450d6364960336b862a5795),
|
|
279
|
+
[`088d83b1d`](https://github.com/benjie/crystal/commit/088d83b1de2782a1a37a5998747b202a6c2b27a2),
|
|
280
|
+
[`0d1782869`](https://github.com/benjie/crystal/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37),
|
|
281
|
+
[`bc14d488d`](https://github.com/benjie/crystal/commit/bc14d488d5385f350b6d377716e43c46a405dc57),
|
|
282
|
+
[`dda361d11`](https://github.com/benjie/crystal/commit/dda361d11c4d2625c5770df32843f3ec1407c922)]:
|
|
283
|
+
- tamedevil@0.0.0-alpha.4
|
|
284
|
+
- grafast@0.0.1-alpha.12
|
|
285
|
+
- graphile-build@5.0.0-alpha.13
|
|
286
|
+
- @dataplan/pg@0.0.1-alpha.13
|
|
287
|
+
- graphile-config@0.0.1-alpha.6
|
|
288
|
+
- pg-introspection@0.0.1-alpha.4
|
|
289
|
+
|
|
290
|
+
## 5.0.0-alpha.13
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
295
|
+
[`70b2c3900`](https://github.com/benjie/crystal/commit/70b2c3900cd29d241e968fc81d6279848fafb9ae)
|
|
296
|
+
Thanks [@benjie](https://github.com/benjie)! - pgCodecAttribute behavior now
|
|
297
|
+
uses attributeName rather than attribute spec in the callback (BREAKING)
|
|
298
|
+
|
|
299
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
300
|
+
[`37d829b89`](https://github.com/benjie/crystal/commit/37d829b8912fb3d2b7e1aa99d2314444d136971d)
|
|
301
|
+
Thanks [@benjie](https://github.com/benjie)! - Ability to control whether the
|
|
302
|
+
nodeId or regular column CRUD mutations are used
|
|
303
|
+
|
|
304
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
305
|
+
[`ff91a5660`](https://github.com/benjie/crystal/commit/ff91a5660c5a33ab32555ab3da12f880179d9892)
|
|
306
|
+
Thanks [@benjie](https://github.com/benjie)! - Added
|
|
307
|
+
`postgraphile/presets/relay` preset:
|
|
308
|
+
|
|
309
|
+
- Hides primary key columns from output schema, and includes `id: ID` instead
|
|
310
|
+
- Hides foreign key columns from output schema, expecting you to use the
|
|
311
|
+
relation instead
|
|
312
|
+
- Hides columns that are part of the primary key from update/delete mutations
|
|
313
|
+
(but still present for create if the column is writeable - it shouldn't be)
|
|
314
|
+
- Hides columns that are part of a foreign key from CRUD mutations/filters,
|
|
315
|
+
instead exposes the `ID` for the remote side of the relation
|
|
316
|
+
- Does not allow ordering by individual primary key columns (though you can
|
|
317
|
+
still order by `PRIMARY_KEY_ASC`/`DESC`)
|
|
318
|
+
- Does not allow ordering by individual foreign key columns
|
|
319
|
+
- Turns off the row fetchers that don't use the node `ID`
|
|
320
|
+
- Turns off the CRUD mutations that don't use the node `ID`
|
|
321
|
+
- Functions can now use `@arg0variant nodeId` to indicate the first argument
|
|
322
|
+
(increase the `0` for other arguments) should accept a node `ID` (this
|
|
323
|
+
currently only works where the argument type is a table type)
|
|
324
|
+
- Removes relations from mutation payloads, these should be traversed via the
|
|
325
|
+
record instead (they're redundant)
|
|
326
|
+
|
|
327
|
+
Most of these changes are reversible, so for example if you really want to
|
|
328
|
+
turn back on `Query.userByUsername` you can do so by adding the `+connection`
|
|
329
|
+
behavior to the "unique username" constraint on the `users` table.
|
|
330
|
+
|
|
331
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
332
|
+
[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)
|
|
333
|
+
Thanks [@benjie](https://github.com/benjie)! - Use `file://` URLs in import()
|
|
334
|
+
to fix compatibility with Windows (e.g. when loading `graphile.config.mjs`)
|
|
335
|
+
|
|
336
|
+
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
337
|
+
[`339cb005e`](https://github.com/benjie/crystal/commit/339cb005ed91aa8d421cdacd934877aee32e3f23)
|
|
338
|
+
Thanks [@benjie](https://github.com/benjie)! - Remove relations from mutation
|
|
339
|
+
payloads (unless using V4 preset) - they're redundant.
|
|
340
|
+
- Updated dependencies
|
|
341
|
+
[[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714),
|
|
342
|
+
[`47365f0df`](https://github.com/benjie/crystal/commit/47365f0df2644fd91839a6698998e1463df8de79)]:
|
|
343
|
+
- graphile-build@5.0.0-alpha.12
|
|
344
|
+
- graphile-config@0.0.1-alpha.5
|
|
345
|
+
- @dataplan/pg@0.0.1-alpha.12
|
|
346
|
+
- grafast@0.0.1-alpha.11
|
|
347
|
+
|
|
348
|
+
## 5.0.0-alpha.12
|
|
349
|
+
|
|
350
|
+
### Patch Changes
|
|
351
|
+
|
|
352
|
+
- [#399](https://github.com/benjie/crystal/pull/399)
|
|
353
|
+
[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd)
|
|
354
|
+
Thanks [@benjie](https://github.com/benjie)! - Change many of the dependencies
|
|
355
|
+
to be instead (or also) peerDependencies, to avoid duplicate modules.
|
|
356
|
+
|
|
357
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
358
|
+
[`17fe531d7`](https://github.com/benjie/crystal/commit/17fe531d729e88a7126b0e2e06fc1ee9ab3ac5b8)
|
|
359
|
+
Thanks [@benjie](https://github.com/benjie)! - pgUnionAll uses a slightly more
|
|
360
|
+
optimal SQL (where JSON isn't cast to `::text` and then back to `::json`)
|
|
361
|
+
|
|
362
|
+
- [#376](https://github.com/benjie/crystal/pull/376)
|
|
363
|
+
[`326aa99cd`](https://github.com/benjie/crystal/commit/326aa99cd5e6b5cc8f30e4500382738eb63b792d)
|
|
364
|
+
Thanks [@benjie](https://github.com/benjie)! - Can now give constraints
|
|
365
|
+
separate forward/backward behaviors
|
|
366
|
+
|
|
367
|
+
- [#400](https://github.com/benjie/crystal/pull/400)
|
|
368
|
+
[`9238d3ce4`](https://github.com/benjie/crystal/commit/9238d3ce4f6f59295ba849d6325286e4847c1bac)
|
|
369
|
+
Thanks [@benjie](https://github.com/benjie)! - Use `file://` URLs in import()
|
|
370
|
+
to fix compatibility with Windows (e.g. when loading `graphile.config.mjs`).
|
|
371
|
+
|
|
372
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
373
|
+
[`b5eb7c490`](https://github.com/benjie/crystal/commit/b5eb7c490305b869e1bfc176a5a417e28f1411cd)
|
|
374
|
+
Thanks [@benjie](https://github.com/benjie)! - Cursor pagination over nullable
|
|
375
|
+
columns _should_ now work, although it is untested.
|
|
376
|
+
|
|
377
|
+
- [#399](https://github.com/benjie/crystal/pull/399)
|
|
378
|
+
[`976958e80`](https://github.com/benjie/crystal/commit/976958e80c791819cd80e96df8209dcff1918585)
|
|
379
|
+
Thanks [@benjie](https://github.com/benjie)! - Plugins can now use
|
|
380
|
+
build.grafast rather than adding grafast as a peerDependency.
|
|
381
|
+
|
|
382
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
383
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279)
|
|
384
|
+
Thanks [@benjie](https://github.com/benjie)! - Address a decent number of
|
|
385
|
+
TODO/FIXME/etc comments in the codebase.
|
|
386
|
+
|
|
387
|
+
- [#378](https://github.com/benjie/crystal/pull/378)
|
|
388
|
+
[`95b2ab41e`](https://github.com/benjie/crystal/commit/95b2ab41e41976de852276b83f7fb5924555e7c5)
|
|
389
|
+
Thanks [@benjie](https://github.com/benjie)! - Support for nested arrays via
|
|
390
|
+
PostgreSQL domains.
|
|
391
|
+
|
|
392
|
+
- [#383](https://github.com/benjie/crystal/pull/383)
|
|
393
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7)
|
|
394
|
+
Thanks [@benjie](https://github.com/benjie)! - Change
|
|
395
|
+
'objectType.extensions.grafast.Step' to
|
|
396
|
+
'objectType.extensions.grafast.assertStep', accept it via object spec,
|
|
397
|
+
deprecate registerObjectType form that accepts it (pass via object spec
|
|
398
|
+
instead), improve typings around it.
|
|
399
|
+
|
|
400
|
+
- [#378](https://github.com/benjie/crystal/pull/378)
|
|
401
|
+
[`6f545683c`](https://github.com/benjie/crystal/commit/6f545683c981af4ee40d51b272a053b01d535491)
|
|
402
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug handling domains over
|
|
403
|
+
composite types.
|
|
404
|
+
|
|
405
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
406
|
+
[`b66d2503b`](https://github.com/benjie/crystal/commit/b66d2503b90eb458af709bb593e5a00d869df03f)
|
|
407
|
+
Thanks [@benjie](https://github.com/benjie)! - hasNextPage (via hasMore) now
|
|
408
|
+
uses an access plan rather than a lambda plan.
|
|
409
|
+
|
|
410
|
+
- [#401](https://github.com/benjie/crystal/pull/401)
|
|
411
|
+
[`b868aa63f`](https://github.com/benjie/crystal/commit/b868aa63f7759396b71fdd1e8eda1012352ad595)
|
|
412
|
+
Thanks [@benjie](https://github.com/benjie)! - Added `Build.dataplanPg` so
|
|
413
|
+
plugins don't need to import this module.
|
|
414
|
+
|
|
415
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
416
|
+
[`3caaced6c`](https://github.com/benjie/crystal/commit/3caaced6cfbac4a187a245a61eb103edcb8cd4c9)
|
|
417
|
+
Thanks [@benjie](https://github.com/benjie)! - When fetching a single row, an
|
|
418
|
+
`ORDER BY` clause will no longer be added.
|
|
419
|
+
|
|
420
|
+
- [#396](https://github.com/benjie/crystal/pull/396)
|
|
421
|
+
[`9f2507ed9`](https://github.com/benjie/crystal/commit/9f2507ed9fe8a6abe93c9c8a1cff410446587fd6)
|
|
422
|
+
Thanks [@benjie](https://github.com/benjie)! - Codecs can now (optionally)
|
|
423
|
+
have executors associated (typically useful for record codecs); so we've
|
|
424
|
+
eradicated runtime resource definition for columns that use composite types
|
|
425
|
+
(or lists thereof) - all composite types accessible from attributes are now
|
|
426
|
+
guaranteed to have a table-like resource generated in the registry.
|
|
427
|
+
- Updated dependencies
|
|
428
|
+
[[`659508371`](https://github.com/benjie/crystal/commit/659508371e79e76b581532978fe26d50a54e6248),
|
|
429
|
+
[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
|
|
430
|
+
[`4d64ac127`](https://github.com/benjie/crystal/commit/4d64ac12799be55680448aab6906312bcbc525ab),
|
|
431
|
+
[`17fe531d7`](https://github.com/benjie/crystal/commit/17fe531d729e88a7126b0e2e06fc1ee9ab3ac5b8),
|
|
432
|
+
[`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
|
|
433
|
+
[`56b52295c`](https://github.com/benjie/crystal/commit/56b52295c77d1748c01754d5e71702e05c8a2dd3),
|
|
434
|
+
[`9feb769c2`](https://github.com/benjie/crystal/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
|
|
435
|
+
[`b5eb7c490`](https://github.com/benjie/crystal/commit/b5eb7c490305b869e1bfc176a5a417e28f1411cd),
|
|
436
|
+
[`976958e80`](https://github.com/benjie/crystal/commit/976958e80c791819cd80e96df8209dcff1918585),
|
|
437
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279),
|
|
438
|
+
[`95b2ab41e`](https://github.com/benjie/crystal/commit/95b2ab41e41976de852276b83f7fb5924555e7c5),
|
|
439
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
|
|
440
|
+
[`8230fcaeb`](https://github.com/benjie/crystal/commit/8230fcaeb0286c905fc0dad4b7af2d94bac88a44),
|
|
441
|
+
[`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
|
|
442
|
+
[`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
|
|
443
|
+
[`b66d2503b`](https://github.com/benjie/crystal/commit/b66d2503b90eb458af709bb593e5a00d869df03f),
|
|
444
|
+
[`9008c4f87`](https://github.com/benjie/crystal/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
|
|
445
|
+
[`47ff7e824`](https://github.com/benjie/crystal/commit/47ff7e824b2fc96c11f601c3814d0200208711ce),
|
|
446
|
+
[`e8c81cd20`](https://github.com/benjie/crystal/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a),
|
|
447
|
+
[`3caaced6c`](https://github.com/benjie/crystal/commit/3caaced6cfbac4a187a245a61eb103edcb8cd4c9),
|
|
448
|
+
[`9f2507ed9`](https://github.com/benjie/crystal/commit/9f2507ed9fe8a6abe93c9c8a1cff410446587fd6)]:
|
|
449
|
+
- @dataplan/pg@0.0.1-alpha.11
|
|
450
|
+
- graphile-build@5.0.0-alpha.11
|
|
451
|
+
- grafast@0.0.1-alpha.10
|
|
452
|
+
- pg-introspection@0.0.1-alpha.3
|
|
453
|
+
|
|
454
|
+
## 5.0.0-alpha.11
|
|
455
|
+
|
|
456
|
+
### Patch Changes
|
|
457
|
+
|
|
458
|
+
- [#349](https://github.com/benjie/crystal/pull/349)
|
|
459
|
+
[`a94f11091`](https://github.com/benjie/crystal/commit/a94f11091520b52d90fd007986760848ed20017b)
|
|
460
|
+
Thanks [@benjie](https://github.com/benjie)! - **Overhaul behavior system**
|
|
461
|
+
|
|
462
|
+
Previously the behavior system worked during the schema building process,
|
|
463
|
+
inside the various schema hooks. So looking at the behavior of a `relation`
|
|
464
|
+
might have looked like:
|
|
465
|
+
|
|
466
|
+
```ts
|
|
467
|
+
GraphQLObjectType_fields_field(field, build, context) {
|
|
468
|
+
const relation = context.scope.pgRelationOrWhatever;
|
|
469
|
+
|
|
470
|
+
// Establish a default behavior, e.g. you might give it different default behavior
|
|
471
|
+
// depending on if the remote table is in the same schema or not
|
|
472
|
+
const defaultBehavior = someCondition(relation) ? "behavior_if_true" : "behavior_if_false";
|
|
473
|
+
|
|
474
|
+
// Now establish the user-specified behavior for the entity, inheriting from all the
|
|
475
|
+
// relevant places.
|
|
476
|
+
const behavior = getBehavior([
|
|
477
|
+
relation.remoteResource.codec.extensions,
|
|
478
|
+
relation.remoteResource.extensions,
|
|
479
|
+
relation.extensions
|
|
480
|
+
]);
|
|
481
|
+
|
|
482
|
+
// Finally check this behavior string against `behavior_to_test`, being sure to apply
|
|
483
|
+
// the "schema-time smart defaulting" that we established in `defaultBehavior` above.
|
|
484
|
+
if (build.behavior.matches(behavior, "behavior_to_test", defaultBehavior)) {
|
|
485
|
+
doTheThing();
|
|
486
|
+
}
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
This meant that each plugin might treat the behavior of the entity different -
|
|
490
|
+
for example `postgraphile-plugin-connection-filter` might have a different
|
|
491
|
+
`someCondition()` under which the "filter" behavior would apply by default,
|
|
492
|
+
whereas the built in `condition` plugin might have a different one.
|
|
493
|
+
|
|
494
|
+
Moreover, each place needs to know to call `getBehavior` with the same list of
|
|
495
|
+
extension sources in the same order, otherwise subtle (or not so subtle)
|
|
496
|
+
differences in the schema would occur.
|
|
497
|
+
|
|
498
|
+
And finally, because each entity doesn't have an established behavior, you
|
|
499
|
+
can't ask "what's the final behavior for this entity" because it's dynamic,
|
|
500
|
+
depending on which plugin is viewing it.
|
|
501
|
+
|
|
502
|
+
This update fixes all of this; now each entity has a single behavior that's
|
|
503
|
+
established once. Each plugin can register `entityBehaviors` for the various
|
|
504
|
+
behavior entity types (or global behaviors which apply to all entity types if
|
|
505
|
+
that makes more sense). So the hook code equivalent to the above would now be
|
|
506
|
+
more like:
|
|
507
|
+
|
|
508
|
+
```ts
|
|
509
|
+
GraphQLObjectType_fields_field(field, build, context) {
|
|
510
|
+
const relation = context.scope.pgRelationOrWhatever;
|
|
511
|
+
// Do the thing if the relation has the given behavior. Simples.
|
|
512
|
+
if (build.behavior.pgCodecRelationMatches(relation, "behavior_to_test")) {
|
|
513
|
+
doTheThing();
|
|
514
|
+
}
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
This code is much more to the point, much easier for plugin authors to
|
|
518
|
+
implement, and also a lot easier to debug since everything has a single
|
|
519
|
+
established behavior now (except `refs`, which aren't really an entity in
|
|
520
|
+
their own right, but a combination of entities...).
|
|
521
|
+
|
|
522
|
+
These changes haven't changed any of the schemas in the test suite, but they
|
|
523
|
+
may impact you. This could be a breaking change - so be sure to do a schema
|
|
524
|
+
diff before/after this.
|
|
525
|
+
|
|
526
|
+
- [#355](https://github.com/benjie/crystal/pull/355)
|
|
527
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84)
|
|
528
|
+
Thanks [@benjie](https://github.com/benjie)! - **MAJOR BREAKING CHANGE**:
|
|
529
|
+
implicit application of args/input fields has been removed.
|
|
530
|
+
|
|
531
|
+
Previously we would track the fieldArgs that you accessed (via `.get()`,
|
|
532
|
+
`.getRaw()` or `.apply()`) and those that you _did not access_ would
|
|
533
|
+
automatically have their `applyPlan` called, if they had one. This isn't
|
|
534
|
+
likely to be particularly useful for pure Gra*fast* users (unless they want to
|
|
535
|
+
adopt this pattern) but it's extremely useful for plugin-based schemas as it
|
|
536
|
+
allows plugins to add arguments that can influence their field's plan _without
|
|
537
|
+
having to wrap the field's plan resolver function_. This is fairly critical,
|
|
538
|
+
otherwise each behavior added (`first:`, `condition:`, `orderBy:`, `filter:`,
|
|
539
|
+
`ignoreArchived:`, etc etc) would wrap the plan resolver with another function
|
|
540
|
+
layer, and they would get _messy_.
|
|
541
|
+
|
|
542
|
+
However, implicit is rarely good. And it turns out that it severely limited
|
|
543
|
+
what I wanted to do for improving the `fieldArgs` APIs.
|
|
544
|
+
|
|
545
|
+
I decided to remove this implicit functionality by making it more explicit, so
|
|
546
|
+
now args/input fields can specify the relevant
|
|
547
|
+
`autoApplyAfterParent{Plan,SubscribePlan,InputPlan,ApplyPlan}: true` property
|
|
548
|
+
and we'll only apply them at a single level.
|
|
549
|
+
|
|
550
|
+
From a user perspective, little has changed. From a plugin author perspective,
|
|
551
|
+
if you were relying on the implicit `applyPlan` then you should now add the
|
|
552
|
+
relevant `autoApply*` property next to your `applyPlan` method.
|
|
553
|
+
|
|
554
|
+
- [#363](https://github.com/benjie/crystal/pull/363)
|
|
555
|
+
[`bcfffd5fe`](https://github.com/benjie/crystal/commit/bcfffd5fe14d5bbc3517c62041da585a3bf1bab1)
|
|
556
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bug causing `@foreignKey`
|
|
557
|
+
relation to not show up under rare circumstances (by updating
|
|
558
|
+
PgRelationsPlugin to use codec, not resource, as the primary entity).
|
|
559
|
+
|
|
560
|
+
- [#362](https://github.com/benjie/crystal/pull/362)
|
|
561
|
+
[`e443db39b`](https://github.com/benjie/crystal/commit/e443db39b07f9d71f7a1ce402475004e072a2d1d)
|
|
562
|
+
Thanks [@benjie](https://github.com/benjie)! - Use original case for table
|
|
563
|
+
resource names.
|
|
564
|
+
|
|
565
|
+
- Updated dependencies
|
|
566
|
+
[[`339fe20d0`](https://github.com/benjie/crystal/commit/339fe20d0c6e8600d263ce8093cd85a6ea8adbbf),
|
|
567
|
+
[`56237691b`](https://github.com/benjie/crystal/commit/56237691bf3eed321b7159e17f36e3651356946f),
|
|
568
|
+
[`ed1982f31`](https://github.com/benjie/crystal/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
|
|
569
|
+
[`a94f11091`](https://github.com/benjie/crystal/commit/a94f11091520b52d90fd007986760848ed20017b),
|
|
570
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
|
|
571
|
+
[`198ac74d5`](https://github.com/benjie/crystal/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25),
|
|
572
|
+
[`6878c589c`](https://github.com/benjie/crystal/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
|
|
573
|
+
[`2ac706f18`](https://github.com/benjie/crystal/commit/2ac706f18660c855fe20f460b50694fdd04a7768),
|
|
574
|
+
[`77e011294`](https://github.com/benjie/crystal/commit/77e01129450ab78d55d3868661e37b0c99db3da5),
|
|
575
|
+
[`dad4d4aae`](https://github.com/benjie/crystal/commit/dad4d4aaee499098104841740c9049b1deb6ac5f),
|
|
576
|
+
[`e443db39b`](https://github.com/benjie/crystal/commit/e443db39b07f9d71f7a1ce402475004e072a2d1d)]:
|
|
577
|
+
- tamedevil@0.0.0-alpha.3
|
|
578
|
+
- pg-sql2@5.0.0-alpha.3
|
|
579
|
+
- grafast@0.0.1-alpha.9
|
|
580
|
+
- graphile-build@5.0.0-alpha.10
|
|
581
|
+
- graphile-config@0.0.1-alpha.4
|
|
582
|
+
- @dataplan/pg@0.0.1-alpha.10
|
|
583
|
+
|
|
584
|
+
## 5.0.0-alpha.10
|
|
585
|
+
|
|
586
|
+
### Patch Changes
|
|
587
|
+
|
|
588
|
+
- Updated dependencies
|
|
589
|
+
[[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
|
|
590
|
+
- grafast@0.0.1-alpha.8
|
|
591
|
+
- @dataplan/pg@0.0.1-alpha.9
|
|
592
|
+
- graphile-build@5.0.0-alpha.9
|
|
593
|
+
|
|
594
|
+
## 5.0.0-alpha.9
|
|
595
|
+
|
|
596
|
+
### Patch Changes
|
|
597
|
+
|
|
598
|
+
- [#341](https://github.com/benjie/crystal/pull/341)
|
|
599
|
+
[`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb)
|
|
600
|
+
Thanks [@benjie](https://github.com/benjie)! - Ensure interfaces with zero
|
|
601
|
+
implementations don't cause a crash.
|
|
602
|
+
|
|
603
|
+
- Updated dependencies
|
|
604
|
+
[[`5c9d32264`](https://github.com/benjie/crystal/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
|
|
605
|
+
[`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
|
|
606
|
+
[`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d),
|
|
607
|
+
[`fe9154b23`](https://github.com/benjie/crystal/commit/fe9154b23f6e45c56ff5827dfe758bdf4974e215),
|
|
608
|
+
[`adc7ae5e0`](https://github.com/benjie/crystal/commit/adc7ae5e002961c8b8286500527752f21139ab9e)]:
|
|
609
|
+
- grafast@0.0.1-alpha.7
|
|
610
|
+
- @dataplan/pg@0.0.1-alpha.8
|
|
611
|
+
- graphile-build@5.0.0-alpha.8
|
|
612
|
+
- graphile-config@0.0.1-alpha.3
|
|
613
|
+
|
|
614
|
+
## 5.0.0-alpha.8
|
|
615
|
+
|
|
616
|
+
### Patch Changes
|
|
617
|
+
|
|
618
|
+
- [#338](https://github.com/benjie/crystal/pull/338)
|
|
619
|
+
[`dcc3d0355`](https://github.com/benjie/crystal/commit/dcc3d03558d28506260dcfc79e1a797b60ec1773)
|
|
620
|
+
Thanks [@benjie](https://github.com/benjie)! - `@interface mode:union`
|
|
621
|
+
interfaces now also gain root fields.
|
|
622
|
+
|
|
623
|
+
- [#338](https://github.com/benjie/crystal/pull/338)
|
|
624
|
+
[`ca1526b70`](https://github.com/benjie/crystal/commit/ca1526b7028b0b9d506b6ccda7da046b64af1ab6)
|
|
625
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix startCursor/endCursor for
|
|
626
|
+
connections using pgUnionAll steps.
|
|
627
|
+
|
|
628
|
+
- [#338](https://github.com/benjie/crystal/pull/338)
|
|
629
|
+
[`3426b0f4a`](https://github.com/benjie/crystal/commit/3426b0f4adb0c5d80c66e51c203214f06f364d3a)
|
|
630
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix bugs in pgUnionAll
|
|
631
|
+
connections relating to PageInfo
|
|
632
|
+
|
|
633
|
+
- Updated dependencies
|
|
634
|
+
[[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba),
|
|
635
|
+
[`ca1526b70`](https://github.com/benjie/crystal/commit/ca1526b7028b0b9d506b6ccda7da046b64af1ab6),
|
|
636
|
+
[`3426b0f4a`](https://github.com/benjie/crystal/commit/3426b0f4adb0c5d80c66e51c203214f06f364d3a)]:
|
|
637
|
+
- grafast@0.0.1-alpha.6
|
|
638
|
+
- @dataplan/pg@0.0.1-alpha.7
|
|
639
|
+
- graphile-build@5.0.0-alpha.7
|
|
640
|
+
|
|
641
|
+
## 5.0.0-alpha.7
|
|
642
|
+
|
|
643
|
+
### Patch Changes
|
|
644
|
+
|
|
645
|
+
- [#335](https://github.com/benjie/crystal/pull/335)
|
|
646
|
+
[`ef8432511`](https://github.com/benjie/crystal/commit/ef84325111416a9663417bb58ec664998040cf7c)
|
|
647
|
+
Thanks [@benjie](https://github.com/benjie)! - Have ref fields support
|
|
648
|
+
ordering and filtering.
|
|
649
|
+
|
|
650
|
+
- Updated dependencies
|
|
651
|
+
[[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
|
|
652
|
+
[`2850e4732`](https://github.com/benjie/crystal/commit/2850e4732ff173347357dba048eaf3c1ef775497),
|
|
653
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
|
|
654
|
+
- grafast@0.0.1-alpha.5
|
|
655
|
+
- graphile-build@5.0.0-alpha.6
|
|
656
|
+
- @dataplan/pg@0.0.1-alpha.6
|
|
657
|
+
|
|
658
|
+
## 5.0.0-alpha.6
|
|
659
|
+
|
|
660
|
+
### Patch Changes
|
|
661
|
+
|
|
662
|
+
- [#334](https://github.com/benjie/crystal/pull/334)
|
|
663
|
+
[`1ea7acdf5`](https://github.com/benjie/crystal/commit/1ea7acdf5cbf39c876d5a7990ff456eb0803ac0b)
|
|
664
|
+
Thanks [@benjie](https://github.com/benjie)! - Tweak peerDependencies
|
|
665
|
+
|
|
666
|
+
- Updated dependencies
|
|
667
|
+
[[`1ea7acdf5`](https://github.com/benjie/crystal/commit/1ea7acdf5cbf39c876d5a7990ff456eb0803ac0b)]:
|
|
668
|
+
- @dataplan/pg@0.0.1-alpha.5
|
|
669
|
+
|
|
670
|
+
## 5.0.0-alpha.5
|
|
671
|
+
|
|
672
|
+
### Patch Changes
|
|
673
|
+
|
|
674
|
+
- Updated dependencies
|
|
675
|
+
[[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950),
|
|
676
|
+
[`f34bd5a3c`](https://github.com/benjie/crystal/commit/f34bd5a3c353693b86a0307357a3620110700e1c)]:
|
|
677
|
+
- grafast@0.0.1-alpha.4
|
|
678
|
+
- @dataplan/pg@0.0.1-alpha.4
|
|
679
|
+
- graphile-build@5.0.0-alpha.5
|
|
680
|
+
|
|
681
|
+
## 5.0.0-alpha.4
|
|
682
|
+
|
|
683
|
+
### Patch Changes
|
|
684
|
+
|
|
685
|
+
- [#332](https://github.com/benjie/crystal/pull/332)
|
|
686
|
+
[`faa1c9eaa`](https://github.com/benjie/crystal/commit/faa1c9eaa25cbd6f0e25635f6a100d0dc9be6106)
|
|
687
|
+
Thanks [@benjie](https://github.com/benjie)! - Adjust dependencies and
|
|
688
|
+
peerDependencies and peerDependenciesMeta.
|
|
689
|
+
|
|
690
|
+
- Updated dependencies
|
|
691
|
+
[[`faa1c9eaa`](https://github.com/benjie/crystal/commit/faa1c9eaa25cbd6f0e25635f6a100d0dc9be6106)]:
|
|
692
|
+
- graphile-build@5.0.0-alpha.4
|
|
693
|
+
- @dataplan/pg@0.0.1-alpha.3
|
|
694
|
+
|
|
695
|
+
## 5.0.0-alpha.3
|
|
696
|
+
|
|
697
|
+
### Patch Changes
|
|
698
|
+
|
|
699
|
+
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
700
|
+
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
701
|
+
TypeScript/tslib
|
|
702
|
+
|
|
703
|
+
- [`9605165d5`](https://github.com/benjie/crystal/commit/9605165d5857c97053778275836b95bf19c0b1c9)
|
|
704
|
+
Thanks [@benjie](https://github.com/benjie)! - Fix naming conflict that occurs
|
|
705
|
+
with `@enum` smart tag when not using `@enumName`. New `enumTableEnum`
|
|
706
|
+
inflector.
|
|
707
|
+
- Updated dependencies
|
|
708
|
+
[[`21e95326d`](https://github.com/benjie/crystal/commit/21e95326d72eaad7a8860c4c21a11736191f169b),
|
|
709
|
+
[`87e6c65a7`](https://github.com/benjie/crystal/commit/87e6c65a7a687044895b3b6c9f131384984e7674),
|
|
710
|
+
[`2389f47ec`](https://github.com/benjie/crystal/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
|
|
711
|
+
[`82cc01152`](https://github.com/benjie/crystal/commit/82cc01152ee06dafce45299661afd77ad943d785),
|
|
712
|
+
[`e91ee201d`](https://github.com/benjie/crystal/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
|
|
713
|
+
[`865bec590`](https://github.com/benjie/crystal/commit/865bec5901f666e147f5d4088152d1f0d2584827),
|
|
714
|
+
[`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
|
|
715
|
+
[`d39a5d409`](https://github.com/benjie/crystal/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
|
|
716
|
+
- graphile-export@0.0.2-alpha.2
|
|
717
|
+
- tamedevil@0.0.0-alpha.2
|
|
718
|
+
- grafast@0.0.1-alpha.3
|
|
719
|
+
- pg-sql2@5.0.0-alpha.2
|
|
720
|
+
- @dataplan/pg@0.0.1-alpha.3
|
|
721
|
+
- graphile-build@5.0.0-alpha.3
|
|
722
|
+
- graphile-config@0.0.1-alpha.2
|
|
723
|
+
- pg-introspection@0.0.1-alpha.2
|
|
724
|
+
|
|
3
725
|
## 5.0.0-alpha.2
|
|
4
726
|
|
|
5
727
|
### Patch Changes
|
|
6
728
|
|
|
7
729
|
- Updated dependencies
|
|
8
|
-
[[`3df3f1726`](https://github.com/benjie/
|
|
730
|
+
[[`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
|
|
9
731
|
- grafast@0.0.1-alpha.2
|
|
10
732
|
- @dataplan/pg@0.0.1-alpha.2
|
|
11
733
|
- graphile-build@5.0.0-alpha.2
|
|
@@ -14,12 +736,12 @@
|
|
|
14
736
|
|
|
15
737
|
### Patch Changes
|
|
16
738
|
|
|
17
|
-
- [`759ad403d`](https://github.com/benjie/
|
|
739
|
+
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
18
740
|
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
19
741
|
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
20
742
|
|
|
21
743
|
- Updated dependencies
|
|
22
|
-
[[`759ad403d`](https://github.com/benjie/
|
|
744
|
+
[[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
|
|
23
745
|
- @dataplan/pg@0.0.1-alpha.1
|
|
24
746
|
- grafast@0.0.1-alpha.1
|
|
25
747
|
- graphile-build@5.0.0-alpha.1
|
|
@@ -33,14 +755,14 @@
|
|
|
33
755
|
|
|
34
756
|
### Patch Changes
|
|
35
757
|
|
|
36
|
-
- [#297](https://github.com/benjie/
|
|
37
|
-
[`b4eaf89f4`](https://github.com/benjie/
|
|
758
|
+
- [#297](https://github.com/benjie/crystal/pull/297)
|
|
759
|
+
[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)
|
|
38
760
|
Thanks [@benjie](https://github.com/benjie)! - AsyncHooks can now execute
|
|
39
761
|
synchronously if all registered hooks are synchronous. May impact ordering of
|
|
40
762
|
fields/types in GraphQL schema.
|
|
41
763
|
- Updated dependencies
|
|
42
|
-
[[`8d270ead3`](https://github.com/benjie/
|
|
43
|
-
[`b4eaf89f4`](https://github.com/benjie/
|
|
764
|
+
[[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf),
|
|
765
|
+
[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
|
|
44
766
|
- grafast@0.0.1-1.3
|
|
45
767
|
- graphile-config@0.0.1-1.2
|
|
46
768
|
- @dataplan/pg@0.0.1-1.3
|
|
@@ -51,7 +773,7 @@
|
|
|
51
773
|
### Patch Changes
|
|
52
774
|
|
|
53
775
|
- Updated dependencies
|
|
54
|
-
[[`7dcb0e008`](https://github.com/benjie/
|
|
776
|
+
[[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
55
777
|
- grafast@0.0.1-1.2
|
|
56
778
|
- @dataplan/pg@0.0.1-1.2
|
|
57
779
|
- graphile-build@5.0.0-1.2
|
|
@@ -60,18 +782,18 @@
|
|
|
60
782
|
|
|
61
783
|
### Patch Changes
|
|
62
784
|
|
|
63
|
-
- [#279](https://github.com/benjie/
|
|
64
|
-
[`2df36c5a1`](https://github.com/benjie/
|
|
785
|
+
- [#279](https://github.com/benjie/crystal/pull/279)
|
|
786
|
+
[`2df36c5a1`](https://github.com/benjie/crystal/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7)
|
|
65
787
|
Thanks [@benjie](https://github.com/benjie)! - `description` moved out of
|
|
66
788
|
`extensions` to live directly on all the relevant entities.
|
|
67
789
|
|
|
68
|
-
- [#287](https://github.com/benjie/
|
|
69
|
-
[`c5d89d705`](https://github.com/benjie/
|
|
790
|
+
- [#287](https://github.com/benjie/crystal/pull/287)
|
|
791
|
+
[`c5d89d705`](https://github.com/benjie/crystal/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07)
|
|
70
792
|
Thanks [@benjie](https://github.com/benjie)! - Fix the type definition of
|
|
71
793
|
GatherHooks to allow plugins to indicate individual gather hook ordering.
|
|
72
794
|
|
|
73
|
-
- [#279](https://github.com/benjie/
|
|
74
|
-
[`a73f9c709`](https://github.com/benjie/
|
|
795
|
+
- [#279](https://github.com/benjie/crystal/pull/279)
|
|
796
|
+
[`a73f9c709`](https://github.com/benjie/crystal/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26)
|
|
75
797
|
Thanks [@benjie](https://github.com/benjie)! -
|
|
76
798
|
`PgConnectionArgFirstLastBeforeAfterPlugin` is now
|
|
77
799
|
`PgFirstLastBeforeAfterArgsPlugin` (because it applies to lists as well as
|
|
@@ -84,12 +806,12 @@
|
|
|
84
806
|
consistency (V4 preset users are unaffected). Lots of field scopes in
|
|
85
807
|
`graphile-build-pg` have been updated to incorporate `field` into their names.
|
|
86
808
|
|
|
87
|
-
- [#260](https://github.com/benjie/
|
|
88
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
809
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
810
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
89
811
|
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
90
812
|
|
|
91
|
-
- [#259](https://github.com/benjie/
|
|
92
|
-
[`c22dcde7b`](https://github.com/benjie/
|
|
813
|
+
- [#259](https://github.com/benjie/crystal/pull/259)
|
|
814
|
+
[`c22dcde7b`](https://github.com/benjie/crystal/commit/c22dcde7b53af323d907b22a0a69924841072aa9)
|
|
93
815
|
Thanks [@benjie](https://github.com/benjie)! - Renamed `recordType` codec
|
|
94
816
|
factory to `recordCodec`. `recordCodec()` now only accepts a single object
|
|
95
817
|
argument. Renamed `enumType` codec factory to `enumCodec`. `enumCodec()` now
|
|
@@ -99,14 +821,14 @@
|
|
|
99
821
|
types should be passed through much deeper now, but if you reference any of
|
|
100
822
|
these types directly you'll need to update your code.
|
|
101
823
|
|
|
102
|
-
- [#285](https://github.com/benjie/
|
|
103
|
-
[`bd37be707`](https://github.com/benjie/
|
|
824
|
+
- [#285](https://github.com/benjie/crystal/pull/285)
|
|
825
|
+
[`bd37be707`](https://github.com/benjie/crystal/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1)
|
|
104
826
|
Thanks [@benjie](https://github.com/benjie)! - Single table inheritance no
|
|
105
827
|
longer exposes non-shared columns via condition/order, and also only exposes
|
|
106
828
|
the relationships on the types where they are appropriate.
|
|
107
829
|
|
|
108
|
-
- [#260](https://github.com/benjie/
|
|
109
|
-
[`96b0bd14e`](https://github.com/benjie/
|
|
830
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
831
|
+
[`96b0bd14e`](https://github.com/benjie/crystal/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4)
|
|
110
832
|
Thanks [@benjie](https://github.com/benjie)! - `PgSource` has been renamed to
|
|
111
833
|
`PgResource`, `PgTypeCodec` to `PgCodec`, `PgEnumTypeCodec` to `PgEnumCodec`,
|
|
112
834
|
`PgTypeColumn` to `PgCodecAttribute` (and similar for related
|
|
@@ -151,18 +873,18 @@
|
|
|
151
873
|
|
|
152
874
|
Fixes an RBAC bug when using superuser role for introspection.
|
|
153
875
|
|
|
154
|
-
- [#271](https://github.com/benjie/
|
|
155
|
-
[`d951897ee`](https://github.com/benjie/
|
|
876
|
+
- [#271](https://github.com/benjie/crystal/pull/271)
|
|
877
|
+
[`d951897ee`](https://github.com/benjie/crystal/commit/d951897eea824acabdb17baab4bf900b4b3b842f)
|
|
156
878
|
Thanks [@benjie](https://github.com/benjie)! - Add extensions.pg to Postgres
|
|
157
879
|
function resources (makes it easier for plugins to hook them).
|
|
158
880
|
|
|
159
|
-
- [#286](https://github.com/benjie/
|
|
160
|
-
[`366b166dc`](https://github.com/benjie/
|
|
881
|
+
- [#286](https://github.com/benjie/crystal/pull/286)
|
|
882
|
+
[`366b166dc`](https://github.com/benjie/crystal/commit/366b166dc88a340de7f092f92840b0fba1f03d60)
|
|
161
883
|
Thanks [@benjie](https://github.com/benjie)! - Add detection for `@ref` that
|
|
162
884
|
is missing `singular`, fix docs and test schema and add tests for same.
|
|
163
885
|
|
|
164
|
-
- [#271](https://github.com/benjie/
|
|
165
|
-
[`261eb520b`](https://github.com/benjie/
|
|
886
|
+
- [#271](https://github.com/benjie/crystal/pull/271)
|
|
887
|
+
[`261eb520b`](https://github.com/benjie/crystal/commit/261eb520b33fe3673fe3a7712085e50291aed1e5)
|
|
166
888
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 **RENAME ALL THE THINGS**
|
|
167
889
|
|
|
168
890
|
The term 'source' was overloaded, and 'configs' was too vague, and
|
|
@@ -189,30 +911,30 @@
|
|
|
189
911
|
- `helpers.pgIntrospection.getExecutorForDatabase` ->
|
|
190
912
|
`helpers.pgIntrospection.getExecutorForService`
|
|
191
913
|
|
|
192
|
-
- [#268](https://github.com/benjie/
|
|
193
|
-
[`a14cf5f4c`](https://github.com/benjie/
|
|
914
|
+
- [#268](https://github.com/benjie/crystal/pull/268)
|
|
915
|
+
[`a14cf5f4c`](https://github.com/benjie/crystal/commit/a14cf5f4c233cd794eb4d3c6f2281e747d234a71)
|
|
194
916
|
Thanks [@benjie](https://github.com/benjie)! - PgV4NoIgnoreIndexesPlugin is
|
|
195
917
|
now PgIndexBehaviorsPlugin, moved to graphile-build-pg, and is enabled by
|
|
196
918
|
default
|
|
197
919
|
- Updated dependencies
|
|
198
|
-
[[`2df36c5a1`](https://github.com/benjie/
|
|
199
|
-
[`c5d89d705`](https://github.com/benjie/
|
|
200
|
-
[`a73f9c709`](https://github.com/benjie/
|
|
201
|
-
[`ae304b33c`](https://github.com/benjie/
|
|
202
|
-
[`ef42d717c`](https://github.com/benjie/
|
|
203
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
204
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
205
|
-
[`0f4709356`](https://github.com/benjie/
|
|
206
|
-
[`c22dcde7b`](https://github.com/benjie/
|
|
207
|
-
[`bd37be707`](https://github.com/benjie/
|
|
208
|
-
[`f8954fb17`](https://github.com/benjie/
|
|
209
|
-
[`96b0bd14e`](https://github.com/benjie/
|
|
210
|
-
[`f93c79b94`](https://github.com/benjie/
|
|
211
|
-
[`fbf1da26a`](https://github.com/benjie/
|
|
212
|
-
[`53e164cbc`](https://github.com/benjie/
|
|
213
|
-
[`c564825f3`](https://github.com/benjie/
|
|
214
|
-
[`261eb520b`](https://github.com/benjie/
|
|
215
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
920
|
+
[[`2df36c5a1`](https://github.com/benjie/crystal/commit/2df36c5a1b228be50ed325962b334290e7e3e8a7),
|
|
921
|
+
[`c5d89d705`](https://github.com/benjie/crystal/commit/c5d89d7052dfaaf4c597c8c36858795fa7227b07),
|
|
922
|
+
[`a73f9c709`](https://github.com/benjie/crystal/commit/a73f9c709959b9d6ddef18d714783f864a3d8e26),
|
|
923
|
+
[`ae304b33c`](https://github.com/benjie/crystal/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
924
|
+
[`ef42d717c`](https://github.com/benjie/crystal/commit/ef42d717c38df7fddc1cd3a5b97dc8d68419417a),
|
|
925
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
926
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
927
|
+
[`0f4709356`](https://github.com/benjie/crystal/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
928
|
+
[`c22dcde7b`](https://github.com/benjie/crystal/commit/c22dcde7b53af323d907b22a0a69924841072aa9),
|
|
929
|
+
[`bd37be707`](https://github.com/benjie/crystal/commit/bd37be7075804b1299e10dd2dcb4473159bb26f1),
|
|
930
|
+
[`f8954fb17`](https://github.com/benjie/crystal/commit/f8954fb17bbcb0f6633475d09924cdd9f94aaf23),
|
|
931
|
+
[`96b0bd14e`](https://github.com/benjie/crystal/commit/96b0bd14ed9039d60612e75b3aeb63dcaef271d4),
|
|
932
|
+
[`f93c79b94`](https://github.com/benjie/crystal/commit/f93c79b94eb93ae04b1b2e0478f5106e1aca8ee2),
|
|
933
|
+
[`fbf1da26a`](https://github.com/benjie/crystal/commit/fbf1da26a9208519ee58f7ac34dd7e569bf1f9e5),
|
|
934
|
+
[`53e164cbc`](https://github.com/benjie/crystal/commit/53e164cbca7eaf1e6e03c849ac1bbe1789c61105),
|
|
935
|
+
[`c564825f3`](https://github.com/benjie/crystal/commit/c564825f3fda0083e536154c4c34ce0b2948eba4),
|
|
936
|
+
[`261eb520b`](https://github.com/benjie/crystal/commit/261eb520b33fe3673fe3a7712085e50291aed1e5),
|
|
937
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
|
|
216
938
|
- @dataplan/pg@0.0.1-1.1
|
|
217
939
|
- graphile-build@5.0.0-1.1
|
|
218
940
|
- grafast@0.0.1-1.1
|
|
@@ -226,16 +948,16 @@
|
|
|
226
948
|
|
|
227
949
|
### Patch Changes
|
|
228
950
|
|
|
229
|
-
- [#257](https://github.com/benjie/
|
|
230
|
-
[`89d16c972`](https://github.com/benjie/
|
|
951
|
+
- [#257](https://github.com/benjie/crystal/pull/257)
|
|
952
|
+
[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b)
|
|
231
953
|
Thanks [@benjie](https://github.com/benjie)! - PgClassSinglePlan is now
|
|
232
954
|
enforced, users will be informed if plans return a step incompatible with the
|
|
233
955
|
given GraphQL object type.
|
|
234
956
|
- Updated dependencies
|
|
235
|
-
[[`89d16c972`](https://github.com/benjie/
|
|
236
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
237
|
-
[`9e7183c02`](https://github.com/benjie/
|
|
238
|
-
[`fce77f40e`](https://github.com/benjie/
|
|
957
|
+
[[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
958
|
+
[`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
959
|
+
[`9e7183c02`](https://github.com/benjie/crystal/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83),
|
|
960
|
+
[`fce77f40e`](https://github.com/benjie/crystal/commit/fce77f40efb194a3dfa7f38bfe20eb99e09efa70)]:
|
|
239
961
|
- grafast@0.0.1-0.23
|
|
240
962
|
- pg-sql2@5.0.0-0.4
|
|
241
963
|
- @dataplan/pg@0.0.1-0.28
|
|
@@ -245,32 +967,32 @@
|
|
|
245
967
|
|
|
246
968
|
### Patch Changes
|
|
247
969
|
|
|
248
|
-
- [#233](https://github.com/benjie/
|
|
249
|
-
[`a50bc5be4`](https://github.com/benjie/
|
|
970
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
971
|
+
[`a50bc5be4`](https://github.com/benjie/crystal/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8)
|
|
250
972
|
Thanks [@benjie](https://github.com/benjie)! - Introduce new
|
|
251
973
|
GraphQLObjectType_fields_field_args_arg and
|
|
252
974
|
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
|
|
253
975
|
ordering issues.
|
|
254
976
|
|
|
255
|
-
- [#233](https://github.com/benjie/
|
|
256
|
-
[`11e7c12c5`](https://github.com/benjie/
|
|
977
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
978
|
+
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
257
979
|
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
258
980
|
ordering code which lead to heisenbugs.
|
|
259
981
|
|
|
260
|
-
- [#233](https://github.com/benjie/
|
|
261
|
-
[`2f50a633a`](https://github.com/benjie/
|
|
982
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
983
|
+
[`2f50a633a`](https://github.com/benjie/crystal/commit/2f50a633acab7c112413ec4576beeec2efef24df)
|
|
262
984
|
Thanks [@benjie](https://github.com/benjie)! - Fix a bug where plugin ordering
|
|
263
985
|
could result in update mutations not being created.
|
|
264
986
|
|
|
265
|
-
- [#233](https://github.com/benjie/
|
|
266
|
-
[`005e5cea0`](https://github.com/benjie/
|
|
987
|
+
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
988
|
+
[`005e5cea0`](https://github.com/benjie/crystal/commit/005e5cea01224533282bc4d0f3516368fb8db81a)
|
|
267
989
|
Thanks [@benjie](https://github.com/benjie)! - Eradicate
|
|
268
990
|
PgSmartCommentsPlugin, it is no longer needed. Solves some plugin ordering
|
|
269
991
|
issues.
|
|
270
992
|
- Updated dependencies
|
|
271
|
-
[[`a50bc5be4`](https://github.com/benjie/
|
|
272
|
-
[`6fb7ef449`](https://github.com/benjie/
|
|
273
|
-
[`11e7c12c5`](https://github.com/benjie/
|
|
993
|
+
[[`a50bc5be4`](https://github.com/benjie/crystal/commit/a50bc5be4b4be344203f4acd0ffd5ad8b90d89b8),
|
|
994
|
+
[`6fb7ef449`](https://github.com/benjie/crystal/commit/6fb7ef4494b4f61b3b1aa36642e51eb9ec99a941),
|
|
995
|
+
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
|
|
274
996
|
- graphile-build@5.0.0-0.28
|
|
275
997
|
- graphile-config@0.0.1-0.6
|
|
276
998
|
- grafast@0.0.1-0.22
|
|
@@ -280,21 +1002,21 @@
|
|
|
280
1002
|
|
|
281
1003
|
### Patch Changes
|
|
282
1004
|
|
|
283
|
-
- [#229](https://github.com/benjie/
|
|
284
|
-
[`13cfc7501`](https://github.com/benjie/
|
|
1005
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
1006
|
+
[`13cfc7501`](https://github.com/benjie/crystal/commit/13cfc75019d42353c1e6be394c28c6ba61ab32d0)
|
|
285
1007
|
Thanks [@benjie](https://github.com/benjie)! - pgConfig.listen is no more; it
|
|
286
1008
|
was redundant versus PgSubscriber. Have migrated PgIntrospectionPlugin to use
|
|
287
1009
|
PgSubscriber instead.
|
|
288
1010
|
|
|
289
|
-
- [#229](https://github.com/benjie/
|
|
290
|
-
[`ac6137bb6`](https://github.com/benjie/
|
|
1011
|
+
- [#229](https://github.com/benjie/crystal/pull/229)
|
|
1012
|
+
[`ac6137bb6`](https://github.com/benjie/crystal/commit/ac6137bb60a34a3ebf5fad3c6ac153c95acb6158)
|
|
291
1013
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 PgRBACPlugin is now included
|
|
292
1014
|
in the default `graphile-build-pg` (and thus PostGraphile amber) preset. Users
|
|
293
1015
|
of the V4 preset are unaffected.
|
|
294
1016
|
- Updated dependencies
|
|
295
|
-
[[`f5a04cf66`](https://github.com/benjie/
|
|
296
|
-
[`13cfc7501`](https://github.com/benjie/
|
|
297
|
-
[`b9a2236d4`](https://github.com/benjie/
|
|
1017
|
+
[[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa),
|
|
1018
|
+
[`13cfc7501`](https://github.com/benjie/crystal/commit/13cfc75019d42353c1e6be394c28c6ba61ab32d0),
|
|
1019
|
+
[`b9a2236d4`](https://github.com/benjie/crystal/commit/b9a2236d43cc92e06085298e379de71f7fdedcb7)]:
|
|
298
1020
|
- grafast@0.0.1-0.21
|
|
299
1021
|
- @dataplan/pg@0.0.1-0.26
|
|
300
1022
|
- graphile-build@5.0.0-0.27
|
|
@@ -313,7 +1035,7 @@
|
|
|
313
1035
|
### Patch Changes
|
|
314
1036
|
|
|
315
1037
|
- Updated dependencies
|
|
316
|
-
[[`397e8bb40`](https://github.com/benjie/
|
|
1038
|
+
[[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
317
1039
|
- grafast@0.0.1-0.19
|
|
318
1040
|
- @dataplan/pg@0.0.1-0.24
|
|
319
1041
|
- graphile-build@5.0.0-0.25
|
|
@@ -323,10 +1045,10 @@
|
|
|
323
1045
|
### Patch Changes
|
|
324
1046
|
|
|
325
1047
|
- Updated dependencies
|
|
326
|
-
[[`4c2b7d1ca`](https://github.com/benjie/
|
|
327
|
-
[`2abc58cf6`](https://github.com/benjie/
|
|
328
|
-
[`c8a56cdc8`](https://github.com/benjie/
|
|
329
|
-
[`df8c06657`](https://github.com/benjie/
|
|
1048
|
+
[[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
1049
|
+
[`2abc58cf6`](https://github.com/benjie/crystal/commit/2abc58cf61e78e77b2ba44a875f0ef5b3f98b245),
|
|
1050
|
+
[`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c),
|
|
1051
|
+
[`df8c06657`](https://github.com/benjie/crystal/commit/df8c06657e6f5a7d1444d86dc32fd750d1433223)]:
|
|
330
1052
|
- grafast@0.0.1-0.18
|
|
331
1053
|
- graphile-build@5.0.0-0.24
|
|
332
1054
|
- @dataplan/pg@0.0.1-0.23
|
|
@@ -335,20 +1057,20 @@
|
|
|
335
1057
|
|
|
336
1058
|
### Patch Changes
|
|
337
1059
|
|
|
338
|
-
- [#218](https://github.com/benjie/
|
|
339
|
-
[`f2c1423fb`](https://github.com/benjie/
|
|
1060
|
+
- [#218](https://github.com/benjie/crystal/pull/218)
|
|
1061
|
+
[`f2c1423fb`](https://github.com/benjie/crystal/commit/f2c1423fbd6c354146a70a9a2ebabd97370b9b05)
|
|
340
1062
|
Thanks [@benjie](https://github.com/benjie)! - Option for `@foreignKey` smart
|
|
341
1063
|
tag to have unique auto-created for it to ease transition from V4:
|
|
342
1064
|
`{ gather: { pgFakeConstraintsAutofixForeignKeyUniqueness: true } }`
|
|
343
1065
|
|
|
344
|
-
- [#219](https://github.com/benjie/
|
|
345
|
-
[`b58f5dfac`](https://github.com/benjie/
|
|
1066
|
+
- [#219](https://github.com/benjie/crystal/pull/219)
|
|
1067
|
+
[`b58f5dfac`](https://github.com/benjie/crystal/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)
|
|
346
1068
|
Thanks [@benjie](https://github.com/benjie)! - Rename
|
|
347
1069
|
`GraphileBuild.GraphileBuildGatherOptions` to `GraphileBuild.GatherOptions`.
|
|
348
1070
|
Rename `GraphileBuild.GraphileBuildInflectionOptions` to
|
|
349
1071
|
`GraphileBuild.InflectionOptions`.
|
|
350
1072
|
- Updated dependencies
|
|
351
|
-
[[`b58f5dfac`](https://github.com/benjie/
|
|
1073
|
+
[[`b58f5dfac`](https://github.com/benjie/crystal/commit/b58f5dfac6ead1efb8bb56b5cfdfd6a0040a60b5)]:
|
|
352
1074
|
- graphile-build@5.0.0-0.23
|
|
353
1075
|
|
|
354
1076
|
## 5.0.0-0.27
|
|
@@ -364,14 +1086,14 @@
|
|
|
364
1086
|
|
|
365
1087
|
### Patch Changes
|
|
366
1088
|
|
|
367
|
-
- [#214](https://github.com/benjie/
|
|
368
|
-
[`3ed7d3349`](https://github.com/benjie/
|
|
1089
|
+
- [#214](https://github.com/benjie/crystal/pull/214)
|
|
1090
|
+
[`3ed7d3349`](https://github.com/benjie/crystal/commit/3ed7d334939e5e0ab2f63b2fde202884cc2daa74)
|
|
369
1091
|
Thanks [@benjie](https://github.com/benjie)! - @uniqueKey smart tag now
|
|
370
1092
|
converted via V4 preset to @unique.
|
|
371
1093
|
|
|
372
1094
|
- Updated dependencies
|
|
373
|
-
[[`7e3bfef04`](https://github.com/benjie/
|
|
374
|
-
[`df89aba52`](https://github.com/benjie/
|
|
1095
|
+
[[`7e3bfef04`](https://github.com/benjie/crystal/commit/7e3bfef04ebb76fbde8273341ec92073b9e9f04d),
|
|
1096
|
+
[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
|
|
375
1097
|
- @dataplan/pg@0.0.1-0.21
|
|
376
1098
|
- grafast@0.0.1-0.16
|
|
377
1099
|
- graphile-build@5.0.0-0.21
|
|
@@ -393,27 +1115,27 @@
|
|
|
393
1115
|
|
|
394
1116
|
### Patch Changes
|
|
395
1117
|
|
|
396
|
-
- [#210](https://github.com/benjie/
|
|
397
|
-
[`2fb5001b4`](https://github.com/benjie/
|
|
1118
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
1119
|
+
[`2fb5001b4`](https://github.com/benjie/crystal/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d)
|
|
398
1120
|
Thanks [@benjie](https://github.com/benjie)! - retryOnInitFail implemented,
|
|
399
1121
|
and bug in introspection cache on error resolved.
|
|
400
1122
|
|
|
401
|
-
- [#210](https://github.com/benjie/
|
|
402
|
-
[`2bd4b619e`](https://github.com/benjie/
|
|
1123
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
1124
|
+
[`2bd4b619e`](https://github.com/benjie/crystal/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99)
|
|
403
1125
|
Thanks [@benjie](https://github.com/benjie)! - Add
|
|
404
1126
|
`extensions.pg = { databaseName, schemaName, name }` to various DB-derived
|
|
405
1127
|
resources (codecs, sources, etc); this replaces the `originalName` temporary
|
|
406
1128
|
solution that we had previously.
|
|
407
1129
|
|
|
408
|
-
- [#210](https://github.com/benjie/
|
|
409
|
-
[`b523118fe`](https://github.com/benjie/
|
|
1130
|
+
- [#210](https://github.com/benjie/crystal/pull/210)
|
|
1131
|
+
[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)
|
|
410
1132
|
Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
|
|
411
1133
|
Grafast.Context throughout.
|
|
412
1134
|
|
|
413
1135
|
- Updated dependencies
|
|
414
|
-
[[`2fb5001b4`](https://github.com/benjie/
|
|
415
|
-
[`2bd4b619e`](https://github.com/benjie/
|
|
416
|
-
[`b523118fe`](https://github.com/benjie/
|
|
1136
|
+
[[`2fb5001b4`](https://github.com/benjie/crystal/commit/2fb5001b4aaac07942b2e9b0398a996f9aa8b15d),
|
|
1137
|
+
[`2bd4b619e`](https://github.com/benjie/crystal/commit/2bd4b619ee0f6054e14da3ac4885ec55d944cd99),
|
|
1138
|
+
[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
|
|
417
1139
|
- graphile-build@5.0.0-0.20
|
|
418
1140
|
- @dataplan/pg@0.0.1-0.20
|
|
419
1141
|
- grafast@0.0.1-0.15
|
|
@@ -422,17 +1144,17 @@
|
|
|
422
1144
|
|
|
423
1145
|
### Patch Changes
|
|
424
1146
|
|
|
425
|
-
- [#206](https://github.com/benjie/
|
|
426
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
1147
|
+
- [#206](https://github.com/benjie/crystal/pull/206)
|
|
1148
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
|
|
427
1149
|
Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
|
|
428
1150
|
errors by default; trusted errors are constructed via GraphQL's GraphQLError
|
|
429
1151
|
or Grafast's SafeError.
|
|
430
1152
|
- Updated dependencies
|
|
431
|
-
[[`d76043453`](https://github.com/benjie/
|
|
432
|
-
[`afa0ea5f6`](https://github.com/benjie/
|
|
433
|
-
[`92c2378f2`](https://github.com/benjie/
|
|
434
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
435
|
-
[`384b3594f`](https://github.com/benjie/
|
|
1153
|
+
[[`d76043453`](https://github.com/benjie/crystal/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
1154
|
+
[`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
1155
|
+
[`92c2378f2`](https://github.com/benjie/crystal/commit/92c2378f297cc917f542b126e1cdddf58e1f0fc3),
|
|
1156
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
1157
|
+
[`384b3594f`](https://github.com/benjie/crystal/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
436
1158
|
- grafast@0.0.1-0.14
|
|
437
1159
|
- @dataplan/pg@0.0.1-0.19
|
|
438
1160
|
- graphile-build@5.0.0-0.19
|
|
@@ -442,8 +1164,8 @@
|
|
|
442
1164
|
### Patch Changes
|
|
443
1165
|
|
|
444
1166
|
- Updated dependencies
|
|
445
|
-
[[`a14bd2288`](https://github.com/benjie/
|
|
446
|
-
[`dca706ad9`](https://github.com/benjie/
|
|
1167
|
+
[[`a14bd2288`](https://github.com/benjie/crystal/commit/a14bd2288532b0977945d1c0508e51baef6dba2b),
|
|
1168
|
+
[`dca706ad9`](https://github.com/benjie/crystal/commit/dca706ad99b1cd2b98872581b86bd4b22c7fd5f4)]:
|
|
447
1169
|
- @dataplan/pg@0.0.1-0.18
|
|
448
1170
|
- graphile-build@5.0.0-0.18
|
|
449
1171
|
|
|
@@ -461,10 +1183,10 @@
|
|
|
461
1183
|
### Patch Changes
|
|
462
1184
|
|
|
463
1185
|
- Updated dependencies
|
|
464
|
-
[[`4f5d5bec7`](https://github.com/benjie/
|
|
465
|
-
[`fb40bd97b`](https://github.com/benjie/
|
|
466
|
-
[`a1158d83e`](https://github.com/benjie/
|
|
467
|
-
[`25f5a6cbf`](https://github.com/benjie/
|
|
1186
|
+
[[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
1187
|
+
[`fb40bd97b`](https://github.com/benjie/crystal/commit/fb40bd97b8a36da91c6b08e0ce67f1a9419ad91f),
|
|
1188
|
+
[`a1158d83e`](https://github.com/benjie/crystal/commit/a1158d83e2d26f7da0182ec2b651f7f1ec202f14),
|
|
1189
|
+
[`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
468
1190
|
- @dataplan/pg@0.0.1-0.16
|
|
469
1191
|
- grafast@0.0.1-0.12
|
|
470
1192
|
- graphile-build@5.0.0-0.16
|
|
@@ -475,8 +1197,8 @@
|
|
|
475
1197
|
|
|
476
1198
|
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
477
1199
|
|
|
478
|
-
- [#190](https://github.com/benjie/
|
|
479
|
-
[`652cf1073`](https://github.com/benjie/
|
|
1200
|
+
- [#190](https://github.com/benjie/crystal/pull/190)
|
|
1201
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
480
1202
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
481
1203
|
types and postgres configuration:
|
|
482
1204
|
|
|
@@ -503,8 +1225,8 @@
|
|
|
503
1225
|
`Grafast.RequestContext.node.req/res`; all server adaptors should implement
|
|
504
1226
|
this if appropriate
|
|
505
1227
|
|
|
506
|
-
- [#192](https://github.com/benjie/
|
|
507
|
-
[`80091a8e0`](https://github.com/benjie/
|
|
1228
|
+
- [#192](https://github.com/benjie/crystal/pull/192)
|
|
1229
|
+
[`80091a8e0`](https://github.com/benjie/crystal/commit/80091a8e0343a162bf2b60cf619267a874a67e60)
|
|
508
1230
|
Thanks [@benjie](https://github.com/benjie)! - - Conflicts in `pgConfigs`
|
|
509
1231
|
(e.g. multiple sources using the same 'name') now detected and output
|
|
510
1232
|
- Fix defaults for `pgSettingsKey` and `withPgClientKey` based on config name
|
|
@@ -513,10 +1235,10 @@
|
|
|
513
1235
|
- Multiple postgres sources now works nicely with multiple `makePgConfig`
|
|
514
1236
|
calls
|
|
515
1237
|
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
516
|
-
[`af9bc38c8`](https://github.com/benjie/
|
|
517
|
-
[`4783bdd7c`](https://github.com/benjie/
|
|
518
|
-
[`652cf1073`](https://github.com/benjie/
|
|
519
|
-
[`80091a8e0`](https://github.com/benjie/
|
|
1238
|
+
[`af9bc38c8`](https://github.com/benjie/crystal/commit/af9bc38c86dddfa776e5d8db117b5cb35dbe2cd7),
|
|
1239
|
+
[`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
1240
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876),
|
|
1241
|
+
[`80091a8e0`](https://github.com/benjie/crystal/commit/80091a8e0343a162bf2b60cf619267a874a67e60)]:
|
|
520
1242
|
- @dataplan/pg@0.0.1-0.15
|
|
521
1243
|
- grafast@0.0.1-0.11
|
|
522
1244
|
- graphile-build@5.0.0-0.15
|
|
@@ -554,7 +1276,7 @@
|
|
|
554
1276
|
### Patch Changes
|
|
555
1277
|
|
|
556
1278
|
- Updated dependencies
|
|
557
|
-
[[`842f6ccbb`](https://github.com/benjie/
|
|
1279
|
+
[[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
|
|
558
1280
|
- graphile-config@0.0.1-0.4
|
|
559
1281
|
- grafast@0.0.1-0.10
|
|
560
1282
|
- graphile-build@5.0.0-0.13
|
|
@@ -564,39 +1286,39 @@
|
|
|
564
1286
|
|
|
565
1287
|
### Patch Changes
|
|
566
1288
|
|
|
567
|
-
- [#183](https://github.com/benjie/
|
|
568
|
-
[`ebb24895c`](https://github.com/benjie/
|
|
1289
|
+
- [#183](https://github.com/benjie/crystal/pull/183)
|
|
1290
|
+
[`ebb24895c`](https://github.com/benjie/crystal/commit/ebb24895c3ee05c670ffb6c9b4fa4bd1328d9005)
|
|
569
1291
|
Thanks [@benjie](https://github.com/benjie)! - Fix bug when handling stable
|
|
570
1292
|
void functions
|
|
571
1293
|
|
|
572
|
-
- [#181](https://github.com/benjie/
|
|
573
|
-
[`d3cba220c`](https://github.com/benjie/
|
|
1294
|
+
- [#181](https://github.com/benjie/crystal/pull/181)
|
|
1295
|
+
[`d3cba220c`](https://github.com/benjie/crystal/commit/d3cba220c5acb52bb45f1f82f599dd13e0340e65)
|
|
574
1296
|
Thanks [@benjie](https://github.com/benjie)! - `*FieldName` smart tags are now
|
|
575
1297
|
used verbatim rather than being piped through `inflection.camelCase(...)` -
|
|
576
1298
|
you've explicitly stated a 'field name' so we should use that. This may be a
|
|
577
1299
|
breaking change for you if your field names are currently different
|
|
578
1300
|
before/after they are camelCase'd.
|
|
579
1301
|
|
|
580
|
-
- [#183](https://github.com/benjie/
|
|
581
|
-
[`3eb9da95e`](https://github.com/benjie/
|
|
1302
|
+
- [#183](https://github.com/benjie/crystal/pull/183)
|
|
1303
|
+
[`3eb9da95e`](https://github.com/benjie/crystal/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)
|
|
582
1304
|
Thanks [@benjie](https://github.com/benjie)! - Fix potential construction loop
|
|
583
1305
|
on failure to construct a type
|
|
584
1306
|
|
|
585
1307
|
- Updated dependencies
|
|
586
|
-
[[`3eb9da95e`](https://github.com/benjie/
|
|
1308
|
+
[[`3eb9da95e`](https://github.com/benjie/crystal/commit/3eb9da95e6834d687972b112ee0c12b01c7d11c2)]:
|
|
587
1309
|
- graphile-build@5.0.0-0.12
|
|
588
1310
|
|
|
589
1311
|
## 5.0.0-0.14
|
|
590
1312
|
|
|
591
1313
|
### Patch Changes
|
|
592
1314
|
|
|
593
|
-
- [#178](https://github.com/benjie/
|
|
594
|
-
[`1b040b3ba`](https://github.com/benjie/
|
|
1315
|
+
- [#178](https://github.com/benjie/crystal/pull/178)
|
|
1316
|
+
[`1b040b3ba`](https://github.com/benjie/crystal/commit/1b040b3bad10ea42b01134e6bddaefaf604936c0)
|
|
595
1317
|
Thanks [@benjie](https://github.com/benjie)! - `@omit` and similar smart tags
|
|
596
1318
|
are now processed on `@foreignKey` and other fake constraints.
|
|
597
1319
|
|
|
598
|
-
- [#177](https://github.com/benjie/
|
|
599
|
-
[`6be68a53e`](https://github.com/benjie/
|
|
1320
|
+
- [#177](https://github.com/benjie/crystal/pull/177)
|
|
1321
|
+
[`6be68a53e`](https://github.com/benjie/crystal/commit/6be68a53e21940406a9fd629ee15cb1673497a6e)
|
|
600
1322
|
Thanks [@benjie](https://github.com/benjie)! - `@foreignFieldName` smart tag
|
|
601
1323
|
is now fed into the `inflection.connectionField(...)` or
|
|
602
1324
|
`inflection.listField(...)` inflector as appropriate. If you are using
|
|
@@ -604,13 +1326,13 @@
|
|
|
604
1326
|
you should consider renaming `@foreignFieldName` to
|
|
605
1327
|
`@foreignConnectionFieldName` for consistency.
|
|
606
1328
|
|
|
607
|
-
- [#176](https://github.com/benjie/
|
|
608
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
1329
|
+
- [#176](https://github.com/benjie/crystal/pull/176)
|
|
1330
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
|
|
609
1331
|
Thanks [@benjie](https://github.com/benjie)! - Fix issue with plugin
|
|
610
1332
|
versioning. Add more TSDoc comments. New getTerminalWidth() helper.
|
|
611
1333
|
- Updated dependencies
|
|
612
|
-
[[`19e2961de`](https://github.com/benjie/
|
|
613
|
-
[`11d6be65e`](https://github.com/benjie/
|
|
1334
|
+
[[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
|
|
1335
|
+
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
614
1336
|
- graphile-config@0.0.1-0.3
|
|
615
1337
|
- grafast@0.0.1-0.9
|
|
616
1338
|
- graphile-build@5.0.0-0.11
|
|
@@ -621,7 +1343,7 @@
|
|
|
621
1343
|
### Patch Changes
|
|
622
1344
|
|
|
623
1345
|
- Updated dependencies
|
|
624
|
-
[[`208166269`](https://github.com/benjie/
|
|
1346
|
+
[[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
625
1347
|
- grafast@0.0.1-0.8
|
|
626
1348
|
- @dataplan/pg@0.0.1-0.12
|
|
627
1349
|
- graphile-build@5.0.0-0.10
|
|
@@ -630,22 +1352,22 @@
|
|
|
630
1352
|
|
|
631
1353
|
### Patch Changes
|
|
632
1354
|
|
|
633
|
-
- [`af9f11f28`](https://github.com/benjie/
|
|
1355
|
+
- [`af9f11f28`](https://github.com/benjie/crystal/commit/af9f11f289b0029442c6cf4ededf86ee823a26c3)
|
|
634
1356
|
Thanks [@benjie](https://github.com/benjie)! - 'preset.pgSources' renamed to
|
|
635
1357
|
'preset.pgConfigs' to avoid confusion with PgSource class and
|
|
636
1358
|
'input.pgSources' used for build.
|
|
637
1359
|
|
|
638
|
-
- [`6ebe3a13e`](https://github.com/benjie/
|
|
1360
|
+
- [`6ebe3a13e`](https://github.com/benjie/crystal/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a)
|
|
639
1361
|
Thanks [@benjie](https://github.com/benjie)! - Enable omitting update/delete
|
|
640
1362
|
mutations using behaviors on unique constraints.
|
|
641
1363
|
|
|
642
|
-
- [`0e440a862`](https://github.com/benjie/
|
|
1364
|
+
- [`0e440a862`](https://github.com/benjie/crystal/commit/0e440a862d29e8db40fd72413223a10de885ef46)
|
|
643
1365
|
Thanks [@benjie](https://github.com/benjie)! - Add new
|
|
644
1366
|
`--superuser-connection` option to allow installing watch fixtures as
|
|
645
1367
|
superuser.
|
|
646
1368
|
- Updated dependencies
|
|
647
|
-
[[`6ebe3a13e`](https://github.com/benjie/
|
|
648
|
-
[`0e440a862`](https://github.com/benjie/
|
|
1369
|
+
[[`6ebe3a13e`](https://github.com/benjie/crystal/commit/6ebe3a13e563f2bd665b24a5c84bbfc5eba1cc0a),
|
|
1370
|
+
[`0e440a862`](https://github.com/benjie/crystal/commit/0e440a862d29e8db40fd72413223a10de885ef46)]:
|
|
649
1371
|
- graphile-build@5.0.0-0.9
|
|
650
1372
|
- @dataplan/pg@0.0.1-0.11
|
|
651
1373
|
|
|
@@ -763,12 +1485,12 @@
|
|
|
763
1485
|
|
|
764
1486
|
### Patch Changes
|
|
765
1487
|
|
|
766
|
-
- [#125](https://github.com/benjie/
|
|
767
|
-
[`91f2256b3`](https://github.com/benjie/
|
|
1488
|
+
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
1489
|
+
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
768
1490
|
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|
|
769
1491
|
|
|
770
1492
|
- Updated dependencies
|
|
771
|
-
[[`91f2256b3`](https://github.com/benjie/
|
|
1493
|
+
[[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
|
|
772
1494
|
- @dataplan/pg@0.0.1-0.0
|
|
773
1495
|
- grafast@0.0.1-0.0
|
|
774
1496
|
- graphile-build@5.0.0-0.1
|