During the installation, some deprecation warnings are displayed and the NPM page of this module also states that this package is deprecated.
npm install --save @apollo/federation
npm WARN deprecated apollo-server-env@4.2.1: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated apollo-server-types@3.8.0: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated apollo-reporting-protobuf@3.4.0: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated @apollo/subgraph@0.6.1: All v0.x versions of @apollo/subgraph are now deprecated with an end-of-life date of September 22, 2023. Apollo recommends upgrading to v2.x as soon as possible. For more details, see our announcement blog post (https://www.apollographql.com/blog/announcement/backend/announcing-the-end-of-life-schedule-for-apollo-gateway-v0-x/) and documentation (https://www.apollographql.com/docs/federation/federation-2/backward-compatibility/#is-official-support-ending-for-apollogateway-v0x).
npm WARN deprecated @apollo/federation@0.38.1: The @apollo/federation package is deprecated and will reach end-of-life September 22, 2023. It contains outdated utilities for both running subgraphs and composing supergraph schemas. Please migrate to the appropriate package for your use case (@apollo/subgraph or @apollo/composition). For more details, see our announcement blog post (https://www.apollographql.com/blog/announcement/backend/announcing-the-end-of-life-schedule-for-apollo-gateway-v0-x/) and documentation (https://www.apollographql.com/docs/federation/federation-2/backward-compatibility/#is-official-support-ending-for-apollogateway-v0x).
For now our servers seem to run fine even without @apollo/federation. Is this package still required with v12?
Minimum reproduction code
none
Steps to reproduce
No response
Expected behavior
After upgrading to Apollo Server v4 I would not expect to use deprecated modules.
Is there an existing issue for this?
Current behavior
The official docs Federation with Apollo recommend installing the @apollo/federation module.
During the installation, some deprecation warnings are displayed and the NPM page of this module also states that this package is deprecated.
For now our servers seem to run fine even without
@apollo/federation
. Is this package still required with v12?Minimum reproduction code
none
Steps to reproduce
No response
Expected behavior
After upgrading to Apollo Server v4 I would not expect to use deprecated modules.
Package version
12.0.7
Graphql version
graphql
: 16.6.0@apollo/subgraph
: 2.4.12@apollo/server
: 4.9.1NestJS version
10.1.3
Node.js version
18.12.1
In which operating systems have you tested?
Other
No response