@softistx/alxia-graphql 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/docs/migrating-to-graxia.md +3 -3
- package/docs/troubleshooting.md +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ bun add -d typescript
|
|
|
15
15
|
bun add @softistx/graxia-envelop @envelop/depth-limit # install yourself to use Envelop plugins
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
`@softistx/graxia` (`^0.
|
|
18
|
+
`@softistx/graxia` (`^0.16.0 || ^0.17.0`), `@softistx/graxia-graphiql` (`^0.4.0`) and `graphql` (17.1 or later) are peers:
|
|
19
19
|
the package declares no dependency. `@softistx/graxia-graphiql` serves the IDE and is
|
|
20
20
|
required. CSRF protection is graxia's default (on): a `GET` needs one of the
|
|
21
21
|
`x-graphql-csrf`, `graphql-require-preflight`, `apollo-require-preflight` or
|
|
@@ -26,16 +26,16 @@ bun add graphql@^17.1.0
|
|
|
26
26
|
|
|
27
27
|
| Before | After |
|
|
28
28
|
| --- | --- |
|
|
29
|
-
| `graphql-yoga` | `@softistx/graxia` `^0.
|
|
29
|
+
| `graphql-yoga` | `@softistx/graxia` `^0.16.0 \|\| ^0.17.0` (0.10 sets the HTTP status from errors again) |
|
|
30
30
|
| `graphql-ws` (for `ws`) | nothing: graxia speaks `graphql-transport-ws` |
|
|
31
|
-
| bundled GraphiQL of Yoga | `@softistx/graxia-graphiql` `^0.
|
|
31
|
+
| bundled GraphiQL of Yoga | `@softistx/graxia-graphiql` `^0.4.0` (required) |
|
|
32
32
|
| Envelop plugins | not a peer: install `@softistx/graxia-envelop` yourself to use Envelop plugins |
|
|
33
33
|
|
|
34
34
|
`@softistx/graxia-graphiql` peers on exactly one core minor, so install the one that matches:
|
|
35
35
|
|
|
36
36
|
| `@softistx/graxia` | `@softistx/graxia-graphiql` |
|
|
37
37
|
| --- | --- |
|
|
38
|
-
| 0.
|
|
38
|
+
| 0.16 | 0.4.0 |
|
|
39
39
|
|
|
40
40
|
Before the move to the `@softistx` scope, the packages were `@graxia/core` and `@graxia/graphiql`:
|
|
41
41
|
core 0.10 to 0.14 paired with graphiql 0.2.4 to 0.2.8 (one graphiql patch per core minor).
|
package/docs/troubleshooting.md
CHANGED
|
@@ -883,11 +883,11 @@ subscribe: () => boundedStream(source, { idleMs: 90_000, totalMs: 600_000, check
|
|
|
883
883
|
other than the one installed, or the install holds two copies of core.
|
|
884
884
|
|
|
885
885
|
**Why:** each `@softistx/graxia-graphiql` release peers on exactly one core minor
|
|
886
|
-
(0.
|
|
886
|
+
(0.4.0 on core 0.16; under the former `@graxia/*` names, 0.2.4 on core 0.10 up
|
|
887
887
|
to 0.2.8 on 0.14).
|
|
888
888
|
|
|
889
889
|
**Fix:** install the graphiql that matches your core, for example
|
|
890
|
-
`bun add @softistx/graxia-graphiql@^0.
|
|
890
|
+
`bun add @softistx/graxia-graphiql@^0.4.0` with `@softistx/graxia` 0.16.
|
|
891
891
|
|
|
892
892
|
### The IDE page is blank
|
|
893
893
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softistx/alxia-graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "GraphQL for alxia served by @softistx/graxia: its plugins, subscriptions over SSE or WebSocket and GraphiQL, behind the app's hooks, its resolvers reading the app's typed context",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"registry": "https://registry.npmjs.org",
|
|
36
|
-
"access": "
|
|
36
|
+
"access": "restricted"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "bun run ../../build.ts",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@softistx/alxia-telemetry": "^0.10.0",
|
|
53
53
|
"@envelop/core": "^6.0.1",
|
|
54
54
|
"@envelop/depth-limit": "^7.2.1",
|
|
55
|
-
"@softistx/graxia": "^0.
|
|
56
|
-
"@softistx/graxia-envelop": "^0.2.
|
|
57
|
-
"@softistx/graxia-graphiql": "^0.
|
|
55
|
+
"@softistx/graxia": "^0.17.0",
|
|
56
|
+
"@softistx/graxia-envelop": "^0.2.2",
|
|
57
|
+
"@softistx/graxia-graphiql": "^0.4.1",
|
|
58
58
|
"@softistx/telemetry": "^0.5.0",
|
|
59
59
|
"@types/bun": "^1.4.4",
|
|
60
60
|
"dataloader": "^2.2.3",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@softistx/alxia": "^0.28.0",
|
|
65
65
|
"graphql": "^17.1.0",
|
|
66
66
|
"typescript": "^6.0.3 || ^7.0.0",
|
|
67
|
-
"@softistx/graxia": "^0.
|
|
68
|
-
"@softistx/graxia-graphiql": "^0.
|
|
67
|
+
"@softistx/graxia": "^0.16.0 || ^0.17.0",
|
|
68
|
+
"@softistx/graxia-graphiql": "^0.4.0"
|
|
69
69
|
}
|
|
70
70
|
}
|