unstale

npm / codemirror-graphql

codemirror-graphql

What changed in codemirror-graphql 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

5 breaking1 new APIs and options1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

codemirror-graphql 26 changes

Breaking changes 4

  • Published JavaScript now uses ES6 syntax; directly loading it in a strictly ES5-only environment without transpilation is no longer supported.

    2.2.6release notes

  • Argument hover information no longer includes the type and field; MyType.myField(myArg: MyArgType) is displayed as myArg: MyArgType.

    2.0.0release notes

  • Field hover information no longer includes the type prefix; MyType.myField is displayed as myField.

    2.0.0release notes

  • The info tooltip DOM structure changed, adding div wrappers around the first section and deprecation-reason markdown to enable more flexible styling.

    2.0.0release notes

New APIs and options 1

  • Enables opt-in GraphQL 17 fragment argument syntax support across parsing, validation, type information, autocomplete, hover, and editor integrations; defaults to false.

    2.2.9release notes

Fixes and other changes 1

  • Variable autocomplete now respects operation and fragment scope while including variables from operations that spread the current fragment.

    2.2.9release notes

codemirror-graphql 11 changes

Breaking changes 1

  • The project migrated to TypeScript; the notes mark this as a breaking change.

    1.0.0release notes