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