apollo-server/docs/source/migration-one-dot.md
Sashko Stubailo 62158acbd1
Docs improvements round 2 (#693)
* Add 1.0 migration article, belated

* Add tracing + cache control to sidebar

* Suggest graphql-tools

* Link to graphql-tools in README

* Wording

* Try a new title

* Add example to top
2017-12-11 23:44:32 -08:00

1,014 B

title description
Migrating to v1.0 How to migrate to Apollo Server 1.0

In July of 2017, we announced the release of Apollo Server 1.0. This was not a major change, except for one thing: All of the packages have been renamed from graphql-server-* to apollo-server-*.

All of the options, names, and API are identical to pre-1.0 versions.

So, if before you were doing:

import { graphqlExpress, graphiqlExpress } from 'graphql-server-express';

Now, you should do:

import { graphqlExpress, graphiqlExpress } from 'apollo-server-express';

We made this change because it was consistent with how developers in the community were referring to the package. With the graphql-server name, we wanted to emphasize that this package works with any GraphQL technology, but people called it "Apollo Server" anyway, so we decided that was a good name to use officially as well.