graphile-build 5.0.0-beta.34 → 5.0.0-beta.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -11
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +22 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# graphile-build
|
|
2
2
|
|
|
3
|
+
## 5.0.0-beta.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2600](https://github.com/graphile/crystal/pull/2600)
|
|
8
|
+
[`ad588ec`](https://github.com/graphile/crystal/commit/ad588ecde230359f56800e414b7c5fa1aed14957)
|
|
9
|
+
Thanks [@benjie](https://github.com/benjie)! - Mark all
|
|
10
|
+
peerDependencies=dependencies modules as optional peerDependencies to make
|
|
11
|
+
pnpm marginally happier hopefully.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
[[`c54c6db`](https://github.com/graphile/crystal/commit/c54c6db320b3967ab16784a504770c9b5ef24494),
|
|
14
|
+
[`ad588ec`](https://github.com/graphile/crystal/commit/ad588ecde230359f56800e414b7c5fa1aed14957)]:
|
|
15
|
+
- grafast@0.1.1-beta.24
|
|
16
|
+
|
|
17
|
+
## 5.0.0-beta.35
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#2577](https://github.com/graphile/crystal/pull/2577)
|
|
22
|
+
[`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47)
|
|
23
|
+
Thanks [@benjie](https://github.com/benjie)! - Update dependencies
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
[[`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47),
|
|
27
|
+
[`e0cdabe`](https://github.com/graphile/crystal/commit/e0cdabe25c8894da550546c93bc03b895585544c)]:
|
|
28
|
+
- graphile-config@0.0.1-beta.17
|
|
29
|
+
- grafast@0.1.1-beta.23
|
|
30
|
+
|
|
3
31
|
## 5.0.0-beta.34
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -54,7 +82,6 @@
|
|
|
54
82
|
[`c041fd250372c57601188b65a6411c8f440afab6`](https://github.com/graphile/crystal/commit/c041fd250372c57601188b65a6411c8f440afab6)
|
|
55
83
|
Thanks [@benjie](https://github.com/benjie)! - Since the following have been
|
|
56
84
|
removed from Grafast, throw an error if they're seen in the schema:
|
|
57
|
-
|
|
58
85
|
- `autoApplyAfterParentInputPlan`
|
|
59
86
|
- `autoApplyAfterParentApplyPlan`
|
|
60
87
|
- `autoApplyAfterParentPlan`
|
|
@@ -112,7 +139,6 @@
|
|
|
112
139
|
The following `ModifierStep` classes have all dropped their `Step` suffix,
|
|
113
140
|
these `Modifier` classes now all run at runtime, and are thus no longer steps;
|
|
114
141
|
they're invoked as part of the new `applyInput()` (TODO: document) step:
|
|
115
|
-
|
|
116
142
|
- `ModifierStep` ⇒ `Modifier`
|
|
117
143
|
- `PgBooleanFilterStep` ⇒ `PgBooleanFilter`
|
|
118
144
|
- `PgClassFilterStep` ⇒ `PgClassFilter`
|
|
@@ -133,7 +159,6 @@
|
|
|
133
159
|
The deprecated forms of the above have been removed.
|
|
134
160
|
|
|
135
161
|
Methods that rely on these modifier plans have been removed:
|
|
136
|
-
|
|
137
162
|
- `PgUnionAllStep.wherePlan` - use
|
|
138
163
|
`fieldArg.apply($unionAll, qb => qb.whereBuilder())` instead
|
|
139
164
|
- `PgUnionAllStep.havingPlan` - use
|
|
@@ -141,7 +166,6 @@
|
|
|
141
166
|
- Same for PgSelectStep
|
|
142
167
|
|
|
143
168
|
The following gain query builders:
|
|
144
|
-
|
|
145
169
|
- `PgInsertSingle`
|
|
146
170
|
- `PgUpdateSingle`
|
|
147
171
|
- `PgDeleteSingle`
|
|
@@ -284,7 +308,6 @@
|
|
|
284
308
|
inflector - which is where most of the changes have come from. We've undone
|
|
285
309
|
this change in the V4 preset, so if you don't use the V5 preset but need to
|
|
286
310
|
undo this change, please check out the V4 overrides of:
|
|
287
|
-
|
|
288
311
|
- [`_attributeName`](https://github.com/graphile/crystal/blob/ca9c872ff6c95915bd9e2f33c1370d86742ce815/postgraphile/postgraphile/src/presets/v4.ts#L135-L145)
|
|
289
312
|
- [`_joinAttributeNames`](https://github.com/graphile/crystal/blob/ca9c872ff6c95915bd9e2f33c1370d86742ce815/postgraphile/postgraphile/src/plugins/PgV4InflectionPlugin.ts#L131-L138)
|
|
290
313
|
- [`attribute`](https://github.com/graphile/crystal/blob/ca9c872ff6c95915bd9e2f33c1370d86742ce815/postgraphile/postgraphile/src/presets/v4.ts#L158-L169)
|
|
@@ -469,7 +492,6 @@
|
|
|
469
492
|
accepts `resolvedPreset` and `requestContext` directly; passing these through
|
|
470
493
|
additional arguments is now deprecated and support will be removed in a future
|
|
471
494
|
revision. This affects:
|
|
472
|
-
|
|
473
495
|
- `grafast()`
|
|
474
496
|
- `execute()`
|
|
475
497
|
- `subscribe()`
|
|
@@ -515,14 +537,12 @@
|
|
|
515
537
|
`plugin.grafserv.hooks.*` are still supported but deprecated; instead use
|
|
516
538
|
middleware `plugin.grafserv.middleware.*` (note that call signatures have
|
|
517
539
|
changed slightly, similar to the diff above):
|
|
518
|
-
|
|
519
540
|
- `hooks.init` -> `middleware.setPreset`
|
|
520
541
|
- `hooks.processGraphQLRequestBody` -> `middleware.processGraphQLRequestBody`
|
|
521
542
|
- `hooks.ruruHTMLParts` -> `middleware.ruruHTMLParts`
|
|
522
543
|
|
|
523
544
|
A few TypeScript types related to Hooks have been renamed, but their old names
|
|
524
545
|
are still available, just deprecated. They will be removed in a future update:
|
|
525
|
-
|
|
526
546
|
- `HookObject` -> `FunctionalityObject`
|
|
527
547
|
- `PluginHook` -> `CallbackOrDescriptor`
|
|
528
548
|
- `PluginHookObject` -> `CallbackDescriptor`
|
|
@@ -1294,7 +1314,6 @@
|
|
|
1294
1314
|
resources, and more. So, we've renamed lots of things as part of the API
|
|
1295
1315
|
stabilization work. You're probably only affected by the first 2 bullet
|
|
1296
1316
|
points.
|
|
1297
|
-
|
|
1298
1317
|
- `pgConfigs` -> `pgServices` (also applies to related `pgConfig` terms such
|
|
1299
1318
|
as `makePgConfig` -> `makePgService`, `MakePgConfigOptions` ->
|
|
1300
1319
|
`MakePgServiceOptions`, etc) - see your `graphile.config.ts` or equivalent
|
|
@@ -1515,7 +1534,6 @@
|
|
|
1515
1534
|
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)
|
|
1516
1535
|
Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
|
|
1517
1536
|
types and postgres configuration:
|
|
1518
|
-
|
|
1519
1537
|
- `GraphileBuild.GraphileResolverContext` renamed to `Grafast.Context`
|
|
1520
1538
|
- `GraphileConfig.GraphQLRequestContext` renamed to `Grafast.RequestContext`
|
|
1521
1539
|
- `Grafast.PgDatabaseAdaptorOptions` renaed to
|
|
@@ -1551,7 +1569,6 @@
|
|
|
1551
1569
|
|
|
1552
1570
|
- [`72bf5f535`](undefined) - Overhaul the behavior system (see
|
|
1553
1571
|
https://postgraphile.org/postgraphile/next/behavior).
|
|
1554
|
-
|
|
1555
1572
|
- Adds `schema.defaultBehavior` configuration option to save having to write a
|
|
1556
1573
|
plugin for such a simple task
|
|
1557
1574
|
- Changes a bunch of behavior strings:
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "5.0.0-beta.
|
|
1
|
+
export declare const version = "5.0.0-beta.36";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-build",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.36",
|
|
4
4
|
"description": "Build a GraphQL schema from plugins",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://graphile.org/graphile-build/",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@types/node": "^
|
|
39
|
+
"@types/node": "^22.16.3",
|
|
40
40
|
"@types/pluralize": "^0.0.30",
|
|
41
|
-
"@types/semver": "^7.
|
|
41
|
+
"@types/semver": "^7.7.0",
|
|
42
42
|
"chalk": "^4.1.2",
|
|
43
|
-
"debug": "^4.
|
|
44
|
-
"graphile-config": "^0.0.1-beta.
|
|
43
|
+
"debug": "^4.4.1",
|
|
44
|
+
"graphile-config": "^0.0.1-beta.17",
|
|
45
45
|
"graphql": "^16.1.0-experimental-stream-defer.6",
|
|
46
46
|
"lodash": "^4.17.21",
|
|
47
47
|
"pluralize": "^7.0.0",
|
|
48
|
-
"semver": "^7.
|
|
48
|
+
"semver": "^7.7.2",
|
|
49
49
|
"tamedevil": "^0.0.0-beta.8",
|
|
50
50
|
"tslib": "^2.8.1"
|
|
51
51
|
},
|
|
@@ -53,21 +53,30 @@
|
|
|
53
53
|
"node": ">=16"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"grafast": "^0.1.1-beta.
|
|
57
|
-
"graphile-config": "^0.0.1-beta.
|
|
56
|
+
"grafast": "^0.1.1-beta.24",
|
|
57
|
+
"graphile-config": "^0.0.1-beta.17",
|
|
58
58
|
"graphql": "^16.1.0-experimental-stream-defer.6"
|
|
59
59
|
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"graphile-config": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"graphql": {
|
|
65
|
+
"optional": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
60
68
|
"files": [
|
|
61
69
|
"dist",
|
|
62
70
|
"index.js"
|
|
63
71
|
],
|
|
64
72
|
"devDependencies": {
|
|
65
|
-
"@types/debug": "^4.1.
|
|
66
|
-
"@types/jest": "^
|
|
67
|
-
"
|
|
73
|
+
"@types/debug": "^4.1.12",
|
|
74
|
+
"@types/jest": "^30.0.0",
|
|
75
|
+
"grafast": "^0.1.1-beta.24",
|
|
76
|
+
"graphile-export": "^0.0.2-beta.29",
|
|
68
77
|
"graphql": "16.1.0-experimental-stream-defer.6",
|
|
69
|
-
"jest": "^
|
|
70
|
-
"ts-node": "^10.9.
|
|
78
|
+
"jest": "^30.0.4",
|
|
79
|
+
"ts-node": "^10.9.2",
|
|
71
80
|
"typescript": "^5.8.3"
|
|
72
81
|
}
|
|
73
82
|
}
|