graphile-build-pg 5.0.0-alpha.9 → 5.0.0-beta.1

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