github graphql/graphiql monaco-graphql@1.7.4

latest releases: graphql-language-service@5.5.1, graphql-language-service-server@2.14.9, @graphiql/plugin-explorer@5.1.2...
2 hours ago

Patch Changes

  • #4225 4bb7909 Thanks @trevor-scheer! - Fix hover crashing on the first line of a query

    GraphQLWorker.doHover was passing 0-indexed positions to getRange, which expects a 1-indexed SourceLocation (per the GraphQL spec). On the first line this caused Expected Parser stream to be available to be logged and hover to return null. On other lines it returned the range of the previous line's last token rather than the token under the cursor. Use getTokenAtPosition to compute the actual token range instead.

  • Updated dependencies [914a547, 10f66d5]:

    • graphql-language-service@5.5.1

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.