Skip to content

Latest commit

 

History

History
431 lines (242 loc) · 25.3 KB

File metadata and controls

431 lines (242 loc) · 25.3 KB

graphql-language-service

5.2.1

Patch Changes

  • #3521 aa6dbbb4 Thanks @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
    • .graphqls ad-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

5.2.0

Minor Changes

Patch Changes

5.1.7

Patch Changes

5.1.7-alpha.0

Patch Changes

5.1.6

Patch Changes

  • #3148 06007498 Thanks @mskelton! - Use native LSP logger instead of manual file based logging. This fixes errors in Neovim when using the GraphQL LSP.

5.1.5

Patch Changes

  • #3150 4d33b221 Thanks @AaronMoat! - fix(graphql-language-service-server): allow getDefinition to work for unions

    Fixes 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
    }

5.1.4

Patch Changes

5.1.3

Patch Changes

5.1.2

Patch Changes

5.1.1

Patch Changes

5.1.0

Minor Changes

5.0.6

Patch Changes

5.0.5

Patch Changes

  • #2486 c9c51b8a Thanks @stonexer! - definition support for operation fields ✨

    you can now jump to the applicable object type definition for query/mutation/subscription fields!

5.0.4

Patch Changes

  • #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!

5.0.3

Patch Changes

5.0.2

Patch Changes

  • c36504a8 Thanks @acao! - - upgrade graphql-config to latest in server
    • remove graphql-config dependency from vscode-graphql and graphql-language-service
    • fix vscode-graphql esbuild bundling bug in vscode-graphql #2269 by fixing esbuild version

5.0.1

Patch Changes

  • 3626f8d5 Thanks @acao! - fix lockfile and imports from LSP merge
  • 3626f8d5 Thanks @acao! - default to es6 target across the language services, fix #2240

5.0.0

Major Changes

  • #2209 2502a364 Thanks @acao! - Retire parser, interface, utils and types packages, combine with graphql-language-service

4.1.5

Patch Changes

  • #2161 484c0523 Thanks @orta! - Do not log errors when a JS/TS file has no embedded graphql tags

4.1.4

Patch Changes

  • Updated dependencies [d5fca9db]:
    • graphql-language-service-interface@2.10.2

4.1.3

Patch Changes

  • #2103 a44772d6 Thanks @acao! - LanguageService should not be imported by codemirror-graphql, and thus picomatch should not be imported.

4.1.2

Patch Changes

4.1.1

Patch Changes

  • Updated dependencies [ff9cebe5]:
    • graphql-language-service-interface@2.10.1
    • graphql-language-service-utils@2.7.1
    • graphql-language-service-types@1.8.7
    • graphql-language-service-parser@1.10.4

4.1.0

Minor Changes

  • #2086 0f1f90ce Thanks @acao! - Export all modules & types explicitly from graphql-language-service

4.0.0

Major Changes

  • #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.

    🚨 BREAKING CHANGES!! 🚨

    • 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
    • when specifying the language to an editor or model, use graphql as the language id instead of graphqlDev
      • 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 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 :)

    New Features

    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

Patch Changes

  • Updated dependencies [581df6d8, 9df315b4, 9b72af57]:
    • graphql-language-service-interface@2.10.0
    • graphql-language-service-utils@2.7.0

3.2.5

Patch Changes

  • 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 [989fca69, df57cd25]:

    • graphql-language-service-interface@2.9.5

3.2.4

Patch Changes

  • Updated dependencies [a3782ff0]:
    • graphql-language-service-interface@2.9.4
    • graphql-language-service-types@1.8.6
    • graphql-language-service-parser@1.10.3
    • graphql-language-service-utils@2.6.3

3.2.3

Patch Changes

  • bdd57312 #2047 Thanks @willstott101! - Source code included in all packages to fix source maps. codemirror-graphql includes esm build in package.

  • Updated dependencies [bdd57312]:

    • graphql-language-service-interface@2.9.3
    • graphql-language-service-parser@1.10.2
    • graphql-language-service-types@1.8.5
    • graphql-language-service-utils@2.6.2

3.2.2

Patch Changes

  • 858907d2 #2045 Thanks @acao! - fix graphql-js peer dependencies - #2044

  • Updated dependencies [858907d2]:

    • graphql-language-service-interface@2.9.2
    • graphql-language-service-parser@1.10.1
    • graphql-language-service-types@1.8.4
    • graphql-language-service-utils@2.6.1

3.2.1

Patch Changes

3.2.0

Minor Changes

  • 716cf786 #2010 Thanks @acao! - upgrade to graphql@16.0.0-experimental-stream-defer.5. thanks @saihaj!

Patch Changes

  • Updated dependencies [8869c4b1, 716cf786]:
    • graphql-language-service-interface@2.9.0
    • graphql-language-service-parser@1.10.0

3.1.6

Patch Changes

  • 0e2c1a02 #1979 Thanks @iahu! - fix: export monaco-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]:

    • graphql-language-service-parser@1.9.3

3.1.5

Patch Changes

3.1.4

Patch Changes

3.1.3

Patch Changes

  • 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 in 14.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)

Features

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)

Bug Fixes

  • improve setSchema & schema loading, allow primitive schema (#1648) (975f29e)

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)

Features

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)

Bug Fixes

  • 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

2.4.0-alpha.8 (2020-05-17)

Features