Commit fd436fa
authored
release: on branch main (#3345)
This PR was opened by the [Changesets
release](https://github.com/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 main, this PR will
be updated.
# Releases
## @apollo/[email protected]
### Patch Changes
- Fixed access control verification of transitive requirements (through
`@requires` and/or `@fromContext`) to ensure it works with chains of
transitive dependencies.
([#3343](#3343))
- Allow interface object fields to specify access control
([#3343](#3343))
Update composition logic to allow specifying access control directives
(`@authenticated`, `@requiresScopes` and `@policy`) on
`@interfaceObject` fields. While we disallow access control on interface
types and fields, we decided to support it on `@interfaceObject` as it
is a useful pattern to define a single resolver (that may need access
controls) for common interface fields. Alternative would require our
users to explicitly define resolvers for all implementations which
defeats the purpose of `@interfaceObject`.
This PR refactors in how we propagate access control by providing
additional merge sources when merging directives on interfaces,
interface fields and object fields.
- Updated dependencies
\[[`09e596e6a0c753071ca822e84f525d73ada395cf`](09e596e),
[`ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae`](ac1ed29)]:
- @apollo/[email protected]
- @apollo/[email protected]
## @apollo/[email protected]
### Patch Changes
- Updated dependencies
\[[`b19431e4a92206703e29aba859a5fc7574b9ef8b`](b19431e),
[`09e596e6a0c753071ca822e84f525d73ada395cf`](09e596e),
[`ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae`](ac1ed29)]:
- @apollo/[email protected]
- @apollo/[email protected]
- @apollo/[email protected]
## @apollo/[email protected]
### Patch Changes
- Allow interface object fields to specify access control
([#3343](#3343))
Update composition logic to allow specifying access control directives
(`@authenticated`, `@requiresScopes` and `@policy`) on
`@interfaceObject` fields. While we disallow access control on interface
types and fields, we decided to support it on `@interfaceObject` as it
is a useful pattern to define a single resolver (that may need access
controls) for common interface fields. Alternative would require our
users to explicitly define resolvers for all implementations which
defeats the purpose of `@interfaceObject`.
This PR refactors in how we propagate access control by providing
additional merge sources when merging directives on interfaces,
interface fields and object fields.
- Fixed demand control validations to unwrap non-nullable composite
types and fields when performing validations.
([#3343](#3343))
## @apollo/[email protected]
### Patch Changes
- Updated dependencies
\[[`09e596e6a0c753071ca822e84f525d73ada395cf`](09e596e),
[`ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae`](ac1ed29)]:
- @apollo/[email protected]
## @apollo/[email protected]
### Patch Changes
- Updated dependencies
\[[`09e596e6a0c753071ca822e84f525d73ada395cf`](09e596e),
[`ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae`](ac1ed29)]:
- @apollo/[email protected]
- @apollo/[email protected]
## @apollo/[email protected]
### Patch Changes
- Updated dependencies
\[[`09e596e6a0c753071ca822e84f525d73ada395cf`](09e596e),
[`ac1ed2946c48e0fef4b413b192d8c5fbdb2370ae`](ac1ed29)]:
- @apollo/[email protected]
## [email protected]
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 69eff4a commit fd436fa
File tree
18 files changed
+95
-52
lines changed- .changeset
- composition-js
- federation-integration-testsuite-js
- gateway-js
- internals-js
- query-graphs-js
- query-planner-js
- subgraph-js
18 files changed
+95
-52
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
0 commit comments