- #3148
06007498
Thanks @mskelton! - Use native LSP logger instead of manual file based logging. This fixes errors in Neovim when using the GraphQL LSP.
-
#3150
4d33b221
Thanks @AaronMoat! - fix(graphql-language-service-server): allow getDefinition to work for unionsFixes the issue where a schema like the one below won't allow you to click through to X.
union X = A | B type A { x: String } type B { x: String } type Query { a: X }
-
#3046
b9c13328
Thanks @B2o5T! - Prefer .at() method for index access -
#3042
881a2024
Thanks @B2o5T! - Prefer String#slice() over String#substr() and String#substring()
-
#2986
e68cb8bc
Thanks @bboure! - Fix JSON schema for custom scalars validation -
#2917
f788e65a
Thanks @woodensail! - Fix infinite recursiveness in getVariablesJSONSchema when the schema contains types that reference themselves -
#2993
bdc966cb
Thanks @B2o5T! - addunicorn/consistent-destructuring
rule -
#2962
db2a0982
Thanks @B2o5T! - clean all ESLint warnings, add--max-warnings=0
and--cache
flags -
#2940
8725d1b6
Thanks @B2o5T! - enableunicorn/prefer-node-protocol
rule
-
#2931
f7addb20
Thanks @B2o5T! - enableno-negated-condition
andno-else-return
rules -
#2922
d1fcad72
Thanks @B2o5T! - extendsplugin:import/recommended
and fix warnings -
#2941
4a8b2e17
Thanks @B2o5T! - enableunicorn/prefer-logical-operator-over-ternary
rule -
#2937
c70d9165
Thanks @B2o5T! - enableunicorn/prefer-includes
-
#2930
c44ea4f1
Thanks @B2o5T! - removemapCat()
in favor ofArray#flatMap()
-
#2965
0669767e
Thanks @B2o5T! - enableunicorn/prefer-optional-catch-binding
rule -
#2936
18f8e80a
Thanks @B2o5T! - enablelonely-if
/unicorn/lonely-if
rules -
#2963
f263f778
Thanks @B2o5T! - enableprefer-destructuring
rule -
#2938
6a9d913f
Thanks @B2o5T! - enableunicorn/throw-new-error
rule
- #2654
d6ff4d7a
Thanks @cshaver! - Provide autocomplete suggestions for documents with type definitions
-
#2486
c9c51b8a
Thanks @stonexer! - definition support for operation fields ✨you can now jump to the applicable object type definition for query/mutation/subscription fields!
- #2378
d22f6111
Thanks @acao! - Trap all graphql parsing exceptions from (relatively) newly added logic. This should clear up bugs that have been plaguing users for two years now, sorry!
- #2291
45cbc759
Thanks @retrodaredevil! - Target es6 for the languages services
c36504a8
Thanks @acao! - - upgradegraphql-config
to latest in server- remove
graphql-config
dependency fromvscode-graphql
andgraphql-language-service
- fix
vscode-graphql
esbuild bundling bug invscode-graphql
#2269 by fixingesbuild
version
- remove
- #2209
2502a364
Thanks @acao! - Retire parser, interface, utils and types packages, combine with graphql-language-service
- Updated dependencies [
d5fca9db
]:
- #2103
a44772d6
Thanks @acao! - LanguageService should not be imported bycodemirror-graphql
, and thuspicomatch
should not be imported.
- Updated dependencies [
ff9cebe5
]:
-
#1997
9df315b4
Thanks @acao! - This introduces some big changes tomonaco-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 usingfetch
introspection 🚨, you must specify the schema in one of many ways statically or dynamically. specifying just a schemauri
no longer works. see the readme- when specifying the language to an editor or model, use
graphql
as the language id instead ofgraphqlDev
- the mode now extends the default basic language support from
monaco-editor
itself - when bundling, for syntax highlighting and basic language features, you must specify
graphql
in languages for your webpack or vite monaco plugins
- the mode now extends the default basic language support from
- The exported mode api for configuration been entirely rewritten. It is simple for now, but we will add more powerful methods to the
monaco.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
- we generate a json schema definition for the json variables on the fly
- it updates alongside editor validation as you type
- 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
initializeMode()
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
-
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 thusmonaco-graphql
as well.
- Updated dependencies [
a3782ff0
]:
-
bdd57312
#2047 Thanks @willstott101! - Source code included in all packages to fix source maps. codemirror-graphql includes esm build in package. -
Updated dependencies [
bdd57312
]:
-
858907d2
#2045 Thanks @acao! - fix graphql-js peer dependencies - #2044 -
Updated dependencies [
858907d2
]:
716cf786
#2010 Thanks @acao! - upgrade to[email protected]
. thanks @saihaj!
0e2c1a02
#1979 Thanks @iahu! - fix: exportmonaco-graphql
esm with esm modules, also fix issues with worker manager, resolves #1706 & #1791
-
75dbb0b1
#1777 Thanks @dwwoelfel! - adopt block string parsing for variables in language parser -
Updated dependencies [
75dbb0b1
]:
2fd5bf72
#1941 Thanks @arcanis! - Adds support for#graphql
and/* GraphQL */
in the language server
6869ce77
#1816 Thanks @acao! - improve peer resolutions for graphql 14 & 15.14.5.0
minimum is for built-in typescript types, and another method only available in14.4.0
3.1.2 (2021-01-07)
Note: Version bump only for package graphql-language-service
3.1.1 (2021-01-07)
Note: Version bump only for package graphql-language-service
3.1.0 (2021-01-07)
3.0.6 (2021-01-03)
Note: Version bump only for package graphql-language-service
3.0.5 (2020-12-28)
Note: Version bump only for package graphql-language-service
3.0.4 (2020-12-08)
Note: Version bump only for package graphql-language-service
3.0.3 (2020-11-28)
Note: Version bump only for package graphql-language-service
3.0.2 (2020-09-18)
Note: Version bump only for package graphql-language-service
3.0.2-alpha.3 (2020-09-11)
Note: Version bump only for package graphql-language-service
3.0.2-alpha.2 (2020-08-22)
3.0.2-alpha.1 (2020-08-12)
Note: Version bump only for package graphql-language-service
3.0.2-alpha.0 (2020-08-10)
Note: Version bump only for package graphql-language-service
3.0.1 (2020-08-06)
Note: Version bump only for package graphql-language-service
3.0.0 (2020-06-11)
3.0.0-alpha.4 (2020-06-04)
Note: Version bump only for package graphql-language-service
3.0.0-alpha.3 (2020-06-04)
- cleanup cache entry from lerna publish (4a26218)
3.0.0-alpha.2 (2020-05-28)
Note: Version bump only for package graphql-language-service
3.0.0-alpha.1 (2020-05-19)
Note: Version bump only for package graphql-language-service