GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
0f1f90ce
]:
Published by github-actions[bot] almost 3 years ago
0f1f90ce
]:
Published by github-actions[bot] almost 3 years ago
0f1f90ce
]:
Published by github-actions[bot] almost 3 years ago
#1997 9df315b4
Thanks @acao! - This introduces some big changes to monaco-graphql
, and some exciting features, including multi-model support, multi-schema support, and variables json language feature support π.
see the readme to learn how to configure and use the new interface.
monaco-graphql
π¨ no longer loads schemas using fetch
introspection π¨, you must specify the schema in one of many ways statically or dynamically. specifying just a schema uri
no longer works. see the readme
graphql
as the language id instead of graphqlDev
monaco-editor
itselfgraphql
in languages for your webpack or vite monaco pluginsmonaco.languages.api
over time :)this introduces many improvements:
json language support, by mapping from each graphql model uri to a set of json variable model uris
less redundant schema loading - schema is loaded in main process instead of in the webworker
web worker stability has been improved by contributors in previous patches, but removing remote schema loading vastly simplifies worker creation
the editor now supports multiple graphql models, configurable against multiple schema configurations
You can now use intializeMode()
to initialize the language mode & worker with the schema, but you can still lazily load it, and fall back on default monaco editor basic languages support
Published by github-actions[bot] almost 3 years ago
9df315b4
]:
Published by github-actions[bot] almost 3 years ago
701ca13f
Thanks @acao! - Include schema description in DocExplorer for schema introspection requests. Enables the schemaDescription
option for getIntrospectionQuery()
.deprecationReason
support in DocExplorer for arguments!inputValueDeprecation
in getIntrospectionQuery()
and displays deprecation section on field doc view.9df315b4
]:
Published by github-actions[bot] almost 3 years ago
#1997 9df315b4
Thanks @acao! - This introduces some big changes to monaco-graphql
, and some exciting features, including multi-model support, multi-schema support, and variables json language feature support π.
see the readme to learn how to configure and use the new interface.
monaco-graphql
π¨ no longer loads schemas using fetch
introspection π¨, you must specify the schema in one of many ways statically or dynamically. specifying just a schema uri
no longer works. see the readme
graphql
as the language id instead of graphqlDev
monaco-editor
itselfgraphql
in languages for your webpack or vite monaco pluginsmonaco.languages.api
over time :)this introduces many improvements:
json language support, by mapping from each graphql model uri to a set of json variable model uris
less redundant schema loading - schema is loaded in main process instead of in the webworker
web worker stability has been improved by contributors in previous patches, but removing remote schema loading vastly simplifies worker creation
the editor now supports multiple graphql models, configurable against multiple schema configurations
You can now use intializeMode()
to initialize the language mode & worker with the schema, but you can still lazily load it, and fall back on default monaco editor basic languages support
9df315b4
]:
Published by github-actions[bot] almost 3 years ago
9df315b4
]:
Published by github-actions[bot] almost 3 years ago
#1997 9df315b4
Thanks @acao! - This introduces some big changes to monaco-graphql
, and some exciting features, including multi-model support, multi-schema support, and variables json language feature support π.
see the readme to learn how to configure and use the new interface.
monaco-graphql
π¨ no longer loads schemas using fetch
introspection π¨, you must specify the schema in one of many ways statically or dynamically. specifying just a schema uri
no longer works. see the readme
graphql
as the language id instead of graphqlDev
monaco-editor
itselfgraphql
in languages for your webpack or vite monaco pluginsmonaco.languages.api
over time :)this introduces many improvements:
json language support, by mapping from each graphql model uri to a set of json variable model uris
less redundant schema loading - schema is loaded in main process instead of in the webworker
web worker stability has been improved by contributors in previous patches, but removing remote schema loading vastly simplifies worker creation
the editor now supports multiple graphql models, configurable against multiple schema configurations
You can now use intializeMode()
to initialize the language mode & worker with the schema, but you can still lazily load it, and fall back on default monaco editor basic languages support
Published by github-actions[bot] almost 3 years ago
9df315b4
]:
Published by github-actions[bot] almost 3 years ago
#2081 9b72af57
Thanks @acao! - Auto-expand selection sets & invoke completion on newline
Introduces insertText
and completion for field selectionSets
for the appropriate field.type
s.
Works across monaco-graphql
and graphql-language-service-server
.
Though the changeset is bumping a patch for codemirror-graphql
, the lsp completion insertText
is not used by codemirror
, and thus this lsp enhancment will not change the codemirror-graphql
experience.
Published by github-actions[bot] almost 3 years ago
df57cd25
]:
Published by github-actions[bot] almost 3 years ago
df57cd25
]:
Published by github-actions[bot] almost 3 years ago
c4236190
#2072 Thanks @acao! - this fixes the parsing of file URIs by graphql-language-service-server
in cases such as:
previously we were using the old approach of URL(uri).pathname
which was not working! now using the standard vscode-uri
approach of URI.parse(uri).fsName
.
this should fix issues with object and fragment type completion as well I think
also for #2066 made it so that graphql config is not loaded into the file cache unnecessarily, and that it's only loaded on editor save events rather than on file changed events
fixes #1644 and #2066
df57cd25
#2065 Thanks @acao! - Add an opt-in feature to generate markdown in hover elements, starting with highlighting type information. Enabled for the language server and also the language service and thus monaco-graphql
as well.
Updated dependencies [df57cd25
]:
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
989fca69
#2070 Thanks @acao! - Fix a bug with variable completion with duplicate $
across the ecosytem. Introduce more triggerCharacters
across monaco and the LSP server for autocompletion in far more cases
df57cd25
#2065 Thanks @acao! - Add an opt-in feature to generate markdown in hover elements, starting with highlighting type information. Enabled for the language server and also the language service and thus monaco-graphql
as well.
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
4286185c
]: