Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #2078

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Version Packages #2078

merged 1 commit into from
Dec 6, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 4, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

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 configfuration 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 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

Patch Changes

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

monaco-graphql@1.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 configfuration 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 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

Patch Changes

  • Updated dependencies [9df315b4]:
    • graphql-language-service-utils@2.7.0
    • graphql-language-service@4.0.0

graphql-language-service-interface@2.10.0

Minor Changes

  • #2081 9b72af57 Thanks @acao! - Auto-expand selection sets & invoke completion on newline

    Introduces insertText and completion for field selectionSets for the appropriate field.types.
    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.

Patch Changes

  • #2076 581df6d8 Thanks @acao! - fix a potential issue where field(arg: $| in codemirror-graphql might have autocompletion insert of $\$variable because of recent changes to completion for monaco-graphql/vscode-graphql

  • Updated dependencies [9df315b4]:

    • graphql-language-service-utils@2.7.0

graphql-language-service-utils@2.7.0

Minor 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 configfuration 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 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

codemirror-graphql@1.2.6

Patch Changes

  • Updated dependencies [9df315b4]:
    • graphql-language-service@4.0.0

graphiql@1.5.9

Patch Changes

  • #2077 701ca13f Thanks @acao! - Include schema description in DocExplorer for schema introspection requests. Enables the schemaDescription option for getIntrospectionQuery().
    Also includes deprecationReason support in DocExplorer for arguments!
    Enables inputValueDeprecation in getIntrospectionQuery() and displays deprecation section on field doc view.
  • Updated dependencies [9df315b4]:
    • graphql-language-service@4.0.0
    • codemirror-graphql@1.2.6

graphql-language-service-cli@3.2.8

Patch Changes

  • Updated dependencies [9df315b4]:
    • graphql-language-service-utils@2.7.0
    • graphql-language-service@4.0.0
    • graphql-language-service-server@2.7.8

graphql-language-service-server@2.7.8

Patch Changes

  • Updated dependencies [9df315b4]:
    • graphql-language-service-utils@2.7.0
    • graphql-language-service@4.0.0

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 4, 2021

CLA Not Signed

@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from 6b1fa24 to 2b8cd30 Compare December 6, 2021 00:50
@github-actions github-actions bot changed the title Version Packages Version Packages (rc) Dec 6, 2021
@github-actions github-actions bot changed the title Version Packages (rc) Version Packages Dec 6, 2021
@acao acao merged commit 6bf1073 into main Dec 6, 2021
@acao acao deleted the changeset-release/main branch December 6, 2021 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant