Skip to content

Commit

Permalink
Rearrange and simplify v3.0.0 CHANGELOG.md section.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamn committed Apr 20, 2018
1 parent dc5187f commit 452586a
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@

### v3.0.0 (prerelease)

* Full rewrite of internals of mergeSchemas and delegateToSchema. Multiple bugs fixed
* `delegateToSchema` is now a public API [Docs](https://www.apollographql.com/docs/graphql-tools/schema-delegation.html)
* `delegateToSchema` now accepts an object. List of arguments is a deprecated API.
* `delegateToSchema` no longer accepts `fragmentReplacements`, instead accepting transforms
* `info.mergeInfo.delegateToSchema` is now a preferred delegation API, `info.mergeInfo.delegate` is deprecated
* Using `mergeInfo` closure in resolvers of `mergeSchemas` is deprecated
* Add schema transforms [Docs](https://www.apollographql.com/docs/graphql-tools/schema-transforms.html)
* Add `transformSchema`, `visitSchema`, `visitObject` as utility functions for
transforms

### vNEXT

* add commentDescription to printSchema call to match other uses [PR #745](https://github.com/apollographql/graphql-tools/pull/745)
* Add `createResolver` option to `makeRemoteExecutableSchema` [PR #734](https://github.com/apollographql/graphql-tools/pull/734)
* Schema transforms and delegation
* Substantial rewrite of internals of `mergeSchemas` and `delegateToSchema`
* A new API for schema transforms has been introduced: [Docs](https://www.apollographql.com/docs/graphql-tools/schema-transforms.html)
* `delegateToSchema` is now a public API [Docs](https://www.apollographql.com/docs/graphql-tools/schema-delegation.html)
* `delegateToSchema` now accepts an object of named parameters; positional arguments are deprecated
* `delegateToSchema` no longer accepts `fragmentReplacements`, instead accepting `transforms`
* `info.mergeInfo.delegateToSchema` is now the preferred delegation API, rather than `info.mergeInfo.delegate` (deprecated)

* Other changes
* add commentDescription to printSchema call to match other uses [PR #745](https://github.com/apollographql/graphql-tools/pull/745)
* Add `createResolver` option to `makeRemoteExecutableSchema` [PR #734](https://github.com/apollographql/graphql-tools/pull/734)

### v2.24.0

Expand Down

0 comments on commit 452586a

Please sign in to comment.