-
#3682
6c9f0dfThanks @yaacovCR! - Support v17 ofgraphql-jsfrom17.0.0-alpha.2forward.Includes support for the latest incremental delivery response format. For further details, see graphql/defer-stream-wg#69.
- Updated dependencies [
6c9f0df]:- graphql-language-service@5.3.0
-
#3637
fdec377Thanks @dimaMachina! - update eslint plugins and fix errors -
Updated dependencies [
fdec377]:- graphql-language-service@5.2.2
-
#3521
aa6dbbb4Thanks @acao! - Fixes several issues with Type System (SDL) completion across the ecosystem:- restores completion for object and input type fields when the document context is not detectable or parseable
- correct top-level completions for either of the unknown, type system or executable definitions. this leads to mixed top level completions when the document is unparseable, but now you are not seemingly restricted to only executable top level definitions
.graphqlsad-hoc standard functionality remains, but is not required, as it is not part of the official spec, and the spec also allows mixed mode documents in theory, and this concept is required when the type is unknown
-
Updated dependencies [
aa6dbbb4]:- graphql-language-service@5.2.1
-
#3384
31ded5e0Thanks @acao! - import onlyeditor.api& basic features, addmonaco-graphql/lite- switch from exporting
edcore.jstoeditor.api.jsas recommended, and minimal features to get the editor workingedcoreimportseditor.allwhich contains many monaco-editor features we don't use
- dynamic import of
jsonlanguage mode only if the user supplies configuration for json validation - update monaco examples to show minimal
typescriptimplementation alongsidegraphql - add new simplified
exportswith backwards compatibility:monaco-graphql/initializeModemonaco-graphql/graphql.workermonaco-graphql/monaco-editor
- introduce
monaco-graphql/litefor users who want the most minimum version possible, and to only import the features they need
- switch from exporting
-
Updated dependencies [
7b00774a,7b00774a]:- graphql-language-service@5.2.0
- #3285
d7f595e3Thanks @B2o5T! - avoid bundling unnecessary languages — importmonaco-graphql/esm/monaco-editorinstead ofmonaco-editorto reduce your bundle size, as that imports onlygraphqlandjsonlanguages and leaves outts,css,html, and much more
- Updated dependencies [
06007498]:- graphql-language-service@5.1.6
- Updated dependencies [
4d33b221]:- graphql-language-service@5.1.5
-
#3113
2e477eb2Thanks @B2o5T! - replace.forEachwithfor..of -
#3109
51007002Thanks @B2o5T! - enableno-floating-promiseseslint rule -
Updated dependencies [
2e477eb2]:- graphql-language-service@5.1.4
-
#3093
6ed73bf7Thanks @acao! - Bugfix for 'worker not found' type errors on _doValidate()' -
#3047
190fae87Thanks @B2o5T! - combining multiple Array#push() into one call -
Updated dependencies [
b9c13328,881a2024]:- graphql-language-service@5.1.3
-
#2993
bdc966cbThanks @B2o5T! - addunicorn/consistent-destructuringrule -
Updated dependencies [
e68cb8bc,f788e65a,bdc966cb,db2a0982,8725d1b6]:- graphql-language-service@5.1.2
-
#2931
f7addb20Thanks @B2o5T! - enableno-negated-conditionandno-else-returnrules -
#2922
d1fcad72Thanks @B2o5T! - extendsplugin:import/recommendedand fix warnings -
#2965
0669767eThanks @B2o5T! - enableunicorn/prefer-optional-catch-bindingrule -
#2938
6a9d913fThanks @B2o5T! - enableunicorn/throw-new-errorrule -
Updated dependencies [
f7addb20,d1fcad72,4a8b2e17,c70d9165,c44ea4f1,0669767e,18f8e80a,f263f778,6a9d913f]:- graphql-language-service@5.1.1
- #2900
8989ffceThanks @acao! - use decorators-legacy @babel/parser plugin so that all styles of decorator usage are supported
-
#2488
967006a6Thanks @acao! - DisablefillLeafsOnCompleteby defaultUsers found this generally annoying by default, especially when there are required arguments
Without automatically prompting autocompletion of required arguments as well as lead expansion, it makes the extension harder to use
You can now supply this in your graphql config:
config.extensions.languageService.fillLeafsOnCompleteSetting it to to
truewill enable this feature. Will soon add the ability to manually enable this inmonaco-graphqlas well.For both, this kind of behavior would be better as a keyboard command, context menu item &/or codelens prompt
-
#2834
0a950ea3Thanks @acao! - prevent the mode from instantiating more than once in the main process. it should never need to!you can supply multiple
schemaswith uri path resolution rules that resolve globs in the browser even!
- Updated dependencies [
d6ff4d7a]:- graphql-language-service@5.1.0
- Updated dependencies [
cccefa70]:- graphql-language-service@5.0.6
- Updated dependencies [
c9c51b8a]:- graphql-language-service@5.0.5
- Updated dependencies [
d22f6111]:- graphql-language-service@5.0.4
- Updated dependencies [
45cbc759]:- graphql-language-service@5.0.3
- Updated dependencies [
c36504a8]:- graphql-language-service@5.0.2
- #2253
63177891Thanks @acao! - fix worker + n problem when changing config (schema, etc) inmonaco-graphql
- Updated dependencies [
2502a364]:- graphql-language-service@5.0.0
-
#2118
0d1122f9Thanks @acao! - fix: monacogetModeIdbug formonaco-editor@^0.30.0We fixed this already, but we reverted it because folks were having issues with older versions. This fix works for all versions of
monaco-editorthat we support!
- #2116
65a51d04Thanks @acao! - -picomatch-browserfork no longer usespath. these changes to remove node dependencies frompicomatch, 99% of them are by another contributor, will eventually be merged into the actualpicomatch- no
onLanguageforinitializeMode- always instantiate the mode when this is called directly! Fixes some editor creation race condition issues - introduce a demo using react + vite and minimal config, no workarounds! This will help us prototype for
@graphiql/react - use
schemaValidation: 'error'by default. allow user to overridevalidateif they want. - always re-register providers on schema config changes. seems to fix some issues on lazy instantiation
- no
- Updated dependencies []:
- graphql-language-service@4.1.4
- #2105
f7dc1f12Thanks @acao! - Fix a bug where_cacheSchemas()was not being called by the language service
-
#2103
a44772d6Thanks @acao! - LanguageService should not be imported bycodemirror-graphql, and thuspicomatchshould not be imported. -
Updated dependencies [
a44772d6]:- graphql-language-service@4.1.3
- Updated dependencies [
e20760fb]:- graphql-language-service@4.1.2
- Updated dependencies [
ff9cebe5]:- graphql-language-service-utils@2.7.1
- graphql-language-service@4.1.1
- Updated dependencies [
0f1f90ce]:- graphql-language-service@4.1.0
-
#1997
9df315b4Thanks @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 usingfetchintrospection 🚨, you must specify the schema in one of many ways statically or dynamically. specifying just a schemaurino longer works. see the readme- when specifying the language to an editor or model, use
graphqlas the language id instead ofgraphqlDev- the mode now extends the default basic language support from
monaco-editoritself - when bundling, for syntax highlighting and basic language features, you must specify
graphqlin 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.apiover 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
- Updated dependencies [
9df315b4]:- graphql-language-service-utils@2.7.0
- graphql-language-service@4.0.0
-
989fca69#2070 Thanks @acao! - Fix a bug with variable completion with duplicate$across the ecosystem. Introduce moretriggerCharactersacross monaco and the LSP server for autocompletion in far more cases -
Updated dependencies [
df57cd25]:- graphql-language-service@3.2.5
- Updated dependencies []:
- graphql-language-service@3.2.4
- graphql-language-service-utils@2.6.3
- Updated dependencies [
bdd57312]:- graphql-language-service@3.2.3
- graphql-language-service-utils@2.6.2
-
858907d2#2045 Thanks @acao! - fix graphql-js peer dependencies - #2044 -
Updated dependencies [
858907d2]:- graphql-language-service@3.2.2
- graphql-language-service-utils@2.6.1
-
Updated dependencies [
9a6ed03f,9a6ed03f]:- graphql-language-service-utils@2.6.0
- graphql-language-service@3.2.1
716cf786#2010 Thanks @acao! - upgrade tographql@16.0.0-experimental-stream-defer.5. thanks @saihaj!
- Updated dependencies [
716cf786]:- graphql-language-service@3.2.0
0e2c1a02#1979 Thanks @iahu! - fix: exportmonaco-graphqlesm 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 [
0e2c1a02,75dbb0b1]:- graphql-language-service@3.1.6
fec37c6b#1952 Thanks @Nishchit14! - devDependency and peerDependency of monaco-graphql has been upgraded for monaco-editor. monaco-graphql is now supporting latest version of monaco-editor which is v0.27.0
- Updated dependencies [
2fd5bf72]:- graphql-language-service@3.1.5
6869ce77#1816 Thanks @acao! - improve peer resolutions for graphql 14 & 15.14.5.0minimum is for built-in typescript types, and another method only available in14.4.0
0.4.2 (2021-01-07)
Note: Version bump only for package monaco-graphql
0.4.1 (2021-01-07)
Note: Version bump only for package monaco-graphql
0.4.0 (2021-01-07)
0.3.5 (2021-01-03)
Note: Version bump only for package monaco-graphql
0.3.4 (2020-12-28)
Note: Version bump only for package monaco-graphql
0.3.3 (2020-12-08)
0.3.2 (2020-11-28)
Note: Version bump only for package monaco-graphql
0.3.1 (2020-09-18)
Note: Version bump only for package monaco-graphql
0.3.1-alpha.3 (2020-09-11)
Note: Version bump only for package monaco-graphql
0.3.1-alpha.2 (2020-08-22)
0.3.1-alpha.1 (2020-08-12)
Note: Version bump only for package monaco-graphql
0.3.1-alpha.0 (2020-08-10)
Note: Version bump only for package monaco-graphql
0.3.0 (2020-08-06)
0.2.0 (2020-06-11)
0.1.4 (2020-06-04)
Note: Version bump only for package monaco-graphql
0.1.3 (2020-06-04)
- cleanup cache entry from lerna publish (4a26218)
0.1.2 (2020-05-28)
Note: Version bump only for package monaco-graphql
0.1.1 (2020-05-19)
Note: Version bump only for package monaco-graphql