diff --git a/.changeset/famous-clocks-change.md b/.changeset/famous-clocks-change.md deleted file mode 100644 index b8637db3..00000000 --- a/.changeset/famous-clocks-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vscode-apollo": patch ---- - -Fix a bug where when rapidly changing multiple files some of the changes might have gotten lost. diff --git a/.changeset/grumpy-olives-argue.md b/.changeset/grumpy-olives-argue.md deleted file mode 100644 index a4ba81a0..00000000 --- a/.changeset/grumpy-olives-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"vscode-apollo": patch ---- - -Fixed a bug where annotations might have mapped to the wrong position on the first line of an embedded document. diff --git a/.changeset/plenty-radios-juggle.md b/.changeset/plenty-radios-juggle.md deleted file mode 100644 index 73187001..00000000 --- a/.changeset/plenty-radios-juggle.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"vscode-apollo": patch ---- - -Fixed a bug where hints on the 0-th line of an embedded GraphQL document were offset incorrectly. - - -E.g. in -```js -const veryLongVariableName = gql`type Foo { baaaaaar: String }` -``` -the hover on `String` would only appear when hovering characters left of it. diff --git a/.changeset/weak-comics-march.md b/.changeset/weak-comics-march.md deleted file mode 100644 index fb97b34d..00000000 --- a/.changeset/weak-comics-march.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"vscode-apollo": minor ---- - -Improve detection of GraphQL inside of JavaScript/TypeScript files. -Add support for `/** GraphQL */` annotations before a template string. - -pr: #179 -author: phryneas -commit: b4687eb52458c7fd80f447c8060922e23ef77590 diff --git a/CHANGELOG.md b/CHANGELOG.md index be8caaed..b36edd0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # CHANGELOG +## 2.1.0 + +### Minor Changes + +- [#179](https://github.com/apollographql/vscode-graphql/pull/179) [`b4687eb`](https://github.com/apollographql/vscode-graphql/commit/b4687eb52458c7fd80f447c8060922e23ef77590) Thanks [@phryneas](https://github.com/phryneas)! - Improve detection of GraphQL inside of JavaScript/TypeScript files. + Add support for `/** GraphQL */` annotations before a template string. + +### Patch Changes + +- [#173](https://github.com/apollographql/vscode-graphql/pull/173) [`415ff4a1`](https://github.com/apollographql/vscode-graphql/commit/415ff4a1bb85adba6fc2da190510c8a4ba3a74d1) Thanks [@phryneas](https://github.com/phryneas)! - Fix a bug where when rapidly changing multiple files some of the changes might have gotten lost. + +- [#176](https://github.com/apollographql/vscode-graphql/pull/176) [`cbc1c638`](https://github.com/apollographql/vscode-graphql/commit/cbc1c6384a1275bfc9fddbb0ff2bdfddaa6464f9) Thanks [@phryneas](https://github.com/phryneas)! - Fixed a bug where annotations might have mapped to the wrong position on the first line of an embedded document. + +- [#173](https://github.com/apollographql/vscode-graphql/pull/173) [`415ff4a1`](https://github.com/apollographql/vscode-graphql/commit/415ff4a1bb85adba6fc2da190510c8a4ba3a74d1) Thanks [@phryneas](https://github.com/phryneas)! - Fixed a bug where hints on the 0-th line of an embedded GraphQL document were offset incorrectly. + + E.g. in + + ```js + 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 diff --git a/package-lock.json b/package-lock.json index e86409f3..2683d764 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-apollo", - "version": "2.0.1", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-apollo", - "version": "2.0.1", + "version": "2.1.0", "license": "MIT", "dependencies": { "@apollo/client": "3.11.4", diff --git a/package.json b/package.json index ce770018..82ccd307 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-apollo", "displayName": "Apollo GraphQL", "description": "Rich editor support for GraphQL client and server development that seamlessly integrates with the Apollo platform", - "version": "2.0.1", + "version": "2.1.0", "referenceID": "87197759-7617-40d0-b32e-46d378e907c7", "author": "Apollo GraphQL ", "license": "MIT",