@constructive-io/graphql-server 5.29.2 → 5.31.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 +7 -0
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -56,6 +56,13 @@ This starts the server with env defaults from `@constructive-io/graphql-env`.
|
|
|
56
56
|
|
|
57
57
|
## What it does
|
|
58
58
|
|
|
59
|
+
Platform deployments connect through one pgpm-provisioned `NOSUPERUSER INHERIT
|
|
60
|
+
BYPASSRLS` login with direct metadata privileges, configured only with
|
|
61
|
+
`PGUSER`/`PGPASSWORD`. Startup and routing queries use that pool login directly.
|
|
62
|
+
Requests continue to switch to `authenticated` or `anonymous`, so PostgreSQL
|
|
63
|
+
enforces their RLS policies; the login's BYPASSRLS attribute is not inherited
|
|
64
|
+
after `SET ROLE`.
|
|
65
|
+
|
|
59
66
|
Runs an Express server that wires CORS, uploads, domain parsing, auth, and PostGraphile into a single GraphQL endpoint. It serves `/graphql` and `/graphiql`, injects per-request `pgSettings`, and flushes cached schemas on demand or via database notifications. When meta API is enabled, it resolves API config (schemas, roles, modules) from the meta schema using the request host and enforces `api.isPublic`, with optional header overrides in private mode; when meta API is disabled, it serves the fixed schemas and roles from `api.exposedSchemas`, `api.anonRole`, and `api.roleName`.
|
|
60
67
|
|
|
61
68
|
## Key Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/graphql-server",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.31.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive GraphQL Server",
|
|
6
6
|
"main": "index.js",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"@agentic-kit/ollama": "2.15.0",
|
|
44
44
|
"@constructive-io/csrf": "^0.30.1",
|
|
45
45
|
"@constructive-io/errors": "^0.24.0",
|
|
46
|
-
"@constructive-io/express-context": "^0.
|
|
47
|
-
"@constructive-io/graphql-env": "^3.
|
|
48
|
-
"@constructive-io/graphql-types": "^3.
|
|
46
|
+
"@constructive-io/express-context": "^0.34.1",
|
|
47
|
+
"@constructive-io/graphql-env": "^3.36.1",
|
|
48
|
+
"@constructive-io/graphql-types": "^3.35.1",
|
|
49
49
|
"@constructive-io/llm-env": "^0.15.0",
|
|
50
|
-
"@constructive-io/query-builder": "^3.16.
|
|
50
|
+
"@constructive-io/query-builder": "^3.16.10",
|
|
51
51
|
"@constructive-io/s3-utils": "^2.34.0",
|
|
52
52
|
"@constructive-io/url-domains": "^2.31.0",
|
|
53
53
|
"@graphile-contrib/pg-many-to-many": "2.0.0-rc.2",
|
|
54
|
-
"@pgpmjs/env": "^2.47.
|
|
54
|
+
"@pgpmjs/env": "^2.47.1",
|
|
55
55
|
"@pgpmjs/logger": "^2.26.0",
|
|
56
|
-
"@pgpmjs/server-utils": "^3.29.
|
|
57
|
-
"@pgpmjs/types": "^2.57.
|
|
56
|
+
"@pgpmjs/server-utils": "^3.29.8",
|
|
57
|
+
"@pgpmjs/types": "^2.57.1",
|
|
58
58
|
"@pgsql/quotes": "^18.2.4",
|
|
59
59
|
"@simplewebauthn/server": "13.3.2",
|
|
60
60
|
"cors": "^2.8.6",
|
|
@@ -65,20 +65,20 @@
|
|
|
65
65
|
"grafserv": "1.0.1",
|
|
66
66
|
"graphile-build": "5.1.1",
|
|
67
67
|
"graphile-build-pg": "5.1.3",
|
|
68
|
-
"graphile-cache": "^4.
|
|
68
|
+
"graphile-cache": "^4.15.1",
|
|
69
69
|
"graphile-config": "1.1.0",
|
|
70
|
-
"graphile-function-bindings": "^1.17.
|
|
70
|
+
"graphile-function-bindings": "^1.17.11",
|
|
71
71
|
"graphile-plugin-utils": "^1.13.0",
|
|
72
|
-
"graphile-scoped-introspection": "^0.4.
|
|
73
|
-
"graphile-settings": "^6.25.
|
|
72
|
+
"graphile-scoped-introspection": "^0.4.11",
|
|
73
|
+
"graphile-settings": "^6.25.3",
|
|
74
74
|
"graphile-utils": "5.0.3",
|
|
75
75
|
"graphql": "16.13.0",
|
|
76
76
|
"graphql-upload": "^13.0.0",
|
|
77
77
|
"lru-cache": "^11.2.7",
|
|
78
78
|
"pg": "^8.21.0",
|
|
79
|
-
"pg-cache": "^3.29.
|
|
80
|
-
"pg-env": "^1.32.
|
|
81
|
-
"pg-query-context": "^2.
|
|
79
|
+
"pg-cache": "^3.29.8",
|
|
80
|
+
"pg-env": "^1.32.1",
|
|
81
|
+
"pg-query-context": "^2.32.1",
|
|
82
82
|
"pg-sql2": "5.0.1",
|
|
83
83
|
"postgraphile": "5.1.4",
|
|
84
84
|
"request-ip": "^3.3.0"
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
"@types/request-ip": "^0.0.41",
|
|
94
94
|
"@types/supertest": "^7.2.1",
|
|
95
95
|
"cookie-parser": "^1.4.7",
|
|
96
|
-
"graphile-test": "5.17.
|
|
96
|
+
"graphile-test": "5.17.11",
|
|
97
97
|
"makage": "^0.8.0",
|
|
98
98
|
"nodemon": "^3.1.14",
|
|
99
99
|
"supertest": "^7.2.2",
|
|
100
100
|
"ts-node": "^10.9.2"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "bf845a1b0701f57f6900d9e2a3c66ea48e125cc3"
|
|
103
103
|
}
|