graphile-settings 4.25.2 → 4.27.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.
@@ -28,8 +28,8 @@ import type { GraphileConfig } from 'graphile-config';
28
28
  * orderBy score — zero config)
29
29
  * - pg_trgm fuzzy matching (similarTo/wordSimilarTo on text columns, similarity score fields,
30
30
  * orderBy similarity — zero config, typo-tolerant)
31
- * - ltree support (auto-detects ltree columns, LTree scalar, folder fields, containment/glob filters)
32
- * - Folder operators (within, ancestorOf, glob — slash-delimited path interface)
31
+ * - ltree support (auto-detects ltree columns, LTree scalar with file-path syntax,
32
+ * containment/glob filters within, ancestorOf, glob)
33
33
  *
34
34
  * RELATION FILTERS:
35
35
  * - Enabled via connectionFilterRelations: true
@@ -1,6 +1,6 @@
1
1
  import { BucketProvisionerPreset } from 'graphile-bucket-provisioner-plugin';
2
2
  import { ConnectionFilterPreset } from 'graphile-connection-filter';
3
- import { createFolderOperatorFactory, createLtreeOperatorFactory, GraphileFolderPreset } from 'graphile-ltree';
3
+ import { createFolderOperatorFactory, GraphileLtreePreset } from 'graphile-ltree';
4
4
  import { createPostgisOperatorFactory, GraphilePostgisPreset } from 'graphile-postgis';
5
5
  import { PresignedUrlPreset } from 'graphile-presigned-url-plugin';
6
6
  import { createMatchesOperatorFactory, createTrgmOperatorFactories, UnifiedSearchPreset } from 'graphile-search';
@@ -39,8 +39,8 @@ import { constructiveUploadFieldDefinitions } from '../upload-resolver';
39
39
  * orderBy score — zero config)
40
40
  * - pg_trgm fuzzy matching (similarTo/wordSimilarTo on text columns, similarity score fields,
41
41
  * orderBy similarity — zero config, typo-tolerant)
42
- * - ltree support (auto-detects ltree columns, LTree scalar, folder fields, containment/glob filters)
43
- * - Folder operators (within, ancestorOf, glob — slash-delimited path interface)
42
+ * - ltree support (auto-detects ltree columns, LTree scalar with file-path syntax,
43
+ * containment/glob filters within, ancestorOf, glob)
44
44
  *
45
45
  * RELATION FILTERS:
46
46
  * - Enabled via connectionFilterRelations: true
@@ -76,7 +76,7 @@ export const ConstructivePreset = {
76
76
  MetaSchemaPreset,
77
77
  UnifiedSearchPreset({ fullTextScalarName: 'FullText', tsConfig: 'english' }),
78
78
  GraphilePostgisPreset,
79
- GraphileFolderPreset,
79
+ GraphileLtreePreset,
80
80
  UploadPreset({
81
81
  uploadFieldDefinitions: constructiveUploadFieldDefinitions,
82
82
  maxFileSize: 10 * 1024 * 1024 // 10MB
@@ -154,7 +154,6 @@ export const ConstructivePreset = {
154
154
  createMatchesOperatorFactory('FullText', 'english'),
155
155
  createTrgmOperatorFactories(),
156
156
  createPostgisOperatorFactory(),
157
- createLtreeOperatorFactory(),
158
157
  createFolderOperatorFactory()
159
158
  ]
160
159
  // NOTE: The UnifiedSearchPreset also registers matches + trgm operator factories.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-settings",
3
- "version": "4.25.2",
3
+ "version": "4.27.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "graphile settings",
6
6
  "main": "index.js",
@@ -30,39 +30,39 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-sdk/client-s3": "^3.1009.0",
33
- "@constructive-io/bucket-provisioner": "^0.6.0",
34
- "@constructive-io/graphql-env": "^3.6.1",
35
- "@constructive-io/graphql-types": "^3.5.1",
36
- "@constructive-io/s3-streamer": "^2.19.1",
37
- "@constructive-io/s3-utils": "^2.12.1",
38
- "@constructive-io/upload-names": "^2.11.0",
33
+ "@constructive-io/bucket-provisioner": "^0.7.0",
34
+ "@constructive-io/graphql-env": "^3.7.0",
35
+ "@constructive-io/graphql-types": "^3.6.0",
36
+ "@constructive-io/s3-streamer": "^2.20.0",
37
+ "@constructive-io/s3-utils": "^2.13.0",
38
+ "@constructive-io/upload-names": "^2.12.0",
39
39
  "@dataplan/json": "1.0.0",
40
40
  "@dataplan/pg": "1.0.0",
41
41
  "@graphile-contrib/pg-many-to-many": "2.0.0-rc.2",
42
- "@pgpmjs/logger": "^2.6.0",
43
- "@pgpmjs/types": "^2.22.0",
42
+ "@pgpmjs/logger": "^2.7.0",
43
+ "@pgpmjs/types": "^2.23.0",
44
44
  "@pgsql/quotes": "^17.1.0",
45
45
  "cors": "^2.8.6",
46
46
  "express": "^5.2.1",
47
47
  "grafast": "1.0.0",
48
48
  "grafserv": "1.0.0",
49
- "graphile-bucket-provisioner-plugin": "0.6.0",
49
+ "graphile-bucket-provisioner-plugin": "0.7.0",
50
50
  "graphile-build": "5.0.0",
51
51
  "graphile-build-pg": "5.0.0",
52
52
  "graphile-config": "1.0.0",
53
- "graphile-connection-filter": "^1.5.6",
54
- "graphile-ltree": "^1.1.0",
55
- "graphile-postgis": "^2.11.7",
56
- "graphile-presigned-url-plugin": "^0.9.0",
57
- "graphile-search": "^1.7.6",
58
- "graphile-sql-expression-validator": "^2.7.0",
59
- "graphile-upload-plugin": "^2.6.0",
53
+ "graphile-connection-filter": "^1.6.0",
54
+ "graphile-ltree": "^1.3.0",
55
+ "graphile-postgis": "^2.12.0",
56
+ "graphile-presigned-url-plugin": "^0.11.0",
57
+ "graphile-search": "^1.8.0",
58
+ "graphile-sql-expression-validator": "^2.8.0",
59
+ "graphile-upload-plugin": "^2.7.0",
60
60
  "graphile-utils": "5.0.0",
61
61
  "graphql": "16.13.0",
62
62
  "inflekt": "^0.7.1",
63
63
  "lru-cache": "^11.2.7",
64
64
  "pg": "^8.20.0",
65
- "pg-query-context": "^2.10.0",
65
+ "pg-query-context": "^2.11.0",
66
66
  "pg-sql2": "5.0.0",
67
67
  "postgraphile": "5.0.0",
68
68
  "request-ip": "^3.3.0",
@@ -73,7 +73,7 @@
73
73
  "@types/express": "^5.0.6",
74
74
  "@types/pg": "^8.18.0",
75
75
  "@types/request-ip": "^0.0.41",
76
- "graphile-test": "^4.9.5",
76
+ "graphile-test": "^4.10.0",
77
77
  "makage": "^0.3.0",
78
78
  "nodemon": "^3.1.14",
79
79
  "ts-node": "^10.9.2"
@@ -85,5 +85,5 @@
85
85
  "constructive",
86
86
  "graphql"
87
87
  ],
88
- "gitHead": "37b54b83a93b12743ef84507086cdcb935357678"
88
+ "gitHead": "7409479a981ff63a0937b5406a1c206a07b264ad"
89
89
  }
@@ -28,8 +28,8 @@ import type { GraphileConfig } from 'graphile-config';
28
28
  * orderBy score — zero config)
