graphile-build 5.0.0-beta.35 → 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 CHANGED
@@ -1,5 +1,19 @@
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
+
3
17
  ## 5.0.0-beta.35
4
18
 
5
19
  ### Patch Changes
@@ -68,7 +82,6 @@
68
82
  [`c041fd250372c57601188b65a6411c8f440afab6`](https://github.com/graphile/crystal/commit/c041fd250372c57601188b65a6411c8f440afab6)
69
83
  Thanks [@benjie](https://github.com/benjie)! - Since the following have been
70
84
  removed from Grafast, throw an error if they're seen in the schema:
71
-
72
85
  - `autoApplyAfterParentInputPlan`
73
86
  - `autoApplyAfterParentApplyPlan`
74
87
  - `autoApplyAfterParentPlan`
@@ -126,7 +139,6 @@
126
139
  The following `ModifierStep` classes have all dropped their `Step` suffix,
127
140
  these `Modifier` classes now all run at runtime, and are thus no longer steps;
128
141
  they're invoked as part of the new `applyInput()` (TODO: document) step:
129
-
130
142
  - `ModifierStep` ⇒ `Modifier`
131
143
  - `PgBooleanFilterStep` ⇒ `PgBooleanFilter`
132
144
  - `PgClassFilterStep` ⇒ `PgClassFilter`
@@ -147,7 +159,6 @@
147
159
  The deprecated forms of the above have been removed.
148
160
 
149
161
  Methods that rely on these modifier plans have been removed:
150
-
151
162
  - `PgUnionAllStep.wherePlan` - use
152
163
  `fieldArg.apply($unionAll, qb => qb.whereBuilder())` instead
153
164
  - `PgUnionAllStep.havingPlan` - use
@@ -155,7 +166,6 @@
155
166
  - Same for PgSelectStep
156
167
 
157
168
  The following gain query builders:
158
-
159
169
  - `PgInsertSingle`
160
170
  - `PgUpdateSingle`
161
171
  - `PgDeleteSingle`
@@ -298,7 +308,6 @@
298
308
  inflector - which is where most of the changes have come from. We've undone
299
309
  this change in the V4 preset, so if you don't use the V5 preset but need to
300
310
  undo this change, please check out the V4 overrides of:
301
-
302
311
  - [`_attributeName`](https://github.com/graphile/crystal/blob/ca9c872ff6c95915bd9e2f33c1370d86742ce815/postgraphile/postgraphile/src/presets/v4.ts#L135-L145)
303
312
  - [`_joinAttributeNames`](https://github.com/graphile/crystal/blob/ca9c872ff6c95915bd9e2f33c1370d86742ce815/postgraphile/postgraphile/src/plugins/PgV4InflectionPlugin.ts#L131-L138)
304
313
  - [`attribute`](https://github.com/graphile/crystal/blob/ca9c872ff6c95915bd9e2f33c1370d86742ce815/postgraphile/postgraphile/src/presets/v4.ts#L158-L169)
@@ -483,7 +492,6 @@
483
492
  accepts `resolvedPreset` and `requestContext` directly; passing these through
484
493
  additional arguments is now deprecated and support will be removed in a future
485
494
  revision. This affects:
486
-
487
495
  - `grafast()`
488
496
  - `execute()`
489
497
  - `subscribe()`
@@ -529,14 +537,12 @@
529
537
  `plugin.grafserv.hooks.*` are still supported but deprecated; instead use
530
538
  middleware `plugin.grafserv.middleware.*` (note that call signatures have
531
539
  changed slightly, similar to the diff above):
532
-
533
540
  - `hooks.init` -> `middleware.setPreset`
534
541
  - `hooks.processGraphQLRequestBody` -> `middleware.processGraphQLRequestBody`
535
542
  - `hooks.ruruHTMLParts` -> `middleware.ruruHTMLParts`
536
543
 
537
544
  A few TypeScript types related to Hooks have been renamed, but their old names
538
545
  are still available, just deprecated. They will be removed in a future update:
539
-
540
546
  - `HookObject` -> `FunctionalityObject`
541
547
  - `PluginHook` -> `CallbackOrDescriptor`
542
548
  - `PluginHookObject` -> `CallbackDescriptor`
@@ -1308,7 +1314,6 @@
1308
1314
  resources, and more. So, we've renamed lots of things as part of the API
1309
1315
  stabilization work. You're probably only affected by the first 2 bullet
1310
1316
  points.
1311
-
1312
1317
  - `pgConfigs` -> `pgServices` (also applies to related `pgConfig` terms such
1313
1318
  as `makePgConfig` -> `makePgService`, `MakePgConfigOptions` ->
1314
1319
  `MakePgServiceOptions`, etc) - see your `graphile.config.ts` or equivalent
@@ -1529,7 +1534,6 @@
1529
1534
  [`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)
1530
1535
  Thanks [@benjie](https://github.com/benjie)! - 🚨 Breaking changes around
1531
1536
  types and postgres configuration:
1532
-
1533
1537
  - `GraphileBuild.GraphileResolverContext` renamed to `Grafast.Context`
1534
1538
  - `GraphileConfig.GraphQLRequestContext` renamed to `Grafast.RequestContext`
1535
1539
  - `Grafast.PgDatabaseAdaptorOptions` renaed to
@@ -1565,7 +1569,6 @@
1565
1569
 
1566
1570
  - [`72bf5f535`](undefined) - Overhaul the behavior system (see
1567
1571
  https://postgraphile.org/postgraphile/next/behavior).
1568
-
1569
1572
  - Adds `schema.defaultBehavior` configuration option to save having to write a
1570
1573
  plugin for such a simple task
1571
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.35";
1
+ export declare const version = "5.0.0-beta.36";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // This file is autogenerated by /scripts/postversion.mjs
5
- exports.version = "5.0.0-beta.35";
5
+ exports.version = "5.0.0-beta.36";
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-build",
3
- "version": "5.0.0-beta.35",
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,7 +36,7 @@
36
36
  },
37
37
  "homepage": "https://graphile.org/graphile-build/",
38
38
  "dependencies": {
39
- "@types/node": "^22.15.32",
39
+ "@types/node": "^22.16.3",
40
40
  "@types/pluralize": "^0.0.30",
41
41
  "@types/semver": "^7.7.0",
42
42
  "chalk": "^4.1.2",
@@ -53,10 +53,18 @@
53
53
  "node": ">=16"
54
54
  },
55
55
  "peerDependencies": {
56
- "grafast": "^0.1.1-beta.23",
56
+ "grafast": "^0.1.1-beta.24",
57
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"
@@ -64,9 +72,10 @@
64
72
  "devDependencies": {
65
73
  "@types/debug": "^4.1.12",
66
74
  "@types/jest": "^30.0.0",
75
+ "grafast": "^0.1.1-beta.24",
67
76
  "graphile-export": "^0.0.2-beta.29",
68
77
  "graphql": "16.1.0-experimental-stream-defer.6",
69
- "jest": "^30.0.0",
78
+ "jest": "^30.0.4",
70
79
  "ts-node": "^10.9.2",
71
80
  "typescript": "^5.8.3"
72
81
  }