Skip to content

Commit

Permalink
release: on branch next (#2878)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https:/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to next, this PR will
be updated.


# Releases
## @apollo/[email protected]

### Minor Changes

- Implement progressive `@override` functionality
([#2911](#2911))

The progressive `@override` feature brings a new argument to the
`@override` directive: `label: String`. When a label is added to an
`@override` application, the override becomes conditional, depending on
parameters provided to the query planner (a set of which labels should
be overridden). Note that this feature will be supported in router for
enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for
progressive `@override`. For example:

    ```graphql
    type Query {
      hello: String @OverRide(from: "original", label: "percent(5)")
    }
    ```

The above example will override the root `hello` field from the
"original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of
coprocessors/rhai to resolve arbitrary labels to true/false values (i.e.
via a feature flag service).

- Support `@join__directive(graphs, name, args)` directives
([#2894](#2894))

### Patch Changes

- Allow known `FeatureDefinition` subclasses to define custom subgraph
schema validation rules
([#2910](#2910))

- Updated dependencies
\[[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](6ae4294),
[`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](66833fb),
[`931f87c6766c7439936df706727cbdc0cd6bcfd8`](931f87c)]:
    -   @apollo/[email protected]
    -   @apollo/[email protected]

## @apollo/[email protected]

### Minor Changes

- Implement progressive `@override` functionality
([#2911](#2911))

The progressive `@override` feature brings a new argument to the
`@override` directive: `label: String`. When a label is added to an
`@override` application, the override becomes conditional, depending on
parameters provided to the query planner (a set of which labels should
be overridden). Note that this feature will be supported in router for
enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for
progressive `@override`. For example:

    ```graphql
    type Query {
      hello: String @OverRide(from: "original", label: "percent(5)")
    }
    ```

The above example will override the root `hello` field from the
"original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of
coprocessors/rhai to resolve arbitrary labels to true/false values (i.e.
via a feature flag service).

### Patch Changes

- Updated dependencies
\[[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](6ae4294),
[`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](66833fb),
[`931f87c6766c7439936df706727cbdc0cd6bcfd8`](931f87c)]:
    -   @apollo/[email protected]
    -   @apollo/[email protected]
    -   @apollo/[email protected]

## @apollo/[email protected]

### Minor Changes

- Implement progressive `@override` functionality
([#2911](#2911))

The progressive `@override` feature brings a new argument to the
`@override` directive: `label: String`. When a label is added to an
`@override` application, the override becomes conditional, depending on
parameters provided to the query planner (a set of which labels should
be overridden). Note that this feature will be supported in router for
enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for
progressive `@override`. For example:

    ```graphql
    type Query {
      hello: String @OverRide(from: "original", label: "percent(5)")
    }
    ```

The above example will override the root `hello` field from the
"original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of
coprocessors/rhai to resolve arbitrary labels to true/false values (i.e.
via a feature flag service).

- Allow known `FeatureDefinition` subclasses to define custom subgraph
schema validation rules
([#2910](#2910))

- Support `@join__directive(graphs, name, args)` directives
([#2894](#2894))

## @apollo/[email protected]

### Minor Changes

- Implement progressive `@override` functionality
([#2911](#2911))

The progressive `@override` feature brings a new argument to the
`@override` directive: `label: String`. When a label is added to an
`@override` application, the override becomes conditional, depending on
parameters provided to the query planner (a set of which labels should
be overridden). Note that this feature will be supported in router for
enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for
progressive `@override`. For example:

    ```graphql
    type Query {
      hello: String @OverRide(from: "original", label: "percent(5)")
    }
    ```

The above example will override the root `hello` field from the
"original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of
coprocessors/rhai to resolve arbitrary labels to true/false values (i.e.
via a feature flag service).

### Patch Changes

- Updated dependencies
\[[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](6ae4294),
[`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](66833fb),
[`931f87c6766c7439936df706727cbdc0cd6bcfd8`](931f87c)]:
    -   @apollo/[email protected]

## @apollo/[email protected]

### Minor Changes

- Implement progressive `@override` functionality
([#2911](#2911))

The progressive `@override` feature brings a new argument to the
`@override` directive: `label: String`. When a label is added to an
`@override` application, the override becomes conditional, depending on
parameters provided to the query planner (a set of which labels should
be overridden). Note that this feature will be supported in router for
enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for
progressive `@override`. For example:

    ```graphql
    type Query {
      hello: String @OverRide(from: "original", label: "percent(5)")
    }
    ```

The above example will override the root `hello` field from the
"original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of
coprocessors/rhai to resolve arbitrary labels to true/false values (i.e.
via a feature flag service).

### Patch Changes

- Updated dependencies
\[[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](6ae4294),
[`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](66833fb),
[`931f87c6766c7439936df706727cbdc0cd6bcfd8`](931f87c)]:
    -   @apollo/[email protected]
    -   @apollo/[email protected]

## @apollo/[email protected]

### Minor Changes

- Implement progressive `@override` functionality
([#2911](#2911))

The progressive `@override` feature brings a new argument to the
`@override` directive: `label: String`. When a label is added to an
`@override` application, the override becomes conditional, depending on
parameters provided to the query planner (a set of which labels should
be overridden). Note that this feature will be supported in router for
enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for
progressive `@override`. For example:

    ```graphql
    type Query {
      hello: String @OverRide(from: "original", label: "percent(5)")
    }
    ```

The above example will override the root `hello` field from the
"original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of
coprocessors/rhai to resolve arbitrary labels to true/false values (i.e.
via a feature flag service).

### Patch Changes

- Updated dependencies
\[[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](6ae4294),
[`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](66833fb),
[`931f87c6766c7439936df706727cbdc0cd6bcfd8`](931f87c)]:
    -   @apollo/[email protected]

## [email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 20, 2024
1 parent 6ae4294 commit 28e8fd4
Show file tree
Hide file tree
Showing 18 changed files with 191 additions and 66 deletions.
22 changes: 0 additions & 22 deletions .changeset/empty-dodos-turn.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/popular-mirrors-move.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/real-comics-stare.md

This file was deleted.

30 changes: 30 additions & 0 deletions composition-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# CHANGELOG for `@apollo/composition`

## 2.7.0

### Minor Changes

- Implement progressive `@override` functionality ([#2911](https:/apollographql/federation/pull/2911))

The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example:

```graphql
type Query {
hello: String @override(from: "original", label: "percent(5)")
}
```

The above example will override the root `hello` field from the "original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).

- Support `@join__directive(graphs, name, args)` directives ([#2894](https:/apollographql/federation/pull/2894))

### Patch Changes

- Allow known `FeatureDefinition` subclasses to define custom subgraph schema validation rules ([#2910](https:/apollographql/federation/pull/2910))

- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]:
- @apollo/query-graphs@2.7.0
- @apollo/federation-internals@2.7.0

## 2.6.3

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions composition-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/composition",
"version": "2.6.3",
"version": "2.7.0",
"description": "Apollo Federation composition utilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -27,8 +27,8 @@
"access": "public"
},
"dependencies": {
"@apollo/federation-internals": "2.6.3",
"@apollo/query-graphs": "2.6.3"
"@apollo/federation-internals": "2.7.0",
"@apollo/query-graphs": "2.7.0"
},
"peerDependencies": {
"graphql": "^16.5.0"
Expand Down
2 changes: 2 additions & 0 deletions federation-integration-testsuite-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CHANGELOG for `federation-integration-testsuite-js`

## 2.7.0

## 2.6.3

## 2.6.2
Expand Down
2 changes: 1 addition & 1 deletion federation-integration-testsuite-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-federation-integration-testsuite",
"private": true,
"version": "2.6.3",
"version": "2.7.0",
"description": "Apollo Federation Integrations / Test Fixtures",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
27 changes: 27 additions & 0 deletions gateway-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# CHANGELOG for `@apollo/gateway`

## 2.7.0

### Minor Changes

- Implement progressive `@override` functionality ([#2911](https:/apollographql/federation/pull/2911))

The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example:

```graphql
type Query {
hello: String @override(from: "original", label: "percent(5)")
}
```

The above example will override the root `hello` field from the "original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).

### Patch Changes

- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]:
- @apollo/query-planner@2.7.0
- @apollo/composition@2.7.0
- @apollo/federation-internals@2.7.0

## 2.6.3

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions gateway-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/gateway",
"version": "2.6.3",
"version": "2.7.0",
"description": "Apollo Gateway",
"author": "Apollo <[email protected]>",
"main": "dist/index.js",
Expand All @@ -25,9 +25,9 @@
"access": "public"
},
"dependencies": {
"@apollo/composition": "2.6.3",
"@apollo/federation-internals": "2.6.3",
"@apollo/query-planner": "2.6.3",
"@apollo/composition": "2.7.0",
"@apollo/federation-internals": "2.7.0",
"@apollo/query-planner": "2.7.0",
"@apollo/server-gateway-interface": "^1.1.0",
"@apollo/usage-reporting-protobuf": "^4.1.0",
"@apollo/utils.createhash": "^2.0.0",
Expand Down
24 changes: 24 additions & 0 deletions internals-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# CHANGELOG for `@apollo/federation-internals`

## 2.7.0

### Minor Changes

- Implement progressive `@override` functionality ([#2911](https:/apollographql/federation/pull/2911))

The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example:

```graphql
type Query {
hello: String @override(from: "original", label: "percent(5)")
}
```

The above example will override the root `hello` field from the "original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).

- Allow known `FeatureDefinition` subclasses to define custom subgraph schema validation rules ([#2910](https:/apollographql/federation/pull/2910))

- Support `@join__directive(graphs, name, args)` directives ([#2894](https:/apollographql/federation/pull/2894))

## 2.6.3

## 2.6.2
Expand Down
2 changes: 1 addition & 1 deletion internals-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/federation-internals",
"version": "2.6.3",
"version": "2.7.0",
"description": "Apollo Federation internal utilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions query-graphs-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# CHANGELOG for `@apollo/query-graphs`

## 2.7.0

### Minor Changes

- Implement progressive `@override` functionality ([#2911](https:/apollographql/federation/pull/2911))

The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example:

```graphql
type Query {
hello: String @override(from: "original", label: "percent(5)")
}
```

The above example will override the root `hello` field from the "original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).

### Patch Changes

- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]:
- @apollo/federation-internals@2.7.0

## 2.6.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions query-graphs-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/query-graphs",
"version": "2.6.3",
"version": "2.7.0",
"description": "Apollo Federation library to work with 'query graphs'",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -23,7 +23,7 @@
"node": ">=14.15.0"
},
"dependencies": {
"@apollo/federation-internals": "2.6.3",
"@apollo/federation-internals": "2.7.0",
"deep-equal": "^2.0.5",
"ts-graphviz": "^1.5.4",
"uuid": "^9.0.0"
Expand Down
26 changes: 26 additions & 0 deletions query-planner-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# CHANGELOG for `@apollo/query-planner`

## 2.7.0

### Minor Changes

- Implement progressive `@override` functionality ([#2911](https:/apollographql/federation/pull/2911))

The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.

Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example:

```graphql
type Query {
hello: String @override(from: "original", label: "percent(5)")
}
```

The above example will override the root `hello` field from the "original" subgraph 5% of the time.

More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).

### Patch Changes

- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]:
- @apollo/query-graphs@2.7.0
- @apollo/federation-internals@2.7.0

## 2.6.3

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions query-planner-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/query-planner",
"version": "2.6.3",
"version": "2.7.0",
"description": "Apollo Query Planner",
"author": "Apollo <[email protected]>",
"main": "dist/index.js",
Expand All @@ -25,8 +25,8 @@
"access": "public"
},
"dependencies": {
"@apollo/federation-internals": "2.6.3",
"@apollo/query-graphs": "2.6.3",
"@apollo/federation-internals": "2.7.0",
"@apollo/query-graphs": "2.7.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"chalk": "^4.1.0",
"deep-equal": "^2.0.5",
Expand Down
Loading

0 comments on commit 28e8fd4

Please sign in to comment.