Skip to content

Commit

Permalink
Version Packages (graphql#2078)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Dec 6, 2021
1 parent 0e4aaed commit 6bf1073
Show file tree
Hide file tree
Showing 22 changed files with 177 additions and 75 deletions.
5 changes: 0 additions & 5 deletions .changeset/early-clouds-speak.md

This file was deleted.

28 changes: 0 additions & 28 deletions .changeset/shiny-starfishes-reflect.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/smooth-elephants-eat.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/weak-elephants-do.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/monaco-graphql-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"graphql": "16.0.0-experimental-stream-defer.5",
"monaco-graphql": "^1.0.0-rc.1",
"monaco-graphql": "^1.0.0",
"prettier": "^2.0.4",
"graphql-language-service": "^3.2.1",
"graphql-language-service": "^4.0.0",
"json-schema": "^0.3.0",
"jsonc-parser": "3.0.0",
"monaco-editor": "^0.29.1"
Expand Down
7 changes: 7 additions & 0 deletions packages/codemirror-graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 1.2.6

### Patch Changes

- Updated dependencies [[`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3)]:
- graphql-language-service@4.0.0

## 1.2.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/codemirror-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codemirror-graphql",
"version": "1.2.5",
"version": "1.2.6",
"description": "GraphQL mode and helpers for CodeMirror.",
"contributors": [
"Hyohyeon Jeong <asiandrummer@fb.com>",
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@codemirror/stream-parser": "^0.19.2",
"graphql-language-service": "^3.2.5"
"graphql-language-service": "^4.0.0"
},
"devDependencies": {
"codemirror": "^5.58.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/graphiql-2-rfc-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"@theme-ui/core": "^0.4.0-alpha.1",
"copy-to-clipboard": "^3.2.0",
"entities": "^2.0.0",
"graphql-language-service": "^3.2.5",
"graphql-language-service": "^4.0.0",
"i18next": "^19.4.4",
"i18next-browser-languagedetector": "^4.1.1",
"markdown-it": "^10.0.0",
"monaco-editor": "^0.27.0",
"monaco-graphql": "^0.6.5",
"monaco-graphql": "^1.0.0",
"react-i18next": "^11.4.0",
"theme-ui": "^0.3.1"
},
Expand Down
11 changes: 11 additions & 0 deletions packages/graphiql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 1.5.9

### Patch Changes

- [#2077](https://github.com/graphql/graphiql/pull/2077) [`701ca13f`](https://github.com/graphql/graphiql/commit/701ca13f625735564d71931e6d917e5bf69c8aa5) Thanks [@acao](https://github.com/acao)! - Include schema description in DocExplorer for schema introspection requests. Enables the `schemaDescription` option for `getIntrospectionQuery()`.
Also includes `deprecationReason` support in DocExplorer for arguments!
Enables `inputValueDeprecation` in `getIntrospectionQuery()` and displays deprecation section on field doc view.
- Updated dependencies [[`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3)]:
- graphql-language-service@4.0.0
- codemirror-graphql@1.2.6

## 1.5.8

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/graphiql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphiql",
"version": "1.5.8",
"version": "1.5.9",
"description": "An graphical interactive in-browser GraphQL IDE.",
"contributors": [
"Hyohyeon Jeong <asiandrummer@fb.com>",
Expand Down Expand Up @@ -48,12 +48,12 @@
"dependencies": {
"@graphiql/toolkit": "^0.4.2",
"codemirror": "^5.58.2",
"codemirror-graphql": "^1.2.5",
"codemirror-graphql": "^1.2.6",
"copy-to-clipboard": "^3.2.0",
"dset": "^3.1.0",
"entities": "^2.0.0",
"escape-html": "^1.0.3",
"graphql-language-service": "^3.2.5",
"graphql-language-service": "^4.0.0",
"markdown-it": "^12.2.0"
},
"peerDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/graphql-language-service-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# graphql-language-service-cli

## 3.2.8

### Patch Changes

- Updated dependencies [[`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3)]:
- graphql-language-service-utils@2.7.0
- graphql-language-service@4.0.0
- graphql-language-service-server@2.7.8

## 3.2.7

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/graphql-language-service-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-language-service-cli",
"version": "3.2.7",
"version": "3.2.8",
"description": "An interface for building GraphQL language services for IDEs",
"contributors": [
"Hyohyeon Jeong <asiandrummer@fb.com>",
Expand Down Expand Up @@ -32,9 +32,9 @@
},
"dependencies": {
"@babel/polyfill": "^7.8.7",
"graphql-language-service": "^3.2.5",
"graphql-language-service-server": "^2.7.7",
"graphql-language-service-utils": "^2.6.3",
"graphql-language-service": "^4.0.0",
"graphql-language-service-server": "^2.7.8",
"graphql-language-service-utils": "^2.7.0",
"yargs": "^16.2.0"
},
"devDependencies": {
Expand Down
18 changes: 18 additions & 0 deletions packages/graphql-language-service-interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# graphql-language-service-interface

## 2.10.0

### Minor Changes

- [#2081](https://github.com/graphql/graphiql/pull/2081) [`9b72af57`](https://github.com/graphql/graphiql/commit/9b72af57183f4435992c232e63506ad2f5a72576) Thanks [@acao](https://github.com/acao)! - Auto-expand selection sets & invoke completion on newline

Introduces `insertText` and completion for field `selectionSets` for the appropriate `field.type`s.
Works across `monaco-graphql` and `graphql-language-service-server`.

Though the changeset is bumping a patch for `codemirror-graphql`, the lsp completion `insertText` is not used by `codemirror`, and thus this lsp enhancment will not change the `codemirror-graphql` experience.

### Patch Changes

- [#2076](https://github.com/graphql/graphiql/pull/2076) [`581df6d8`](https://github.com/graphql/graphiql/commit/581df6d83f4bc145de94e5d730b00e5b025907da) Thanks [@acao](https://github.com/acao)! - fix a potential issue where field(arg: $| in codemirror-graphql might have autocompletion insert of $\$variable because of recent changes to completion for monaco-graphql/vscode-graphql

- Updated dependencies [[`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3)]:
- graphql-language-service-utils@2.7.0

## 2.9.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql-language-service-interface/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-language-service-interface",
"version": "2.9.5",
"version": "2.10.0",
"description": "Interface to the GraphQL Language Service",
"contributors": [
"Greg Hurrell <greg@hurrell.net> (https://greg.hurrell.net/)",
Expand Down Expand Up @@ -31,7 +31,7 @@
"graphql-config": "^4.1.0",
"graphql-language-service-parser": "^1.10.3",
"graphql-language-service-types": "^1.8.6",
"graphql-language-service-utils": "^2.6.3",
"graphql-language-service-utils": "^2.7.0",
"vscode-languageserver-types": "^3.15.1"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/graphql-language-service-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# graphql-language-service-server

## 2.7.8

### Patch Changes

- Updated dependencies [[`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3)]:
- graphql-language-service-utils@2.7.0
- graphql-language-service@4.0.0

## 2.7.7

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/graphql-language-service-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-language-service-server",
"version": "2.7.7",
"version": "2.7.8",
"description": "Server process backing the GraphQL Language Service",
"contributors": [
"Greg Hurrell <greg@hurrell.net> (https://greg.hurrell.net/)",
Expand Down Expand Up @@ -33,8 +33,8 @@
"@babel/parser": "^7.13.13",
"dotenv": "8.2.0",
"graphql-config": "^4.1.0",
"graphql-language-service": "^3.2.5",
"graphql-language-service-utils": "^2.6.3",
"graphql-language-service": "^4.0.0",
"graphql-language-service-utils": "^2.7.0",
"mkdirp": "^1.0.4",
"node-fetch": "^2.6.1",
"nullthrows": "^1.0.0",
Expand Down
29 changes: 29 additions & 0 deletions packages/graphql-language-service-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# graphql-language-service-utils

## 2.7.0

### Minor Changes

- [#1997](https://github.com/graphql/graphiql/pull/1997) [`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3) Thanks [@acao](https://github.com/acao)! - This introduces some big changes to `monaco-graphql`, and some exciting features, including multi-model support, multi-schema support, and variables json language feature support 🎉.

see [the readme](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#monaco-graphql) to learn how to configure and use the new interface.

#### 🚨 BREAKING CHANGES!! 🚨

- `monaco-graphql` 🚨 **no longer loads schemas using `fetch` introspection** 🚨, you must specify the schema in one of many ways statically or dynamically. specifying just a schema `uri` no longer works. see [the readme](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#monaco-graphql)
- when specifying the language to an editor or model, **use `graphql` as the language id instead of `graphqlDev`**
- the mode now extends the default basic language support from `monaco-editor` itself
- when bundling, for syntax highlighting and basic language features, you must specify `graphql` in languages for your webpack or vite monaco plugins
- The exported mode api for configfuration been entirely rewritten. It is simple for now, but we will add more powerful methods to the `monaco.languages.api` over time :)

#### New Features

this introduces many improvements:

- json language support, by mapping from each graphql model uri to a set of json variable model uris
- we generate a json schema definition for the json variables on the fly
- it updates alongside editor validation as you type
- less redundant schema loading - schema is loaded in main process instead of in the webworker
- web worker stability has been improved by contributors in previous patches, but removing remote schema loading vastly simplifies worker creation
- the editor now supports multiple graphql models, configurable against multiple schema configurations

* You can now use `intializeMode()` to initialize the language mode & worker with the schema, but you can still lazily load it, and fall back on default monaco editor basic languages support

## 2.6.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-language-service-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-language-service-utils",
"version": "2.6.3",
"version": "2.7.0",
"description": "Utilities to support the GraphQL Language Service",
"contributors": [
"Greg Hurrell <greg@hurrell.net> (https://greg.hurrell.net/)",
Expand Down
35 changes: 35 additions & 0 deletions packages/graphql-language-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# graphql-language-service

## 4.0.0

### Major Changes

- [#1997](https://github.com/graphql/graphiql/pull/1997) [`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3) Thanks [@acao](https://github.com/acao)! - This introduces some big changes to `monaco-graphql`, and some exciting features, including multi-model support, multi-schema support, and variables json language feature support 🎉.

see [the readme](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#monaco-graphql) to learn how to configure and use the new interface.

#### 🚨 BREAKING CHANGES!! 🚨

- `monaco-graphql` 🚨 **no longer loads schemas using `fetch` introspection** 🚨, you must specify the schema in one of many ways statically or dynamically. specifying just a schema `uri` no longer works. see [the readme](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#monaco-graphql)
- when specifying the language to an editor or model, **use `graphql` as the language id instead of `graphqlDev`**
- the mode now extends the default basic language support from `monaco-editor` itself
- when bundling, for syntax highlighting and basic language features, you must specify `graphql` in languages for your webpack or vite monaco plugins
- The exported mode api for configfuration been entirely rewritten. It is simple for now, but we will add more powerful methods to the `monaco.languages.api` over time :)

#### New Features

this introduces many improvements:

- json language support, by mapping from each graphql model uri to a set of json variable model uris
- we generate a json schema definition for the json variables on the fly
- it updates alongside editor validation as you type
- less redundant schema loading - schema is loaded in main process instead of in the webworker
- web worker stability has been improved by contributors in previous patches, but removing remote schema loading vastly simplifies worker creation
- the editor now supports multiple graphql models, configurable against multiple schema configurations

* You can now use `intializeMode()` to initialize the language mode & worker with the schema, but you can still lazily load it, and fall back on default monaco editor basic languages support

### Patch Changes

- Updated dependencies [[`581df6d8`](https://github.com/graphql/graphiql/commit/581df6d83f4bc145de94e5d730b00e5b025907da), [`9df315b4`](https://github.com/graphql/graphiql/commit/9df315b44896efa313ed6744445fc8f9e702ebc3), [`9b72af57`](https://github.com/graphql/graphiql/commit/9b72af57183f4435992c232e63506ad2f5a72576)]:
- graphql-language-service-interface@2.10.0
- graphql-language-service-utils@2.7.0

## 3.2.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/graphql-language-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-language-service",
"version": "3.2.5",
"version": "4.0.0",
"description": "The official, runtime independent Language Service for GraphQL",
"contributors": [
"GraphQL Contributors"
Expand Down Expand Up @@ -31,10 +31,10 @@
"graphql": "^15.5.0 || ^16.0.0"
},
"dependencies": {
"graphql-language-service-interface": "^2.9.5",
"graphql-language-service-interface": "^2.10.0",
"graphql-language-service-parser": "^1.10.3",
"graphql-language-service-types": "^1.8.6",
"graphql-language-service-utils": "^2.6.3",
"graphql-language-service-utils": "^2.7.0",
"picomatch": "^2.3.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 6bf1073

Please sign in to comment.