Skip to content

Latest commit

Β 

History

History
359 lines (219 loc) Β· 23.2 KB

CHANGELOG.md

File metadata and controls

359 lines (219 loc) Β· 23.2 KB

CHANGELOG

2.3.6

Patch Changes

2.3.5

Patch Changes

2.3.4

Patch Changes

  • #224 b7d300f7 Thanks @phryneas! - Fix a situation where config files using require would not be imported as CommonJS.

2.3.3

Patch Changes

2.3.2

Patch Changes

  • #211 9aa1fc1b Thanks @phryneas! - Avoid detection if .js config file is ESM or CommonJs, just try both.

2.3.1

Patch Changes

2.3.0

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.

2.2.1

Patch Changes

2.2.0

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}'

2.1.0

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.

2.0.1

Patch Changes

2.0.0

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

1.20.0

Minor Changes

Patch Changes

1.19.11

  • Fix directive highlighting on enums and arguments #6716

1.19.10

  • Fix highlighting on schema extension directives #66

1.19.9

  • Add validation/completion for #graphql annotated strings in js #47
  • Add config option for disabling 'Run in Studio' button #46
  • Add config option to disable switching to output tab on error #44

1.19.8

  • Move 'Run in Studio' icon to end of line #42
  • Fix syntax highlighting for directives on types #36

1.19.7

  • Specify files with conflicting documents for the 'There are multiple definitions' message. #29
  • Dont watch non file documents. Diff view will no longer crash extension. #28
  • Upgrade graphql version to 15.5 #34

1.19.6

  • Fix 'Run in explorer' link. #25

1.19.5

  • Add a 'Run in explorer' gutter action. #20
  • Switch Studio query that fetches timing hints to use a newer field. This should have no user-observable impact, though we may eventually remove the old field once most users have upgraded their extensions. #22
  • Add support for highlighting Svelte files #17
  • Add support for .cjs files #4
  • Exclude localSchemaFile when looking for graphql documents. This should fix the common case for hitting VSCode Plugin: Loading Schema Twice errors. #8

1.19.4

  • Fix VS Code extension performance issues for larger projects #1938

-> Note: This project used to live in the apollo-tooling repo. Refer to the apollo-tooling CHANGELOG for full list of changes before April 25, 2021. See below for filtered changelog from apollo-tooling.

Legacy apollo-tooling Changelog

apollo-tools@0.5.1

  • Remove dependency on apollo-env, so using this package no longer installs polyfills.

apollo-env@0.10.0

  • deps: Updated node-fetch to v2.6.1

apollo-env@0.9.0

  • The following utility functions are no longer exported from apollo-env and can now be found in the apollo-graphql library:
    • createHash
    • isNodeLike
    • mapValues
    • isNotNullOrDefined

apollo-language-server@1.14.3

  • apollo-language-server@1.14.3

apollo-language-server@1.14.2

  • apollo-language-server@1.14.2
    • Fix #735 caused #928 error implement #1461
    • Fix dirname parsing for ts config files #1463

vscode-apollo@1.9.1, apollo-language-server@1.14.1

  • apollo-language-server@1.14.1
    • Fix cache invalidation bug for reload schema which caused outdated results in autocomplete #1446

vscode-apollo@1.9.0, apollo-language-server@1.14.0, apollo-codegen-swift@0.34.2

  • vscode-apollo@1.9.0
    • Add Dart support for vscode #1385
  • apollo-language-server@1.14.0
    • Add Dart operation extraction #1385
  • apollo-codegen-swift@0.34.2
    • Prevent compiler warnings for redundant access-level modifiers when using --namespace 1241

apollo-language-server@1.5.2, vscode-apollo@1.5.2

  • apollo-language-server@1.5.2
    • fix single apollo.config breaking others loaded at the same time #1055
    • Fix broken fileSet.includesFile to use full filepath #1055
  • vscode-apollo@1.5.2

apollo-env@0.3.1

  • apollo-env@0.3.1
    • Fix core-js dependency by pinning to 3.0.0-beta.3 #961

apollo-language-server@1.4.1

  • apollo-language-server 1.4.1
    • Fix edge case for empty operations #959

apollo-language-server@1.0.0

NOTE: Many of the updates and changes in this release came from a complete rebuild of the Apollo CLI in preparation for GraphQL summit. Many of these changes can be traced to this commit but aren't tied to a specific pull request, and won't be linked.

  • apollo-language-server@1.0.0
    • Initial release of apollo-language-server to support vscode-apollo, and apollo
    • Supports editor features for...
      • Autocompletion of GraphQL documents
      • Hover information for fields anr arguments
      • Type definitions and references
      • Code lenses for open files
  • vscode-apollo@1.0.0
    • Initial Release of vscode-apollo
    • Switching of schema tags #632
    • Supports all of the editor features exposed by apollo-language-server

πŸš€ Feature

  • apollo-language-server, apollo-vscode
    • #536 Display status of loading tasks for config and Engine stats (@shadaj)

πŸ› Bug Fix

  • apollo-cli, apollo-language-server, apollo-vscode
    • #519 [VSCode] Fix detection of projects inside folders (@shadaj)

πŸ“ Documentation

  • apollo-cli, apollo-vscode

πŸš€ Feature

  • apollo-language-server
  • apollo-language-server, apollo-vscode
    • #515 Fix missing descriptions and add more hover information for arguments (@shadaj)
  • apollo-cli, apollo-codegen-core, apollo-language-server, apollo-vscode-webview, apollo-vscode
    • #512 React UI for webviews, fix file tracking and fragment spreads (@shadaj)
  • apollo-cli, apollo-language-server, apollo-vscode
    • #508 Support jumping to definitions in schema (@shadaj)

🏠 Internal

  • apollo-cli, apollo-language-server
    • #506 Share validation logic between CLI and language server (@shadaj)

πŸš€ Feature

  • apollo-language-server, apollo-vscode