Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apollo/federation

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/federation - npm Package Compare versions

Comparing version 0.29.1-alpha.0 to 0.30.0

7

CHANGELOG.md

@@ -9,5 +9,10 @@ # CHANGELOG for `@apollo/federation`

## v0.30.0
- Introduce `@core/v0.2` support with [the `for:` directive](https://specs.apollo.dev/core/v0.2/#@core/for) argument which was introduced to the core specification in [specs-core#9](https://github.com/apollographql/specs-core/pull/9). For users of `printSupergraphSdl`, the output of that command will now be a `@core/v0.2` schema which is only compatible [with `@apollo/gateway0.39.0`](https://github.com/apollographql/federation/blob/09ebb075/gateway-js/CHANGELOG.md#v0390) (or newer) versions. The newly introduced `for:` argument allows a `@core` directive to specify its criticality to any consumer (including, and most importantly right now, the Gateway itself). The `for:` argument is optional - its absence means that the directive requires no additional support from the consumer. Its two available options - `EXECUTION` and `SECURITY` - both require explicit support from the consumer, else the consumer should fail to start / update to this unsupported schema. For more information on supergraphs see [our documentation](https://www.apollographql.com/docs/rover/supergraphs/) or learn how to generate them in our [federation quickstart](https://www.apollographql.com/docs/federation/quickstart/). [PR #957](https://github.com/apollographql/federation/pull/957)
## v0.29.0
- __DEPRECATION__: Rename `buildFederatedSchema` to `buildSubgraphSchema`. The previous name will continue to be supported but is deprecated. No functional change, usages of `buildFederatedSchema` should just be replaced with `buildSubgraphSchema`. [PR #915](https://github.com/apollographql/federation/pull/913)
- __DEPRECATION__: Rename `buildFederatedSchema` to `buildSubgraphSchema`. The previous name will continue to be supported but is deprecated. No functional change, usages of `buildFederatedSchema` should just be replaced with `buildSubgraphSchema`. [PR #915](https://github.com/apollographql/federation/pull/915)
- __BREAKING__: Support @tag directive on Object, Interface, and Union types. This is a breaking change for current @tag users, as one of the validations was updated. Existing @tag definitions must now accomodate the additional locations `OBJECT | INTERFACE | UNION`. Usages of the @tag directive are rolled up indiscriminately during composition, just as they currently are with fields. For example, a @tag usage on an entity extension will end up in the supergraph alongside any other @tag usages on the same entity in other subgraphs. [PR #945](https://github.com/apollographql/federation/pull/945)

@@ -14,0 +19,0 @@

4

package.json
{
"name": "@apollo/federation",
"version": "0.29.1-alpha.0",
"version": "0.30.0",
"description": "Apollo Federation Utilities",

@@ -33,3 +33,3 @@ "main": "dist/index.js",

},
"gitHead": "3cbefa4c0c0a7e629865e56741efa3d6a9afcc08"
"gitHead": "1e10f185c99aed3fb0830461fd6c0b0f6cd6dc9f"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc