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

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