Skip to content

Commit

Permalink
Automated PR for router-bridge release 2.6.0 (#425)
Browse files Browse the repository at this point in the history
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

---------

Co-authored-by: apollo-bot2 <[email protected]>
Co-authored-by: Sachin D. Shinde <[email protected]>
Co-authored-by: Geoffroy Couprie <[email protected]>
  • Loading branch information
4 people authored Nov 27, 2023
1 parent 2e3e534 commit c926637
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 21 deletions.
2 changes: 1 addition & 1 deletion federation-2/Cargo.lock

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

2 changes: 1 addition & 1 deletion federation-2/router-bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "router-bridge"
version = "0.5.8+v2.5.7"
version = "0.5.9+v2.6.0"
authors = ["Apollo <[email protected]>"]
edition = "2018"
description = "JavaScript bridge for the Apollo Router"
Expand Down
2 changes: 2 additions & 0 deletions federation-2/router-bridge/js-src/supported_features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
FeatureDefinitions,
REQUIRES_SCOPES_VERSIONS,
} from "@apollo/federation-internals";
import { POLICY_VERSIONS } from "@apollo/federation-internals/dist/specs/policySpec";

export const ROUTER_SUPPORTED_SUPERGRAPH_FEATURES: Set<string> = new Set(
DEFAULT_SUPPORTED_SUPERGRAPH_FEATURES
Expand All @@ -26,3 +27,4 @@ function addToRouterFeatures<T extends FeatureDefinition>(

addToRouterFeatures(AUTHENTICATED_VERSIONS);
addToRouterFeatures(REQUIRES_SCOPES_VERSIONS);
addToRouterFeatures(POLICY_VERSIONS);
32 changes: 16 additions & 16 deletions federation-2/router-bridge/package-lock.json

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

6 changes: 3 additions & 3 deletions federation-2/router-bridge/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@apollo/router-bridge",
"private": true,
"version": "2.5.7",
"version": "2.6.0",
"description": "Apollo Router JS Bridge Entrypoint",
"scripts": {
"build": "make-dir bundled js-dist && rm -f tsconfig.tsbuildinfo && tsc --build --verbose && node esbuild/bundler.js && cp js-dist/runtime.js js-dist/do_api_schema.js js-dist/do_introspect.js js-dist/plan_worker.js js-dist/test_logger_worker.js js-dist/test_get_random_values.js bundled/",
Expand All @@ -28,8 +28,8 @@
},
"dependencies": {
"@apollo/core-schema": "^0.3.0",
"@apollo/federation-internals": "^2.5.7",
"@apollo/query-planner": "^2.5.7",
"@apollo/federation-internals": "^2.6.0",
"@apollo/query-planner": "^2.6.0",
"@apollo/usage-reporting-protobuf": "^4.0.0",
"@apollo/utils.usagereporting": "^3.0.0",
"graphql": "16.6.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ directive @federation__authenticated on FIELD_DEFINITION | OBJECT | INTERFACE |

directive @federation__requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @federation__policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @stream on FIELD

directive @transform(from: String!) on FIELD
Expand All @@ -52,6 +54,8 @@ scalar federation__FieldSet

scalar federation__Scope

scalar federation__Policy

type Book implements Product {
isbn: String!
title: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ directive @federation__authenticated on FIELD_DEFINITION | OBJECT | INTERFACE |

directive @federation__requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @federation__policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @stream on FIELD

directive @transform(from: String!) on FIELD
Expand All @@ -52,6 +54,8 @@ scalar federation__FieldSet

scalar federation__Scope

scalar federation__Policy

union Body = Image | Text

type Image implements NamedObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ directive @federation__authenticated on FIELD_DEFINITION | OBJECT | INTERFACE |

directive @federation__requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @federation__policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @stream on FIELD

directive @transform(from: String!) on FIELD
Expand All @@ -52,6 +54,8 @@ scalar federation__FieldSet

scalar federation__Scope

scalar federation__Policy

type Book implements Product {
inStock: Boolean
isCheckedOut: Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ directive @federation__authenticated on FIELD_DEFINITION | OBJECT | INTERFACE |

directive @federation__requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @federation__policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @stream on FIELD

directive @transform(from: String!) on FIELD
Expand All @@ -52,6 +54,8 @@ scalar federation__FieldSet

scalar federation__Scope

scalar federation__Policy

type Amazon {
referrer: String
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ directive @federation__authenticated on FIELD_DEFINITION | OBJECT | INTERFACE |

directive @federation__requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @federation__policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @stream on FIELD

directive @transform(from: String!) on FIELD
Expand All @@ -52,6 +54,8 @@ scalar federation__FieldSet

scalar federation__Scope

scalar federation__Policy

type Book implements Product {
reviews: [Review]
relatedReviews: [Review!]!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ directive @federation__authenticated on FIELD_DEFINITION | OBJECT | INTERFACE |

directive @federation__requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @federation__policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM

directive @stream on FIELD

directive @transform(from: String!) on FIELD
Expand All @@ -52,6 +54,8 @@ scalar federation__FieldSet

scalar federation__Scope

scalar federation__Policy

union AccountType = PasswordAccount | SMSAccount

type Library {
Expand Down

0 comments on commit c926637

Please sign in to comment.