-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update apollo graphql packages #59
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/apollo-graphql-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Graph was successfully deployed. |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit eb8e1ae. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
69452e2
to
4967a64
Compare
4967a64
to
f77aa1d
Compare
f77aa1d
to
c1a6eb3
Compare
c1a6eb3
to
c8352b7
Compare
c8352b7
to
cd980fb
Compare
cd980fb
to
41827e9
Compare
d2fea7d
to
100f9c6
Compare
02c1f4c
to
2867808
Compare
7a8bc46
to
753fa47
Compare
546b8e0
to
25b8e96
Compare
aa00d35
to
97f7e35
Compare
c027b42
to
670a5f1
Compare
a07bb1a
to
957da66
Compare
439d7c4
to
1a97ec0
Compare
1a97ec0
to
f6c45a0
Compare
f6c45a0
to
eb8e1ae
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.6.2
->2.8.3
4.10.0
->4.10.4
2.6.2
->2.8.3
v1.39.0
->v1.51.0
v1.39.0
->v1.51.0
Release Notes
apollographql/federation (@apollo/gateway)
v2.8.3
Compare Source
Patch Changes
38debcf2f9af1a719bd1c8acbd9335efa8427ddb
,50d648ccffb05591878de75dc5522914ed48698f
,860aace9904e787f9bf05aad94be5b5920f10543
,67b70c6e68b1cdbf8f03dacafd636e27ed9b7814
,f753d55e9a49d11389ee4f8d7976533447e95ede
,f5f6a799d6b3675eecb0eaec7a816d746cd136b2
,42bd27af6a23bcfdd36951dbfa3fb9f7ba833f3a
,f376447a820e3c0ae41d16d1fd3b681d2f1e8c14
,3af790517d662f3bec9064c0bf243014c579e9cd
]:v2.8.2
Compare Source
Patch Changes
b2e5ab66f84688ec304cfcf2c6f749c86aded549
]:v2.8.1
Compare Source
Patch Changes
61f2b6b12ee83e7ecb6509f7131f9412a37e194b
]:v2.8.0
Compare Source
Minor Changes
Implement new directives to allow getting and setting context. This allows resolvers to reference and access data referenced by entities that exist in the GraphPath that was used to access the field. The following example demonstrates the ability to access the
prop
field within the Child resolver. (#2988)Patch Changes
Various set context bugfixes (#3017)
Updated dependencies [
c4744da360235d8bb8270ea048f0e0fa5d03be1e
,8a936d741a0c05835ff2533714cf330d18209179
,daf36bd242ba4db0cfcf0e18c1eed235ff0dfaf2
]:v2.7.8
Compare Source
Patch Changes
Triggering a clean 2.7.8 release now that harmonizer build has been fixed. (#3010)
Updated dependencies [
2ad72802044310a528e8944f4538efe519424504
]:v2.7.7
Compare Source
Patch Changes
No logical changes since 2.7.5 or 2.7.6, but we fixed a bug in the release process, so we need to publish a new patch version (2.7.7). (#2999)
Updated dependencies [
bee0b0828b4fb6a1d3172ac330560e2ab6c046bb
]:v2.7.6
Compare Source
Patch Changes
856a82b1deca625b75145edd6328bed23abee33a
]:v2.7.5
Compare Source
Patch Changes
af4376f348d21ad4d8eca0e3d2a170600f391e4d
]:v2.7.4
Compare Source
Patch Changes
d80b7f0ca1456567a0866a32d2b2abf940598f77
,c89d8287e88d12cfd34c1baf1f42db672731b8a7
]:v2.7.3
Compare Source
Patch Changes
ec04c50b4fb832bfd281ecf9c0c2dd7656431b96
,3e2c845c74407a136b9e0066e44c1ad1467d3013
,a494631918156f0431ceace74281c076cf1d5d51
]:v2.7.2
Compare Source
Patch Changes
Remove out-of-band reporting in the gateway and provide a warning for users who have the endpoint configured. (#2946)
Updated dependencies [
33b937b18d3c7ca6af14b904696b536399e597d1
,09cd3e55e810ee513127b7440f5b11af7540c9b0
,d7189a86c27891af408d3d0184db6133d3342967
,33506bef6d755c58400081824167711c1747ee40
,1f72f2a361a83ebaaf15ae052f5ca9a93fc18bfc
]:v2.7.1
Compare Source
Patch Changes
493f5acd16ad92adf99c963659cd40dc5eac1219
]:v2.7.0
Compare Source
Minor Changes
Implement progressive
@override
functionality (#2911)The progressive
@override
feature brings a new argument to the@override
directive:label: String
. When a label is added to an@override
application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.Out-of-the-box, the router will support a percentage-based use case for progressive
@override
. For example:The above example will override the root
hello
field from the "original" subgraph 5% of the time.More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).
Patch Changes
6ae42942b13dccd246ccc994faa2cb36cd62cb3c
,66833fb8d04c9376f6ed476fed6b1ca237f477b7
,931f87c6766c7439936df706727cbdc0cd6bcfd8
]:v2.6.3
Compare Source
Patch Changes
038cf0dbbfb0e2978b69f0a14bfd2c38b0cd1326
,69495b4810f3268c45a31f9d12e4f9cde2c447b5
]:apollographql/apollo-server (@apollo/server)
v4.10.4
Compare Source
Patch Changes
18a3827
Thanks @tninesling! - Subscription heartbeats are initialized prior to awaiting subscribe(). This allows long-running setup to happen in the returned Promise without the subscription being terminated prior to resolution.v4.10.3
Compare Source
Patch Changes
5f335a5
Thanks @tninesling! - Catch errors thrown by subscription generators, and gracefully clean up the subscription instead of crashing.v4.10.2
Compare Source
Patch Changes
c7e514c
Thanks @TylerBloom! - In the subscription callback server plugin, terminating a subscription now immediately closes the internal async generator. This avoids that generator existing after termination and until the next message is received.v4.10.1
Compare Source
Patch Changes
72f568e
Thanks @bscherlein! - Improves timing of thewillResolveField
end hook on fields which return Promises resolving to Arrays. This makes the use of thesetCacheHint
method more reliable.apollographql/federation (@apollo/subgraph)
v2.8.3
Compare Source
Patch Changes
50d648ccffb05591878de75dc5522914ed48698f
,f753d55e9a49d11389ee4f8d7976533447e95ede
,3af790517d662f3bec9064c0bf243014c579e9cd
]:v2.8.2
Compare Source
Patch Changes
b2e5ab66f84688ec304cfcf2c6f749c86aded549
]:v2.8.1
Compare Source
Patch Changes
v2.8.0
Compare Source
Patch Changes
Various set context bugfixes (#3017)
Updated dependencies [
c4744da360235d8bb8270ea048f0e0fa5d03be1e
,8a936d741a0c05835ff2533714cf330d18209179
]:v2.7.8
Compare Source
Patch Changes
Triggering a clean 2.7.8 release now that harmonizer build has been fixed. (#3010)
Updated dependencies [
2ad72802044310a528e8944f4538efe519424504
]:v2.7.7
Compare Source
Patch Changes
No logical changes since 2.7.5 or 2.7.6, but we fixed a bug in the release process, so we need to publish a new patch version (2.7.7). (#2999)
Updated dependencies [
bee0b0828b4fb6a1d3172ac330560e2ab6c046bb
]:v2.7.6
Compare Source
Patch Changes
v2.7.5
Compare Source
Patch Changes
v2.7.4
Compare Source
Patch Changes
d80b7f0ca1456567a0866a32d2b2abf940598f77
]:v2.7.3
Compare Source
Patch Changes
ec04c50b4fb832bfd281ecf9c0c2dd7656431b96
,a494631918156f0431ceace74281c076cf1d5d51
]:v2.7.2
Compare Source
Patch Changes
33b937b18d3c7ca6af14b904696b536399e597d1
,09cd3e55e810ee513127b7440f5b11af7540c9b0
,d7189a86c27891af408d3d0184db6133d3342967
]:v2.7.1
Compare Source
Patch Changes
493f5acd16ad92adf99c963659cd40dc5eac1219
]:v2.7.0
Compare Source
Minor Changes
Implement progressive
@override
functionality (#2911)The progressive
@override
feature brings a new argument to the@override
directive:label: String
. When a label is added to an@override
application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only.Out-of-the-box, the router will support a percentage-based use case for progressive
@override
. For example:The above example will override the root
hello
field from the "original" subgraph 5% of the time.More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service).
Patch Changes
6ae42942b13dccd246ccc994faa2cb36cd62cb3c
,66833fb8d04c9376f6ed476fed6b1ca237f477b7
,931f87c6766c7439936df706727cbdc0cd6bcfd8
]:v2.6.3
Compare Source
Patch Changes
apollographql/router (ghcr.io/apollographql/router)
v1.51.0
Compare Source
🚀 Features
Support conditional coprocessor execution per stage of request lifecycle (PR #5557)
The router now supports conditional execution of the coprocessor for each stage of the request lifecycle (except for the
Execution
stage).To configure, define conditions for a specific stage by using selectors based on headers or context entries. For example, based on a supergraph response you can configure the coprocessor not to execute for any subscription:
To learn more, see the documentation about coprocessor conditions.
By @bnjjj in https://github.com/apollographql/router/pull/5557
Add option to deactivate introspection response caching (PR #5583)
The router now supports an option to deactivate introspection response caching. Because the router caches responses as introspection happens in the query planner, cached introspection responses may consume too much of the distributed cache or fill it up. Setting this option prevents introspection responses from filling up the router's distributed cache.
To deactivate introspection caching, set
supergraph.query_planning.legacy_introspection_caching
tofalse
:By @Geal in https://github.com/apollographql/router/pull/5583
Add 'subgraph_on_graphql_error' selector for subgraph (PR #5622)
The router now supports the
subgraph_on_graphql_error
selector for the subgraph service, which it already supported for the router and supergraph services. Subgraph service support enables easier detection of GraphQL errors in response bodies of subgraph requests.An example configuration with
subgraph_on_graphql_error
configured:By @bnjjj in https://github.com/apollographql/router/pull/5622
🐛 Fixes
Add
response_context
in event selector forevent_*
instruments (PR #5565)The router now supports creating custom instruments with a value set to
event_*
and using both a condition executed on an event and theresponse_context
selector in attributes. Previous releases didn't support theresponse_context
selector in attributes.An example configuration:
By @bnjjj in https://github.com/apollographql/router/pull/5565
Provide valid trace IDs for unsampled traces in Rhai scripts (PR #5606)
The
traceid()
function in a Rhai script for the router now returns a valid trace ID for all traces.Previously,
traceid()
didn't return a trace ID if the trace wasn't selected for sampling.By @bnjjj in https://github.com/apollographql/router/pull/5606
Allow query batching and entity caching to work together (PR #5598)
The router now supports entity caching and subgraph batching to run simultaneously. Specifically, this change updates entity caching to ignore a subgraph request if the request is part of a batch.
By @garypen in https://github.com/apollographql/router/pull/5598
Gracefully handle subgraph response with
-1
values inside error locations (PR #5633)This router now gracefully handles responses that contain invalid "
-1
" positional values for error locations in queries by ignoring those invalid locations.This change resolves the problem of GraphQL Java and GraphQL Kotlin using
{ "line": -1, "column": -1 }
values if they can't determine an error's location in a query, but the GraphQL specification requires bothline
andcolumn
to be positive numbers.As an example, a subgraph can respond with invalid error locations:
With this change, the router returns a response that ignores the invalid locations:
By @IvanGoncharov in https://github.com/apollographql/router/pull/5633
Return request timeout and rate limited error responses as structured errors (PR #5578)
The router now returns request timeout errors (
408 Request Timeout
) and request rate limited errors (429 Too Many Requests
) as structured GraphQL errors (for example,{"errors": [...]}
). Previously, the router returned these as plaintext errors to clients.Both types of errors are properly tracked in telemetry, including the
apollo_router_graphql_error_total
metric.By @IvanGoncharov in https://github.com/apollographql/router/pull/5578
Fix span names and resource mapping for Datadog trace exporter (Issue #5282)
The router now uses static span names by default. This change fixes the user experience of the Datadog trace exporter when sending traces with Datadog native configuration.
The router has two ways of sending traces to Datadog:
otlp
in YAML configuration, and it is not impacted by this fix.datadog:
key in YAML configuration.This change fixes a bug in the latter approach that broke some Datadog experiences, such as the "Resources" section of the Datadog APM Service Catalog page.
We now use static span names by default, with resource mappings providing additional context when requested, which enables the desired behavior which was not possible before.
If for some reason you wish to maintain the existing behavior, you must either update your spans and resource mappings, or keep your spans and instead configure the router to use dynamic span names and disable resource mapping.
Enabling resource mapping and fixed span names is configured by the
enable_span_mapping
andfixed_span_names
options:With
enable_span_mapping
set totrue
(now default), the following resource mappings are applied:request
http.route
router
http.route
supergraph
graphql.operation.name
query_planning
graphql.operation.name
subgraph
subgraph.name
subgraph_request
graphql.operation.name
http_request
http.route
You can override the default resource mappings by specifying the
resource_mapping
configuration:To learn more, see the Datadog trace exporter documentation.
By @bnjjj and @bryncooke in https://github.com/apollographql/router/pull/5386
📚 Documentation
Update documentation for
ignore_other_prefixes
(PR #5592)Update JWT authentication documentation to clarify the behavior of the
ignore_other_prefixes
configuration option.By @andrewmcgivery in https://github.com/apollographql/router/pull/5592
v1.50.0
Compare Source
🚀 Features
Support local persisted query manifests for use with offline licenses (Issue #4587)
Adds experimental support for passing persisted query manifests to use instead of the hosted Uplink version.
For example:
By @lleadbet in https://github.com/apollographql/router/pull/5310
Support conditions on standard telemetry events (Issue #5475)
Enables setting conditions on standard events.
For example:
Not supported for batched requests.
By @bnjjj in https://github.com/apollographql/router/pull/5476
Make
status_code
available forrouter_service
responses in Rhai scripts (Issue #5357)Adds
response.status_code
on Rhairouter_service
responses. Previously,status_code
was only available onsubgraph_service
responses.For example:
By @IvanGoncharov in https://github.com/apollographql/router/pull/5358
Add new values for the supergraph
query
selector (PR #5433)Adds support for four new values for the supergraph
query
selector:aliases
: the number of aliases in the querydepth
: the depth of the queryheight
: the height of the queryroot_fields
: the number of root fields in the queryYou can use this data to understand how your graph is used and to help determine where to set limits.
For example:
By @garypen in https://github.com/apollographql/router/pull/5433
Add the ability to drop metrics using otel views (PR #5531)
You can drop specific metrics if you don't want these metrics to be sent to your APM using otel views.
By @bnjjj in https://github.com/apollographql/router/pull/5531
Add
operation_name
selector for router service in custom telemetry (PR #5392)Adds an
operation_name
selector for the router service.Previously, accessing
operation_name
was only possible through theresponse_context
router service selector.For example:
By @bnjjj in https://github.com/apollographql/router/pull/5392
🐛 Fixes
Fix Cache-Control aggregation and age calculation in entity caching (PR #5463)
Enhances the reliability of caching behaviors in the entity cache feature by:
max-age
ands-max-age
fields in theCache-Control
header sent to clients.Cache-Control
header.Cache-Control
header is aggregated consistently, even if the plugins is disabled entirely or on specific subgraphs.By @Geal in https://github.com/apollographql/router/pull/5463
Fix telemetry events when trace isn't sampled and preserve attribute types (PR #5464)
Improves accuracy and performance of event telemetry by:
http.response.body.size
andhttp.request.body.size
attributes are treated as numbers, not stringsBy @bnjjj in https://github.com/apollographql/router/pull/5464
Enable coprocessors for subscriptions (PR #5542)
Ensures that coprocessors correctly handle subscriptions by preventing skipped data from being overwritten.
By @bnjjj in https://github.com/apollographql/router/pull/5542
Improve accuracy of
query_planning.plan.duration
(PR #5)Previously, the
apollo.router.query_planning.plan.duration
metric inaccurately included additional processing time beyond query planning. The additional time included pooling time, which is already accounted for in the metric. After this update, apollo.router.query_planning.plan.duration now accurately reflects only the query planning duration without additional processing time.For example, before the change, metrics reported:
Post-change metrics now accurately reflect:
By @xuorig and @lrlna in https://github.com/apollographql/router/pull/5530
Remove
deno_crypto
package due to security vulnerability (Issue #5484)Removes deno_crypto due to the vulnerability reported in
curve25519-dalek
.Since the router exclusively used
deno_crypto
for generating UUIDs using the package's random number generator, this vulnerability had no impact on the router.By @Geal in https://github.com/apollographql/router/pull/5483
Add content-type header to failed auth checks (Issue #5496)
Adds
content-type
header when returningAUTH_ERROR
from authentication service.By @andrewmcgivery in https://github.com/apollographql/router/pull/5497
Implement manual caching for AWS Security Token Service credentials (PR #5508)
In the AWS Security Token Service (STS), the
CredentialsProvider
chain includes caching, but this functionality was missing forAssumeRoleProvider
.This change introduces a custom
CredentialsProvider
that functions as a caching layer with these rules:credentials.expiry()
time if specified, or indefinitely (ever
) if not.CredentialsProvider
will expose arefresh_credentials()
function. This can be manually invoked, for instance, upon receiving a401
error during a subgraph call.By @o0Ignition0o in https://github.com/apollographql/router/pull/5508
📃 Configuration
Align entity caching configuration structure for subgraph overrides (PR #5474)
Aligns the entity cache configuration structure to the same
all
/subgraphs
override pattern found in other parts of the router configuration. For example, see the header propagation configuration.An automated configuration migration is provided so existing usage is unaffected.
By @Geal in https://github.com/apollographql/router/pull/5474
Restrict custom instrument
value
s to relevant stages (PR #5472)Previously, custom instruments at each request lifecycle stage could specify unrelated values, like using
event_unit
for a router instrument. Now, only relevant values for each stage are allowed.Additionally, GraphQL instruments no longer need to specify
field_event
. There is no automatic migration for this change since GraphQL instruments are still experimental.The following misconfiguration is now not possible:
By @BrynCooke in https://github.com/apollographql/router/pull/5472
🛠 Maintenance
Add cost information to protobuf traces (PR #5430)
Exports query cost information on Apollo protobuf traces if
experimental_demand_control
is enabled. Also displays exported information in GraphOS Studio.By @BrynCooke in https://github.com/apollographql/router/pull/5430
Improve
xtask
release process (PR #5275)Introduces a new
xtask
command to automate the release process by: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 becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.