github graphql/graphiql graphql-language-service-server@2.13.2

3 months ago

Patch Changes

  • #3647 ba5720b Thanks @acao! - several LSP fixes and improvements:

    Bugfixes

    debounce schema change events to fix codegen bugs to fix #3622

    on mass file changes, network schema is overfetching because the schema cache is now invalidated on every watched schema file change

    to address this, we debounce the new onSchemaChange event by 400ms

    note that schemaCacheTTL can only be set in extension settings or graphql config at the top level - it will be ignored if configured per-project in the graphql config

    Code Improvements

    • Fixes flaky tests, and schemaCacheTTL setting not being passed to the cache
    • Adds a test to validate network schema changes are reflected in the cache
  • #3637 fdec377 Thanks @dimaMachina! - update eslint plugins and fix errors

  • #3671 e2c04c7 Thanks @acao! - - switch to using just @astrojs/compiler instead of the more complex "sync" adaptation using workers

    • upgrade vue SFC parser to use the new reccomended import from vue package itself
    • fix prettier config related to prettier & format on save for parseDocument tests
    • fix jest/babel config related to some of the parsers
  • Updated dependencies [fdec377]:

    • graphql-language-service@5.2.2

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.