Skip to content

Commit

Permalink
chore(deps): update dependency apollographql/router to v1.48.1 (#1926)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [apollographql/router](https://togithub.com/apollographql/router) |
patch | `v1.48.0` -> `v1.48.1` |

---

### Release Notes

<details>
<summary>apollographql/router (apollographql/router)</summary>

###
[`v1.48.1`](https://togithub.com/apollographql/router/releases/tag/v1.48.1)

[Compare
Source](https://togithub.com/apollographql/router/compare/v1.48.0...v1.48.1-rc.0)

#### πŸ› Fixes

##### Improve error message produced when a subgraph response doesn't
include an expected `content-type` header value ([Issue
#&#8203;5359](https://togithub.com/apollographql/router/issues/5359))

To improve a common debuggability challenge when a subgraph response
doesn't contain an expected `content-type` header value, the error
message produced will include additional details about the error.

Some examples of the improved error message:

- HTTP fetch failed from 'test': subgraph response contains invalid
'content-type' header value "application/json,application/json";
expected content-type: application/json or content-type:
application/graphql-response+json
- HTTP fetch failed from 'test': subgraph response does not contain
'content-type' header; expected content-type: application/json or
content-type: application/graphql-response+json

By [@&#8203;IvanGoncharov](https://togithub.com/IvanGoncharov) in
[https://github.com/apollographql/router/pull/5223](https://togithub.com/apollographql/router/pull/5223)

##### Update `apollo-compiler` for two small improvements ([PR
#&#8203;5347](https://togithub.com/apollographql/router/pull/5347))

Updated our underlying `apollo-rs` dependency on our `apollo-compiler`
crate to bring in two nice improvements:

-   *Fix validation performance bug*

Adds a cache in fragment spread validation, fixing a situation where
validating a query with many fragment spreads against a schema with many
interfaces could take multiple seconds to validate.

-   *Remove ariadne byte/char mapping*

Generating JSON or CLI reports for apollo-compiler diagnostics used a
translation layer between byte offsets and character offsets, which cost
some computation and memory proportional to the size of the source text.
The latest version of `ariadne` allows us to remove this translation.

By [@&#8203;goto-bus-stop](https://togithub.com/goto-bus-stop) in
[https://github.com/apollographql/router/pull/5347](https://togithub.com/apollographql/router/pull/5347)

#### πŸ“ƒ Configuration

##### Rename the telemetry selector which obtains the GraphOS operation
id ([PR
#&#8203;5337](https://togithub.com/apollographql/router/pull/5337))

Renames a misnamed `trace_id` selector introduced in
[v1.48.0](https://togithub.com/apollographql/router/releases/tag/v1.48.0)
to the value which it actually represents which is an Apollo GraphOS
operation ID, rather than a trace ID. Apologies for the confusion!
Unfortunately, we aren't able to produce an Apollo GraphOS trace ID at
this time.

If you want to access this operation ID selector, here is an example of
how to apply it to your tracing spans:

```yaml
telemetry:
  instrumentation:
    spans:
      router:
        "studio.operation.id":
            studio_operation_id: true
```

This can be useful for more easily locating the operation in [GraphOS'
Insights](https://www.apollographql.com/docs/graphos/metrics/operations)
feature and finding applicable traces in Studio.

By [@&#8203;bnjjj](https://togithub.com/bnjjj) in
[https://github.com/apollographql/router/pull/5337](https://togithub.com/apollographql/router/pull/5337)

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/apollographql/rover).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6Y2hyaXN0bWFzX3RyZWU6IGRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jun 11, 2024
1 parent 9ac07b2 commit 436a677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion latest_plugin_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"router": {
"repository": "https://github.com/apollographql/router",
"versions": {
"latest-1": "v1.48.0"
"latest-1": "v1.48.1"
}
}
}

0 comments on commit 436a677

Please sign in to comment.