You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/routing/upgrade/from-router-v1.mdx
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,6 @@ This upgrade guide describes the steps to upgrade your GraphOS Router deployment
10
10
11
11
## Upgrade strategy
12
12
13
-
<!--TODO:thisneedsabitmoreexpansion-->
14
-
15
13
Before making any changes, auto-upgrade your configuration. This will remove options that already have no effect in v1.x, and make the rest of the upgrade easier.
16
14
17
15
Check the changes that will be applied using:
@@ -102,7 +100,7 @@ These attributes represent how a span spends time (in nanoseconds) over its life
The configurable poll interval of Apollo Uplink has been removed in router v2.x.
143
141
144
142
**Upgrade step**: remove uses of both the `--apollo-uplink-poll-interval` command-line argument and the `APOLLO_UPLINK_POLL_INTERVAL` environment variable.
Hot reloading is no longer supported for supergraph URLs configured via either the `--supergraph-urls` command-line argument or the `APOLLO_ROUTER_SUPERGRAPH_URLS` environment variable. In router v1.x, if hot reloading was enabled, the router would repeatedly fetch the URLs on the interval specified by `--apollo-uplink-poll-interval`. This poll interval has been removed in v2.x.
151
149
@@ -314,7 +312,7 @@ Automatic configuration upgrades can still be applied explicitly.
314
312
315
313
**Upgrade step**: use the `router config` commands as shown at the top of the upgrade guide.
The [context key renames](#renamed-context-keys) may impact your coprocessor logic. It can be tricky to update all context key usage together with the router upgrade. To aid this, the `context` option for Coprocessors has been extended.
@@ -488,7 +484,7 @@ No syntax changes are required when using the default endpoint path or a path wi
In router v2.x, the path used for selecting data from a client request body for [header propagation](/graphos/routing/header-propagation#insert) must comply with the [JSONPath](https://www.ietf.org/archive/id/draft-goessner-dispatch-jsonpath-00.html) spec. This means a `$` is now required to select the root element.
494
490
@@ -520,7 +516,7 @@ The following lists new capabilities in router v2.x that we recommend you use. T
Previously, router v1.x had an experimental `experimental_when_header` feature to log requests and responses if a request header was set to a specific value. This feature provided very limited control:
Traffic shaping has been improved significantly in router v2.x. We've added a new mechanism, concurrency control, and we've improved the router's ability to observe timeout and traffic shaping restrictions correctly. These improvements do mean that clients of the router may see an increase in errors as traffic shaping constraints are enforced:
0 commit comments