Skip to content

Latest commit

 

History

History
285 lines (160 loc) · 14.5 KB

CHANGELOG.md

File metadata and controls

285 lines (160 loc) · 14.5 KB

Change Log

1.0.9

Patch Changes

  • #2118 0d1122f9 Thanks @acao! - fix: monaco getModeId bug for monaco-editor@^0.30.0

    We fixed this already, but we reverted it because folks were having issues with older versions. This fix works for all versions of monaco-editor that we support!

1.0.8

Patch Changes

  • #2116 65a51d04 Thanks @acao! - - picomatch-browser fork no longer uses path. these changes to remove node dependencies from picomatch, 99% of them are by another contributor, will eventually be merged into the actual picomatch
    • no onLanguage for initializeMode - 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 override validate if they want.
    • always re-register providers on schema config changes. seems to fix some issues on lazy instantiation

1.0.7

Patch Changes

1.0.6

Patch Changes

  • #2105 f7dc1f12 Thanks @acao! - Fix a bug where _cacheSchemas() was not being called by the language service

1.0.5

Patch Changes

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

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

0.6.5

Patch Changes

  • 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

  • Updated dependencies [df57cd25]:

0.6.4

Patch Changes

0.6.3

Patch Changes

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.0

Minor Changes

Patch Changes

0.5.1

Patch Changes

  • 0e2c1a02 #1979 Thanks @iahu! - fix: export monaco-graphql esm with esm modules, also fix issues with worker manager, resolves #1706 & #1791

0.5.0

Minor Changes

  • fec37c6b #1952 Thanks @Nishchit14! - devDependancy and peerDependancy of monaco-graphql has been upgraded for monaco-editor. monaco-graphql is now supporting latest version of monaco-editor which is v0.27.0

Patch Changes

0.4.4

Patch Changes

0.4.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

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)

Features

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)

Bug Fixes

  • GraphQLAPI.setSchemaConfig README example (#1726) (01a1ff7)

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)

Bug Fixes

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

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)

Features

  • [RFC] GraphiQL rewrite for monaco editor, react context and redesign, i18n (#1523) (ad730cd)

0.2.0 (2020-06-11)

Features

0.1.4 (2020-06-04)

Note: Version bump only for package monaco-graphql

0.1.3 (2020-06-04)

Bug Fixes

  • 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

0.1.0 (2020-05-17)

Features