graphile-config 1.0.0-rc.5 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/package.json +2 -14
- package/CHANGELOG.md +0 -464
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# graphile-config
|
|
2
2
|
|
|
3
3
|
[](https://github.com/sponsors/benjie)
|
|
4
|
-
[](https://patreon.com/benjie)
|
|
5
4
|
[](http://discord.gg/graphile)
|
|
6
|
-
[](https://bsky.app/profile/graphile.org)
|
|
6
|
+
[](https://fosstodon.org/@graphile)
|
|
7
7
|
|
|
8
8
|
**PRERELEASE**: this is pre-release software; use at your own risk. This will
|
|
9
9
|
likely change a lot before it's ultimately released.
|
|
@@ -124,7 +124,6 @@ via sponsorship.
|
|
|
124
124
|
And please give some love to our featured sponsors 🤩:
|
|
125
125
|
|
|
126
126
|
<table><tr>
|
|
127
|
-
<td align="center"><a href="https://www.the-guild.dev/"><img src="https://graphile.org/images/sponsors/theguild.png" width="90" height="90" alt="The Guild" /><br />The Guild</a> *</td>
|
|
128
127
|
<td align="center"><a href="https://gosteelhead.com/"><img src="https://graphile.org/images/sponsors/steelhead.svg" width="90" height="90" alt="Steelhead" /><br />Steelhead</a> *</td>
|
|
129
128
|
</tr></table>
|
|
130
129
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-config",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Standard plugin interface and helpers to be used across the Graphile stack.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,10 +19,6 @@
|
|
|
19
19
|
"default": "./dist/cli.js"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"test": "mocha '__tests__/**/*.test.ts'",
|
|
24
|
-
"prepack": "tsc -b"
|
|
25
|
-
},
|
|
26
22
|
"repository": {
|
|
27
23
|
"type": "git",
|
|
28
24
|
"url": "git+https://github.com/graphile/crystal.git"
|
|
@@ -54,13 +50,5 @@
|
|
|
54
50
|
},
|
|
55
51
|
"files": [
|
|
56
52
|
"dist"
|
|
57
|
-
]
|
|
58
|
-
"devDependencies": {
|
|
59
|
-
"@types/debug": "^4.1.12",
|
|
60
|
-
"@types/mocha": "^10.0.10",
|
|
61
|
-
"chai": "^5.3.3",
|
|
62
|
-
"mocha": "^11.7.5",
|
|
63
|
-
"ts-node": "^10.9.2",
|
|
64
|
-
"typescript": "^5.9.3"
|
|
65
|
-
}
|
|
53
|
+
]
|
|
66
54
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,464 +0,0 @@
|
|
|
1
|
-
# graphile-config
|
|
2
|
-
|
|
3
|
-
## 1.0.0-rc.5
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- [#2937](https://github.com/graphile/crystal/pull/2937)
|
|
8
|
-
[`8f50146`](https://github.com/graphile/crystal/commit/8f5014605d2d3a3353ab99e2ac4bbadaadcccdca)
|
|
9
|
-
Thanks [@benjie](https://github.com/benjie)! - Eliminate dangling promises,
|
|
10
|
-
reducing chance of process exit due to unhandled promise rejection.
|
|
11
|
-
|
|
12
|
-
## 1.0.0-rc.4
|
|
13
|
-
|
|
14
|
-
### Patch Changes
|
|
15
|
-
|
|
16
|
-
- [#2910](https://github.com/graphile/crystal/pull/2910)
|
|
17
|
-
[`9eb3829`](https://github.com/graphile/crystal/commit/9eb3829ea337041e4585e0cfeb63b44e87d7d14f)
|
|
18
|
-
Thanks [@benjie](https://github.com/benjie)! - Use consistent type export
|
|
19
|
-
syntax
|
|
20
|
-
|
|
21
|
-
- [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1)
|
|
22
|
-
Thanks [@benjie](https://github.com/benjie)! - Refactor to enable TypeScript
|
|
23
|
-
options rewriteRelativeImportExtensions and erasableSyntaxOnly (including
|
|
24
|
-
using .ts extensions in source code)
|
|
25
|
-
|
|
26
|
-
## 1.0.0-rc.3
|
|
27
|
-
|
|
28
|
-
### Patch Changes
|
|
29
|
-
|
|
30
|
-
- [#2873](https://github.com/graphile/crystal/pull/2873)
|
|
31
|
-
[`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36)
|
|
32
|
-
Thanks [@benjie](https://github.com/benjie)! - Update TypeScript configuration
|
|
33
|
-
to support Node 22 minimum
|
|
34
|
-
|
|
35
|
-
- [#2888](https://github.com/graphile/crystal/pull/2888)
|
|
36
|
-
[`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c)
|
|
37
|
-
Thanks [@benjaie](https://github.com/benjaie)! - Node v22+ is required for
|
|
38
|
-
this module.
|
|
39
|
-
|
|
40
|
-
## 1.0.0-rc.2
|
|
41
|
-
|
|
42
|
-
### Patch Changes
|
|
43
|
-
|
|
44
|
-
- [#2829](https://github.com/graphile/crystal/pull/2829)
|
|
45
|
-
[`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)
|
|
46
|
-
Thanks [@benjie](https://github.com/benjie)! - Update dependency ranges.
|
|
47
|
-
|
|
48
|
-
## 1.0.0-rc.1
|
|
49
|
-
|
|
50
|
-
### Patch Changes
|
|
51
|
-
|
|
52
|
-
- [`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)
|
|
53
|
-
Thanks [@benjie](https://github.com/benjie)! - Bump to release candidate
|
|
54
|
-
|
|
55
|
-
## 0.0.1-beta.18
|
|
56
|
-
|
|
57
|
-
### Patch Changes
|
|
58
|
-
|
|
59
|
-
- [#2697](https://github.com/graphile/crystal/pull/2697)
|
|
60
|
-
[`cfd4c3c`](https://github.com/graphile/crystal/commit/cfd4c3cff0ef40ed87a2c700b7719c1ca0e73588)
|
|
61
|
-
Thanks [@benjie](https://github.com/benjie)! - Be more selective about the
|
|
62
|
-
errors caught whilst loading a config file; a bug/throw in the config file
|
|
63
|
-
should still be raised.
|
|
64
|
-
|
|
65
|
-
- [#2688](https://github.com/graphile/crystal/pull/2688)
|
|
66
|
-
[`e15f886`](https://github.com/graphile/crystal/commit/e15f886cae1041416b44b74b75426f8d43000dcf)
|
|
67
|
-
Thanks [@benjie](https://github.com/benjie)! - Fixes bug where two different
|
|
68
|
-
plugins with the same name would be allowed to exist in the same (resolved)
|
|
69
|
-
preset. Users of dynamically created presets and plugins (e.g.
|
|
70
|
-
`makeV4Preset(...)` in PostGraphile) should be wary not to include two calls
|
|
71
|
-
to the same factory in their preset (directly or indirectly).
|
|
72
|
-
|
|
73
|
-
## 0.0.1-beta.17
|
|
74
|
-
|
|
75
|
-
### Patch Changes
|
|
76
|
-
|
|
77
|
-
- [#2577](https://github.com/graphile/crystal/pull/2577)
|
|
78
|
-
[`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47)
|
|
79
|
-
Thanks [@benjie](https://github.com/benjie)! - Update dependencies
|
|
80
|
-
|
|
81
|
-
- [#2588](https://github.com/graphile/crystal/pull/2588)
|
|
82
|
-
[`e0cdabe`](https://github.com/graphile/crystal/commit/e0cdabe25c8894da550546c93bc03b895585544c)
|
|
83
|
-
Thanks [@benjie](https://github.com/benjie)! - Add support for
|
|
84
|
-
`--experimental-strip-types` to `graphile-config`'s loading of config files.
|
|
85
|
-
No need for `ts-node`/`tsx` now.
|
|
86
|
-
|
|
87
|
-
## 0.0.1-beta.16
|
|
88
|
-
|
|
89
|
-
### Patch Changes
|
|
90
|
-
|
|
91
|
-
- [#2482](https://github.com/graphile/crystal/pull/2482)
|
|
92
|
-
[`459e1869a2ec58925b2bac5458af487c52a8ca37`](https://github.com/graphile/crystal/commit/459e1869a2ec58925b2bac5458af487c52a8ca37)
|
|
93
|
-
Thanks [@benjie](https://github.com/benjie)! - Minimum version of Node.js
|
|
94
|
-
bumped to Node 22 (the latest LTS).
|
|
95
|
-
|
|
96
|
-
## 0.0.1-beta.15
|
|
97
|
-
|
|
98
|
-
### Patch Changes
|
|
99
|
-
|
|
100
|
-
- [`00d79e6f5608affc3f36bb0ce4ca2547230174e7`](https://github.com/graphile/crystal/commit/00d79e6f5608affc3f36bb0ce4ca2547230174e7)
|
|
101
|
-
Thanks [@benjie](https://github.com/benjie)! - Rename parameter to
|
|
102
|
-
Middleware.register.
|
|
103
|
-
|
|
104
|
-
## 0.0.1-beta.14
|
|
105
|
-
|
|
106
|
-
### Patch Changes
|
|
107
|
-
|
|
108
|
-
- [#2280](https://github.com/graphile/crystal/pull/2280)
|
|
109
|
-
[`83c546509`](https://github.com/graphile/crystal/commit/83c546509d24be2955a56120981363ad3c3a5f3f)
|
|
110
|
-
Thanks [@benjie](https://github.com/benjie)! - Fix TypeScript types of
|
|
111
|
-
MiddlewareNext
|
|
112
|
-
|
|
113
|
-
## 0.0.1-beta.13
|
|
114
|
-
|
|
115
|
-
### Patch Changes
|
|
116
|
-
|
|
117
|
-
- [#2270](https://github.com/graphile/crystal/pull/2270)
|
|
118
|
-
[`7580bc16a`](https://github.com/graphile/crystal/commit/7580bc16a050fd8d916c6dabe9d1ded980090349)
|
|
119
|
-
Thanks [@benjie](https://github.com/benjie)! - Check that `process` exists
|
|
120
|
-
before reading from it.
|
|
121
|
-
|
|
122
|
-
## 0.0.1-beta.12
|
|
123
|
-
|
|
124
|
-
### Patch Changes
|
|
125
|
-
|
|
126
|
-
- [#2240](https://github.com/graphile/crystal/pull/2240)
|
|
127
|
-
[`d13b76f0f`](https://github.com/graphile/crystal/commit/d13b76f0fef2a58466ecb44880af62d25910e83e)
|
|
128
|
-
Thanks [@benjie](https://github.com/benjie)! - Adds
|
|
129
|
-
`MiddlewareHandlers<TActivities>` type to help with adding middleware to
|
|
130
|
-
configs
|
|
131
|
-
|
|
132
|
-
- [#2253](https://github.com/graphile/crystal/pull/2253)
|
|
133
|
-
[`b167bd849`](https://github.com/graphile/crystal/commit/b167bd8499be5866b71bac6594d55bd768fda1d0)
|
|
134
|
-
Thanks [@benjie](https://github.com/benjie)! - 🚨 `{}` is no longer a valid
|
|
135
|
-
`GraphileConfig.ResolvedPreset`; use `resolvePreset({})`
|
|
136
|
-
|
|
137
|
-
Also: adds `resolvePreset(preset)` and deprecates `resolvePresets(presets)`.
|
|
138
|
-
|
|
139
|
-
- [#2250](https://github.com/graphile/crystal/pull/2250)
|
|
140
|
-
[`6a13ecbd4`](https://github.com/graphile/crystal/commit/6a13ecbd45534c39c846c1d8bc58242108426dd1)
|
|
141
|
-
Thanks [@benjie](https://github.com/benjie)! - Add support for 'preset.lib'
|
|
142
|
-
which can be used to store global module references to help avoid the dual
|
|
143
|
-
package hazard.
|
|
144
|
-
|
|
145
|
-
## 0.0.1-beta.11
|
|
146
|
-
|
|
147
|
-
### Patch Changes
|
|
148
|
-
|
|
149
|
-
- [#2224](https://github.com/graphile/crystal/pull/2224)
|
|
150
|
-
[`5626c7d36`](https://github.com/graphile/crystal/commit/5626c7d3649285e11fe9857dfa319d2883d027eb)
|
|
151
|
-
Thanks [@benjie](https://github.com/benjie)! - Remove requirement that plugins
|
|
152
|
-
have a version.
|
|
153
|
-
|
|
154
|
-
## 0.0.1-beta.10
|
|
155
|
-
|
|
156
|
-
### Patch Changes
|
|
157
|
-
|
|
158
|
-
- [#2188](https://github.com/graphile/crystal/pull/2188)
|
|
159
|
-
[`cc0941731`](https://github.com/graphile/crystal/commit/cc0941731a1679bc04ce7b7fd4254009bb5f1f62)
|
|
160
|
-
Thanks [@benjie](https://github.com/benjie)! - Overhaul the way in which
|
|
161
|
-
`graphile-config` presets work such that including a preset at two different
|
|
162
|
-
layers shouldn't result in unexpected behavior.
|
|
163
|
-
|
|
164
|
-
- [#2155](https://github.com/graphile/crystal/pull/2155)
|
|
165
|
-
[`8b472cd51`](https://github.com/graphile/crystal/commit/8b472cd51cd66d8227f9f2722d09c0a774792b0f)
|
|
166
|
-
Thanks [@benjie](https://github.com/benjie)! - `disablePlugins` now supports
|
|
167
|
-
TypeScript auto-completion of known plugin names. Other names are still
|
|
168
|
-
accepted without error, so this is just a minor DX improvement rather than
|
|
169
|
-
type safety.
|
|
170
|
-
|
|
171
|
-
- [#2160](https://github.com/graphile/crystal/pull/2160)
|
|
172
|
-
[`9cd9bb522`](https://github.com/graphile/crystal/commit/9cd9bb5222a9f0398ee4b8bfa4f741b6de2a2192)
|
|
173
|
-
Thanks [@benjie](https://github.com/benjie)! - Add support for lists of hook
|
|
174
|
-
objects, so that the same hook can be applied multiple times in the same
|
|
175
|
-
plugin but with different priorities.
|
|
176
|
-
|
|
177
|
-
## 0.0.1-beta.9
|
|
178
|
-
|
|
179
|
-
### Patch Changes
|
|
180
|
-
|
|
181
|
-
- [#2071](https://github.com/graphile/crystal/pull/2071)
|
|
182
|
-
[`582bd768f`](https://github.com/graphile/crystal/commit/582bd768fec403ce3284f293b85b9fd86e4d3f40)
|
|
183
|
-
Thanks [@benjie](https://github.com/benjie)! - `GrafastExecutionArgs` now
|
|
184
|
-
accepts `resolvedPreset` and `requestContext` directly; passing these through
|
|
185
|
-
additional arguments is now deprecated and support will be removed in a future
|
|
186
|
-
revision. This affects:
|
|
187
|
-
- `grafast()`
|
|
188
|
-
- `execute()`
|
|
189
|
-
- `subscribe()`
|
|
190
|
-
- `hookArgs()`
|
|
191
|
-
|
|
192
|
-
`graphile-config` has gained a middleware system which is more powerful than
|
|
193
|
-
it's AsyncHooks system. Old hooks can be emulated through the middleware
|
|
194
|
-
system safely since middleware is a superset of hooks' capabilities.
|
|
195
|
-
`applyHooks` has been renamed to `orderedApply` (because it applies to more
|
|
196
|
-
than just hooks), calling `applyHooks` will still work but is deprecated.
|
|
197
|
-
|
|
198
|
-
🚨 `grafast` no longer automatically reads your `graphile.config.ts` or
|
|
199
|
-
similar; you must do that yourself and pass the `resolvedPreset` to grafast
|
|
200
|
-
via the `args`. This is to aid in bundling of grafast since it should not need
|
|
201
|
-
to read from filesystem or dynamically load modules.
|
|
202
|
-
|
|
203
|
-
`grafast` no longer outputs performance warning when you set
|
|
204
|
-
`GRAPHILE_ENV=development`.
|
|
205
|
-
|
|
206
|
-
🚨 `plugin.grafast.hooks.args` is now `plugin.grafast.middleware.prepareArgs`,
|
|
207
|
-
and the signature has changed - you must be sure to call the `next()` function
|
|
208
|
-
and ctx/resolvedPreset can be extracted directly from `args`:
|
|
209
|
-
|
|
210
|
-
```diff
|
|
211
|
-
const plugin = {
|
|
212
|
-
grafast: {
|
|
213
|
-
- hooks: {
|
|
214
|
-
+ middleware: {
|
|
215
|
-
- args({ args, ctx, resolvedPreset }) {
|
|
216
|
-
+ prepareArgs(next, { args }) {
|
|
217
|
-
+ const { requestContext: ctx, resolvedPreset } = args;
|
|
218
|
-
// ...
|
|
219
|
-
+ return next();
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
Many more middleware have been added; use TypeScript's autocomplete to see
|
|
227
|
-
what's available until we have proper documentation for them.
|
|
228
|
-
|
|
229
|
-
`plugin.grafserv.hooks.*` are still supported but deprecated; instead use
|
|
230
|
-
middleware `plugin.grafserv.middleware.*` (note that call signatures have
|
|
231
|
-
changed slightly, similar to the diff above):
|
|
232
|
-
- `hooks.init` -> `middleware.setPreset`
|
|
233
|
-
- `hooks.processGraphQLRequestBody` -> `middleware.processGraphQLRequestBody`
|
|
234
|
-
- `hooks.ruruHTMLParts` -> `middleware.ruruHTMLParts`
|
|
235
|
-
|
|
236
|
-
A few TypeScript types related to Hooks have been renamed, but their old names
|
|
237
|
-
are still available, just deprecated. They will be removed in a future update:
|
|
238
|
-
- `HookObject` -> `FunctionalityObject`
|
|
239
|
-
- `PluginHook` -> `CallbackOrDescriptor`
|
|
240
|
-
- `PluginHookObject` -> `CallbackDescriptor`
|
|
241
|
-
- `PluginHookCallback` -> `UnwrapCallback`
|
|
242
|
-
|
|
243
|
-
## 0.0.1-beta.8
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- [#2048](https://github.com/graphile/crystal/pull/2048)
|
|
248
|
-
[`db8ceed0f`](https://github.com/graphile/crystal/commit/db8ceed0f17923eb78ff09c9f3f28800a5c7e3b6)
|
|
249
|
-
Thanks [@benjie](https://github.com/benjie)! - Help detect more invalid
|
|
250
|
-
presets and plugins (bad imports) by forbidding keys starting with a capital
|
|
251
|
-
or the key `default`.
|
|
252
|
-
|
|
253
|
-
## 0.0.1-beta.7
|
|
254
|
-
|
|
255
|
-
### Patch Changes
|
|
256
|
-
|
|
257
|
-
- [#1930](https://github.com/graphile/crystal/pull/1930)
|
|
258
|
-
[`5de3e86eb`](https://github.com/graphile/crystal/commit/5de3e86eba1ddfe5e07732d0325c63e5d72d4b5b)
|
|
259
|
-
Thanks [@benjie](https://github.com/benjie)! - Prevent using
|
|
260
|
-
appendPlugins/prependPlugins/skipPlugins in presets.
|
|
261
|
-
|
|
262
|
-
## 0.0.1-beta.6
|
|
263
|
-
|
|
264
|
-
### Patch Changes
|
|
265
|
-
|
|
266
|
-
- [#1892](https://github.com/graphile/crystal/pull/1892)
|
|
267
|
-
[`0df5511ac`](https://github.com/graphile/crystal/commit/0df5511ac8b79ea34f8d12ebf8feeb421f8fe971)
|
|
268
|
-
Thanks [@benjie](https://github.com/benjie)! - Fix plugin ordering bug that
|
|
269
|
-
ignored before/after when there was no provider; this now means
|
|
270
|
-
PgSmartTagsPlugin is correctly loaded before PgFakeConstraintPlugin, fixing
|
|
271
|
-
the `postgraphile.tags.json5` file.
|
|
272
|
-
|
|
273
|
-
## 0.0.1-beta.5
|
|
274
|
-
|
|
275
|
-
### Patch Changes
|
|
276
|
-
|
|
277
|
-
- [#1877](https://github.com/graphile/crystal/pull/1877)
|
|
278
|
-
[`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f)
|
|
279
|
-
Thanks [@benjie](https://github.com/benjie)! - Move 'declare global' out of
|
|
280
|
-
'interfaces.ts' and into 'index.ts' or equivalent. Should make TypeScript more
|
|
281
|
-
aware of these types.
|
|
282
|
-
|
|
283
|
-
## 0.0.1-beta.4
|
|
284
|
-
|
|
285
|
-
### Patch Changes
|
|
286
|
-
|
|
287
|
-
- [`7aef73319`](https://github.com/graphile/crystal/commit/7aef73319a8a147c700727be62427e1eefdefbf8)
|
|
288
|
-
Thanks [@benjie](https://github.com/benjie)! - TypeScript tweak to use
|
|
289
|
-
readonly array in one place.
|
|
290
|
-
|
|
291
|
-
## 0.0.1-beta.3
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
|
|
296
|
-
[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
|
|
297
|
-
Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
|
|
298
|
-
information
|
|
299
|
-
|
|
300
|
-
## 0.0.1-beta.2
|
|
301
|
-
|
|
302
|
-
### Patch Changes
|
|
303
|
-
|
|
304
|
-
- [#496](https://github.com/benjie/crystal/pull/496)
|
|
305
|
-
[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
|
|
306
|
-
Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
|
|
307
|
-
through major versions).
|
|
308
|
-
|
|
309
|
-
## 0.0.1-beta.1
|
|
310
|
-
|
|
311
|
-
### Patch Changes
|
|
312
|
-
|
|
313
|
-
- [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
|
|
314
|
-
Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
|
|
315
|
-
|
|
316
|
-
## 0.0.1-alpha.7
|
|
317
|
-
|
|
318
|
-
### Patch Changes
|
|
319
|
-
|
|
320
|
-
- [#438](https://github.com/benjie/crystal/pull/438)
|
|
321
|
-
[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d)
|
|
322
|
-
Thanks [@benjie](https://github.com/benjie)! - Plugin name now automatically
|
|
323
|
-
used in `provides` for every hook, allowing ordering hooks before/after their
|
|
324
|
-
equivalents in other plugins.
|
|
325
|
-
|
|
326
|
-
## 0.0.1-alpha.6
|
|
327
|
-
|
|
328
|
-
### Patch Changes
|
|
329
|
-
|
|
330
|
-
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
331
|
-
[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999)
|
|
332
|
-
Thanks [@benjie](https://github.com/benjie)! - `inspect()` fallback function
|
|
333
|
-
updated
|
|
334
|
-
|
|
335
|
-
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
336
|
-
[`c5050dd28`](https://github.com/benjie/crystal/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd)
|
|
337
|
-
Thanks [@benjie](https://github.com/benjie)! - Warn if plugins could not be
|
|
338
|
-
disabled (due to not being specified).
|
|
339
|
-
|
|
340
|
-
- [#408](https://github.com/benjie/crystal/pull/408)
|
|
341
|
-
[`0d1782869`](https://github.com/benjie/crystal/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37)
|
|
342
|
-
Thanks [@benjie](https://github.com/benjie)! - Only eat ENOENT errors when
|
|
343
|
-
checking for file existance, other errors should still throw.
|
|
344
|
-
|
|
345
|
-
## 0.0.1-alpha.5
|
|
346
|
-
|
|
347
|
-
### Patch Changes
|
|
348
|
-
|
|
349
|
-
- [#402](https://github.com/benjie/crystal/pull/402)
|
|
350
|
-
[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)
|
|
351
|
-
Thanks [@benjie](https://github.com/benjie)! - Use `file://` URLs in import()
|
|
352
|
-
to fix compatibility with Windows (e.g. when loading `graphile.config.mjs`)
|
|
353
|
-
|
|
354
|
-
## 0.0.1-alpha.4
|
|
355
|
-
|
|
356
|
-
### Patch Changes
|
|
357
|
-
|
|
358
|
-
- [#349](https://github.com/benjie/crystal/pull/349)
|
|
359
|
-
[`198ac74d5`](https://github.com/benjie/crystal/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25)
|
|
360
|
-
Thanks [@benjie](https://github.com/benjie)! - Add 'sortedPlugins' export to
|
|
361
|
-
graphile-config.
|
|
362
|
-
|
|
363
|
-
## 0.0.1-alpha.3
|
|
364
|
-
|
|
365
|
-
### Patch Changes
|
|
366
|
-
|
|
367
|
-
- [#344](https://github.com/benjie/crystal/pull/344)
|
|
368
|
-
[`adc7ae5e0`](https://github.com/benjie/crystal/commit/adc7ae5e002961c8b8286500527752f21139ab9e)
|
|
369
|
-
Thanks [@benjie](https://github.com/benjie)! - Detect presets that look like
|
|
370
|
-
plugins and vice versa and throw error.
|
|
371
|
-
|
|
372
|
-
## 0.0.1-alpha.2
|
|
373
|
-
|
|
374
|
-
### Patch Changes
|
|
375
|
-
|
|
376
|
-
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
377
|
-
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
378
|
-
TypeScript/tslib
|
|
379
|
-
|
|
380
|
-
## 0.0.1-alpha.1
|
|
381
|
-
|
|
382
|
-
### Patch Changes
|
|
383
|
-
|
|
384
|
-
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
385
|
-
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
386
|
-
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
387
|
-
|
|
388
|
-
## 0.0.1-1.2
|
|
389
|
-
|
|
390
|
-
### Patch Changes
|
|
391
|
-
|
|
392
|
-
- [#297](https://github.com/benjie/crystal/pull/297)
|
|
393
|
-
[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)
|
|
394
|
-
Thanks [@benjie](https://github.com/benjie)! - AsyncHooks can now execute
|
|
395
|
-
synchronously if all registered hooks are synchronous. May impact ordering of
|
|
396
|
-
fields/types in GraphQL schema.
|
|
397
|
-
|
|
398
|
-
## 0.0.1-1.1
|
|
399
|
-
|
|
400
|
-
### Patch Changes
|
|
401
|
-
|
|
402
|
-
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
403
|
-
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
404
|
-
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
405
|
-
|
|
406
|
-
## 0.0.1-0.6
|
|
407
|
-
|
|
408
|
-
### Patch Changes
|
|
409
|
-
|
|
410
|
-
- [#233](https://github.com/benjie/crystal/pull/233)
|
|
411
|
-
[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)
|
|
412
|
-
Thanks [@benjie](https://github.com/benjie)! - Solve mutation issue in plugin
|
|
413
|
-
ordering code which lead to heisenbugs.
|
|
414
|
-
|
|
415
|
-
## 0.0.1-0.5
|
|
416
|
-
|
|
417
|
-
### Patch Changes
|
|
418
|
-
|
|
419
|
-
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
420
|
-
|
|
421
|
-
## 0.0.1-0.4
|
|
422
|
-
|
|
423
|
-
### Patch Changes
|
|
424
|
-
|
|
425
|
-
- [#184](https://github.com/benjie/crystal/pull/184)
|
|
426
|
-
[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)
|
|
427
|
-
Thanks [@benjie](https://github.com/benjie)! - Handle array-to-object issue in
|
|
428
|
-
graphile-config when multiple presets set an array key.
|
|
429
|
-
|
|
430
|
-
## 0.0.1-0.3
|
|
431
|
-
|
|
432
|
-
### Patch Changes
|
|
433
|
-
|
|
434
|
-
- [#176](https://github.com/benjie/crystal/pull/176)
|
|
435
|
-
[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb)
|
|
436
|
-
Thanks [@benjie](https://github.com/benjie)! - Better graphile.config.\*
|
|
437
|
-
compatibility with ESM-emulation, so 'export default preset;' should work in
|
|
438
|
-
TypeScript even if outputting to CommonJS.
|
|
439
|
-
|
|
440
|
-
- [#176](https://github.com/benjie/crystal/pull/176)
|
|
441
|
-
[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
|
|
442
|
-
Thanks [@benjie](https://github.com/benjie)! - Fix issue with plugin
|
|
443
|
-
versioning. Add more TSDoc comments. New getTerminalWidth() helper.
|
|
444
|
-
|
|
445
|
-
## 0.0.1-0.2
|
|
446
|
-
|
|
447
|
-
### Patch Changes
|
|
448
|
-
|
|
449
|
-
- [`9b296ba54`](undefined) - More secure, more compatible, and lots of fixes
|
|
450
|
-
across the monorepo
|
|
451
|
-
|
|
452
|
-
## 0.0.1-0.1
|
|
453
|
-
|
|
454
|
-
### Patch Changes
|
|
455
|
-
|
|
456
|
-
- [`d11c1911c`](undefined) - Fix dependencies
|
|
457
|
-
|
|
458
|
-
## 0.0.1-0.0
|
|
459
|
-
|
|
460
|
-
### Patch Changes
|
|
461
|
-
|
|
462
|
-
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
463
|
-
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
464
|
-
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|