grafserv 0.0.1-alpha.14 → 0.0.1-alpha.16

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +156 -130
  2. package/README.md +1 -247
  3. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,30 +1,56 @@
1
1
  # grafserv
2
2
 
3
+ ## 0.0.1-alpha.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ [[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)]:
9
+ - grafast@0.0.1-alpha.16
10
+
11
+ ## 0.0.1-alpha.15
12
+
13
+ ### Patch Changes
14
+
15
+ - [#422](https://github.com/benjie/crystal/pull/422)
16
+ [`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)
17
+ Thanks [@benjie](https://github.com/benjie)! - Comments enabled in released
18
+ packages
19
+
20
+ - Updated dependencies
21
+ [[`ea003ca3a`](https://github.com/benjie/crystal/commit/ea003ca3a8f68fb87dca603582e47981ed033996),
22
+ [`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b),
23
+ [`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d),
24
+ [`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)]:
25
+ - grafast@0.0.1-alpha.15
26
+ - graphile-config@0.0.1-alpha.7
27
+ - ruru@2.0.0-alpha.11
28
+
3
29
  ## 0.0.1-alpha.14
4
30
 
5
31
  ### Patch Changes
6
32
 
7
33
  - Updated dependencies
8
- [[`d99d666fb`](https://github.com/benjie/postgraphile-private/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
34
+ [[`d99d666fb`](https://github.com/benjie/crystal/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
9
35
  - grafast@0.0.1-alpha.14
10
36
 
11
37
  ## 0.0.1-alpha.13
12
38
 
13
39
  ### Patch Changes
14
40
 
15
- - [#418](https://github.com/benjie/postgraphile-private/pull/418)
16
- [`9ab2adba2`](https://github.com/benjie/postgraphile-private/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
41
+ - [#418](https://github.com/benjie/crystal/pull/418)
42
+ [`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
17
43
  Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
18
44
  dependencies to try and eliminate duplicate modules error.
19
45
  - Updated dependencies
20
- [[`620f9e07e`](https://github.com/benjie/postgraphile-private/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
21
- [`1882e0185`](https://github.com/benjie/postgraphile-private/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
22
- [`881672305`](https://github.com/benjie/postgraphile-private/commit/88167230578393e3b24a364f0d673e36c5cb088d),
23
- [`e5012f9a1`](https://github.com/benjie/postgraphile-private/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
24
- [`9ab2adba2`](https://github.com/benjie/postgraphile-private/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
25
- [`47f6f018b`](https://github.com/benjie/postgraphile-private/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
26
- [`ff4395bfc`](https://github.com/benjie/postgraphile-private/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
27
- [`502b23340`](https://github.com/benjie/postgraphile-private/commit/502b233401975637bc0d516af78721b37f6f9b7b)]:
46
+ [[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
47
+ [`1882e0185`](https://github.com/benjie/crystal/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
48
+ [`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d),
49
+ [`e5012f9a1`](https://github.com/benjie/crystal/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
50
+ [`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
51
+ [`47f6f018b`](https://github.com/benjie/crystal/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
52
+ [`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
53
+ [`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b)]:
28
54
  - grafast@0.0.1-alpha.13
29
55
  - ruru@2.0.0-alpha.10
30
56
 
@@ -33,10 +59,10 @@
33
59
  ### Patch Changes
34
60
 
35
61
  - Updated dependencies
36
- [[`9281a2d88`](https://github.com/benjie/postgraphile-private/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
37
- [`675b7abb9`](https://github.com/benjie/postgraphile-private/commit/675b7abb93e11d955930b9026fb0b65a56ecc999),
38
- [`c5050dd28`](https://github.com/benjie/postgraphile-private/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd),
39
- [`0d1782869`](https://github.com/benjie/postgraphile-private/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37)]:
62
+ [[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
63
+ [`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999),
64
+ [`c5050dd28`](https://github.com/benjie/crystal/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd),
65
+ [`0d1782869`](https://github.com/benjie/crystal/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37)]:
40
66
  - grafast@0.0.1-alpha.12
41
67
  - graphile-config@0.0.1-alpha.6
42
68
  - ruru@2.0.0-alpha.9
@@ -46,7 +72,7 @@
46
72
  ### Patch Changes
47
73
 
48
74
  - Updated dependencies
49
- [[`644938276`](https://github.com/benjie/postgraphile-private/commit/644938276ebd48c5486ba9736a525fcc66d7d714)]:
75
+ [[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)]:
50
76
  - graphile-config@0.0.1-alpha.5
51
77
  - grafast@0.0.1-alpha.11
52
78
  - ruru@2.0.0-alpha.8
@@ -55,20 +81,20 @@
55
81
 
56
82
  ### Patch Changes
57
83
 
58
- - [#399](https://github.com/benjie/postgraphile-private/pull/399)
59
- [`409581534`](https://github.com/benjie/postgraphile-private/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd)
84
+ - [#399](https://github.com/benjie/crystal/pull/399)
85
+ [`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd)
60
86
  Thanks [@benjie](https://github.com/benjie)! - Change many of the dependencies
61
87
  to be instead (or also) peerDependencies, to avoid duplicate modules.
62
88
  - Updated dependencies
63
- [[`409581534`](https://github.com/benjie/postgraphile-private/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
64
- [`b7533bd4d`](https://github.com/benjie/postgraphile-private/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
65
- [`9feb769c2`](https://github.com/benjie/postgraphile-private/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
66
- [`7573bf374`](https://github.com/benjie/postgraphile-private/commit/7573bf374897228b613b19f37b4e076737db3279),
67
- [`2c8586b36`](https://github.com/benjie/postgraphile-private/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
68
- [`c43802d74`](https://github.com/benjie/postgraphile-private/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
69
- [`b118b8f6d`](https://github.com/benjie/postgraphile-private/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
70
- [`9008c4f87`](https://github.com/benjie/postgraphile-private/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
71
- [`e8c81cd20`](https://github.com/benjie/postgraphile-private/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a)]:
89
+ [[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
90
+ [`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
91
+ [`9feb769c2`](https://github.com/benjie/crystal/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
92
+ [`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279),
93
+ [`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
94
+ [`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
95
+ [`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
96
+ [`9008c4f87`](https://github.com/benjie/crystal/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
97
+ [`e8c81cd20`](https://github.com/benjie/crystal/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a)]:
72
98
  - grafast@0.0.1-alpha.10
73
99
  - ruru@2.0.0-alpha.7
74
100
 
@@ -77,12 +103,12 @@
77
103
  ### Patch Changes
78
104
 
79
105
  - Updated dependencies
80
- [[`56237691b`](https://github.com/benjie/postgraphile-private/commit/56237691bf3eed321b7159e17f36e3651356946f),
81
- [`ed1982f31`](https://github.com/benjie/postgraphile-private/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
82
- [`1fe47a2b0`](https://github.com/benjie/postgraphile-private/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
83
- [`198ac74d5`](https://github.com/benjie/postgraphile-private/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25),
84
- [`6878c589c`](https://github.com/benjie/postgraphile-private/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
85
- [`2ac706f18`](https://github.com/benjie/postgraphile-private/commit/2ac706f18660c855fe20f460b50694fdd04a7768)]:
106
+ [[`56237691b`](https://github.com/benjie/crystal/commit/56237691bf3eed321b7159e17f36e3651356946f),
107
+ [`ed1982f31`](https://github.com/benjie/crystal/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
108
+ [`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
109
+ [`198ac74d5`](https://github.com/benjie/crystal/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25),
110
+ [`6878c589c`](https://github.com/benjie/crystal/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
111
+ [`2ac706f18`](https://github.com/benjie/crystal/commit/2ac706f18660c855fe20f460b50694fdd04a7768)]:
86
112
  - grafast@0.0.1-alpha.9
87
113
  - graphile-config@0.0.1-alpha.4
88
114
  - ruru@2.0.0-alpha.6
@@ -92,23 +118,23 @@
92
118
  ### Patch Changes
93
119
 
94
120
  - Updated dependencies
95
- [[`dd3ef599c`](https://github.com/benjie/postgraphile-private/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
121
+ [[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
96
122
  - grafast@0.0.1-alpha.8
97
123
 
98
124
  ## 0.0.1-alpha.7
99
125
 
100
126
  ### Patch Changes
101
127
 
102
- - [#346](https://github.com/benjie/postgraphile-private/pull/346)
103
- [`9ddaaaa96`](https://github.com/benjie/postgraphile-private/commit/9ddaaaa9617874cb44946acfcd252517ae427446)
128
+ - [#346](https://github.com/benjie/crystal/pull/346)
129
+ [`9ddaaaa96`](https://github.com/benjie/crystal/commit/9ddaaaa9617874cb44946acfcd252517ae427446)
104
130
  Thanks [@benjie](https://github.com/benjie)! - Fix a bug in subscriptions
105
131
  where variables were not recognized
106
132
 
107
133
  - Updated dependencies
108
- [[`5c9d32264`](https://github.com/benjie/postgraphile-private/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
109
- [`2fcbe688c`](https://github.com/benjie/postgraphile-private/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
110
- [`3a984718a`](https://github.com/benjie/postgraphile-private/commit/3a984718a322685304777dec7cd48a1efa15539d),
111
- [`adc7ae5e0`](https://github.com/benjie/postgraphile-private/commit/adc7ae5e002961c8b8286500527752f21139ab9e)]:
134
+ [[`5c9d32264`](https://github.com/benjie/crystal/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
135
+ [`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
136
+ [`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d),
137
+ [`adc7ae5e0`](https://github.com/benjie/crystal/commit/adc7ae5e002961c8b8286500527752f21139ab9e)]:
112
138
  - grafast@0.0.1-alpha.7
113
139
  - graphile-config@0.0.1-alpha.3
114
140
  - ruru@2.0.0-alpha.5
@@ -118,7 +144,7 @@
118
144
  ### Patch Changes
119
145
 
120
146
  - Updated dependencies
121
- [[`f75926f4b`](https://github.com/benjie/postgraphile-private/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)]:
147
+ [[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)]:
122
148
  - grafast@0.0.1-alpha.6
123
149
 
124
150
  ## 0.0.1-alpha.5
@@ -126,8 +152,8 @@
126
152
  ### Patch Changes
127
153
 
128
154
  - Updated dependencies
129
- [[`86e503d78`](https://github.com/benjie/postgraphile-private/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
130
- [`24822d0dc`](https://github.com/benjie/postgraphile-private/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
155
+ [[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
156
+ [`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
131
157
  - grafast@0.0.1-alpha.5
132
158
 
133
159
  ## 0.0.1-alpha.4
@@ -135,8 +161,8 @@
135
161
  ### Patch Changes
136
162
 
137
163
  - Updated dependencies
138
- [[`45dcf3a8f`](https://github.com/benjie/postgraphile-private/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950),
139
- [`f34bd5a3c`](https://github.com/benjie/postgraphile-private/commit/f34bd5a3c353693b86a0307357a3620110700e1c)]:
164
+ [[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950),
165
+ [`f34bd5a3c`](https://github.com/benjie/crystal/commit/f34bd5a3c353693b86a0307357a3620110700e1c)]:
140
166
  - grafast@0.0.1-alpha.4
141
167
  - ruru@2.0.0-alpha.4
142
168
 
@@ -144,18 +170,18 @@
144
170
 
145
171
  ### Patch Changes
146
172
 
147
- - [`7f857950a`](https://github.com/benjie/postgraphile-private/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
173
+ - [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
148
174
  Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
149
175
  TypeScript/tslib
150
176
 
151
177
  - Updated dependencies
152
- [[`98ae00f59`](https://github.com/benjie/postgraphile-private/commit/98ae00f59a8ab3edc5718ad8437a0dab734a7d69),
153
- [`2389f47ec`](https://github.com/benjie/postgraphile-private/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
154
- [`2fe247f75`](https://github.com/benjie/postgraphile-private/commit/2fe247f751377e18b3d6809cba39a01aa1602dbc),
155
- [`e91ee201d`](https://github.com/benjie/postgraphile-private/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
156
- [`865bec590`](https://github.com/benjie/postgraphile-private/commit/865bec5901f666e147f5d4088152d1f0d2584827),
157
- [`7f857950a`](https://github.com/benjie/postgraphile-private/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
158
- [`d39a5d409`](https://github.com/benjie/postgraphile-private/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
178
+ [[`98ae00f59`](https://github.com/benjie/crystal/commit/98ae00f59a8ab3edc5718ad8437a0dab734a7d69),
179
+ [`2389f47ec`](https://github.com/benjie/crystal/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
180
+ [`2fe247f75`](https://github.com/benjie/crystal/commit/2fe247f751377e18b3d6809cba39a01aa1602dbc),
181
+ [`e91ee201d`](https://github.com/benjie/crystal/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
182
+ [`865bec590`](https://github.com/benjie/crystal/commit/865bec5901f666e147f5d4088152d1f0d2584827),
183
+ [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
184
+ [`d39a5d409`](https://github.com/benjie/crystal/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
159
185
  - @graphile/lru@5.0.0-alpha.2
160
186
  - grafast@0.0.1-alpha.3
161
187
  - ruru@2.0.0-alpha.3
@@ -165,8 +191,8 @@
165
191
 
166
192
  ### Patch Changes
167
193
 
168
- - [#305](https://github.com/benjie/postgraphile-private/pull/305)
169
- [`3cf35fdb4`](https://github.com/benjie/postgraphile-private/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8)
194
+ - [#305](https://github.com/benjie/crystal/pull/305)
195
+ [`3cf35fdb4`](https://github.com/benjie/crystal/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8)
170
196
  Thanks [@benjie](https://github.com/benjie)! - 🚨 Ruru is now a CommonJS
171
197
  module, no longer an ESM module.
172
198
 
@@ -211,8 +237,8 @@
211
237
  };
212
238
  ```
213
239
 
214
- - [#307](https://github.com/benjie/postgraphile-private/pull/307)
215
- [`7c45eaf4e`](https://github.com/benjie/postgraphile-private/commit/7c45eaf4ed6edf3b9e7bb17846d553f5504e0fb4)
240
+ - [#307](https://github.com/benjie/crystal/pull/307)
241
+ [`7c45eaf4e`](https://github.com/benjie/crystal/commit/7c45eaf4ed6edf3b9e7bb17846d553f5504e0fb4)
216
242
  Thanks [@benjie](https://github.com/benjie)! - 🚨
217
243
  'application/x-www-form-urlencoded' is now opt-in (unless you're using the V4
218
244
  preset).
@@ -278,8 +304,8 @@
278
304
  so disabling it does not make your server non-compliant.
279
305
 
280
306
  - Updated dependencies
281
- [[`3cf35fdb4`](https://github.com/benjie/postgraphile-private/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8),
282
- [`3df3f1726`](https://github.com/benjie/postgraphile-private/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
307
+ [[`3cf35fdb4`](https://github.com/benjie/crystal/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8),
308
+ [`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
283
309
  - ruru@2.0.0-alpha.2
284
310
  - grafast@0.0.1-alpha.2
285
311
 
@@ -287,12 +313,12 @@
287
313
 
288
314
  ### Patch Changes
289
315
 
290
- - [`759ad403d`](https://github.com/benjie/postgraphile-private/commit/759ad403d71363312c5225c165873ae84b8a098c)
316
+ - [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
291
317
  Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
292
318
  https://postgraphile.org/news/2023-04-26-version-5-alpha
293
319
 
294
320
  - Updated dependencies
295
- [[`759ad403d`](https://github.com/benjie/postgraphile-private/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
321
+ [[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
296
322
  - grafast@0.0.1-alpha.1
297
323
  - ruru@2.0.0-alpha.1
298
324
  - graphile-config@0.0.1-alpha.1
@@ -302,24 +328,24 @@
302
328
 
303
329
  ### Patch Changes
304
330
 
305
- - [#297](https://github.com/benjie/postgraphile-private/pull/297)
306
- [`90ed0cb7a`](https://github.com/benjie/postgraphile-private/commit/90ed0cb7a78479b85115cd1ce045ac253107b3eb)
331
+ - [#297](https://github.com/benjie/crystal/pull/297)
332
+ [`90ed0cb7a`](https://github.com/benjie/crystal/commit/90ed0cb7a78479b85115cd1ce045ac253107b3eb)
307
333
  Thanks [@benjie](https://github.com/benjie)! - Overhaul websocket handling in
308
334
  Grafserv providing cleaner integration with Grafast.
309
335
 
310
- - [#297](https://github.com/benjie/postgraphile-private/pull/297)
311
- [`56be761c2`](https://github.com/benjie/postgraphile-private/commit/56be761c29343e28ba4980c62c955b5adaef25c0)
336
+ - [#297](https://github.com/benjie/crystal/pull/297)
337
+ [`56be761c2`](https://github.com/benjie/crystal/commit/56be761c29343e28ba4980c62c955b5adaef25c0)
312
338
  Thanks [@benjie](https://github.com/benjie)! - Grafserv now has a plugin
313
339
  system (via graphile-config), first plugin hook enables manipulating the
314
340
  incoming request body which is useful for persisted operations.
315
341
 
316
- - [#297](https://github.com/benjie/postgraphile-private/pull/297)
317
- [`1a012bdd7`](https://github.com/benjie/postgraphile-private/commit/1a012bdd7d3748ac9a4ca9b1f771876654988f25)
342
+ - [#297](https://github.com/benjie/crystal/pull/297)
343
+ [`1a012bdd7`](https://github.com/benjie/crystal/commit/1a012bdd7d3748ac9a4ca9b1f771876654988f25)
318
344
  Thanks [@benjie](https://github.com/benjie)! - Tweaked error handling
319
345
  codepaths, extensions can be passed through now and status codes improved.
320
346
  - Updated dependencies
321
- [[`8d270ead3`](https://github.com/benjie/postgraphile-private/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf),
322
- [`b4eaf89f4`](https://github.com/benjie/postgraphile-private/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
347
+ [[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf),
348
+ [`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
323
349
  - grafast@0.0.1-1.3
324
350
  - graphile-config@0.0.1-1.2
325
351
  - ruru@2.0.0-1.2
@@ -329,28 +355,28 @@
329
355
  ### Patch Changes
330
356
 
331
357
  - Updated dependencies
332
- [[`7dcb0e008`](https://github.com/benjie/postgraphile-private/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
358
+ [[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
333
359
  - grafast@0.0.1-1.2
334
360
 
335
361
  ## 0.0.1-1.1
336
362
 
337
363
  ### Patch Changes
338
364
 
339
- - [#260](https://github.com/benjie/postgraphile-private/pull/260)
340
- [`d5312e6b9`](https://github.com/benjie/postgraphile-private/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
365
+ - [#260](https://github.com/benjie/crystal/pull/260)
366
+ [`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
341
367
  Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
342
368
 
343
- - [#282](https://github.com/benjie/postgraphile-private/pull/282)
344
- [`f6e644bd3`](https://github.com/benjie/postgraphile-private/commit/f6e644bd35be1ee2b63c8636785a241d863b8b5d)
369
+ - [#282](https://github.com/benjie/crystal/pull/282)
370
+ [`f6e644bd3`](https://github.com/benjie/crystal/commit/f6e644bd35be1ee2b63c8636785a241d863b8b5d)
345
371
  Thanks [@benjie](https://github.com/benjie)! - Allow accessing websocket
346
372
  connection params via `(ctx as Grafast.RequestContext).ws?.connectionParams`.
347
373
  - Updated dependencies
348
- [[`ae304b33c`](https://github.com/benjie/postgraphile-private/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
349
- [`159735204`](https://github.com/benjie/postgraphile-private/commit/15973520462d4a95e3cdf04fdacfc71ca851122f),
350
- [`d5312e6b9`](https://github.com/benjie/postgraphile-private/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
351
- [`22ec50e36`](https://github.com/benjie/postgraphile-private/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
352
- [`0f4709356`](https://github.com/benjie/postgraphile-private/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
353
- [`395b4a2dd`](https://github.com/benjie/postgraphile-private/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
374
+ [[`ae304b33c`](https://github.com/benjie/crystal/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
375
+ [`159735204`](https://github.com/benjie/crystal/commit/15973520462d4a95e3cdf04fdacfc71ca851122f),
376
+ [`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
377
+ [`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
378
+ [`0f4709356`](https://github.com/benjie/crystal/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
379
+ [`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
354
380
  - grafast@0.0.1-1.1
355
381
  - ruru@2.0.0-1.1
356
382
  - graphile-config@0.0.1-1.1
@@ -361,9 +387,9 @@
361
387
  ### Patch Changes
362
388
 
363
389
  - Updated dependencies
364
- [[`89d16c972`](https://github.com/benjie/postgraphile-private/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
365
- [`8f323bdc8`](https://github.com/benjie/postgraphile-private/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
366
- [`9e7183c02`](https://github.com/benjie/postgraphile-private/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83),
390
+ [[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
391
+ [`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
392
+ [`9e7183c02`](https://github.com/benjie/crystal/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83),
367
393
  [`612092359`](undefined)]:
368
394
  - grafast@0.0.1-0.23
369
395
  - ruru@2.0.0-0.13
@@ -373,7 +399,7 @@
373
399
  ### Patch Changes
374
400
 
375
401
  - Updated dependencies
376
- [[`11e7c12c5`](https://github.com/benjie/postgraphile-private/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
402
+ [[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
377
403
  - graphile-config@0.0.1-0.6
378
404
  - grafast@0.0.1-0.22
379
405
  - ruru@2.0.0-0.12
@@ -382,14 +408,14 @@
382
408
 
383
409
  ### Patch Changes
384
410
 
385
- - [#229](https://github.com/benjie/postgraphile-private/pull/229)
386
- [`a06b8933f`](https://github.com/benjie/postgraphile-private/commit/a06b8933f9365627c2eab019af0c12393e29e509)
411
+ - [#229](https://github.com/benjie/crystal/pull/229)
412
+ [`a06b8933f`](https://github.com/benjie/crystal/commit/a06b8933f9365627c2eab019af0c12393e29e509)
387
413
  Thanks [@benjie](https://github.com/benjie)! - Rename 'eventStreamRoute' to
388
414
  'eventStreamPath' for consistency with 'graphqlPath' and 'graphiqlPath'. V4
389
415
  preset unaffected.
390
416
  - Updated dependencies
391
- [[`f5a04cf66`](https://github.com/benjie/postgraphile-private/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa),
392
- [`b795b3da5`](https://github.com/benjie/postgraphile-private/commit/b795b3da5f8e8f13c495be3a8cf71667f3d149f8)]:
417
+ [[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa),
418
+ [`b795b3da5`](https://github.com/benjie/crystal/commit/b795b3da5f8e8f13c495be3a8cf71667f3d149f8)]:
393
419
  - grafast@0.0.1-0.21
394
420
  - ruru@2.0.0-0.11
395
421
 
@@ -397,8 +423,8 @@
397
423
 
398
424
  ### Patch Changes
399
425
 
400
- - [#226](https://github.com/benjie/postgraphile-private/pull/226)
401
- [`6a846e009`](https://github.com/benjie/postgraphile-private/commit/6a846e00945ba2dcea0cd89f5e6a8ecc5a32775d)
426
+ - [#226](https://github.com/benjie/crystal/pull/226)
427
+ [`6a846e009`](https://github.com/benjie/crystal/commit/6a846e00945ba2dcea0cd89f5e6a8ecc5a32775d)
402
428
  Thanks [@benjie](https://github.com/benjie)! - Enable users to use Grafserv
403
429
  alongside other websocket-enabled entities in their final server.
404
430
  - Updated dependencies [[`aac8732f9`](undefined)]:
@@ -409,7 +435,7 @@
409
435
  ### Patch Changes
410
436
 
411
437
  - Updated dependencies
412
- [[`397e8bb40`](https://github.com/benjie/postgraphile-private/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
438
+ [[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
413
439
  - grafast@0.0.1-0.19
414
440
 
415
441
  ## 0.0.1-0.20
@@ -417,8 +443,8 @@
417
443
  ### Patch Changes
418
444
 
419
445
  - Updated dependencies
420
- [[`4c2b7d1ca`](https://github.com/benjie/postgraphile-private/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
421
- [`c8a56cdc8`](https://github.com/benjie/postgraphile-private/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c)]:
446
+ [[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
447
+ [`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c)]:
422
448
  - grafast@0.0.1-0.18
423
449
 
424
450
  ## 0.0.1-0.19
@@ -433,51 +459,51 @@
433
459
  ### Patch Changes
434
460
 
435
461
  - Updated dependencies
436
- [[`df89aba52`](https://github.com/benjie/postgraphile-private/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
462
+ [[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
437
463
  - grafast@0.0.1-0.16
438
464
 
439
465
  ## 0.0.1-0.17
440
466
 
441
467
  ### Patch Changes
442
468
 
443
- - [#210](https://github.com/benjie/postgraphile-private/pull/210)
444
- [`b523118fe`](https://github.com/benjie/postgraphile-private/commit/b523118fe6217c027363fea91252a3a1764e17df)
469
+ - [#210](https://github.com/benjie/crystal/pull/210)
470
+ [`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)
445
471
  Thanks [@benjie](https://github.com/benjie)! - Replace BaseGraphQLContext with
446
472
  Grafast.Context throughout.
447
473
 
448
- - [#210](https://github.com/benjie/postgraphile-private/pull/210)
449
- [`461c03b72`](https://github.com/benjie/postgraphile-private/commit/461c03b72477821ec26cbf703011542e453d083c)
474
+ - [#210](https://github.com/benjie/crystal/pull/210)
475
+ [`461c03b72`](https://github.com/benjie/crystal/commit/461c03b72477821ec26cbf703011542e453d083c)
450
476
  Thanks [@benjie](https://github.com/benjie)! - Make servers releasable where
451
477
  possible.
452
478
 
453
479
  - Updated dependencies
454
- [[`b523118fe`](https://github.com/benjie/postgraphile-private/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
480
+ [[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
455
481
  - grafast@0.0.1-0.15
456
482
 
457
483
  ## 0.0.1-0.16
458
484
 
459
485
  ### Patch Changes
460
486
 
461
- - [#207](https://github.com/benjie/postgraphile-private/pull/207)
462
- [`c850dd4ec`](https://github.com/benjie/postgraphile-private/commit/c850dd4ec0e42e37122f5bca55a079b53bfd895e)
487
+ - [#207](https://github.com/benjie/crystal/pull/207)
488
+ [`c850dd4ec`](https://github.com/benjie/crystal/commit/c850dd4ec0e42e37122f5bca55a079b53bfd895e)
463
489
  Thanks [@benjie](https://github.com/benjie)! - Rename 'preset.server' to
464
490
  'preset.grafserv'.
465
491
 
466
- - [#207](https://github.com/benjie/postgraphile-private/pull/207)
467
- [`afa0ea5f6`](https://github.com/benjie/postgraphile-private/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0)
492
+ - [#207](https://github.com/benjie/crystal/pull/207)
493
+ [`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0)
468
494
  Thanks [@benjie](https://github.com/benjie)! - Fix bug in subscriptions where
469
495
  termination of underlying stream wouldn't terminate the subscription.
470
496
 
471
- - [#206](https://github.com/benjie/postgraphile-private/pull/206)
472
- [`851b78ef2`](https://github.com/benjie/postgraphile-private/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
497
+ - [#206](https://github.com/benjie/crystal/pull/206)
498
+ [`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7)
473
499
  Thanks [@benjie](https://github.com/benjie)! - Grafserv now masks untrusted
474
500
  errors by default; trusted errors are constructed via GraphQL's GraphQLError
475
501
  or Grafast's SafeError.
476
502
  - Updated dependencies
477
- [[`d76043453`](https://github.com/benjie/postgraphile-private/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
478
- [`afa0ea5f6`](https://github.com/benjie/postgraphile-private/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
479
- [`851b78ef2`](https://github.com/benjie/postgraphile-private/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
480
- [`384b3594f`](https://github.com/benjie/postgraphile-private/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
503
+ [[`d76043453`](https://github.com/benjie/crystal/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
504
+ [`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
505
+ [`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
506
+ [`384b3594f`](https://github.com/benjie/crystal/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
481
507
  - grafast@0.0.1-0.14
482
508
 
483
509
  ## 0.0.1-0.15
@@ -491,21 +517,21 @@
491
517
 
492
518
  ### Patch Changes
493
519
 
494
- - [#200](https://github.com/benjie/postgraphile-private/pull/200)
495
- [`1e5671cdb`](https://github.com/benjie/postgraphile-private/commit/1e5671cdbbf9f4600b74c43eaa7e33b7bfd75fb9)
520
+ - [#200](https://github.com/benjie/crystal/pull/200)
521
+ [`1e5671cdb`](https://github.com/benjie/crystal/commit/1e5671cdbbf9f4600b74c43eaa7e33b7bfd75fb9)
496
522
  Thanks [@benjie](https://github.com/benjie)! - Add support for websocket
497
523
  GraphQL subscriptions (via graphql-ws) to grafserv and PostGraphile (currently
498
524
  supporting Node, Express, Koa and Fastify)
499
525
 
500
- - [#200](https://github.com/benjie/postgraphile-private/pull/200)
501
- [`5b634a78e`](https://github.com/benjie/postgraphile-private/commit/5b634a78e51816071447aceb1edfb813d77d563b)
526
+ - [#200](https://github.com/benjie/crystal/pull/200)
527
+ [`5b634a78e`](https://github.com/benjie/crystal/commit/5b634a78e51816071447aceb1edfb813d77d563b)
502
528
  Thanks [@benjie](https://github.com/benjie)! - Standardize on `serv.addTo`
503
529
  interface, even for Node
504
530
 
505
531
  - Updated dependencies
506
- [[`4f5d5bec7`](https://github.com/benjie/postgraphile-private/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
507
- [`e11698473`](https://github.com/benjie/postgraphile-private/commit/e1169847303790570bfafa07eb25d8fce53a0391),
508
- [`25f5a6cbf`](https://github.com/benjie/postgraphile-private/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
532
+ [[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
533
+ [`e11698473`](https://github.com/benjie/crystal/commit/e1169847303790570bfafa07eb25d8fce53a0391),
534
+ [`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
509
535
  - grafast@0.0.1-0.12
510
536
  - ruru@2.0.0-0.10
511
537
 
@@ -515,14 +541,14 @@
515
541
 
516
542
  - [`0ab95d0b1`](undefined) - Update sponsors.
517
543
 
518
- - [#195](https://github.com/benjie/postgraphile-private/pull/195)
519
- [`752ec9c51`](https://github.com/benjie/postgraphile-private/commit/752ec9c516add7c4617b426e97eccd1d4e5b7833)
544
+ - [#195](https://github.com/benjie/crystal/pull/195)
545
+ [`752ec9c51`](https://github.com/benjie/crystal/commit/752ec9c516add7c4617b426e97eccd1d4e5b7833)
520
546
  Thanks [@benjie](https://github.com/benjie)! - Fix handling of HTTP errors and
521
547
  allow for 204 status code responses. Add CORS hack to enable graphql-http
522
548
  auditing.
523
549
  - Updated dependencies [[`0ab95d0b1`](undefined),
524
- [`4783bdd7c`](https://github.com/benjie/postgraphile-private/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
525
- [`652cf1073`](https://github.com/benjie/postgraphile-private/commit/652cf107316ea5832f69c6a55574632187f5c876)]:
550
+ [`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
551
+ [`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)]:
526
552
  - grafast@0.0.1-0.11
527
553
  - graphile-config@0.0.1-0.5
528
554
  - ruru@2.0.0-0.9
@@ -532,7 +558,7 @@
532
558
  ### Patch Changes
533
559
 
534
560
  - Updated dependencies
535
- [[`842f6ccbb`](https://github.com/benjie/postgraphile-private/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
561
+ [[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
536
562
  - graphile-config@0.0.1-0.4
537
563
  - grafast@0.0.1-0.10
538
564
  - ruru@2.0.0-0.8
@@ -541,13 +567,13 @@
541
567
 
542
568
  ### Patch Changes
543
569
 
544
- - [#176](https://github.com/benjie/postgraphile-private/pull/176)
545
- [`11d6be65e`](https://github.com/benjie/postgraphile-private/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
570
+ - [#176](https://github.com/benjie/crystal/pull/176)
571
+ [`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)
546
572
  Thanks [@benjie](https://github.com/benjie)! - Fix issue with plugin
547
573
  versioning. Add more TSDoc comments. New getTerminalWidth() helper.
548
574
  - Updated dependencies
549
- [[`19e2961de`](https://github.com/benjie/postgraphile-private/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
550
- [`11d6be65e`](https://github.com/benjie/postgraphile-private/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
575
+ [[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
576
+ [`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
551
577
  - graphile-config@0.0.1-0.3
552
578
  - grafast@0.0.1-0.9
553
579
  - ruru@2.0.0-0.7
@@ -557,7 +583,7 @@
557
583
  ### Patch Changes
558
584
 
559
585
  - Updated dependencies
560
- [[`208166269`](https://github.com/benjie/postgraphile-private/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
586
+ [[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
561
587
  - grafast@0.0.1-0.8
562
588
 
563
589
  ## 0.0.1-0.9
@@ -565,7 +591,7 @@
565
591
  ### Patch Changes
566
592
 
567
593
  - Updated dependencies [[`a40fa6966`](undefined),
568
- [`8f04af08d`](https://github.com/benjie/postgraphile-private/commit/8f04af08da68baf7b2b4d508eac0d2a57064da7b)]:
594
+ [`8f04af08d`](https://github.com/benjie/crystal/commit/8f04af08da68baf7b2b4d508eac0d2a57064da7b)]:
569
595
  - ruru@2.0.0-0.6
570
596
  - grafast@0.0.1-0.7
571
597
 
@@ -643,12 +669,12 @@
643
669
 
644
670
  ### Patch Changes
645
671
 
646
- - [#125](https://github.com/benjie/postgraphile-private/pull/125)
647
- [`91f2256b3`](https://github.com/benjie/postgraphile-private/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
672
+ - [#125](https://github.com/benjie/crystal/pull/125)
673
+ [`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
648
674
  Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
649
675
 
650
676
  - Updated dependencies
651
- [[`91f2256b3`](https://github.com/benjie/postgraphile-private/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
677
+ [[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
652
678
  - ruru@2.0.0-0.0
653
679
  - @graphile/lru@5.0.0-0.1
654
680
  - grafast@0.0.1-0.0
package/README.md CHANGED
@@ -31,255 +31,9 @@ And please give some love to our featured sponsors 🤩:
31
31
  </tr><tr>
32
32
  <td align="center"><a href=""><img src="https://graphile.org/images/sponsors/chadf.png" width="90" height="90" alt="Chad Furman" /><br />Chad Furman</a> *</td>
33
33
  <td align="center"><a href="https://stellate.co/"><img src="https://graphile.org/images/sponsors/Stellate.png" width="90" height="90" alt="Stellate" /><br />Stellate</a> *</td>
34
+ <td align="center"><a href="https://www.accenture.com/"><img src="https://graphile.org/images/sponsors/accenture.svg" width="90" height="90" alt="Accenture" /><br />Accenture</a> *</td>
34
35
  </tr></table>
35
36
 
36
37
  <em>\* Sponsors the entire Graphile suite</em>
37
38
 
38
39
  <!-- SPONSORS_END -->
39
-
40
- ## Usage
41
-
42
- Grafserv supports many different servers, and because each server is different
43
- each has their own entrypoint, e.g. `grafserv/node` for the Node.js HTTP server
44
- or `grafserv/express/v4` for Express v4. Generally you import the `grafserv`
45
- function from the relevant entrypoint for your server of choice and then create
46
- an instance:
47
-
48
- ```js
49
- const serv = grafserv({ schema, preset });
50
- ```
51
-
52
- `grafserv` is passed the GraphQL schema to use (if it's available, otherwise
53
- passing either null or a promise is also acceptable) and a `graphql-config`
54
- preset - i.e. your configuration.
55
-
56
- Calling `grafserv` will return an instance; this instance will have a number of
57
- helpers on it, including helpers specific to integrating it with your framework
58
- of choice. For servers that operate on a middleware basis this is typically
59
- `serv.addTo(app)` (which allows registering multiple route handlers), though
60
- different servers may have different APIs, such as `serv.createGraphQLHandler()`
61
- for Lambda and Next.js.
62
-
63
- Note: There is little value in Grafserv reimplementing every non-GraphQL concern
64
- your server may have, so instead it leans on the ecosystem of your chosen server
65
- to handle things like compression, rate limits, sessions, cookies, etc. For
66
- example, to compress your responses you'd need to use a module like
67
- [`compression`](https://expressjs.com/en/resources/middleware/compression.html)
68
- for Express, [`koa-compress`](https://www.npmjs.com/package/koa-compress) for
69
- Koa, or [`@fastify/compress`](https://www.npmjs.com/package/@fastify/compress)
70
- for Fastify.
71
-
72
- ### serv.release()
73
-
74
- Releases any resources created by the instance; no further requests should be
75
- handled (though currently active requests will be allowed to complete).
76
-
77
- // TODO: consider terminating subscriptions or other long-lived things.
78
-
79
- ### serv.onRelease(cb)
80
-
81
- Adds `cb` to the list of callbacks to be called when the server is released;
82
- useful for releasing resources you created only for the server. Callbacks will
83
- be called in reverse order that they were added.
84
-
85
- ### serv.setSchema(newSchema)
86
-
87
- Replaces the schema to use for future requests (currently active requests are
88
- unaffected) - this is primarily used for "watch" mode.
89
-
90
- ### serv.setPreset(newPreset)
91
-
92
- Replaces the config to use for future requests (currently active requests are
93
- unaffected) - this is primarily used for "watch" mode. Note that certain
94
- configuration changes might not be reflected by certain servers until a restart.
95
-
96
- ### serv.getSchema()
97
-
98
- Returns either the GraphQL schema that is currently in use, or a promise to the
99
- same.
100
-
101
- ### serv.getPreset()
102
-
103
- Returns the resolved `graphile-config` preset that is currently in use.
104
-
105
- ## Servers
106
-
107
- ### Node HTTP server
108
-
109
- ```js
110
- import { createServer } from "node:http";
111
- import { grafserv } from "grafserv/node";
112
- import preset from "./graphile.config.mjs";
113
- import schema from "./schema.mjs";
114
-
115
- // Create a Node HTTP server
116
- const server = createServer();
117
- server.on("error", (e) => {
118
- console.error(e);
119
- });
120
-
121
- // Create a Grafserv instance
122
- const serv = grafserv({ schema, preset });
123
-
124
- // Mount the request handler into a new HTTP server, and register websockets if
125
- // desired
126
- serv.addTo(server).catch((e) => {
127
- console.error(e);
128
- process.exit(1);
129
- });
130
-
131
- // Start the Node server
132
- server.listen(preset.grafserv?.port ?? 5678);
133
- ```
134
-
135
- ### Express V4
136
-
137
- ```js
138
- import { createServer } from "node:http";
139
- import express from "express";
140
- import { grafserv } from "grafserv/express/v4";
141
- import preset from "./graphile.config.mjs";
142
- import schema from "./schema.mjs";
143
-
144
- // Create an express app
145
- const app = express();
146
- // (Add any Express middleware you want here.)
147
-
148
- // Create a Node HTTP server, mounting Express into it
149
- const server = createServer(app);
150
- server.on("error", (e) => {
151
- console.error(e);
152
- });
153
-
154
- // Create a Grafserv instance
155
- const serv = grafserv({ schema, preset });
156
-
157
- // Add the Grafserv instance's route handlers to the Express app, and register
158
- // websockets if desired
159
- serv.addTo(app, server).catch((e) => {
160
- console.error(e);
161
- process.exit(1);
162
- });
163
-
164
- // Start the Express server
165
- server.listen(preset.grafserv?.port ?? 5678);
166
- ```
167
-
168
- ### Koa V2
169
-
170
- ```js
171
- import { createServer } from "node:http";
172
- import Koa from "koa";
173
- import { grafserv } from "grafserv/koa/v2";
174
- import preset from "./graphile.config.mjs";
175
- import schema from "./schema.mjs";
176
-
177
- // Create a Koa app
178
- const app = new Koa();
179
- // (Add any Koa middleware you want here.)
180
-
181
- // Create a Node HTTP server, mounting Koa into it
182
- const server = createServer(app);
183
- server.on("error", (e) => {
184
- console.error(e);
185
- });
186
-
187
- // Create a Grafserv instance
188
- const serv = grafserv({ schema, preset });
189
-
190
- // Add the Grafserv instance's route handlers to the Koa app, and register
191
- // websockets if desired
192
- serv.addTo(app, server).catch((e) => {
193
- console.error(e);
194
- process.exit(1);
195
- });
196
-
197
- // Start the Koa server
198
- server.listen(preset.grafserv?.port ?? 5678);
199
- ```
200
-
201
- ### Fastify V4
202
-
203
- ```js
204
- import Fastify from "fastify";
205
- // import websocket from '@fastify/websocket'
206
- import { grafserv } from "grafserv/fastify/v4";
207
- import preset from "./graphile.config.mjs";
208
- import schema from "./schema.mjs";
209
-
210
- // Create a Fastify app
211
- const app = Fastify({
212
- logger: true,
213
- });
214
- // (Add any Fastify middleware you want here.)
215
- // await app.register(websocket);
216
-
217
- // Create a Grafserv instance
218
- const serv = grafserv({ schema, preset });
219
-
220
- // Add the Grafserv instance's route handlers to the Fastify app
221
- serv.addTo(app).catch((e) => {
222
- console.error(e);
223
- process.exit(1);
224
- });
225
-
226
- // Start the Fastify server
227
- app.listen({ port: preset.grafserv?.port ?? 5678 }, (err, address) => {
228
- if (err) throw err;
229
- console.log(`Server is now listening on ${address}`);
230
- });
231
- ```
232
-
233
- ### Next.js API route
234
-
235
- **TODO: actually implement this!**
236
-
237
- Grafserv handles a number of API routes, so you should define one for each of
238
- the things you care about. It's critical that you ensure that the paths line up
239
- with those used in the Graphile config, otherwise the assets will not correctly
240
- be served/referenced, this may cause issues when communicating between [Ruru][]
241
- and GraphQL.
242
-
243
- ```js
244
- // utils/grafserv.mjs
245
- import { grafserv } from "grafserv/next/v13";
246
- import preset from "./graphile.config.mjs";
247
- import schema from "./schema.mjs";
248
-
249
- // Create a shared Grafserv instance
250
- export const serv = grafserv({ schema, preset });
251
- ```
252
-
253
- ```js
254
- // pages/api/graphql.mjs
255
- import { serv } from "../../utils/grafserv.mjs";
256
-
257
- // Create and export the `/graphql` route handler
258
- const handler = serv.createGraphQLHandler();
259
- export default handler;
260
- ```
261
-
262
- ```js
263
- // pages/api/ruru.mjs
264
- import { serv } from "../../utils/grafserv.mjs";
265
-
266
- // Create and export the `/ruru` route handler
267
- const handler = serv.createRuruHandler();
268
- export default handler;
269
- ```
270
-
271
- ### Lambda
272
-
273
- **TODO: actually implement this!**
274
-
275
- ```js
276
- import { grafserv } from "grafserv/lambda";
277
- import preset from "./graphile.config.mjs";
278
- import schema from "./schema.mjs";
279
-
280
- // Create a Grafserv instance
281
- const serv = grafserv({ schema, preset });
282
-
283
- // Export a lambda handler for GraphQL
284
- export const handler = serv.createGraphQLHandler();
285
- ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grafserv",
3
- "version": "0.0.1-alpha.14",
3
+ "version": "0.0.1-alpha.16",
4
4
  "description": "A highly optimized server for GraphQL, powered by Grafast",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
@@ -68,17 +68,17 @@
68
68
  "@graphile/lru": "^5.0.0-alpha.2",
69
69
  "debug": "^4.1.1",
70
70
  "eventemitter3": "^4.0.7",
71
- "graphile-config": "^0.0.1-alpha.6",
71
+ "graphile-config": "^0.0.1-alpha.7",
72
72
  "graphql-ws": "^5.11.3",
73
- "ruru": "^2.0.0-alpha.10",
73
+ "ruru": "^2.0.0-alpha.11",
74
74
  "tslib": "^2.5.0"
75
75
  },
76
76
  "engines": {
77
77
  "node": ">=16.10"
78
78
  },
79
79
  "peerDependencies": {
80
- "grafast": "^0.0.1-alpha.14",
81
- "graphile-config": "^0.0.1-alpha.6",
80
+ "grafast": "^0.0.1-alpha.16",
81
+ "graphile-config": "^0.0.1-alpha.7",
82
82
  "graphql": "^16.1.0-experimental-stream-defer.6",
83
83
  "ws": "^8.12.1"
84
84
  },
@@ -94,7 +94,7 @@
94
94
  "@whatwg-node/fetch": "^0.8.1",
95
95
  "express": "^4.18.2",
96
96
  "fastify": "^4.12.0",
97
- "grafast": "^0.0.1-alpha.14",
97
+ "grafast": "^0.0.1-alpha.16",
98
98
  "graphql-http": "^1.16.0",
99
99
  "jest": "^28.1.3",
100
100
  "jest-serializer-graphql-schema": "^5.0.0-alpha.2",