|
| 1 | +--- |
| 2 | +title: Previous versions of Apollo Server |
| 3 | +--- |
| 4 | + |
| 5 | +## Apollo Server 4 is generally available |
| 6 | + |
| 7 | +Apollo Server 4 is the latest version of Apollo Server and is [generally available](/resources/product-launch-stages#general-availability). Apollo Server 4 is ready for use in a production environment, and Apollo provides official support for this library. There is currently no planned end-of-life date. |
| 8 | + |
| 9 | +## Deprecated versions |
| 10 | + |
| 11 | +> [Learn more about deprecation and end-of-life.](https://www.apollographql.com/docs/resources/product-launch-stages#stages-for-discontinuing-support) |
| 12 | +
|
| 13 | +Both previous major versions of Apollo Server are currently [deprecated](/resources/product-launch-stages#deprecated), with end-of-life scheduled for **October 22nd, 2023**. Additionally, [certain features](#apollo-server-2) of Apollo Server 2 have an earlier end-of-life date of **December 31st, 2022**. |
| 14 | + |
| 15 | +Deprecated versions continue to receive security patches and updates to address major regressions until their end-of-life date. They typically do not receive new features and other kinds of bug fixes may or may not be backported to deprecated versions at Apollo's discretion. |
| 16 | + |
| 17 | +### Apollo Server 3 |
| 18 | + |
| 19 | +[Apollo Server 3](/apollo-server/v3/) is deprecated and will transition to end-of-life on **October 22nd, 2023**. We encourage all Apollo Server 3 users to [**upgrade** to Apollo Server 4 now](./migration). Note that Apollo Server 2 and 3 were distributed in various npm packages (such as `apollo-server`, `apollo-server-core`, and `apollo-server-express`); Apollo Server 4 combines these packages into a single new [`@apollo/server` package](./migration/#the-new-apolloserver-package). |
| 20 | + |
| 21 | +### Apollo Server 2 |
| 22 | + |
| 23 | +[Apollo Server 2](/apollo-server/v2/) is deprecated and will transition to end-of-life on **October 22, 2023**. We encourage all users of Apollo Server 2 to **upgrade** to Apollo Server 4, first by following the [v3 migration guide](/apollo-server/v3/migration) and then following the [v4 migration guide](./migration). Note that Apollo Server 2 and 3 were distributed in various npm packages (such as `apollo-server`, `apollo-server-core`, and `apollo-server-express`); Apollo Server 4 combines these packages into a single new [`@apollo/server` package](./migration/#the-new-apolloserver-package). |
| 24 | + |
| 25 | +We recommend upgrading to Apollo Server 4 as _soon as possible_. Depending on which Apollo Server features you use, the upgrade process might require several changes to your server. The most straightforward upgrade path is to first upgrade from Apollo Server 2 to 3, then once everything works, continue upgrading from Apollo Server 3 to 4. |
| 26 | + |
| 27 | +Three features of Apollo Server 2 have an earlier end-of-life date: **December 31st, 2022**. These three features are: |
| 28 | +* [Subscriptions](/apollo-server/v2/data/subscriptions/) |
| 29 | +* [File uploads](/apollo-server/v2/data/file-uploads/) |
| 30 | +* [GraphQL Playground](/apollo-server/v2/testing/graphql-playground/). |
| 31 | + |
| 32 | +These features incorporate third-party software that is unmaintained (or can't be upgraded for compatibility reasons). Additionally, these features aren't in the default experiences of either Apollo Server 3 or 4. Apollo generally won't support these features' security issues or significant regressions after 2022. In other words, problems that are solved when a server is initialized with `new ApolloServer({ subscriptions: false, uploads: false, playground: false })` might not be addressed after 2022. |
| 33 | + |
| 34 | + |
| 35 | +### Apollo Server 1 |
| 36 | + |
| 37 | +Apollo Server 1 was a significantly different project and has been considered end-of-life since 2018. |
0 commit comments