ruru-components 2.0.0-rc.5 → 2.0.0-rc.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Copy.d.ts","sourceRoot":"","sources":["../../src/components/Copy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGrC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;CAChD,CA8BA,CAAC"}
1
+ {"version":3,"file":"Copy.d.ts","sourceRoot":"","sources":["../../src/components/Copy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKrC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;CAChD,CA8BA,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useCallback, useMemo, useRef } from "react";
3
+ function noop() { }
3
4
  export const Copy = ({ text: rawText, json, children }) => {
4
5
  const text = useMemo(() => rawText ?? (json !== undefined ? JSON.stringify(json) : undefined), [rawText, json]);
5
6
  const ref = useRef(null);
@@ -10,7 +11,7 @@ export const Copy = ({ text: rawText, json, children }) => {
10
11
  el.select();
11
12
  el.setSelectionRange(0, 99999); /* For mobile devices */
12
13
  /* Copy the text inside the text field */
13
- navigator.clipboard.writeText(el.value);
14
+ navigator.clipboard.writeText(el.value).then(null, noop);
14
15
  }
15
16
  }, []);
16
17
  return (_jsxs(_Fragment, { children: [_jsx("textarea", { ref: (el) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Copy.js","sourceRoot":"","sources":["../../src/components/Copy.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,CAAC,MAAM,IAAI,GAIZ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzC,MAAM,IAAI,GAAG,OAAO,CAClB,GAAG,EAAE,CAAC,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EACxE,CAAC,OAAO,EAAE,IAAI,CAAC,CAChB,CAAC;IACF,MAAM,GAAG,GAAG,MAAM,CAA6B,IAAI,CAAC,CAAC;IACrD,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,EAAE;QAC5B,MAAM,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;QACvB,IAAI,EAAE,EAAE,CAAC;YACP,2BAA2B;YAC3B,EAAE,CAAC,MAAM,EAAE,CAAC;YACZ,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,wBAAwB;YAExD,yCAAyC;YACzC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,8BACE,mBACE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE;oBACV,GAAG,CAAC,OAAO,GAAG,EAAE,CAAC;gBACnB,CAAC,EACD,KAAK,EAAE,IAAI,EACX,QAAQ,QACR,KAAK,EAAE,EAAE,OAAO,E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K,EAAE,IAAI,EACX,QAAQ,QACR,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAC1B,EACF,iBAAQ,OAAO,EAAE,IAAI,YAAG,QAAQ,GAAU,IACzC,CACJ,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Explain.d.ts","sourceRoot":"","sources":["../../src/components/Explain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK7D,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;CAChC,CA6BA,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,CAAC;CACzB,CA4IA,CAAC"}
1
+ {"version":3,"file":"Explain.d.ts","sourceRoot":"","sources":["../../src/components/Explain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK7D,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;CAChC,CA6BA,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,CAAC;CACzB,CAyIA,CAAC"}
@@ -33,22 +33,19 @@ export const ExplainMain = ({ results }) => {
33
33
  const mermaid = await loadMermaid();
34
34
  const { planToMermaid } = await loadGrafastMermaid();
35
35
  const diagram = planToMermaid(selectedResult.plan);
36
- mermaid.default
37
- .render("id1", diagram)
38
- .then(({ svg }) => {
39
- const file = new File([svg.replace(/<br>/g, "<br/>")], "grafast-plan.svg");
40
- const a = document.createElement("a");
41
- a.href = URL.createObjectURL(file);
42
- a.download = file.name;
43
- a.style.display = "none";
44
- document.body.appendChild(a);
45
- a.click();
46
- setSaving(false);
47
- setTimeout(() => {
48
- URL.revokeObjectURL(a.href);
49
- a.parentNode.removeChild(a);
50
- }, 0);
51
- });
36
+ const { svg } = await mermaid.default.render("id1", diagram);
37
+ const file = new File([svg.replace(/<br>/g, "<br/>")], "grafast-plan.svg");
38
+ const a = document.createElement("a");
39
+ a.href = URL.createObjectURL(file);
40
+ a.download = file.name;
41
+ a.style.display = "none";
42
+ document.body.appendChild(a);
43
+ a.click();
44
+ setSaving(false);
45
+ setTimeout(() => {
46
+ URL.revokeObjectURL(a.href);
47
+ a.parentNode.removeChild(a);
48
+ }, 0);
52
49
  })().catch((e) => {
53
50
  alert(String(e));
54
51
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Explain.js","sourceRoot":"","sources":["../../src/components/Explain.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAY,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAA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AO,CACL,oDAC+B,cAAsB,CAAC,IAAI,4BAEpD,CACP,CAAC;YACJ,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACR,OAAO,eAAW,CAAC;YACrB,CAAC;QACH,CAAC;IACH,CAAC,CAAC,EAAE,CAAC;IACL,OAAO,CACL,0BACE,iBACE,KAAK,EAAE,MAAM,CAAC,aAAa,CAAC,EAC5B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,YAE9D,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAChC,iBAAQ,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,YACrB,CAAC,CAAC,KAAK,IADqB,CAAC,CAEvB,CACV,CAAC,GACK,EACR,SAAS,IACN,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,IAAI,QAAgD,CAAC;AACrD,SAAS,WAAW;IAClB,OAAO,CAAC,QAAQ,KAAK,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;AAC1C,CAAC;AAED,IAAI,eAA2D,CAAC;AAChE,SAAS,kBAAkB;IACzB,OAAO,CAAC,eAAe,KAAK,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC;AACzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrettify.d.ts","sourceRoot":"","sources":["../../src/hooks/usePrettify.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,eAAO,MAAM,WAAW,kBAsFvB,CAAC"}
1
+ {"version":3,"file":"usePrettify.d.ts","sourceRoot":"","sources":["../../src/hooks/usePrettify.tsx"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,WAAW,kBAuFvB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { KEY_MAP, useGraphiQL, useGraphiQLActions } from "@graphiql/react";
2
2
  import { useCallback, useEffect, useRef } from "react";
3
3
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
4
+ function noop() { }
4
5
  /**
5
6
  * Prettifies with 'prettier' if available, otherwise using GraphiQL's built in
6
7
  * prettify.
@@ -24,7 +25,7 @@ export const usePrettify = () => {
24
25
  !queryEditor ||
25
26
  !variableEditor ||
26
27
  !headerEditor) {
27
- fallbackPrettify();
28
+ return fallbackPrettify();
28
29
  }
29
30
  else {
30
31
  for (const editor of [queryEditor, variableEditor, headerEditor]) {
@@ -67,11 +68,12 @@ export const usePrettify = () => {
67
68
  prettierRef.current.loaded = promise;
68
69
  // Wait up to 2 seconds for Prettier to load; failing that fall back to normal prettify
69
70
  Promise.race([promise, sleep(2000)])
70
- .catch(() => { })
71
- .then(actualPrettify);
71
+ .catch(noop)
72
+ .then(actualPrettify)
73
+ .then(undefined, noop);
72
74
  }
73
75
  else {
74
- actualPrettify();
76
+ actualPrettify().then(undefined, noop);
75
77
  }
76
78
  }, [actualPrettify]);
77
79
  useEffect(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"usePrettify.js","sourceRoot":"","sources":["../../src/hooks/usePrettify.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG3E,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,KAAK,GAAG,CAAC,EAAU,EAAE,EAAE,CAC3B,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,WAAW,CAC/D,CAAC,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,EAAE,CAA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,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;iBACjC,KAAK,CAAC,IAAI,CAAC;iBACX,IAAI,CAAC,cAAc,CAAC;iBACpB,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,cAAc,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;IACH,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;IACrB,SAAS,CAAC,GAAG,EAAE;QACb,4DAA4D;QAC5D,2BAA2B;QAC3B,MAAM,UAAU,GAAG,WAAW,EAAE,SAAS,CAAC;YACxC,EAAE,EAAE,kBAAkB;YACtB,KAAK,EAAE,kBAAkB;YACzB,kBAAkB,EAAE,SAAS;YAC7B,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,WAAW;YACzC,GAAG,EAAE,QAAQ;SACd,CAAC,CAAC;QACH,OAAO,GAAG,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,CAAC;IACrC,CAAC,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;IAC5B,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruru-components",
3
- "version": "2.0.0-rc.5",
3
+ "version": "2.0.0-rc.7",
4
4
  "description": "Grafast-flavoured GraphiQL distribution; the underlying React components",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -15,9 +15,6 @@
15
15
  "default": "./ruru.css"
16
16
  }
17
17
  },
18
- "scripts": {
19
- "prepack": "tsc -b"
20
- },
21
18
  "repository": {
22
19
  "type": "git",
23
20
  "url": "git+https://github.com/graphile/crystal.git"
@@ -44,7 +41,7 @@
44
41
  "@graphiql/react": "^0.37.2",
45
42
  "@graphiql/toolkit": "^0.11.3",
46
43
  "@types/node": "^22.19.1",
47
- "grafast": "^1.0.0-rc.5",
44
+ "grafast": "^1.0.0-rc.9",
48
45
  "graphiql": "^5.2.1",
49
46
  "graphql-ws": "^6.0.5",
50
47
  "mermaid": "^11.12.1",
@@ -53,7 +50,7 @@
53
50
  "react-compiler-runtime": "^19.1.0-rc.1",
54
51
  "react-dom": "^19.2.0",
55
52
  "react-error-boundary": "^6.0.0",
56
- "ruru-types": "^2.0.0-rc.5",
53
+ "ruru-types": "^2.0.0-rc.6",
57
54
  "tslib": "^2.8.1"
58
55
  },
59
56
  "engines": {
@@ -64,19 +61,6 @@
64
61
  },
65
62
  "files": [
66
63
  "dist",
67
- "index.js",
68
64
  "ruru.css"
69
- ],
70
- "devDependencies": {
71
- "@types/codemirror": "^5.60.17",
72
- "@types/debug": "^4.1.12",
73
- "@types/jest": "^30.0.0",
74
- "@types/nodemon": "^3.1.1",
75
- "@types/react": "^19.2.7",
76
- "@types/react-dom": "^19.2.3",
77
- "graphql": "^16.9.0",
78
- "jest": "^30.2.0",
79
- "nodemon": "^3.1.11",
80
- "typescript": "^5.9.3"
81
- }
65
+ ]
82
66
  }
package/CHANGELOG.md DELETED
@@ -1,837 +0,0 @@
1
- # ruru-components
2
-
3
- ## 2.0.0-rc.5
4
-
5
- ### Patch Changes
6
-
7
- - [#2910](https://github.com/graphile/crystal/pull/2910)
8
- [`9eb3829`](https://github.com/graphile/crystal/commit/9eb3829ea337041e4585e0cfeb63b44e87d7d14f)
9
- Thanks [@benjie](https://github.com/benjie)! - Use consistent type export
10
- syntax
11
-
12
- - [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1)
13
- Thanks [@benjie](https://github.com/benjie)! - Refactor to enable TypeScript
14
- options rewriteRelativeImportExtensions and erasableSyntaxOnly (including
15
- using .ts extensions in source code)
16
-
17
- - [#2912](https://github.com/graphile/crystal/pull/2912)
18
- [`ebe1d22`](https://github.com/graphile/crystal/commit/ebe1d22e45156d9ec2274f291bbb824405e02049)
19
- Thanks [@benjie](https://github.com/benjie)! - Ruru now depends on ruru-types
20
- package - stripped down vs ruru-components
21
-
22
- - [#2915](https://github.com/graphile/crystal/pull/2915)
23
- [`be9792b`](https://github.com/graphile/crystal/commit/be9792bea3b39097533b0f86e1d25ee66208909d)
24
- Thanks [@benjie](https://github.com/benjie)! - Fix some peerDependencies woes
25
-
26
- - Updated dependencies
27
- [[`9eb3829`](https://github.com/graphile/crystal/commit/9eb3829ea337041e4585e0cfeb63b44e87d7d14f),
28
- [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1),
29
- [`ebe1d22`](https://github.com/graphile/crystal/commit/ebe1d22e45156d9ec2274f291bbb824405e02049),
30
- [`be9792b`](https://github.com/graphile/crystal/commit/be9792bea3b39097533b0f86e1d25ee66208909d),
31
- [`5fc379e`](https://github.com/graphile/crystal/commit/5fc379ea1ee56ea033a3f7d8c4a1ee00a6c83de7)]:
32
- - grafast@1.0.0-rc.5
33
- - ruru-types@2.0.0-rc.5
34
-
35
- ## 2.0.0-rc.4
36
-
37
- ### Patch Changes
38
-
39
- - [#2877](https://github.com/graphile/crystal/pull/2877)
40
- [`1e45a3d`](https://github.com/graphile/crystal/commit/1e45a3d6495cfea45bfdde95af889a453b82def3)
41
- Thanks [@benjie](https://github.com/benjie)! - Safety - use null prototype
42
- objects in more places.
43
-
44
- - [#2873](https://github.com/graphile/crystal/pull/2873)
45
- [`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36)
46
- Thanks [@benjie](https://github.com/benjie)! - Update TypeScript configuration
47
- to support Node 22 minimum
48
-
49
- - [#2881](https://github.com/graphile/crystal/pull/2881)
50
- [`1606298`](https://github.com/graphile/crystal/commit/1606298cdac2938e02675d0e7e5e134364ac7bcf)
51
- Thanks [@benjie](https://github.com/benjie)! - Fix `{"isTrusted": true}` error
52
- that would be output in Ruru when websocket connection unexpectedly
53
- terminated.
54
-
55
- - [#2888](https://github.com/graphile/crystal/pull/2888)
56
- [`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c)
57
- Thanks [@benjaie](https://github.com/benjaie)! - Node v22+ is required for
58
- this module.
59
-
60
- - [#2883](https://github.com/graphile/crystal/pull/2883)
61
- [`2e770df`](https://github.com/graphile/crystal/commit/2e770df354db58d39aead55c3aeca8ee2fb41833)
62
- Thanks [@benjie](https://github.com/benjie)! - Ruru gains ability to export
63
- schema as SDL (with options!)
64
-
65
- - Updated dependencies
66
- [[`44555c7`](https://github.com/graphile/crystal/commit/44555c7f479d531d6aef100f99859c3bcbf06c93),
67
- [`1e45a3d`](https://github.com/graphile/crystal/commit/1e45a3d6495cfea45bfdde95af889a453b82def3),
68
- [`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36),
69
- [`a565503`](https://github.com/graphile/crystal/commit/a5655035dfee7000c1d37e4791354d7a2ba35792),
70
- [`d9ccc82`](https://github.com/graphile/crystal/commit/d9ccc82a30ca6167f480e5c8bc15d17df51c0d1c),
71
- [`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c),
72
- [`eafa3f0`](https://github.com/graphile/crystal/commit/eafa3f036ce68e6ffb65935f0a78edee2fa6bdf8),
73
- [`b27c562`](https://github.com/graphile/crystal/commit/b27c562409f7a2fd8a0eeaca96cd2c6b935efe4c),
74
- [`f23f0cf`](https://github.com/graphile/crystal/commit/f23f0cf8812eddff7c91c529499a4f20f1f2978c)]:
75
- - grafast@1.0.0-rc.4
76
-
77
- ## 2.0.0-rc.3
78
-
79
- ### Patch Changes
80
-
81
- - [#2836](https://github.com/graphile/crystal/pull/2836)
82
- [`c4f2e52`](https://github.com/graphile/crystal/commit/c4f2e527c9c3a8ea99777f6940330c04d8c4f618)
83
- Thanks [@benjie](https://github.com/benjie)! - Fix bug with Ruru bundling
84
-
85
- - Updated dependencies
86
- [[`c4f2e52`](https://github.com/graphile/crystal/commit/c4f2e527c9c3a8ea99777f6940330c04d8c4f618)]:
87
- - grafast@1.0.0-rc.3
88
-
89
- ## 2.0.0-rc.2
90
-
91
- ### Patch Changes
92
-
93
- - [#2829](https://github.com/graphile/crystal/pull/2829)
94
- [`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)
95
- Thanks [@benjie](https://github.com/benjie)! - Update dependency ranges.
96
-
97
- - Updated dependencies
98
- [[`f3a9869`](https://github.com/graphile/crystal/commit/f3a9869c6f9e7aa1eb501af5f7d582d2073be585),
99
- [`68f61cd`](https://github.com/graphile/crystal/commit/68f61cdbeea19e81b1d59a3fac69a569642c5c88),
100
- [`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)]:
101
- - grafast@1.0.0-rc.2
102
-
103
- ## 2.0.0-rc.1
104
-
105
- ### Patch Changes
106
-
107
- - [`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)
108
- Thanks [@benjie](https://github.com/benjie)! - Bump to release candidate
109
-
110
- - Updated dependencies
111
- [[`abb623d`](https://github.com/graphile/crystal/commit/abb623d59e517c0949f0fef5440b817103c685bf),
112
- [`7b86454`](https://github.com/graphile/crystal/commit/7b864546fa81803ce0e573a2efa2e7f0905b2040),
113
- [`42a0785`](https://github.com/graphile/crystal/commit/42a0785ddabf58812a22d764eeddfde9362974e5),
114
- [`d196d60`](https://github.com/graphile/crystal/commit/d196d60664fbc9ffd410c11645db27554b22ac0b),
115
- [`c6cbe61`](https://github.com/graphile/crystal/commit/c6cbe6175b0f1f034db59d42cbe594e7d329aba6),
116
- [`d4ac603`](https://github.com/graphile/crystal/commit/d4ac603da7df6ea01aaa483a7cb29b1e514a90cd),
117
- [`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327),
118
- [`ea0135f`](https://github.com/graphile/crystal/commit/ea0135fac3f43850b65828f2ff2b01a34cfdff15),
119
- [`b6821f5`](https://github.com/graphile/crystal/commit/b6821f5f4dc13abd0b605be7396c1b3c36e66177)]:
120
- - grafast@1.0.0-rc.1
121
-
122
- ## 2.0.0-beta.37
123
-
124
- ### Patch Changes
125
-
126
- - [#2730](https://github.com/graphile/crystal/pull/2730)
127
- [`4c3cf22`](https://github.com/graphile/crystal/commit/4c3cf22592f44cb28e399434474ca5fcef0e1a3b)
128
- Thanks [@benjie](https://github.com/benjie)! - Update `graphql` version range
129
-
130
- - Updated dependencies
131
- [[`4c3cf22`](https://github.com/graphile/crystal/commit/4c3cf22592f44cb28e399434474ca5fcef0e1a3b),
132
- [`71e0af2`](https://github.com/graphile/crystal/commit/71e0af265c90e9d9d0dc764cc552f7470e860251),
133
- [`ab96e5f`](https://github.com/graphile/crystal/commit/ab96e5f58aa3315db9b85b452b048f600cb8353e),
134
- [`278b4d3`](https://github.com/graphile/crystal/commit/278b4d398eb7db1935caba4155e1d1727284a370),
135
- [`eaa771b`](https://github.com/graphile/crystal/commit/eaa771b34dbdac1c4d701faa8fb5947e9cf1d1be),
136
- [`d0c15cc`](https://github.com/graphile/crystal/commit/d0c15ccc32ed8dec19ff068f851529132dc93302),
137
- [`bffbb77`](https://github.com/graphile/crystal/commit/bffbb775ea76d1add85422866a6b7e904d2311af),
138
- [`c48ca48`](https://github.com/graphile/crystal/commit/c48ca4840227b8e5e6a1dc198a189cfd911a602b)]:
139
- - grafast@0.1.1-beta.27
140
-
141
- ## 2.0.0-beta.36
142
-
143
- ### Patch Changes
144
-
145
- - [#2694](https://github.com/graphile/crystal/pull/2694)
146
- [`13513dd`](https://github.com/graphile/crystal/commit/13513ddaea15ad9498a77de7c4e92679498f99ca)
147
- Thanks [@benjie](https://github.com/benjie)! - Add support for `onError` RFC
148
- with `PROPAGATE`, `NULL` and `HALT` behaviors implemented.
149
-
150
- - [#2678](https://github.com/graphile/crystal/pull/2678)
151
- [`6dafac1`](https://github.com/graphile/crystal/commit/6dafac162955291e5147c21e57734b44e30acb98)
152
- Thanks [@benjie](https://github.com/benjie)! - Remove peer dependency
153
- optionality in an attempt to satisfy pnpm's installation algorithms
154
-
155
- - [#2676](https://github.com/graphile/crystal/pull/2676)
156
- [`34efed0`](https://github.com/graphile/crystal/commit/34efed09892d4b6533f40026de4a6b0a8a35035d)
157
- Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump mermaid from
158
- 11.8.1 to 11.10.0
159
-
160
- - Updated dependencies
161
- [[`c3f9c38`](https://github.com/graphile/crystal/commit/c3f9c38cb00ad4553e4bc3c04e16a7c77bd16142),
162
- [`13513dd`](https://github.com/graphile/crystal/commit/13513ddaea15ad9498a77de7c4e92679498f99ca),
163
- [`bc2b188`](https://github.com/graphile/crystal/commit/bc2b188a50e00f153dc68df6955399c5917130bd),
164
- [`c13813e`](https://github.com/graphile/crystal/commit/c13813eecb42c0d9a6703540c022e318e18c5751),
165
- [`4a9072b`](https://github.com/graphile/crystal/commit/4a9072bfa3d3e86c6013caf2b89a31e87f2bb421),
166
- [`6dafac1`](https://github.com/graphile/crystal/commit/6dafac162955291e5147c21e57734b44e30acb98),
167
- [`34efed0`](https://github.com/graphile/crystal/commit/34efed09892d4b6533f40026de4a6b0a8a35035d),
168
- [`185d449`](https://github.com/graphile/crystal/commit/185d449ed30d29c9134cc898b50a1473ab2910a2)]:
169
- - grafast@0.1.1-beta.26
170
-
171
- ## 2.0.0-beta.35
172
-
173
- ### Patch Changes
174
-
175
- - [`ce9dd46`](https://github.com/graphile/crystal/commit/ce9dd46bd0625ab23ee0f728baec0479149ef895)
176
- Thanks [@benjie](https://github.com/benjie)! - Fix the sidebar border in
177
- collapsed mode
178
-
179
- ## 2.0.0-beta.34
180
-
181
- ### Patch Changes
182
-
183
- - [#2646](https://github.com/graphile/crystal/pull/2646)
184
- [`59adcd5`](https://github.com/graphile/crystal/commit/59adcd52d3fd465c8d6afdcefaa41c82c9a77319)
185
- Thanks [@benjie](https://github.com/benjie)! - Add condensed mode for Ruru,
186
- enabled by default. (To disable, use the settings cog in the editor view and
187
- uncheck condensed.)
188
-
189
- - [#2645](https://github.com/graphile/crystal/pull/2645)
190
- [`f941cfd`](https://github.com/graphile/crystal/commit/f941cfdcc8235e34716d3595745a05e49267de12)
191
- Thanks [@benjie](https://github.com/benjie)! - Upgrade GraphiQL to latest
192
- release
193
-
194
- - Updated dependencies
195
- [[`2adfd6e`](https://github.com/graphile/crystal/commit/2adfd6efedd1ab6831605526a515c683a7e95c2c),
196
- [`6113518`](https://github.com/graphile/crystal/commit/61135188900c39d0cb6bd2f9c0033f0954cd0e6a)]:
197
- - grafast@0.1.1-beta.25
198
-
199
- ## 2.0.0-beta.33
200
-
201
- ### Patch Changes
202
-
203
- - [#2578](https://github.com/graphile/crystal/pull/2578)
204
- [`1d76d2f`](https://github.com/graphile/crystal/commit/1d76d2f0d19b4d56895ee9988440a35d2c60f9f9)
205
- Thanks [@benjie](https://github.com/benjie)! - 🚨 **Ruru has been "rebuilt"!
206
- The loading methods and APIs have changed!**
207
-
208
- Ruru is now built on top of GraphiQL v5, which moves to using the Monaco
209
- editor (the same editor used in VSCode) enabling more familiar keybindings and
210
- more features (e.g. press F1 in the editor to see the command palette, and you
211
- can now add comments in the variables JSON). This has required a
212
- rearchitecture to Ruru's previously "single file" approach since Monaco uses
213
- workers which require additional files.
214
-
215
- In this release we have embraced the bundle splitting approach. We now bundle
216
- both `prettier` and `mermaid`, and they are now loaded on-demand.
217
-
218
- Usage instructions for all environments have had to change since we can no
219
- longer serve Ruru as a single HTML file. We now include helpers for serving
220
- Ruru's static files from whatever JS-based webserver you are using.
221
-
222
- We've also added some additional improvements:
223
- - Formatting with prettier now maintains the cursor position
224
- (`Ctrl-Shift-P`/`Meta-Shift-P`/`Cmd-Shift-P` depending on platform)
225
- - All editors are now formatted, not just the GraphQL editor
226
- - Prettier and mermaid should now work offline
227
- - Even more GraphiQL props are now passed through, including
228
- `inputValueDeprecation` and `schemaDeprecation` which you can set to false
229
- if your GraphQL server is, _ahem_, a little behind the GraphQL spec draft.
230
-
231
- 🚨 **Changes you need to make:** 🚨
232
- - If you are using Ruru directly (i.e. importing from `ruru/server`), please
233
- see the new Ruru README for setup instructions, you'll want to switch out
234
- your previous setup. In particular, `ruru/bundle` no longer exists and you
235
- now need to serve the static files (via `ruru/static`).
236
- - `defaultHTMLParts` is no more; instead `config.htmlParts` (also
237
- `preset.ruru.htmlParts` for Graphile Config users) now allows the entries to
238
- be callback functions reducing boilerplate:
239
- ```diff
240
- -import { defaultHTMLParts } from "ruru/server";
241
- const config = {
242
- htmlParts: {
243
- - metaTags: defaultHTMLParts.metaTags + "<!-- local override -->",
244
- + metaTags: (base) => base + "<!-- local override -->",
245
- }
246
- }
247
- ```
248
- (alternatively you can use `makeHTMLParts(config)`)
249
- - Grafserv users: `plugin.grafserv.middleware.ruruHTMLParts` is renamed to
250
- `ruruHTML` and wraps the generation of the HTML - simply trim `Parts` from
251
- the name and be sure calling `next()` is the final line of the function
252
- ```diff
253
- const plugin = {
254
- grafserv: {
255
- middleware: {
256
- - ruruHTMLParts(next, event) {
257
- + ruruHTML(next, event) {
258
- const { htmlParts, request } = event;
259
- htmlParts.titleTag = `<title>${escapeHTML(
260
- "Ruru | " + request.getHeader("host"),
261
- )}</title>`;
262
- return next();
263
- },
264
- },
265
- },
266
- };
267
- ```
268
-
269
- Additional changes:
270
- - `RuruConfig.clientConfig` has been added for props to explicitly pass to
271
- Ruru making it explicit that these will be sent to the client
272
- - `RuruServerConfig` has deprecated the client options `editorTheme`,
273
- `debugTools` and `eventSourceInit` at the top level; instead these should be
274
- passed via `RuruServerConfig.clientConfig` making it explicit these will be
275
- sent to the client and expanding to cover more props
276
- ```diff
277
- const config = {
278
- endpoint: "/graphql",
279
- + clientConfig: {
280
- editorTheme: "dark",
281
- + },
282
- }
283
- ```
284
-
285
- - [#2605](https://github.com/graphile/crystal/pull/2605)
286
- [`24d379a`](https://github.com/graphile/crystal/commit/24d379ae4b8a3c0afe3f1a309d87806a05e8d00d)
287
- Thanks [@benjie](https://github.com/benjie)! - Add defaultTheme and
288
- forcedTheme props to Ruru (passed through to GraphiQL)
289
-
290
- - Updated dependencies
291
- [[`c54c6db`](https://github.com/graphile/crystal/commit/c54c6db320b3967ab16784a504770c9b5ef24494),
292
- [`ad588ec`](https://github.com/graphile/crystal/commit/ad588ecde230359f56800e414b7c5fa1aed14957)]:
293
- - grafast@0.1.1-beta.24
294
-
295
- ## 2.0.0-beta.32
296
-
297
- ### Patch Changes
298
-
299
- - [#2584](https://github.com/graphile/crystal/pull/2584)
300
- [`00b3b8b`](https://github.com/graphile/crystal/commit/00b3b8baea55f0f8cb90c769baf63b408a593182)
301
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to GraphiQL v4. 🚨
302
- Change `graphiql/graphiql.css` to `graphiql/style.css` and
303
- `@graphiql/plugin-explorer/dist/style.css` to
304
- `@graphiql/plugin-explorer/style.css`
305
-
306
- - [#2577](https://github.com/graphile/crystal/pull/2577)
307
- [`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47)
308
- Thanks [@benjie](https://github.com/benjie)! - Update dependencies
309
-
310
- - [#2582](https://github.com/graphile/crystal/pull/2582)
311
- [`826f2cb`](https://github.com/graphile/crystal/commit/826f2cbff651273098d6b0d8c343aefeacfb5a14)
312
- Thanks [@benjie](https://github.com/benjie)! - Fix button-in-button warning
313
- from ToolbarMenu
314
-
315
- - [#2585](https://github.com/graphile/crystal/pull/2585)
316
- [`5311f9c`](https://github.com/graphile/crystal/commit/5311f9c8206fb3287b6aae6c4e7668ae920a4441)
317
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to React 19
318
-
319
- - [#2583](https://github.com/graphile/crystal/pull/2583)
320
- [`faee38b`](https://github.com/graphile/crystal/commit/faee38bbff0421bbccfaa77c0dffa5c2d44e2b92)
321
- Thanks [@benjie](https://github.com/benjie)! - 🚨 Upgrade to graphql-ws v6
322
-
323
- - Updated dependencies
324
- [[`0c6b1f1`](https://github.com/graphile/crystal/commit/0c6b1f1e188f6e2913832adfed9ca76dfdc25c47)]:
325
- - grafast@0.1.1-beta.23
326
-
327
- ## 2.0.0-beta.31
328
-
329
- ### Patch Changes
330
-
331
- - [#2444](https://github.com/graphile/crystal/pull/2444)
332
- [`192a27e08763ea26607344a2ea6c7f5c595cc2a3`](https://github.com/graphile/crystal/commit/192a27e08763ea26607344a2ea6c7f5c595cc2a3)
333
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to Mermaid 11, and
334
- reduce verbosity of polymorphism in plan diagrams.
335
-
336
- - [#2546](https://github.com/graphile/crystal/pull/2546)
337
- [`997c49648b62a93e5b915c65c49cdad1654bef3e`](https://github.com/graphile/crystal/commit/997c49648b62a93e5b915c65c49cdad1654bef3e)
338
- Thanks [@benjie](https://github.com/benjie)! - Fix issue where ruru wasn't
339
- hiding explain output in incremental delivery results.
340
- - Updated dependencies
341
- [[`0e36cb9077c76710d2e407830323f86c5038126e`](https://github.com/graphile/crystal/commit/0e36cb9077c76710d2e407830323f86c5038126e),
342
- [`c0c3f48fa9f60cb9a4436ea135979b779ecc71ec`](https://github.com/graphile/crystal/commit/c0c3f48fa9f60cb9a4436ea135979b779ecc71ec),
343
- [`cef9a37f846b4af105ac20960530d65c9f44afa9`](https://github.com/graphile/crystal/commit/cef9a37f846b4af105ac20960530d65c9f44afa9),
344
- [`56ce94a847c6a4094643665cbf5d3712f56140b6`](https://github.com/graphile/crystal/commit/56ce94a847c6a4094643665cbf5d3712f56140b6),
345
- [`192a27e08763ea26607344a2ea6c7f5c595cc2a3`](https://github.com/graphile/crystal/commit/192a27e08763ea26607344a2ea6c7f5c595cc2a3),
346
- [`6ef6abce15936a896156d5316020df55cf7d18e3`](https://github.com/graphile/crystal/commit/6ef6abce15936a896156d5316020df55cf7d18e3),
347
- [`0239c2d519300a72f545e0db7c371adae4ade2a9`](https://github.com/graphile/crystal/commit/0239c2d519300a72f545e0db7c371adae4ade2a9),
348
- [`0ea439d33ccef7f8d01ac5f54893ab2bbf1cbd4d`](https://github.com/graphile/crystal/commit/0ea439d33ccef7f8d01ac5f54893ab2bbf1cbd4d),
349
- [`8034614d1078b1bd177b6e7fcc949420614e3245`](https://github.com/graphile/crystal/commit/8034614d1078b1bd177b6e7fcc949420614e3245),
350
- [`459e1869a2ec58925b2bac5458af487c52a8ca37`](https://github.com/graphile/crystal/commit/459e1869a2ec58925b2bac5458af487c52a8ca37),
351
- [`c350e49e372ec12a4cbf04fb6b4260e01832d12b`](https://github.com/graphile/crystal/commit/c350e49e372ec12a4cbf04fb6b4260e01832d12b),
352
- [`3176ea3e57d626b39613a73117ef97627370ec83`](https://github.com/graphile/crystal/commit/3176ea3e57d626b39613a73117ef97627370ec83),
353
- [`46a42f5547c041289aa98657ebc6815f4b6c8539`](https://github.com/graphile/crystal/commit/46a42f5547c041289aa98657ebc6815f4b6c8539),
354
- [`be3f174c5aae8fe78a240e1bc4e1de7f18644b43`](https://github.com/graphile/crystal/commit/be3f174c5aae8fe78a240e1bc4e1de7f18644b43),
355
- [`576fb8bad56cb940ab444574d752e914d462018a`](https://github.com/graphile/crystal/commit/576fb8bad56cb940ab444574d752e914d462018a),
356
- [`9f459101fa4428aa4bac71531e75f99e33da8e17`](https://github.com/graphile/crystal/commit/9f459101fa4428aa4bac71531e75f99e33da8e17),
357
- [`921665df8babe2651ab3b5886ab68bb518f2125b`](https://github.com/graphile/crystal/commit/921665df8babe2651ab3b5886ab68bb518f2125b),
358
- [`78bb1a615754d772a5fda000e96073c91fa9eba7`](https://github.com/graphile/crystal/commit/78bb1a615754d772a5fda000e96073c91fa9eba7),
359
- [`ab0bcda5fc3c136eea09493a7d9ed4542975858e`](https://github.com/graphile/crystal/commit/ab0bcda5fc3c136eea09493a7d9ed4542975858e),
360
- [`455f4811d37ad8fff91183c7a88621bcf9d79acf`](https://github.com/graphile/crystal/commit/455f4811d37ad8fff91183c7a88621bcf9d79acf),
361
- [`45adaff886e7cd72b864150927be6c0cb4a7dfe8`](https://github.com/graphile/crystal/commit/45adaff886e7cd72b864150927be6c0cb4a7dfe8)]:
362
- - grafast@0.1.1-beta.22
363
- - tamedevil@0.0.0-beta.8
364
-
365
- ## 2.0.0-beta.30
366
-
367
- ### Patch Changes
368
-
369
- - [#2426](https://github.com/graphile/crystal/pull/2426)
370
- [`658d46c9a5b246e3beb4ba2a004334278f7bb24d`](https://github.com/graphile/crystal/commit/658d46c9a5b246e3beb4ba2a004334278f7bb24d)
371
- Thanks [@benjie](https://github.com/benjie)! - Upgrade GraphiQL and fix
372
- duplicate module issue
373
-
374
- ## 2.0.0-beta.29
375
-
376
- ### Patch Changes
377
-
378
- - Updated dependencies
379
- [[`d34014a9a3c469154cc796086ba13719954731e5`](https://github.com/graphile/crystal/commit/d34014a9a3c469154cc796086ba13719954731e5),
380
- [`98516379ac355a0833a64e002f3717cc3a1d6473`](https://github.com/graphile/crystal/commit/98516379ac355a0833a64e002f3717cc3a1d6473),
381
- [`f8602d05eed3247c90b87c55d7af580d1698effc`](https://github.com/graphile/crystal/commit/f8602d05eed3247c90b87c55d7af580d1698effc),
382
- [`65df25534fa3f787ba2ab7fd9547d295ff2b1288`](https://github.com/graphile/crystal/commit/65df25534fa3f787ba2ab7fd9547d295ff2b1288),
383
- [`1b3c76efd27df73eab3a5a1d221ce13de4cd6b1a`](https://github.com/graphile/crystal/commit/1b3c76efd27df73eab3a5a1d221ce13de4cd6b1a),
384
- [`3c0a925f26f10cae627a23c49c75ccd8d76b60c8`](https://github.com/graphile/crystal/commit/3c0a925f26f10cae627a23c49c75ccd8d76b60c8),
385
- [`fcaeb48844156e258a037f420ea1505edb50c52a`](https://github.com/graphile/crystal/commit/fcaeb48844156e258a037f420ea1505edb50c52a),
386
- [`68926abc31c32ce527327ffbb1ede4b0b7be446b`](https://github.com/graphile/crystal/commit/68926abc31c32ce527327ffbb1ede4b0b7be446b),
387
- [`4b49dbd2df3b339a2ba3f1e9ff400fa1a125298b`](https://github.com/graphile/crystal/commit/4b49dbd2df3b339a2ba3f1e9ff400fa1a125298b),
388
- [`d7950e8e28ec6106a4ce2f7fe5e35d88b10eac48`](https://github.com/graphile/crystal/commit/d7950e8e28ec6106a4ce2f7fe5e35d88b10eac48),
389
- [`c8f1971ea4198633ec97f72f82abf65089f71a88`](https://github.com/graphile/crystal/commit/c8f1971ea4198633ec97f72f82abf65089f71a88),
390
- [`dd3d22eab73a8554715bf1111e30586251f69a88`](https://github.com/graphile/crystal/commit/dd3d22eab73a8554715bf1111e30586251f69a88),
391
- [`a120a8e43b24dfc174950cdbb69e481272a0b45e`](https://github.com/graphile/crystal/commit/a120a8e43b24dfc174950cdbb69e481272a0b45e),
392
- [`84f06eafa051e907a3050237ac6ee5aefb184652`](https://github.com/graphile/crystal/commit/84f06eafa051e907a3050237ac6ee5aefb184652),
393
- [`4a3aeaa77c8b8d2e39c1a9d05581d0c613b812cf`](https://github.com/graphile/crystal/commit/4a3aeaa77c8b8d2e39c1a9d05581d0c613b812cf),
394
- [`0fc2db95d90df918cf5c59ef85f22ac78d8000d3`](https://github.com/graphile/crystal/commit/0fc2db95d90df918cf5c59ef85f22ac78d8000d3),
395
- [`90e81a5deeae554a8be2dd55dcd01489860e96e6`](https://github.com/graphile/crystal/commit/90e81a5deeae554a8be2dd55dcd01489860e96e6),
396
- [`c59132eb7a93bc82493d2f1ca050db8aaea9f4d1`](https://github.com/graphile/crystal/commit/c59132eb7a93bc82493d2f1ca050db8aaea9f4d1),
397
- [`7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7`](https://github.com/graphile/crystal/commit/7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7),
398
- [`728888b28fcd2a6fc481e0ccdfe20d41181a091f`](https://github.com/graphile/crystal/commit/728888b28fcd2a6fc481e0ccdfe20d41181a091f),
399
- [`f4f39092d7a51517668384945895d3b450237cce`](https://github.com/graphile/crystal/commit/f4f39092d7a51517668384945895d3b450237cce),
400
- [`5cf3dc9d158891eaf324b2cd4f485d1d4bbb6b5e`](https://github.com/graphile/crystal/commit/5cf3dc9d158891eaf324b2cd4f485d1d4bbb6b5e),
401
- [`83d3b533e702cc875b46ba2ca02bf3642b421be8`](https://github.com/graphile/crystal/commit/83d3b533e702cc875b46ba2ca02bf3642b421be8),
402
- [`7001138c38e09822ad13db1018c62d2cac37941e`](https://github.com/graphile/crystal/commit/7001138c38e09822ad13db1018c62d2cac37941e),
403
- [`e9e7e33665e22ec397e9ead054d2e4aad3eadc8c`](https://github.com/graphile/crystal/commit/e9e7e33665e22ec397e9ead054d2e4aad3eadc8c),
404
- [`bb6ec8d834e3e630e28316196246f514114a2296`](https://github.com/graphile/crystal/commit/bb6ec8d834e3e630e28316196246f514114a2296),
405
- [`2b1918d053f590cdc534c8cb81f7e74e96c1bbe6`](https://github.com/graphile/crystal/commit/2b1918d053f590cdc534c8cb81f7e74e96c1bbe6),
406
- [`d1ecb39693a341f85762b27012ec4ea013857b0c`](https://github.com/graphile/crystal/commit/d1ecb39693a341f85762b27012ec4ea013857b0c),
407
- [`042ebafe11fcf7e2ecac9b131265a55dddd42a6d`](https://github.com/graphile/crystal/commit/042ebafe11fcf7e2ecac9b131265a55dddd42a6d),
408
- [`fa005eb0783c58a2476add984fbdd462e0e91dbe`](https://github.com/graphile/crystal/commit/fa005eb0783c58a2476add984fbdd462e0e91dbe),
409
- [`df0e5a0f968cf6f9ae97b68745a9a2f391324bf5`](https://github.com/graphile/crystal/commit/df0e5a0f968cf6f9ae97b68745a9a2f391324bf5),
410
- [`ef4cf75acd80e6b9c700c2b5a7ace899e565ef7f`](https://github.com/graphile/crystal/commit/ef4cf75acd80e6b9c700c2b5a7ace899e565ef7f),
411
- [`c041fd250372c57601188b65a6411c8f440afab6`](https://github.com/graphile/crystal/commit/c041fd250372c57601188b65a6411c8f440afab6),
412
- [`629b45aab49151810f6efc18ac18f7d735626433`](https://github.com/graphile/crystal/commit/629b45aab49151810f6efc18ac18f7d735626433),
413
- [`6d19724330d50d076aab9442660fa8abddd095cb`](https://github.com/graphile/crystal/commit/6d19724330d50d076aab9442660fa8abddd095cb),
414
- [`ca5bc1a834df7b894088fb8602a12f9fcff55b38`](https://github.com/graphile/crystal/commit/ca5bc1a834df7b894088fb8602a12f9fcff55b38),
415
- [`da6f3c04efe3d8634c0bc3fcf93ac2518de85322`](https://github.com/graphile/crystal/commit/da6f3c04efe3d8634c0bc3fcf93ac2518de85322),
416
- [`f0bc64b71914dfdd3612f4b65370401fd85b97bc`](https://github.com/graphile/crystal/commit/f0bc64b71914dfdd3612f4b65370401fd85b97bc)]:
417
- - grafast@0.1.1-beta.21
418
-
419
- ## 2.0.0-beta.28
420
-
421
- ### Patch Changes
422
-
423
- - Updated dependencies
424
- [[`fc9d64eb8`](https://github.com/graphile/crystal/commit/fc9d64eb8002d3b72625bc505ed76c07f4296d68),
425
- [`a2dbad945`](https://github.com/graphile/crystal/commit/a2dbad9457195bec797d72e4e6d45f45278f9f69),
426
- [`31078842a`](https://github.com/graphile/crystal/commit/31078842ad0eeaa7111491fa9eb5e3bd026fb38a),
427
- [`5a0ec31de`](https://github.com/graphile/crystal/commit/5a0ec31deae91f1dd17a77a4bb7c1a911a27e26a)]:
428
- - grafast@0.1.1-beta.20
429
-
430
- ## 2.0.0-beta.27
431
-
432
- ### Patch Changes
433
-
434
- - Updated dependencies []:
435
- - grafast@0.1.1-beta.19
436
-
437
- ## 2.0.0-beta.26
438
-
439
- ### Patch Changes
440
-
441
- - Updated dependencies
442
- [[`b336a5829`](https://github.com/graphile/crystal/commit/b336a58291cfec7aef884d3843172d408abfaf3c)]:
443
- - grafast@0.1.1-beta.18
444
-
445
- ## 2.0.0-beta.25
446
-
447
- ### Patch Changes
448
-
449
- - [#2266](https://github.com/graphile/crystal/pull/2266)
450
- [`38163c86a`](https://github.com/graphile/crystal/commit/38163c86ae628fed84cf38fc6a1cc76a7bc7932a)
451
- Thanks [@hos](https://github.com/hos)! - Fix white-screen-of-death caused by
452
- EventSource disconnection. Instead, handle errors gracefully. Also, allow
453
- overriding of the EventSource configuration options.
454
- - Updated dependencies
455
- [[`69ab227b5`](https://github.com/graphile/crystal/commit/69ab227b5e1c057a6fc8ebba87bde80d5aa7f3c8)]:
456
- - grafast@0.1.1-beta.17
457
-
458
- ## 2.0.0-beta.24
459
-
460
- ### Patch Changes
461
-
462
- - Updated dependencies
463
- [[`76c7340b7`](https://github.com/graphile/crystal/commit/76c7340b74d257c454beec883384d19ef078b21e)]:
464
- - grafast@0.1.1-beta.16
465
-
466
- ## 2.0.0-beta.23
467
-
468
- ### Patch Changes
469
-
470
- - Updated dependencies
471
- [[`d5834def1`](https://github.com/graphile/crystal/commit/d5834def1fb84f3e2c0c0a6f146f8249a6df890a),
472
- [`42b982463`](https://github.com/graphile/crystal/commit/42b9824637a6c05e02935f2b05b5e8e0c61965a6),
473
- [`884a4b429`](https://github.com/graphile/crystal/commit/884a4b4297af90fdadaf73addd524f1fbbcfdcce),
474
- [`38835313a`](https://github.com/graphile/crystal/commit/38835313ad93445206dccdd4cf07b90c5a6e4377),
475
- [`b0865d169`](https://github.com/graphile/crystal/commit/b0865d1691105b5419009954c98c8109a27a5d81)]:
476
- - grafast@0.1.1-beta.15
477
-
478
- ## 2.0.0-beta.22
479
-
480
- ### Patch Changes
481
-
482
- - Updated dependencies
483
- [[`871d32b2a`](https://github.com/graphile/crystal/commit/871d32b2a18df0d257880fc54a61d9e68c4607d6),
484
- [`a26e3a30c`](https://github.com/graphile/crystal/commit/a26e3a30c02f963f8f5e9c9d021e871f33689e1b),
485
- [`02c11a4d4`](https://github.com/graphile/crystal/commit/02c11a4d42bf434dffc9354b300e8d791c4eeb2d)]:
486
- - grafast@0.1.1-beta.14
487
-
488
- ## 2.0.0-beta.21
489
-
490
- ### Patch Changes
491
-
492
- - Updated dependencies
493
- [[`807650035`](https://github.com/graphile/crystal/commit/8076500354a3e2bc2de1b6c4e947bd710cc5bddc)]:
494
- - grafast@0.1.1-beta.13
495
-
496
- ## 2.0.0-beta.20
497
-
498
- ### Patch Changes
499
-
500
- - [#2125](https://github.com/graphile/crystal/pull/2125)
501
- [`18addb385`](https://github.com/graphile/crystal/commit/18addb3852525aa91019a36d58fa2fecd8b5b443)
502
- Thanks [@benjie](https://github.com/benjie)! - Change how unary steps are
503
- rendered to plan diagrams, fixing the rendering of side-effect steps.
504
-
505
- - [#2124](https://github.com/graphile/crystal/pull/2124)
506
- [`cf535c210`](https://github.com/graphile/crystal/commit/cf535c21078da06c14dd12f30e9b4378da4ded03)
507
- Thanks [@benjie](https://github.com/benjie)! - Render implicit side effects as
508
- dependencies on plan diagram
509
-
510
- - Updated dependencies
511
- [[`1bd50b61e`](https://github.com/graphile/crystal/commit/1bd50b61ebb10b7d09b3612c2e2767c41cca3b78),
512
- [`4e102b1a1`](https://github.com/graphile/crystal/commit/4e102b1a1cd232e6f6703df0706415f01831dab2),
513
- [`7bb1573ba`](https://github.com/graphile/crystal/commit/7bb1573ba45a4d8b7fa9ad53cdd79686d2641383),
514
- [`18addb385`](https://github.com/graphile/crystal/commit/18addb3852525aa91019a36d58fa2fecd8b5b443),
515
- [`6ed615e55`](https://github.com/graphile/crystal/commit/6ed615e557b2ab1fb57f1e68c06730a8e3da7175),
516
- [`b25cc539c`](https://github.com/graphile/crystal/commit/b25cc539c00aeda7a943c37509aaae4dc7812317),
517
- [`867f33136`](https://github.com/graphile/crystal/commit/867f331365346fc46ed1e0d23c79719846e398f4),
518
- [`cf535c210`](https://github.com/graphile/crystal/commit/cf535c21078da06c14dd12f30e9b4378da4ded03),
519
- [`acf99b190`](https://github.com/graphile/crystal/commit/acf99b190954e3c5926e820daed68dfe8eb3ee1f),
520
- [`4967a197f`](https://github.com/graphile/crystal/commit/4967a197fd2c71ee2a581fe29470ee9f30e74de5),
521
- [`1908e1ba1`](https://github.com/graphile/crystal/commit/1908e1ba11883a34dac66f985fc20ab160e572b1),
522
- [`084d80be6`](https://github.com/graphile/crystal/commit/084d80be6e17187c9a9932bcf079e3f460368782)]:
523
- - grafast@0.1.1-beta.12
524
-
525
- ## 2.0.0-beta.19
526
-
527
- ### Patch Changes
528
-
529
- - Updated dependencies
530
- [[`582bd768f`](https://github.com/graphile/crystal/commit/582bd768fec403ce3284f293b85b9fd86e4d3f40)]:
531
- - grafast@0.1.1-beta.11
532
-
533
- ## 2.0.0-beta.18
534
-
535
- ### Patch Changes
536
-
537
- - Updated dependencies
538
- [[`3c161f7e1`](https://github.com/graphile/crystal/commit/3c161f7e13375105b1035a7d5d1c0f2b507ca5c7),
539
- [`a674a9923`](https://github.com/graphile/crystal/commit/a674a9923bc908c9315afa40e0cb256ee0953d16),
540
- [`b7cfeffd1`](https://github.com/graphile/crystal/commit/b7cfeffd1019d61c713a5054c4f5929960a2a6ab)]:
541
- - grafast@0.1.1-beta.10
542
-
543
- ## 2.0.0-beta.17
544
-
545
- ### Patch Changes
546
-
547
- - Updated dependencies
548
- [[`437570f97`](https://github.com/graphile/crystal/commit/437570f97e8520afaf3d0d0b514d1f4c31546b76)]:
549
- - grafast@0.1.1-beta.9
550
-
551
- ## 2.0.0-beta.16
552
-
553
- ### Patch Changes
554
-
555
- - Updated dependencies
556
- [[`bd5a908a4`](https://github.com/graphile/crystal/commit/bd5a908a4d04310f90dfb46ad87398ffa993af3b)]:
557
- - grafast@0.1.1-beta.8
558
-
559
- ## 2.0.0-beta.15
560
-
561
- ### Patch Changes
562
-
563
- - Updated dependencies
564
- [[`357d475f5`](https://github.com/graphile/crystal/commit/357d475f54fecc8c51892e0346d6872b34132430),
565
- [`3551725e7`](https://github.com/graphile/crystal/commit/3551725e71c3ed876554e19e5ab2c1dcb0fb1143),
566
- [`80836471e`](https://github.com/graphile/crystal/commit/80836471e5cedb29dee63bc5002550c4f1713cfd),
567
- [`b788dd868`](https://github.com/graphile/crystal/commit/b788dd86849e703cc3aa863fd9190c36a087b865),
568
- [`a5c20fefb`](https://github.com/graphile/crystal/commit/a5c20fefb571dea6d1187515dc48dd547e9e6204),
569
- [`1ce08980e`](https://github.com/graphile/crystal/commit/1ce08980e2a52ed9bc81564d248c19648ecd3616),
570
- [`dff4f2535`](https://github.com/graphile/crystal/commit/dff4f2535ac6ce893089b312fcd5fffcd98573a5),
571
- [`a287a57c2`](https://github.com/graphile/crystal/commit/a287a57c2765da0fb6a132ea0953f64453210ceb),
572
- [`2fe56f9a6`](https://github.com/graphile/crystal/commit/2fe56f9a6dac03484ace45c29c2223a65f9ca1db),
573
- [`fed603d71`](https://github.com/graphile/crystal/commit/fed603d719c02f33e12190f925c9e3b06c581fac),
574
- [`ed6e0d278`](https://github.com/graphile/crystal/commit/ed6e0d2788217a1c419634837f4208013eaf2923),
575
- [`e82e4911e`](https://github.com/graphile/crystal/commit/e82e4911e32138df1b90ec0fde555ea963018d21),
576
- [`42ece5aa6`](https://github.com/graphile/crystal/commit/42ece5aa6ca05345ebc17fb5c7d55df3b79b7612),
577
- [`e0d69e518`](https://github.com/graphile/crystal/commit/e0d69e518a98c70f9b90f59d243ce33978c1b5a1),
578
- [`6699388ec`](https://github.com/graphile/crystal/commit/6699388ec167d35c71220ce5d9113cac578da6cb),
579
- [`966203504`](https://github.com/graphile/crystal/commit/96620350467ab8c65b56adf2f055e19450f8e772),
580
- [`c1645b249`](https://github.com/graphile/crystal/commit/c1645b249aae949a548cd916e536ccfb63e5ab35),
581
- [`ed8bbaa3c`](https://github.com/graphile/crystal/commit/ed8bbaa3cd1563a7601ca8c6b0412633b0ea4ce9),
582
- [`a0e82b9c5`](https://github.com/graphile/crystal/commit/a0e82b9c5f4e585f1af1e147299cd07944ece6f8),
583
- [`14e2412ee`](https://github.com/graphile/crystal/commit/14e2412ee368e8d53abf6774c7f0069f32d4e8a3),
584
- [`57ab0e1e7`](https://github.com/graphile/crystal/commit/57ab0e1e72c01213b21d3efc539cd655d83d993a),
585
- [`8442242e4`](https://github.com/graphile/crystal/commit/8442242e43cac7d89ca0c413cf42c9fabf6f247f),
586
- [`64ce7b765`](https://github.com/graphile/crystal/commit/64ce7b7650530251aec38a51089da66f914c19b4),
587
- [`cba842357`](https://github.com/graphile/crystal/commit/cba84235786acbd77ade53bae7a3fba4a9be1eb7),
588
- [`2fa77d0f2`](https://github.com/graphile/crystal/commit/2fa77d0f237cdb98d3dafb6b5e4083a2c6c38673)]:
589
- - grafast@0.1.1-beta.7
590
- - tamedevil@0.0.0-beta.7
591
-
592
- ## 2.0.0-beta.14
593
-
594
- ### Patch Changes
595
-
596
- - Updated dependencies
597
- [[`9f85c614d`](https://github.com/graphile/crystal/commit/9f85c614d48dc745c5fed15333dbb75af7fddc88),
598
- [`6c6be29f1`](https://github.com/graphile/crystal/commit/6c6be29f12b24782c926b2bc62ed2ede09ac05de),
599
- [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad)]:
600
- - grafast@0.1.1-beta.6
601
- - tamedevil@0.0.0-beta.6
602
-
603
- ## 2.0.0-beta.13
604
-
605
- ### Patch Changes
606
-
607
- - [#1931](https://github.com/graphile/crystal/pull/1931)
608
- [`dfac3f790`](https://github.com/graphile/crystal/commit/dfac3f790ec5c446c132202dde624aeeb75b5a6d)
609
- Thanks [@benjie](https://github.com/benjie)! - Fix issue where headers weren't
610
- sent via websocket connectionParams
611
-
612
- - [#1931](https://github.com/graphile/crystal/pull/1931)
613
- [`941e28003`](https://github.com/graphile/crystal/commit/941e280038a735014a9fe4e24fc534a197fac0f2)
614
- Thanks [@benjie](https://github.com/benjie)! - Add support for deprecated
615
- arguments to Ruru.
616
-
617
- - [#1931](https://github.com/graphile/crystal/pull/1931)
618
- [`068be2f51`](https://github.com/graphile/crystal/commit/068be2f51d7a9c17311f26c6c9451985397c9e1f)
619
- Thanks [@benjie](https://github.com/benjie)! - Fix issue typing into Ruru
620
- explorer plugin - characters no longer overwritten.
621
-
622
- - Updated dependencies
623
- [[`49fd8afed`](https://github.com/graphile/crystal/commit/49fd8afed1afe573ea76a2a7a821dfa5d6288e2d),
624
- [`63dd7ea99`](https://github.com/graphile/crystal/commit/63dd7ea992d30ad711dd85a73a127484a0e35479),
625
- [`d801c9778`](https://github.com/graphile/crystal/commit/d801c9778a86d61e060896460af9fe62a733534a),
626
- [`ef44c29b2`](https://github.com/graphile/crystal/commit/ef44c29b24a1ad5a042ae1536a4546dd64b17195),
627
- [`8ea67f891`](https://github.com/graphile/crystal/commit/8ea67f8910693edaf70daa9952e35d8396166f38)]:
628
- - tamedevil@0.0.0-beta.5
629
- - grafast@0.1.1-beta.5
630
-
631
- ## 2.0.0-beta.12
632
-
633
- ### Patch Changes
634
-
635
- - Updated dependencies
636
- [[`1b6c2f636`](https://github.com/graphile/crystal/commit/1b6c2f6360a316a8dc550c60e28c61deea538f19),
637
- [`a2176ea32`](https://github.com/graphile/crystal/commit/a2176ea324db0801249661b30e9c9d314c6fb159),
638
- [`886833e2e`](https://github.com/graphile/crystal/commit/886833e2e319f23d905d7184ca88fca701b94044)]:
639
- - tamedevil@0.0.0-beta.4
640
- - grafast@0.1.1-beta.4
641
-
642
- ## 2.0.0-beta.11
643
-
644
- ### Patch Changes
645
-
646
- - Updated dependencies []:
647
- - grafast@0.1.1-beta.3
648
-
649
- ## 2.0.0-beta.10
650
-
651
- ### Patch Changes
652
-
653
- - Updated dependencies
654
- [[`3fdc2bce4`](https://github.com/graphile/crystal/commit/3fdc2bce42418773f808c5b8309dfb361cd95ce9),
655
- [`aeef362b5`](https://github.com/graphile/crystal/commit/aeef362b5744816f01e4a6f714bbd77f92332bc5),
656
- [`8a76db07f`](https://github.com/graphile/crystal/commit/8a76db07f4c110cecc6225504f9a05ccbcbc7b92),
657
- [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f),
658
- [`1c9f1c0ed`](https://github.com/graphile/crystal/commit/1c9f1c0edf4e621a5b6345d3a41527a18143c6ae)]:
659
- - grafast@0.1.1-beta.2
660
-
661
- ## 2.0.0-beta.9
662
-
663
- ### Patch Changes
664
-
665
- - [#1833](https://github.com/graphile/crystal/pull/1833)
666
- [`11ceb1753`](https://github.com/graphile/crystal/commit/11ceb1753ee42ee6d991e618dedc670a6f238fab)
667
- Thanks [@benjie](https://github.com/benjie)! - Rework how schema fetching
668
- works to solve issue with headers not being sent. Thanks @JoviDeCroock for the
669
- inspiration.
670
- - Updated dependencies
671
- [[`49fcb0d58`](https://github.com/graphile/crystal/commit/49fcb0d585b31b291c9072c339d6f5b550eefc9f)]:
672
- - grafast@0.1.1-beta.1
673
-
674
- ## 2.0.0-beta.8
675
-
676
- ### Patch Changes
677
-
678
- - [#1799](https://github.com/graphile/crystal/pull/1799)
679
- [`3dd5d86d6`](https://github.com/graphile/crystal/commit/3dd5d86d6c1ea7ba106c08e8a315ec47ed6cfa2d)
680
- Thanks [@jvandermey](https://github.com/jvandermey)! - Can now pass onEdit
681
- callbacks through the Ruru config via the plugin system; e.g. to update the
682
- URL search params with the current editor state.
683
-
684
- ## 2.0.0-beta.7
685
-
686
- ### Patch Changes
687
-
688
- - [#1796](https://github.com/graphile/crystal/pull/1796)
689
- [`ebb0b817e`](https://github.com/graphile/crystal/commit/ebb0b817e3efe210445d3f3396ff4bc53ebab3e7)
690
- Thanks [@benjie](https://github.com/benjie)! - Can now set initial query and
691
- variables in Ruru via the plugin system; e.g. to set query/variables based on
692
- query string.
693
-
694
- ## 2.0.0-beta.6
695
-
696
- ### Patch Changes
697
-
698
- - Updated dependencies
699
- [[`4a4d26d87`](https://github.com/graphile/crystal/commit/4a4d26d87ce74589429b8ca5126a7bfdf30351b8),
700
- [`b2bce88da`](https://github.com/graphile/crystal/commit/b2bce88da26c7a8965468be16fc2d935eadd3434),
701
- [`861a8a306`](https://github.com/graphile/crystal/commit/861a8a306ef42a821da19e77903ddd7e8130bfb3)]:
702
- - grafast@0.1.1-beta.0
703
-
704
- ## 2.0.0-beta.5
705
-
706
- ### Patch Changes
707
-
708
- - [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
709
- [`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
710
- Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
711
- information
712
-
713
- - Updated dependencies
714
- [[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b),
715
- [`ede1092fe`](https://github.com/graphile/crystal-pre-merge/commit/ede1092fe197719b6fa786f4cfa75f6a1f4c56c1),
716
- [`566983fbd`](https://github.com/graphile/crystal-pre-merge/commit/566983fbd99c4b2df8c4ebd6260521670a2b7dfc),
717
- [`409bf6071`](https://github.com/graphile/crystal-pre-merge/commit/409bf607180d4d8faec658c803e5ec4d1a00c451)]:
718
- - grafast@0.0.1-beta.8
719
- - tamedevil@0.0.0-beta.3
720
-
721
- ## 2.0.0-beta.4
722
-
723
- ### Patch Changes
724
-
725
- - Updated dependencies
726
- [[`3700e204f`](https://github.com/benjie/crystal/commit/3700e204f430db182c92ca7abc82017c81fa1f9b)]:
727
- - grafast@0.0.1-beta.7
728
-
729
- ## 2.0.0-beta.3
730
-
731
- ### Patch Changes
732
-
733
- - [#496](https://github.com/benjie/crystal/pull/496)
734
- [`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
735
- Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
736
- through major versions).
737
-
738
- - [#496](https://github.com/benjie/crystal/pull/496)
739
- [`1867d365f`](https://github.com/benjie/crystal/commit/1867d365f360ac8411f622b0813ca76a19ab4013)
740
- Thanks [@benjie](https://github.com/benjie)! - Ruru now runs on React 18
741
-
742
- - [#496](https://github.com/benjie/crystal/pull/496)
743
- [`c747d91e9`](https://github.com/benjie/crystal/commit/c747d91e9646409c66e73c12195dbf6cbd97b211)
744
- Thanks [@benjie](https://github.com/benjie)! - Modules converted to ESM to fix
745
- compatibility with GraphiQL.
746
-
747
- - Updated dependencies
748
- [[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1),
749
- [`e613b476d`](https://github.com/benjie/crystal/commit/e613b476d6ee867d1f7509c895dabee40e7f9a31)]:
750
- - grafast@0.0.1-beta.6
751
- - tamedevil@0.0.0-beta.2
752
-
753
- ## 2.0.0-beta.2
754
-
755
- ### Patch Changes
756
-
757
- - [#488](https://github.com/benjie/crystal/pull/488)
758
- [`9f82b8612`](https://github.com/benjie/crystal/commit/9f82b861206fdd2b8a7c50ba5184112dfb57b54a)
759
- Thanks [@benjie](https://github.com/benjie)! - Fix detection of SQL aliases
760
-
761
- ## 2.0.0-beta.1
762
-
763
- ### Patch Changes
764
-
765
- - [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
766
- Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
767
-
768
- ## 2.0.0-alpha.2
769
-
770
- ### Patch Changes
771
-
772
- - [`2fe247f75`](https://github.com/benjie/crystal/commit/2fe247f751377e18b3d6809cba39a01aa1602dbc)
773
- Thanks [@benjie](https://github.com/benjie)! - Added ability to download
774
- mermaid plan diagram as SVG.
775
-
776
- - [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
777
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
778
- TypeScript/tslib
779
-
780
- ## 2.0.0-alpha.1
781
-
782
- ### Patch Changes
783
-
784
- - [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
785
- Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
786
- https://postgraphile.org/news/2023-04-26-version-5-alpha
787
-
788
- ## 2.0.0-1.1
789
-
790
- ### Patch Changes
791
-
792
- - [#267](https://github.com/benjie/crystal/pull/267)
793
- [`159735204`](https://github.com/benjie/crystal/commit/15973520462d4a95e3cdf04fdacfc71ca851122f)
794
- Thanks [@benjie](https://github.com/benjie)! - Add formatting for SQL aliases
795
-
796
- - [#260](https://github.com/benjie/crystal/pull/260)
797
- [`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
798
- Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
799
-
800
- ## 2.0.0-0.9
801
-
802
- ### Patch Changes
803
-
804
- - [`612092359`](undefined) - Fix header saving
805
-
806
- ## 2.0.0-0.8
807
-
808
- ### Patch Changes
809
-
810
- - [#229](https://github.com/benjie/crystal/pull/229)
811
- [`b795b3da5`](https://github.com/benjie/crystal/commit/b795b3da5f8e8f13c495be3a8cf71667f3d149f8)
812
- Thanks [@benjie](https://github.com/benjie)! - Upgrade GraphiQL, gaining the
813
- watch mode fix.
814
-
815
- ## 2.0.0-0.7
816
-
817
- ### Patch Changes
818
-
819
- - [#200](https://github.com/benjie/crystal/pull/200)
820
- [`e11698473`](https://github.com/benjie/crystal/commit/e1169847303790570bfafa07eb25d8fce53a0391)
821
- Thanks [@benjie](https://github.com/benjie)! - Add support for websocket
822
- subscriptions to Ruru.
823
-
824
- ## 2.0.0-0.6
825
-
826
- ### Patch Changes
827
-
828
- - [`a40fa6966`](undefined) - Default to explain enabled. Fix issues with fetcher
829
- mutating immutable objects. Fix typo in README. Fix playground on grafast
830
- website.
831
-
832
- ## 2.0.0-0.5
833
-
834
- ### Patch Changes
835
-
836
- - [`9b296ba54`](undefined) - More secure, more compatible, and lots of fixes
837
- across the monorepo