diff --git a/.changeset/bright-lobsters-smell.md b/.changeset/bright-lobsters-smell.md deleted file mode 100644 index 52a4e7d3b3..0000000000 --- a/.changeset/bright-lobsters-smell.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@graphql-hive/cli': minor ---- - -Changes the default behavior of `hive dev` command. Now schema composition is done locally, without substituting subgraphs available in the registry. - -We added `--remote` flag to the `hive dev` command to mimic the previous behavior. - -**Breaking Change** -The `$ hive dev` command is still a work in progress (as stated in the command description). -That's why we are not considering this a breaking change, but a minor change. - -**_Before:_** - -The `hive dev` command would substitute subgraphs available in the registry with their local counterparts, performing schema composition over the network according to your project's configuration. - -**_After:_** - -The `hive dev` command will now perform schema composition locally, without substituting subgraphs available in the registry. This is the default behavior. - -To mimic the previous behavior, you can apply the `--remote` flag and continue using the command as before. - - diff --git a/packages/libraries/cli/CHANGELOG.md b/packages/libraries/cli/CHANGELOG.md index e6f750b33c..5ac31ed033 100644 --- a/packages/libraries/cli/CHANGELOG.md +++ b/packages/libraries/cli/CHANGELOG.md @@ -1,5 +1,34 @@ # @graphql-hive/cli +## 0.39.0 + +### Minor Changes + +- [#5237](https://github.com/kamilkisiela/graphql-hive/pull/5237) + [`c20907b`](https://github.com/kamilkisiela/graphql-hive/commit/c20907b7bf04a0289370e104f5c00371b71813a3) + Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Changes the default behavior of + `hive dev` command. Now schema composition is done locally, without substituting subgraphs + available in the registry. + + We added `--remote` flag to the `hive dev` command to mimic the previous behavior. + + **Breaking Change** The `$ hive dev` command is still a work in progress (as stated in the command + description). That's why we are not considering this a breaking change, but a minor change. + + **_Before:_** + + The `hive dev` command would substitute subgraphs available in the registry with their local + counterparts, performing schema composition over the network according to your project's + configuration. + + **_After:_** + + The `hive dev` command will now perform schema composition locally, without substituting subgraphs + available in the registry. This is the default behavior. + + To mimic the previous behavior, you can apply the `--remote` flag and continue using the command + as before. + ## 0.38.5 ### Patch Changes diff --git a/packages/libraries/cli/package.json b/packages/libraries/cli/package.json index 0d2cb1d972..c8af33b162 100644 --- a/packages/libraries/cli/package.json +++ b/packages/libraries/cli/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/cli", - "version": "0.38.5", + "version": "0.39.0", "description": "A CLI util to manage and control your GraphQL Hive", "repository": { "type": "git",