Skip to content

Commit

Permalink
chore(deps): update ghcr.io/apollographql/router docker tag to v1.58.0 (
Browse files Browse the repository at this point in the history
#62)

* chore(deps): update ghcr.io/apollographql/router docker tag to v1.58.0

* Update router config schema

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and github-actions[bot] authored Dec 2, 2024
1 parent 09f04cc commit d687391
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 9 deletions.
94 changes: 86 additions & 8 deletions .apollo/router_config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,11 @@
"Client": {
"type": "object",
"properties": {
"dns_resolution_strategy": {
"description": "#/definitions/DnsResolutionStrategy",
"$ref": "#/definitions/DnsResolutionStrategy",
"nullable": true
},
"experimental_http2": {
"description": "#/definitions/Http2Config",
"$ref": "#/definitions/Http2Config",
Expand Down Expand Up @@ -1421,6 +1426,20 @@
"description": "Configuration for operation limits, parser limits, HTTP limits, etc.",
"type": "object",
"properties": {
"http1_max_request_buf_size": {
"description": "Limit the maximum buffer size for the HTTP1 connection.\n\nDefault is ~400kib.",
"default": null,
"type": "string",
"nullable": true
},
"http1_max_request_headers": {
"description": "Limit the maximum number of headers of incoming HTTP1 requests. Default is 100.\n\nIf router receives more headers than the buffer size, it responds to the client with \"431 Request Header Fields Too Large\".",
"default": null,
"type": "integer",
"format": "uint",
"minimum": 0.0,
"nullable": true
},
"http_max_request_bytes": {
"description": "Limit the size of incoming HTTP requests read from the network, to protect against running out of memory. Default: 2000000 (2 MB)",
"default": 2000000,
Expand Down Expand Up @@ -1646,15 +1665,15 @@
"span_metrics": {
"description": "Which spans will be eligible for span stats to be collected for viewing in the APM view. Defaults to true for `request`, `router`, `query_parsing`, `supergraph`, `execution`, `query_planning`, `subgraph`, `subgraph_request` and `http_request`.",
"default": {
"request": true,
"subgraph_request": true,
"subgraph": true,
"parse_query": true,
"router": true,
"supergraph": true,
"http_request": true,
"execution": true,
"router": true,
"query_planning": true
"http_request": true,
"query_planning": true,
"subgraph_request": true,
"request": true,
"parse_query": true
},
"type": "object",
"additionalProperties": {
Expand Down Expand Up @@ -1793,6 +1812,11 @@
"default": false,
"type": "boolean"
},
"expose_keys_in_context": {
"description": "Expose cache keys in context",
"default": false,
"type": "boolean"
},
"invalidation": {
"description": "#/definitions/InvalidationEndpointConfig",
"$ref": "#/definitions/InvalidationEndpointConfig",
Expand Down Expand Up @@ -2272,6 +2296,45 @@
}
]
},
"DnsResolutionStrategy": {
"oneOf": [
{
"description": "Only query for `A` (IPv4) records",
"type": "string",
"enum": [
"ipv4_only"
]
},
{
"description": "Only query for `AAAA` (IPv6) records",
"type": "string",
"enum": [
"ipv6_only"
]
},
{
"description": "Query for both `A` (IPv4) and `AAAA` (IPv6) records in parallel",
"type": "string",
"enum": [
"ipv4_and_ipv6"
]
},
{
"description": "Query for `AAAA` (IPv6) records first; if that fails, query for `A` (IPv4) records",
"type": "string",
"enum": [
"ipv6_then_ipv4"
]
},
{
"description": "Default: Query for `A` (IPv4) records first; if that fails, query for `AAAA` (IPv6) records",
"type": "string",
"enum": [
"ipv4_then_ipv6"
]
}
]
},
"Enabled": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -6004,6 +6067,11 @@
"default": false,
"type": "boolean"
},
"subgraph_request_id": {
"description": "Send the subgraph request id",
"default": false,
"type": "boolean"
},
"uri": {
"description": "Send the subgraph URI",
"default": false,
Expand Down Expand Up @@ -6045,6 +6113,11 @@
"description": "Send the http status",
"default": false,
"type": "boolean"
},
"subgraph_request_id": {
"description": "Send the subgraph request id",
"default": false,
"type": "boolean"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -6469,6 +6542,11 @@
"type": "boolean",
"nullable": true
},
"dns_resolution_strategy": {
"description": "#/definitions/DnsResolutionStrategy",
"$ref": "#/definitions/DnsResolutionStrategy",
"nullable": true
},
"experimental_http2": {
"description": "#/definitions/Http2Config",
"$ref": "#/definitions/Http2Config",
Expand Down Expand Up @@ -6619,8 +6697,8 @@
"nullable": true
},
"generate_query_fragments": {
"description": "Enable QP generation of fragments for subgraph requests Default: false",
"default": false,
"description": "Enable QP generation of fragments for subgraph requests Default: true",
"default": true,
"type": "boolean"
},
"introspection": {
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/apollographql/router:v1.57.1
FROM ghcr.io/apollographql/router:v1.58.0

COPY router.yaml /config.yaml

Expand Down

0 comments on commit d687391

Please sign in to comment.