29
29
  * - pg_trgm fuzzy matching (similarTo/wordSimilarTo on text columns, similarity score fields,
30
30
  * orderBy similarity — zero config, typo-tolerant)
31
- * - ltree support (auto-detects ltree columns, LTree scalar, folder fields, containment/glob filters)
32
- * - Folder operators (within, ancestorOf, glob — slash-delimited path interface)
31
+ * - ltree support (auto-detects ltree columns, LTree scalar with file-path syntax,
32
+ * containment/glob filters within, ancestorOf, glob)
33
33
  *
34
34
  * RELATION FILTERS:
35
35
  * - Enabled via connectionFilterRelations: true
@@ -42,8 +42,8 @@ const upload_resolver_1 = require("../upload-resolver");
42
42
  * orderBy score — zero config)
43
43
  * - pg_trgm fuzzy matching (similarTo/wordSimilarTo on text columns, similarity score fields,
44
44
  * orderBy similarity — zero config, typo-tolerant)
45
- * - ltree support (auto-detects ltree columns, LTree scalar, folder fields, containment/glob filters)
46
- * - Folder operators (within, ancestorOf, glob — slash-delimited path interface)
45
+ * - ltree support (auto-detects ltree columns, LTree scalar with file-path syntax,
46
+ * containment/glob filters within, ancestorOf, glob)
47
47
  *
48
48
  * RELATION FILTERS:
49
49
  * - Enabled via connectionFilterRelations: true
@@ -79,7 +79,7 @@ exports.ConstructivePreset = {
79
79
  plugins_1.MetaSchemaPreset,
80
80
  (0, graphile_search_1.UnifiedSearchPreset)({ fullTextScalarName: 'FullText', tsConfig: 'english' }),
81
81
  graphile_postgis_1.GraphilePostgisPreset,
82
- graphile_ltree_1.GraphileFolderPreset,
82
+ graphile_ltree_1.GraphileLtreePreset,
83
83
  (0, graphile_upload_plugin_1.UploadPreset)({
84
84
  uploadFieldDefinitions: upload_resolver_1.constructiveUploadFieldDefinitions,
85
85
  maxFileSize: 10 * 1024 * 1024 // 10MB
@@ -157,7 +157,6 @@ exports.ConstructivePreset = {
157
157
  (0, graphile_search_1.createMatchesOperatorFactory)('FullText', 'english'),
158
158
  (0, graphile_search_1.createTrgmOperatorFactories)(),
159
159
  (0, graphile_postgis_1.createPostgisOperatorFactory)(),
160
- (0, graphile_ltree_1.createLtreeOperatorFactory)(),
161
160
  (0, graphile_ltree_1.createFolderOperatorFactory)()
162
161
  ]
163
162
  // NOTE: The UnifiedSearchPreset also registers matches + trgm operator factories.