Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions juniper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi

- [September 2025] GraphQL spec: ([#1347])
- Canonical introspection query to [16.11.0 version of GraphQL.js](https://github.com/graphql/graphql-js/blob/v16.11.0/src/utilities/getIntrospectionQuery.ts#L75). ([#1348])
- Upgraded [GraphiQL] to [5.2.2 version](https://github.com/graphql/graphiql/blob/graphiql%405.2.2/packages/graphiql/CHANGELOG.md#522). ([#1361], [#1358])
- Upgraded [GraphiQL] to [5.2.3 version](https://github.com/graphql/graphiql/blob/graphiql%405.2.3/packages/graphiql/CHANGELOG.md#523). ([#1361], [#1377])

### Fixed

Expand All @@ -76,10 +76,10 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
[#1353]: /../../pull/1353
[#1354]: /../../pull/1354
[#1355]: /../../pull/1355
[#1358]: /../../pull/1358
[#1361]: /../../pull/1361
[#1371]: /../../pull/1371
[#1376]: /../../pull/1376
[#1377]: /../../pull/1377
[graphql/graphql-spec#525]: https://github.com/graphql/graphql-spec/pull/525
[graphql/graphql-spec#687]: https://github.com/graphql/graphql-spec/issues/687
[graphql/graphql-spec#805]: https://github.com/graphql/graphql-spec/pull/805
Expand Down
14 changes: 10 additions & 4 deletions juniper/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ graphiql:
| grep -m1 '"@graphiql/toolkit": "' | cut -d '"' -f4 | cut -d '^' -f2)))
curl -fsL -o src/http/graphiql.html \
https://raw.githubusercontent.com/graphql/graphiql/graphiql%40$(GRAPHIQL_VER)/examples/graphiql-cdn/index.html
$(sed-i) 's|esm.sh/graphiql|esm.sh/graphiql@$(GRAPHIQL_VER)|g' \
$(sed-i) -E 's|esm.sh/graphiql@[^/?]+|esm.sh/graphiql@$(GRAPHIQL_VER)|g' \
src/http/graphiql.html
$(sed-i) 's|esm.sh/@graphiql/plugin-explorer|esm.sh/@graphiql/plugin-explorer@$(graphiql-plugin-explorer-ver)|g' \
$(sed-i) -E 's|esm.sh/@graphiql/plugin-explorer@[^/?]+|esm.sh/@graphiql/plugin-explorer@$(graphiql-plugin-explorer-ver)|g' \
src/http/graphiql.html
$(sed-i) 's|esm.sh/@graphiql/react|esm.sh/@graphiql/react@$(graphiql-react-ver)|g' \
$(sed-i) -E 's|esm.sh/@graphiql/react@[^/?]+|esm.sh/@graphiql/react@$(graphiql-react-ver)|g' \
src/http/graphiql.html
$(sed-i) 's|esm.sh/@graphiql/toolkit|esm.sh/@graphiql/toolkit@$(graphiql-toolkit-ver)|g' \
$(sed-i) -E 's|esm.sh/@graphiql/toolkit@[^/?]+|esm.sh/@graphiql/toolkit@$(graphiql-toolkit-ver)|g' \
src/http/graphiql.html
$(sed-i) "s|'https://countries.trevorblades.com'|JUNIPER_URL|g" \
src/http/graphiql.html
Expand All @@ -62,6 +62,12 @@ graphiql:
src/http/graphiql.html
$(sed-i) 's|GraphiQL 5 with React 19 and GraphiQL Explorer|GraphiQL|' \
src/http/graphiql.html
$(sed-i) -E '/integrity="[^"]+"/d' \
src/http/graphiql.html
$(sed-i) '/"integrity": {/,/}/d' \
src/http/graphiql.html
$(sed-i) -E 's| },| }|' \
src/http/graphiql.html


# Download and prepare actual version of GraphQL Playground static files, used
Expand Down
2 changes: 1 addition & 1 deletion juniper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"postinstall": "make graphiql graphql-playground"
},
"dependencies": {
"graphiql": "5.2.2",
"graphiql": "5.2.3",
"graphql-playground-react": "1.7.28"
}
}
32 changes: 17 additions & 15 deletions juniper/src/http/graphiql.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@
font-size: 4rem;
}
</style>
<link rel="stylesheet" href="https://esm.sh/graphiql@5.2.2/dist/style.css" />
<link
rel="stylesheet"
href="https://esm.sh/@graphiql/plugin-explorer@5.1.1/dist/style.css"
href="https://esm.sh/graphiql@5.2.3/dist/style.css"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://esm.sh/@graphiql/plugin-explorer@5.1.2/dist/style.css"
crossorigin="anonymous"
/>
<!--
* Note:
Expand All @@ -41,19 +46,16 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@19.1.0",
"react/": "https://esm.sh/react@19.1.0/",

"react-dom": "https://esm.sh/react-dom@19.1.0",
"react-dom/": "https://esm.sh/react-dom@19.1.0/",

"graphiql": "https://esm.sh/graphiql@5.2.2?standalone&external=react,react-dom,@graphiql/react,graphql",
"graphiql/": "https://esm.sh/graphiql@5.2.2/",
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/plugin-explorer@5.1.1?standalone&external=react,@graphiql/react,graphql",
"@graphiql/react": "https://esm.sh/@graphiql/react@0.37.3?standalone&external=react,react-dom,graphql,@graphiql/toolkit,@emotion/is-prop-valid",

"@graphiql/toolkit": "https://esm.sh/@graphiql/toolkit@0.11.3?standalone&external=graphql",
"graphql": "https://esm.sh/graphql@16.11.0",
"react": "https://esm.sh/react@19.2.5",
"react/": "https://esm.sh/react@19.2.5/",
"react-dom": "https://esm.sh/react-dom@19.2.5",
"react-dom/": "https://esm.sh/react-dom@19.2.5/",
"graphiql": "https://esm.sh/graphiql@5.2.3?standalone&external=react,react-dom,@graphiql/react,graphql",
"graphiql/": "https://esm.sh/graphiql@5.2.3/",
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/plugin-explorer@5.1.2?standalone&external=react,@graphiql/react,graphql",
"@graphiql/react": "https://esm.sh/@graphiql/react@0.37.4?standalone&external=react,react-dom,graphql,@graphiql/toolkit,@emotion/is-prop-valid",
"@graphiql/toolkit": "https://esm.sh/@graphiql/toolkit@0.12.0?standalone&external=graphql",
"graphql": "https://esm.sh/graphql@16.13.2",
"@emotion/is-prop-valid": "data:text/javascript,"
}
}
Expand Down
Loading