Skip to content

Releases: apollographql/vscode-graphql

v2.3.0

18 Sep 14:03
880c6f1
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #200 d6c6af81 Thanks @phryneas! - Fixed an issue where the configuration was not reloaded when the .env.local file changed.

  • #202 ea5cc094 Thanks @phryneas! - Prevent configuration file parsing loop when transpiling TypeScript configs.

  • #204 c2351d2e Thanks @phryneas! - Fix a bug where config file changes could not be picked up

  • #200 d6c6af81 Thanks @phryneas! - Add support for apollo.config.yml, apollo.config.yaml and apollo.config.json.

v2.2.1

11 Sep 16:01
f730d3f
Compare
Choose a tag to compare

Patch Changes

v2.2.0

28 Aug 16:25
fea5f3d
Compare
Choose a tag to compare

Minor Changes

  • #184 9c53a11e Thanks @phryneas! - Derive extensions for supported languages and monitored files from other installed extensions.
    Adjust default includes for client projects.

    This changes the default includes similar to (depending on additional extensions you might have installed):

    -'src/**/*.{ts,tsx,js,jsx,graphql,gql}',
    +'src/**/*{.gql,.graphql,.graphqls,.js,.mjs,.cjs,.es6,.pac,.ts,.mts,.cts,.jsx,.tsx,.vue,.svelte,.py,.rpy,.pyw,.cpy,.gyp,.gypi,.pyi,.ipy,.pyt,.rb,.rbx,.rjs,.gemspec,.rake,.ru,.erb,.podspec,.rbi,.dart,.re,.ex,.exs}'

v2.1.0

26 Aug 08:55
28f144f
Compare
Choose a tag to compare

Minor Changes

  • #179 b4687eb Thanks @phryneas! - Improve detection of GraphQL inside of JavaScript/TypeScript files.
    Add support for /** GraphQL */ annotations before a template string.

Patch Changes

  • #173 415ff4a1 Thanks @phryneas! - Fix a bug where when rapidly changing multiple files some of the changes might have gotten lost.

  • #176 cbc1c638 Thanks @phryneas! - Fixed a bug where annotations might have mapped to the wrong position on the first line of an embedded document.

  • #173 415ff4a1 Thanks @phryneas! - Fixed a bug where hints on the 0-th line of an embedded GraphQL document were offset incorrectly.

    E.g. in

    const veryLongVariableName = gql`
      type Foo {
        baaaaaar: String
      }
    `;

    the hover on String would only appear when hovering characters left of it.

v2.0.1

13 Aug 15:14
d5c71b5
Compare
Choose a tag to compare

Patch Changes

v2.0.0

12 Aug 14:41
5c2619b
Compare
Choose a tag to compare

Major Changes

  • #163 70f8895a Thanks @phryneas! - Remove Service projects
    "Service"-type projects had almost no functionality in the Extension, so they were removed

  • #169 ff4f0de4 Thanks @phryneas! - Bundle extension instead of just building it.

  • #163 70f8895a Thanks @phryneas! - Remove support for deprecated configuration environment variable ENGINE_API_KEY

Minor Changes

  • #153 a37cfaa6 Thanks @phryneas! - Add @nonreactive and @defer directives to Apollo Client schema

  • #149 a8fe79f6 Thanks @phryneas! - Add support for apollo.config.mjs.

  • #148 39430fdf Thanks @phryneas! - Modernization:

    • move from apollo-link-* packages to @apollo/client dependency
    • move from @apollo/federation to @apollo/subgraph
    • replace apollo-graphql usage with @graphql-tools/schema
    • drop core-js dependency
    • update internally-used @graphql-codegen
    • update graphql to v16
    • replace graphql-language-service-* packages with graphql-language-service package
    • remove apollo-server-errors dependency
  • #164 54316f24 Thanks @phryneas! - Fix configuration error display

  • a6e6b7c1 Thanks @phryneas! - Try schema path resolution relative to configuration path.

  • #149 a8fe79f6 Thanks @phryneas! - Modernization:

    • update cosmiconfig
    • drop now-obsolete @endemolshinegroup/cosmiconfig-typescript-loader
  • #163 70f8895a Thanks @phryneas! - Configuration parsing has been reworked based on zod.

  • #153 a37cfaa6 Thanks @phryneas! - Remove unused clientOnlyDirectives, clientSchemaDirectives and addTypename client project config options.

  • #146 0721afe9 Thanks @phryneas! - Modernization:

    • set minimum VSCode version to 1.90.0
    • update build target to ES2020
    • drop node-fetch and similar polyfills
    • update vscode-languageclient/-server modules
    • migrate from the deprecated vscode module to @types/vscode
    • update typescript developement dependency to 5.5
  • #163 70f8895a Thanks @phryneas! - Remove support for unused configuration options
    The configuration options client.name, client.referenceId, client.version, client.statsWindow, client.clientOnlyDirectives, and client.clientSchemaDirectives had no effect in the extension, so they have been removed.

Patch Changes

  • #150 eeed0b8e Thanks @phryneas! - Modernization

    • update glob
    • add E2E tests
  • #149 a8fe79f6 Thanks @phryneas! - Fixed a bug where changes in apollo.config.ts or apollo.config.cjs would require a manual extension reload.

  • #160 5312c6e8 Thanks @phryneas! - Replace graphql-datasource usage with @apollo/client

  • #161 7fd57310 Thanks @phryneas! - Only show "Run in Studio" gutter action for local graphs if an endpoint is configured.

  • #159 952ef37d Thanks @phryneas! - Fix a bug where unrelated project configurations could be merged into each other.

  • #161 7fd57310 Thanks @phryneas! - Modernization

    • update minimatch and lz-string
    • drop await-to-js, resolve-from, sha.js
    • drop query-string
  • #161 7fd57310 Thanks @phryneas! - Fix a bug where the "Run in Studio" button would link to a Studio Graph instead of Explorer for local projects.

  • #160 5312c6e8 Thanks @phryneas! - Prevent accidental creation of multiple output channels

v1.20.0

16 Oct 17:09
ea670db
Compare
Choose a tag to compare

Minor Changes

Patch Changes