ruru 2.0.0-rc.6 → 2.0.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/CHANGELOG.md DELETED
@@ -1,863 +0,0 @@
1
- # ruru
2
-
3
- ## 2.0.0-rc.6
4
-
5
- ### Patch Changes
6
-
7
- - [#2937](https://github.com/graphile/crystal/pull/2937)
8
- [`8f50146`](https://github.com/graphile/crystal/commit/8f5014605d2d3a3353ab99e2ac4bbadaadcccdca)
9
- Thanks [@benjie](https://github.com/benjie)! - Eliminate dangling promises,
10
- reducing chance of process exit due to unhandled promise rejection.
11
- - Updated dependencies
12
- [[`8f50146`](https://github.com/graphile/crystal/commit/8f5014605d2d3a3353ab99e2ac4bbadaadcccdca)]:
13
- - graphile-config@1.0.0-rc.5
14
-
15
- ## 2.0.0-rc.5
16
-
17
- ### Patch Changes
18
-
19
- - [#2910](https://github.com/graphile/crystal/pull/2910)
20
- [`9eb3829`](https://github.com/graphile/crystal/commit/9eb3829ea337041e4585e0cfeb63b44e87d7d14f)
21
- Thanks [@benjie](https://github.com/benjie)! - Use consistent type export
22
- syntax
23
-
24
- - [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1)
25
- Thanks [@benjie](https://github.com/benjie)! - Refactor to enable TypeScript
26
- options rewriteRelativeImportExtensions and erasableSyntaxOnly (including
27
- using .ts extensions in source code)
28
-
29
- - [#2912](https://github.com/graphile/crystal/pull/2912)
30
- [`ebe1d22`](https://github.com/graphile/crystal/commit/ebe1d22e45156d9ec2274f291bbb824405e02049)
31
- Thanks [@benjie](https://github.com/benjie)! - Ruru now depends on ruru-types
32
- package - stripped down vs ruru-components
33
-
34
- - [#2915](https://github.com/graphile/crystal/pull/2915)
35
- [`be9792b`](https://github.com/graphile/crystal/commit/be9792bea3b39097533b0f86e1d25ee66208909d)
36
- Thanks [@benjie](https://github.com/benjie)! - Fix some peerDependencies woes
37
-
38
- - Updated dependencies
39
- [[`9eb3829`](https://github.com/graphile/crystal/commit/9eb3829ea337041e4585e0cfeb63b44e87d7d14f),
40
- [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1),
41
- [`ebe1d22`](https://github.com/graphile/crystal/commit/ebe1d22e45156d9ec2274f291bbb824405e02049),
42
- [`be9792b`](https://github.com/graphile/crystal/commit/be9792bea3b39097533b0f86e1d25ee66208909d)]:
43
- - graphile-config@1.0.0-rc.4
44
- - ruru-types@2.0.0-rc.5
45
-
46
- ## 2.0.0-rc.4
47
-
48
- ### Patch Changes
49
-
50
- - [#2873](https://github.com/graphile/crystal/pull/2873)
51
- [`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36)
52
- Thanks [@benjie](https://github.com/benjie)! - Update TypeScript configuration
53
- to support Node 22 minimum
54
-
55
- - [#2881](https://github.com/graphile/crystal/pull/2881)
56
- [`1606298`](https://github.com/graphile/crystal/commit/1606298cdac2938e02675d0e7e5e134364ac7bcf)
57
- Thanks [@benjie](https://github.com/benjie)! - Fix `{"isTrusted": true}` error
58
- that would be output in Ruru when websocket connection unexpectedly
59
- terminated.
60
-
61
- - [#2888](https://github.com/graphile/crystal/pull/2888)
62
- [`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c)
63
- Thanks [@benjaie](https://github.com/benjaie)! - Node v22+ is required for
64
- this module.
65
-
66
- - [#2883](https://github.com/graphile/crystal/pull/2883)
67
- [`2e770df`](https://github.com/graphile/crystal/commit/2e770df354db58d39aead55c3aeca8ee2fb41833)
68
- Thanks [@benjie](https://github.com/benjie)! - Ruru gains ability to export
69
- schema as SDL (with options!)
70
-
71
- - [#2847](https://github.com/graphile/crystal/pull/2847)
72
- [`d758351`](https://github.com/graphile/crystal/commit/d75835194591ef8146d095814bc1bb1f92f1f290)
73
- Thanks [@benjie](https://github.com/benjie)! - Add ruru-components as a
74
- dependency so the RuruProps type can come through.
75
-
76
- - Updated dependencies
77
- [[`1e45a3d`](https://github.com/graphile/crystal/commit/1e45a3d6495cfea45bfdde95af889a453b82def3),
78
- [`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36),
79
- [`1606298`](https://github.com/graphile/crystal/commit/1606298cdac2938e02675d0e7e5e134364ac7bcf),
80
- [`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c),
81
- [`2e770df`](https://github.com/graphile/crystal/commit/2e770df354db58d39aead55c3aeca8ee2fb41833)]:
82
- - ruru-components@2.0.0-rc.4
83
- - graphile-config@1.0.0-rc.3
84
-
85
- ## 2.0.0-rc.3
86
-
87
- ### Patch Changes
88
-
89
- - [#2836](https://github.com/graphile/crystal/pull/2836)
90
- [`c4f2e52`](https://github.com/graphile/crystal/commit/c4f2e527c9c3a8ea99777f6940330c04d8c4f618)
91
- Thanks [@benjie](https://github.com/benjie)! - Fix bug with Ruru bundling
92
-
93
- ## 2.0.0-rc.2
94
-
95
- ### Patch Changes
96
-
97
- - [#2829](https://github.com/graphile/crystal/pull/2829)
98
- [`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)
99
- Thanks [@benjie](https://github.com/benjie)! - Update dependency ranges.
100
-
101
- - Updated dependencies
102
- [[`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)]:
103
- - graphile-config@1.0.0-rc.2
104
-
105
- ## 2.0.0-rc.1
106
-
107
- ### Patch Changes
108
-
109
- - [`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)
110
- Thanks [@benjie](https://github.com/benjie)! - Bump to release candidate
111
-
112
- - Updated dependencies
113
- [[`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)]:
114
- - graphile-config@1.0.0-rc.1
115
-
116
- ## 2.0.0-beta.31
117
-
118
- ### Patch Changes
119
-
120
- - [#2730](https://github.com/graphile/crystal/pull/2730)
121
- [`4c3cf22`](https://github.com/graphile/crystal/commit/4c3cf22592f44cb28e399434474ca5fcef0e1a3b)
122
- Thanks [@benjie](https://github.com/benjie)! - Update `graphql` version range
123
-
124
- ## 2.0.0-beta.30
125
-
126
- ### Patch Changes
127
-
128
- - [#2694](https://github.com/graphile/crystal/pull/2694)
129
- [`13513dd`](https://github.com/graphile/crystal/commit/13513ddaea15ad9498a77de7c4e92679498f99ca)
130
- Thanks [@benjie](https://github.com/benjie)! - Add support for `onError` RFC
131
- with `PROPAGATE`, `NULL` and `HALT` behaviors implemented.
132
-
133
- - [#2678](https://github.com/graphile/crystal/pull/2678)
134
- [`6dafac1`](https://github.com/graphile/crystal/commit/6dafac162955291e5147c21e57734b44e30acb98)
135
- Thanks [@benjie](https://github.com/benjie)! - Remove peer dependency
136
- optionality in an attempt to satisfy pnpm's installation algorithms
137
- - Updated dependencies
138
- [[`cfd4c3c`](https://github.com/graphile/crystal/commit/cfd4c3cff0ef40ed87a2c700b7719c1ca0e73588),
139
- [`e15f886`](https://github.com/graphile/crystal/commit/e15f886cae1041416b44b74b75426f8d43000dcf)]:
140
- - graphile-config@0.0.1-beta.18
141
-
142
- ## 2.0.0-beta.29
143
-
144
- ### Patch Changes
145
-
146
- - [`ce9dd46`](https://github.com/graphile/crystal/commit/ce9dd46bd0625ab23ee0f728baec0479149ef895)
147
- Thanks [@benjie](https://github.com/benjie)! - Fix the sidebar border in
148
- collapsed mode
149
-
150
- ## 2.0.0-beta.28
151
-
152
- ### Patch Changes
153
-
154
- - [#2646](https://github.com/graphile/crystal/pull/2646)
155
- [`59adcd5`](https://github.com/graphile/crystal/commit/59adcd52d3fd465c8d6afdcefaa41c82c9a77319)
156
- Thanks [@benjie](https://github.com/benjie)! - Add condensed mode for Ruru,
157
- enabled by default. (To disable, use the settings cog in the editor view and
158
- uncheck condensed.)
159
-
160
- - [#2645](https://github.com/graphile/crystal/pull/2645)
161
- [`f941cfd`](https://github.com/graphile/crystal/commit/f941cfdcc8235e34716d3595745a05e49267de12)
162
- Thanks [@benjie](https://github.com/benjie)! - Upgrade GraphiQL to latest
163
- release
164
-
165
- ## 2.0.0-beta.27
166
-
167
- ### Patch Changes
168
-
169
- - [`a31dc7c`](https://github.com/graphile/crystal/commit/a31dc7ce30cea33fdbecb7fbe4f9c70f24d8a318)
170
- Thanks [@benjie](https://github.com/benjie)! - Fix URLs in README
171
-
172
- - [#2636](https://github.com/graphile/crystal/pull/2636)
173
- [`ba8dacb`](https://github.com/graphile/crystal/commit/ba8dacb1ef93f79a61622ea7581cce4e593243bc)
174
- Thanks [@benjie](https://github.com/benjie)! - Improve backwards compatibility
175
- of ruruHTML function; explicitly deprecate the htmlParts argument.
176
-
177
- ## 2.0.0-beta.26
178
-
179
- ### Patch Changes
180
-
181
- - [#2629](https://github.com/graphile/crystal/pull/2629)
182
- [`c5cc0ba`](https://github.com/graphile/crystal/commit/c5cc0ba6228c754bca60219d78ca1bc1b10759ca)
183
- Thanks [@benjie](https://github.com/benjie)! - Fix loading worker scripts from
184
- remote URLs.
185
-
186
- - [#2631](https://github.com/graphile/crystal/pull/2631)
187
- [`506b7a1`](https://github.com/graphile/crystal/commit/506b7a16bbdee72b0ac41eb3f3235775d629be6c)
188
- Thanks [@benjie](https://github.com/benjie)! - Add a `ruru.html` file you can
189
- self-host, and move Ruru documentation to the website for easier navigation
190
-
191
- - [#2632](https://github.com/graphile/crystal/pull/2632)
192
- [`418190a`](https://github.com/graphile/crystal/commit/418190a04169fdd01e166ae30fa764098bb34249)
193
- Thanks [@benjie](https://github.com/benjie)! - Ruru loading state now matches
194
- expected theme (light/dark).
195
-
196
- ## 2.0.0-beta.25
197
-
198
- ### Patch Changes
199
-
200
- - [#2578](https://github.com/graphile/crystal/pull/2578)
201
- [`1d76d2f`](https://github.com/graphile/crystal/commit/1d76d2f0d19b4d56895ee9988440a35d2c60f9f9)
202
- Thanks [@benjie](https://github.com/benjie)! - 🚨 **Ruru has been "rebuilt"!
203
- The loading methods and APIs have changed!**
204
-
205
- Ruru is now built on top of GraphiQL v5, which moves to using the Monaco
206
- editor (the same editor used in VSCode) enabling more familiar keybindings and
207
- more features (e.g. press F1 in the editor to see the command palette, and you
208
- can now add comments in the variables JSON). This has required a
209
- rearchitecture to Ruru's previously "single file" approach since Monaco uses
210
- workers which require additional files.
211
-
212
- In this release we have embraced the bundle splitting approach. We now bundle
213
- both `prettier` and `mermaid`, and they are now loaded on-demand.
214
-
215
- Usage instructions for all environments have had to change since we can no
216
- longer serve Ruru as a single HTML file. We now include helpers for serving
217
- Ruru's static files from whatever JS-based webserver you are using.
218
-
219
- We've also added some additional improvements:
220
- - Formatting with prettier now maintains the cursor position
221
- (`Ctrl-Shift-P`/`Meta-Shift-P`/`Cmd-Shift-P` depending on platform)
222
- - All editors are now formatted, not just the GraphQL editor
223
- - Prettier and mermaid should now work offline
224
- - Even more GraphiQL props are now passed through, including
225
- `inputValueDeprecation` and `schemaDeprecation` which you can set to false
226
- if your GraphQL server is, _ahem_, a little behind the GraphQL spec draft.
227
-
228
- 🚨 **Changes you need to make:** 🚨
229
- - If you are using Ruru directly (i.e. importing from `ruru/server`), please
230
- see the new Ruru README for setup instructions, you'll want to switch out
231
- your previous setup. In particular, `ruru/bundle` no longer exists and you
232
- now need to serve the static files (via `ruru/static`).
233
- - `defaultHTMLParts` is no more; instead `config.htmlParts` (also
234
- `preset.ruru.htmlParts` for Graphile Config users) now allows the entries to
235
- be callback functions reducing boilerplate:
236
- ```diff
237
- -import { defaultHTMLParts } from "ruru/server";
238
- const config = {
239
- htmlParts: {
240
- - metaTags: defaultHTMLParts.metaTags + "<!-- local override -->",
241
- + metaTags: (base) => base + "<!-- local override -->",
242
- }
243
- }
244
- ```
245
- (alternatively you can use `makeHTMLParts(config)`)
246
- - Grafserv users: `plugin.grafserv.middleware.ruruHTMLParts` is renamed to
247
- `ruruHTML` and wraps the generation of the HTML - simply trim `Parts` from
248
- the name and be sure calling `next()` is the final line of the function
249
- ```diff
250
- const plugin = {
251
- grafserv: {
252
- middleware: {
253
- - ruruHTMLParts(next, event) {
254
- + ruruHTML(next, event) {
255
- const { htmlParts, request } = event;
256
- htmlParts.titleTag = `<title>${escapeHTML(
257
- "Ruru | " + request.getHeader("host"),
258
- )}</title>`;
259
- return next();
260
- },
261
- },
262
- },
263
- };
264
- ```
265
-
266
- Additional changes:
267
- - `RuruConfig.clientConfig` has been added for props to explicitly pass to
268
- Ruru making it explicit that these will be sent to the client
269
- - `RuruServerConfig` has deprecated the client options `editorTheme`,
270
- `debugTools` and `eventSourceInit` at the top level; instead these should be
271
- passed via `RuruServerConfig.clientConfig` making it explicit these will be
272
- sent to the client and expanding to cover more props
273
- ```diff
274
- const config = {
275
- endpoint: "/graphql",
276
- + clientConfig: {
277
- editorTheme: "dark",
278
- + },
279
- }
280
- ```
281
-
282
- - [#2605](https://github.com/graphile/crystal/pull/2605)
283
- [`24d379a`](https://github.com/graphile/crystal/commit/24d379ae4b8a3c0afe3f1a309d87806a05e8d00d)
284
- Thanks [@benjie](https://github.com/benjie)! - Add defaultTheme and
285
- forcedTheme props to Ruru (passed through to GraphiQL)
286
-
287
- - [#2600](https://github.com/graphile/crystal/pull/2600)
288
- [`ad588ec`](https://github.com/graphile/crystal/commit/ad588ecde230359f56800e414b7c5fa1aed14957)
289
- Thanks [@benjie](https://github.com/benjie)! - Mark all
290
- peerDependencies=dependencies modules as optional peerDependencies to make
291
- pnpm marginally happier hopefully.
292
-
293
- ## 2.0.0-beta.24
294
-
295
- ### Patch Changes
296
-
297
- - [#2584](https://github.com/graphile/crystal/pull/2584)
298
- [`00b3b8b`](https://github.com/graphile/crystal/commit/00b3b8baea55f0f8cb90c769baf63b408a593182)
299
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to GraphiQL v4. 🚨
300
- Change `graphiql/graphiql.css` to `graphiql/style.css` and
301
- `@graphiql/plugin-explorer/dist/style.css` to
302
- `@graphiql/plugin-explorer/style.css`
303
-
304
- - [#2577](https://github.com/graphile/crystal/pull/2577)
305
- [`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47)
306
- Thanks [@benjie](https://github.com/benjie)! - Update dependencies
307
-
308
- - [#2582](https://github.com/graphile/crystal/pull/2582)
309
- [`826f2cb`](https://github.com/graphile/crystal/commit/826f2cbff651273098d6b0d8c343aefeacfb5a14)
310
- Thanks [@benjie](https://github.com/benjie)! - Fix button-in-button warning
311
- from ToolbarMenu
312
-
313
- - [#2585](https://github.com/graphile/crystal/pull/2585)
314
- [`5311f9c`](https://github.com/graphile/crystal/commit/5311f9c8206fb3287b6aae6c4e7668ae920a4441)
315
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to React 19
316
-
317
- - [#2583](https://github.com/graphile/crystal/pull/2583)
318
- [`faee38b`](https://github.com/graphile/crystal/commit/faee38bbff0421bbccfaa77c0dffa5c2d44e2b92)
319
- Thanks [@benjie](https://github.com/benjie)! - 🚨 Upgrade to graphql-ws v6
320
-
321
- - Updated dependencies
322
- [[`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47),
323
- [`e0cdabe`](https://github.com/graphile/crystal/commit/e0cdabe25c8894da550546c93bc03b895585544c)]:
324
- - graphile-config@0.0.1-beta.17
325
-
326
- ## 2.0.0-beta.23
327
-
328
- ### Patch Changes
329
-
330
- - [#2444](https://github.com/graphile/crystal/pull/2444)
331
- [`192a27e08763ea26607344a2ea6c7f5c595cc2a3`](https://github.com/graphile/crystal/commit/192a27e08763ea26607344a2ea6c7f5c595cc2a3)
332
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to Mermaid 11, and
333
- reduce verbosity of polymorphism in plan diagrams.
334
-
335
- - [#2546](https://github.com/graphile/crystal/pull/2546)
336
- [`997c49648b62a93e5b915c65c49cdad1654bef3e`](https://github.com/graphile/crystal/commit/997c49648b62a93e5b915c65c49cdad1654bef3e)
337
- Thanks [@benjie](https://github.com/benjie)! - Fix issue where ruru wasn't
338
- hiding explain output in incremental delivery results.
339
- - Updated dependencies
340
- [[`459e1869a2ec58925b2bac5458af487c52a8ca37`](https://github.com/graphile/crystal/commit/459e1869a2ec58925b2bac5458af487c52a8ca37)]:
341
- - graphile-config@0.0.1-beta.16
342
-
343
- ## 2.0.0-beta.22
344
-
345
- ### Patch Changes
346
-
347
- - [#2426](https://github.com/graphile/crystal/pull/2426)
348
- [`658d46c9a5b246e3beb4ba2a004334278f7bb24d`](https://github.com/graphile/crystal/commit/658d46c9a5b246e3beb4ba2a004334278f7bb24d)
349
- Thanks [@benjie](https://github.com/benjie)! - Upgrade GraphiQL and fix
350
- duplicate module issue
351
-
352
- ## 2.0.0-beta.21
353
-
354
- ### Patch Changes
355
-
356
- - Updated dependencies
357
- [[`00d79e6f5608affc3f36bb0ce4ca2547230174e7`](https://github.com/graphile/crystal/commit/00d79e6f5608affc3f36bb0ce4ca2547230174e7)]:
358
- - graphile-config@0.0.1-beta.15
359
-
360
- ## 2.0.0-beta.20
361
-
362
- ### Patch Changes
363
-
364
- - [#2365](https://github.com/graphile/crystal/pull/2365)
365
- [`ba2847f3e`](https://github.com/graphile/crystal/commit/ba2847f3e87b3c081e4b9fc4e62a81cc8bd8bb15)
366
- Thanks [@benjie](https://github.com/benjie)! - `ruru/server` no longer uses
367
- `fs` module to read data/version from disk, instead data is bundled in source
368
- files. This may aid people attempting to bundle ruru.
369
-
370
- ## 2.0.0-beta.19
371
-
372
- ### Patch Changes
373
-
374
- - Updated dependencies
375
- [[`83c546509`](https://github.com/graphile/crystal/commit/83c546509d24be2955a56120981363ad3c3a5f3f)]:
376
- - graphile-config@0.0.1-beta.14
377
-
378
- ## 2.0.0-beta.18
379
-
380
- ### Patch Changes
381
-
382
- - Updated dependencies
383
- [[`7580bc16a`](https://github.com/graphile/crystal/commit/7580bc16a050fd8d916c6dabe9d1ded980090349)]:
384
- - graphile-config@0.0.1-beta.13
385
-
386
- ## 2.0.0-beta.17
387
-
388
- ### Patch Changes
389
-
390
- - [#2266](https://github.com/graphile/crystal/pull/2266)
391
- [`38163c86a`](https://github.com/graphile/crystal/commit/38163c86ae628fed84cf38fc6a1cc76a7bc7932a)
392
- Thanks [@hos](https://github.com/hos)! - Fix white-screen-of-death caused by
393
- EventSource disconnection. Instead, handle errors gracefully. Also, allow
394
- overriding of the EventSource configuration options.
395
- - Updated dependencies
396
- [[`d13b76f0f`](https://github.com/graphile/crystal/commit/d13b76f0fef2a58466ecb44880af62d25910e83e),
397
- [`b167bd849`](https://github.com/graphile/crystal/commit/b167bd8499be5866b71bac6594d55bd768fda1d0),
398
- [`6a13ecbd4`](https://github.com/graphile/crystal/commit/6a13ecbd45534c39c846c1d8bc58242108426dd1)]:
399
- - graphile-config@0.0.1-beta.12
400
-
401
- ## 2.0.0-beta.16
402
-
403
- ### Patch Changes
404
-
405
- - Updated dependencies
406
- [[`5626c7d36`](https://github.com/graphile/crystal/commit/5626c7d3649285e11fe9857dfa319d2883d027eb)]:
407
- - graphile-config@0.0.1-beta.11
408
-
409
- ## 2.0.0-beta.15
410
-
411
- ### Patch Changes
412
-
413
- - Updated dependencies
414
- [[`cc0941731`](https://github.com/graphile/crystal/commit/cc0941731a1679bc04ce7b7fd4254009bb5f1f62),
415
- [`8b472cd51`](https://github.com/graphile/crystal/commit/8b472cd51cd66d8227f9f2722d09c0a774792b0f),
416
- [`9cd9bb522`](https://github.com/graphile/crystal/commit/9cd9bb5222a9f0398ee4b8bfa4f741b6de2a2192)]:
417
- - graphile-config@0.0.1-beta.10
418
-
419
- ## 2.0.0-beta.14
420
-
421
- ### Patch Changes
422
-
423
- - [#2125](https://github.com/graphile/crystal/pull/2125)
424
- [`18addb385`](https://github.com/graphile/crystal/commit/18addb3852525aa91019a36d58fa2fecd8b5b443)
425
- Thanks [@benjie](https://github.com/benjie)! - Change how unary steps are
426
- rendered to plan diagrams, fixing the rendering of side-effect steps.
427
-
428
- - [#2124](https://github.com/graphile/crystal/pull/2124)
429
- [`cf535c210`](https://github.com/graphile/crystal/commit/cf535c21078da06c14dd12f30e9b4378da4ded03)
430
- Thanks [@benjie](https://github.com/benjie)! - Render implicit side effects as
431
- dependencies on plan diagram
432
-
433
- ## 2.0.0-beta.13
434
-
435
- ### Patch Changes
436
-
437
- - Updated dependencies
438
- [[`582bd768f`](https://github.com/graphile/crystal/commit/582bd768fec403ce3284f293b85b9fd86e4d3f40)]:
439
- - graphile-config@0.0.1-beta.9
440
-
441
- ## 2.0.0-beta.12
442
-
443
- ### Patch Changes
444
-
445
- - Updated dependencies
446
- [[`db8ceed0f`](https://github.com/graphile/crystal/commit/db8ceed0f17923eb78ff09c9f3f28800a5c7e3b6)]:
447
- - graphile-config@0.0.1-beta.8
448
-
449
- ## 2.0.0-beta.11
450
-
451
- ### Patch Changes
452
-
453
- - [#1931](https://github.com/graphile/crystal/pull/1931)
454
- [`941e28003`](https://github.com/graphile/crystal/commit/941e280038a735014a9fe4e24fc534a197fac0f2)
455
- Thanks [@benjie](https://github.com/benjie)! - Add support for deprecated
456
- arguments to Ruru.
457
-
458
- - [#1931](https://github.com/graphile/crystal/pull/1931)
459
- [`068be2f51`](https://github.com/graphile/crystal/commit/068be2f51d7a9c17311f26c6c9451985397c9e1f)
460
- Thanks [@benjie](https://github.com/benjie)! - Fix issue typing into Ruru
461
- explorer plugin - characters no longer overwritten.
462
-
463
- - Updated dependencies
464
- [[`5de3e86eb`](https://github.com/graphile/crystal/commit/5de3e86eba1ddfe5e07732d0325c63e5d72d4b5b)]:
465
- - graphile-config@0.0.1-beta.7
466
-
467
- ## 2.0.0-beta.10
468
-
469
- ### Patch Changes
470
-
471
- - Updated dependencies
472
- [[`0df5511ac`](https://github.com/graphile/crystal/commit/0df5511ac8b79ea34f8d12ebf8feeb421f8fe971)]:
473
- - graphile-config@0.0.1-beta.6
474
-
475
- ## 2.0.0-beta.9
476
-
477
- ### Patch Changes
478
-
479
- - [#1877](https://github.com/graphile/crystal/pull/1877)
480
- [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f)
481
- Thanks [@benjie](https://github.com/benjie)! - Move 'declare global' out of
482
- 'interfaces.ts' and into 'index.ts' or equivalent. Should make TypeScript more
483
- aware of these types.
484
- - Updated dependencies
485
- [[`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f)]:
486
- - graphile-config@0.0.1-beta.5
487
-
488
- ## 2.0.0-beta.8
489
-
490
- ### Patch Changes
491
-
492
- - Updated dependencies
493
- [[`7aef73319`](https://github.com/graphile/crystal/commit/7aef73319a8a147c700727be62427e1eefdefbf8)]:
494
- - graphile-config@0.0.1-beta.4
495
-
496
- ## 2.0.0-beta.7
497
-
498
- ### Patch Changes
499
-
500
- - [#1799](https://github.com/graphile/crystal/pull/1799)
501
- [`3dd5d86d6`](https://github.com/graphile/crystal/commit/3dd5d86d6c1ea7ba106c08e8a315ec47ed6cfa2d)
502
- Thanks [@jvandermey](https://github.com/jvandermey)! - Can now pass onEdit
503
- callbacks through the Ruru config via the plugin system; e.g. to update the
504
- URL search params with the current editor state.
505
-
506
- ## 2.0.0-beta.6
507
-
508
- ### Patch Changes
509
-
510
- - [#1796](https://github.com/graphile/crystal/pull/1796)
511
- [`ebb0b817e`](https://github.com/graphile/crystal/commit/ebb0b817e3efe210445d3f3396ff4bc53ebab3e7)
512
- Thanks [@benjie](https://github.com/benjie)! - Can now set initial query and
513
- variables in Ruru via the plugin system; e.g. to set query/variables based on
514
- query string.
515
-
516
- ## 2.0.0-beta.5
517
-
518
- ### Patch Changes
519
-
520
- - [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
521
- [`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
522
- Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
523
- information
524
-
525
- - Updated dependencies
526
- [[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)]:
527
- - graphile-config@0.0.1-beta.3
528
-
529
- ## 2.0.0-beta.4
530
-
531
- ### Patch Changes
532
-
533
- - [`4c39d7c0b`](https://github.com/benjie/crystal/commit/4c39d7c0bae5acb6ae79cc1fec0a1eabdd40a234)
534
- Thanks [@benjie](https://github.com/benjie)! - Bump - npm broke the publish?
535
-
536
- ## 2.0.0-beta.3
537
-
538
- ### Patch Changes
539
-
540
- - [#496](https://github.com/benjie/crystal/pull/496)
541
- [`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
542
- Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
543
- through major versions).
544
-
545
- - [#496](https://github.com/benjie/crystal/pull/496)
546
- [`1867d365f`](https://github.com/benjie/crystal/commit/1867d365f360ac8411f622b0813ca76a19ab4013)
547
- Thanks [@benjie](https://github.com/benjie)! - Ruru now runs on React 18
548
-
549
- - [#496](https://github.com/benjie/crystal/pull/496)
550
- [`c747d91e9`](https://github.com/benjie/crystal/commit/c747d91e9646409c66e73c12195dbf6cbd97b211)
551
- Thanks [@benjie](https://github.com/benjie)! - Modules converted to ESM to fix
552
- compatibility with GraphiQL.
553
-
554
- - Updated dependencies
555
- [[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)]:
556
- - graphile-config@0.0.1-beta.2
557
-
558
- ## 2.0.0-beta.2
559
-
560
- ### Patch Changes
561
-
562
- - [#488](https://github.com/benjie/crystal/pull/488)
563
- [`9f82b8612`](https://github.com/benjie/crystal/commit/9f82b861206fdd2b8a7c50ba5184112dfb57b54a)
564
- Thanks [@benjie](https://github.com/benjie)! - Fix detection of SQL aliases
565
-
566
- ## 2.0.0-beta.1
567
-
568
- ### Patch Changes
569
-
570
- - [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
571
- Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
572
-
573
- - Updated dependencies
574
- [[`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)]:
575
- - graphile-config@0.0.1-beta.1
576
-
577
- ## 2.0.0-alpha.11
578
-
579
- ### Patch Changes
580
-
581
- - Updated dependencies
582
- [[`a22830b2f`](https://github.com/benjie/crystal/commit/a22830b2f293b50a244ac18e1601d7579b450c7d)]:
583
- - graphile-config@0.0.1-alpha.7
584
-
585
- ## 2.0.0-alpha.10
586
-
587
- ### Patch Changes
588
-
589
- - [#418](https://github.com/benjie/crystal/pull/418)
590
- [`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
591
- Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
592
- dependencies to try and eliminate duplicate modules error.
593
-
594
- ## 2.0.0-alpha.9
595
-
596
- ### Patch Changes
597
-
598
- - Updated dependencies
599
- [[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999),
600
- [`c5050dd28`](https://github.com/benjie/crystal/commit/c5050dd286bd6d9fa4a5d9cfbf87ba609cb148dd),
601
- [`0d1782869`](https://github.com/benjie/crystal/commit/0d1782869adc76f5bbcecfdcbb85a258c468ca37)]:
602
- - graphile-config@0.0.1-alpha.6
603
-
604
- ## 2.0.0-alpha.8
605
-
606
- ### Patch Changes
607
-
608
- - Updated dependencies
609
- [[`644938276`](https://github.com/benjie/crystal/commit/644938276ebd48c5486ba9736a525fcc66d7d714)]:
610
- - graphile-config@0.0.1-alpha.5
611
-
612
- ## 2.0.0-alpha.7
613
-
614
- ### Patch Changes
615
-
616
- - [#399](https://github.com/benjie/crystal/pull/399)
617
- [`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd)
618
- Thanks [@benjie](https://github.com/benjie)! - Change many of the dependencies
619
- to be instead (or also) peerDependencies, to avoid duplicate modules.
620
-
621
- ## 2.0.0-alpha.6
622
-
623
- ### Patch Changes
624
-
625
- - Updated dependencies
626
- [[`198ac74d5`](https://github.com/benjie/crystal/commit/198ac74d52fe1e47d602fe2b7c52f216d5216b25)]:
627
- - graphile-config@0.0.1-alpha.4
628
-
629
- ## 2.0.0-alpha.5
630
-
631
- ### Patch Changes
632
-
633
- - Updated dependencies
634
- [[`adc7ae5e0`](https://github.com/benjie/crystal/commit/adc7ae5e002961c8b8286500527752f21139ab9e)]:
635
- - graphile-config@0.0.1-alpha.3
636
-
637
- ## 2.0.0-alpha.4
638
-
639
- ### Patch Changes
640
-
641
- - [`f34bd5a3c`](https://github.com/benjie/crystal/commit/f34bd5a3c353693b86a0307357a3620110700e1c)
642
- Thanks [@benjie](https://github.com/benjie)! - Address dependency issues.
643
-
644
- ## 2.0.0-alpha.3
645
-
646
- ### Patch Changes
647
-
648
- - [`2fe247f75`](https://github.com/benjie/crystal/commit/2fe247f751377e18b3d6809cba39a01aa1602dbc)
649
- Thanks [@benjie](https://github.com/benjie)! - Added ability to download
650
- mermaid plan diagram as SVG.
651
-
652
- - [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
653
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
654
- TypeScript/tslib
655
-
656
- - Updated dependencies
657
- [[`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)]:
658
- - graphile-config@0.0.1-alpha.2
659
-
660
- ## 2.0.0-alpha.2
661
-
662
- ### Patch Changes
663
-
664
- - [#305](https://github.com/benjie/crystal/pull/305)
665
- [`3cf35fdb4`](https://github.com/benjie/crystal/commit/3cf35fdb41d08762e9ff838a55dd7fc6004941f8)
666
- Thanks [@benjie](https://github.com/benjie)! - 🚨 Ruru is now a CommonJS
667
- module, no longer an ESM module.
668
-
669
- Ruru CLI now reads options from a `graphile.config.ts` file if present.
670
-
671
- It's now possible to customize the HTML that Ruru is served with (specifically
672
- the meta, title, stylesheets, header JS, body content, body JS, and init
673
- script), either via configuration:
674
-
675
- ```ts
676
- import { defaultHTMLParts } from "ruru/server";
677
-
678
- const preset: GraphileConfig.Preset = {
679
- //...
680
- ruru: {
681
- htmlParts: {
682
- titleTag: "<title>GraphiQL with Grafast support - Ruru!</title>",
683
- metaTags:
684
- defaultHTMLParts.metaTags +
685
- `<meta name="viewport" content="width=device-width, initial-scale=1" />`,
686
- },
687
- },
688
- };
689
- ```
690
-
691
- or via a plugin, which allows you to change it on a per-request (per-user)
692
- basis:
693
-
694
- ```ts
695
- const RuruMetaPlugin: GraphileConfig.Plugin = {
696
- name: "RuruMetaPlugin",
697
- version: "0.0.0",
698
- grafserv: {
699
- hooks: {
700
- ruruHTMLParts(_info, parts, extra) {
701
- // extra.request gives you access to request details, so you can customize `parts` for the user
702
-
703
- parts.metaTags += `<meta name="viewport" content="width=device-width, initial-scale=1" />`;
704
- },
705
- },
706
- },
707
- };
708
- ```
709
-
710
- ## 2.0.0-alpha.1
711
-
712
- ### Patch Changes
713
-
714
- - [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
715
- Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
716
- https://postgraphile.org/news/2023-04-26-version-5-alpha
717
-
718
- - Updated dependencies
719
- [[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
720
- - graphile-config@0.0.1-alpha.1
721
-
722
- ## 2.0.0-1.2
723
-
724
- ### Patch Changes
725
-
726
- - Updated dependencies
727
- [[`b4eaf89f4`](https://github.com/benjie/crystal/commit/b4eaf89f401ca207de08770361d07903f6bb9cb0)]:
728
- - graphile-config@0.0.1-1.2
729
-
730
- ## 2.0.0-1.1
731
-
732
- ### Patch Changes
733
-
734
- - [#267](https://github.com/benjie/crystal/pull/267)
735
- [`159735204`](https://github.com/benjie/crystal/commit/15973520462d4a95e3cdf04fdacfc71ca851122f)
736
- Thanks [@benjie](https://github.com/benjie)! - Add formatting for SQL aliases
737
-
738
- - [#260](https://github.com/benjie/crystal/pull/260)
739
- [`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
740
- Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
741
-
742
- - Updated dependencies
743
- [[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)]:
744
- - graphile-config@0.0.1-1.1
745
-
746
- ## 2.0.0-0.13
747
-
748
- ### Patch Changes
749
-
750
- - [`612092359`](undefined) - Fix header saving
751
-
752
- ## 2.0.0-0.12
753
-
754
- ### Patch Changes
755
-
756
- - Updated dependencies
757
- [[`11e7c12c5`](https://github.com/benjie/crystal/commit/11e7c12c5a3545ee24b5e39392fbec190aa1cf85)]:
758
- - graphile-config@0.0.1-0.6
759
-
760
- ## 2.0.0-0.11
761
-
762
- ### Patch Changes
763
-
764
- - [#229](https://github.com/benjie/crystal/pull/229)
765
- [`b795b3da5`](https://github.com/benjie/crystal/commit/b795b3da5f8e8f13c495be3a8cf71667f3d149f8)
766
- Thanks [@benjie](https://github.com/benjie)! - Upgrade GraphiQL, gaining the
767
- watch mode fix.
768
-
769
- ## 2.0.0-0.10
770
-
771
- ### Patch Changes
772
-
773
- - [#200](https://github.com/benjie/crystal/pull/200)
774
- [`e11698473`](https://github.com/benjie/crystal/commit/e1169847303790570bfafa07eb25d8fce53a0391)
775
- Thanks [@benjie](https://github.com/benjie)! - Add support for websocket
776
- subscriptions to Ruru.
777
-
778
- ## 2.0.0-0.9
779
-
780
- ### Patch Changes
781
-
782
- - Updated dependencies [[`0ab95d0b1`](undefined)]:
783
- - graphile-config@0.0.1-0.5
784
-
785
- ## 2.0.0-0.8
786
-
787
- ### Patch Changes
788
-
789
- - Updated dependencies
790
- [[`842f6ccbb`](https://github.com/benjie/crystal/commit/842f6ccbb3c9bd0c101c4f4df31c5ed1aea9b2ab)]:
791
- - graphile-config@0.0.1-0.4
792
-
793
- ## 2.0.0-0.7
794
-
795
- ### Patch Changes
796
-
797
- - Updated dependencies
798
- [[`19e2961de`](https://github.com/benjie/crystal/commit/19e2961de67dc0b9601799bba256e4c4a23cc0cb),
799
- [`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
800
- - graphile-config@0.0.1-0.3
801
-
802
- ## 2.0.0-0.6
803
-
804
- ### Patch Changes
805
-
806
- - [`a40fa6966`](undefined) - Default to explain enabled. Fix issues with fetcher
807
- mutating immutable objects. Fix typo in README. Fix playground on grafast
808
- website.
809
-
810
- - [`8f04af08d`](https://github.com/benjie/crystal/commit/8f04af08da68baf7b2b4d508eac0d2a57064da7b)
811
- Thanks [@benjie](https://github.com/benjie)! - Fix typo in README
812
-
813
- ## 2.0.0-0.5
814
-
815
- ### Patch Changes
816
-
817
- - [`9b296ba54`](undefined) - More secure, more compatible, and lots of fixes
818
- across the monorepo
819
-
820
- - Updated dependencies [[`9b296ba54`](undefined)]:
821
- - graphile-config@0.0.1-0.2
822
-
823
- ## 2.0.0-0.4
824
-
825
- ### Patch Changes
826
-
827
- - [`768f32681`](undefined) - Fix peerDependencies ranges
828
-
829
- ## 2.0.0-0.3
830
-
831
- ### Patch Changes
832
-
833
- - [`0983df3f6`](undefined) - Downgrade to React 16 to work around npm infinite
834
- loop bug (npm/cli#5322).
835
-
836
- ## 2.0.0-0.2
837
-
838
- ### Patch Changes
839
-
840
- - [`d11c1911c`](undefined) - Fix dependencies
841
-
842
- - Updated dependencies [[`d11c1911c`](undefined)]:
843
- - graphile-config@0.0.1-0.1
844
-
845
- ## 2.0.0-0.1
846
-
847
- ### Patch Changes
848
-
849
- - [`6576bd37b`](undefined) - Fix text colours in dark mode
850
-
851
- ## 2.0.0-0.0
852
-
853
- ### Major Changes
854
-
855
- - [#125](https://github.com/benjie/crystal/pull/125)
856
- [`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
857
- Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
858
-
859
- ### Patch Changes
860
-
861
- - Updated dependencies
862
- [[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
863
- - graphile-config@0.0.1-0.0