Skip to content
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 gateway dependencies #8244

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-hive/cli (source) 0.44.5 -> 0.45.0 age adoption passing confidence
@graphql-hive/core (source) 0.8.2 -> 0.8.3 age adoption passing confidence
@graphql-hive/yoga (source) 0.39.1 -> 0.39.2 age adoption passing confidence
@graphql-tools/url-loader (source) 8.0.23 -> 8.0.24 age adoption passing confidence
@whatwg-node/fetch (source) 0.10.1 -> 0.10.3 age adoption passing confidence
@whatwg-node/node-fetch (source) 0.7.5 -> 0.7.7 age adoption passing confidence

Release Notes

graphql-hive/platform (@​graphql-hive/cli)

v0.45.0

Compare Source

Minor Changes
Patch Changes
graphql-hive/platform (@​graphql-hive/core)

v0.8.3

Compare Source

Patch Changes
  • #​6118
    039c66b
    Thanks @​ardatan! - Remove internal _testing_ option to replace the
    underlying fetch implementation, and add fetch option to do the same as part of the public
    API.
graphql-hive/platform (@​graphql-hive/yoga)

v0.39.2

Compare Source

Patch Changes
  • #​6118
    039c66b
    Thanks @​ardatan! - Remove internal _testing_ option to replace the
    underlying fetch implementation, and add fetch option to do the same as part of the public
    API.

  • #​6118
    039c66b
    Thanks @​ardatan! - - Upgrade to graphql-yoga >= 5.10.4

    • Improve graceful process termination on Node.js by leveraging graphql-yoga's
      dispose lifecycle hooks
    • Improve Cloudflare Worker runtime support by registering pending usage reporting requests using
      the waitUntil API
    • Use the logger instance from the graphql-yoga instance, for a more unified logging experience
    • Use the fetch API implementation on the graphql-yoga instance for HTTP calls
    • Replace the internal `tiny-lru` dependency with graphql-yoga's internal LRU cache
      implementation
  • Updated dependencies
    [039c66b]:

ardatan/graphql-tools (@​graphql-tools/url-loader)

v8.0.24

Compare Source

Patch Changes
ardatan/whatwg-node (@​whatwg-node/fetch)

v0.10.3

Compare Source

Patch Changes
  • #​1961
    2785c80
    Thanks @​ardatan! - ReadableStream's Symbol.asyncIterator now
    returns AsyncIterableIterator like before even if it is ok to return AsyncIterator right now.
    It is safer to return AsyncIterableIterator because it is a common mistake to use
    AsyncIterator as AsyncIterable.
  • Updated dependencies
    [2785c80]:

v0.10.2

Compare Source

Patch Changes
ardatan/whatwg-node (@​whatwg-node/node-fetch)

v0.7.7

Compare Source

Patch Changes
  • #​1961
    2785c80
    Thanks @​ardatan! - ReadableStream's Symbol.asyncIterator now
    returns AsyncIterableIterator like before even if it is ok to return AsyncIterator right now.
    It is safer to return AsyncIterableIterator because it is a common mistake to use
    AsyncIterator as AsyncIterable.

v0.7.6

Compare Source

Patch Changes
  • #​1929
    b88b85c
    Thanks @​ardatan! - dependencies updates:

  • #​1947
    9b39c3e
    Thanks @​ardatan! - Remove the event listener on the provided
    AbortSignal when node-libcurl is used, the connection finishes to prevent potential memory
    leaks;

    const res = await fetch(URL, { signal: new AbortController().signal })
    // AbortController is never aborted, and HTTP request is done as expected successfully
  • #​1929
    b88b85c
    Thanks @​ardatan! - - Remove URL ponyfill implementation based on
    fast-url-parser and fast-querystring, because Node now uses Ada URL parser which is fast
    enough.

    • Fix ReadableStream[Symbol.asyncIterator]

    ReadableStream uses Readable so it uses Symbol.asyncIterator method of Readable but the
    returned iterator's .return method doesn't handle cancellation correctly. So we need to call
    readable.destroy(optionalError) manually to cancel the stream.

    This allows ReadableStream to use implementations relying on AsyncIterable.cancel to handle
    cancellation like Readable.from

    Previously the following was not handling cancellation;

    const res = new ReadableStream({
      start(controller) {
        controller.enqueue('Hello')
        controller.enqueue('World')
      },
      cancel(reason) {
        console.log('cancelled', reason)
      }
    })
    
    const readable = Readable.from(res)
    
    readable.destroy(new Error('MY REASON'))
    
    // Should log 'cancelled MY REASON'

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

github-actions bot commented Jan 10, 2025

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Jan 10, 2025

💻 Website Preview

The latest changes are available as preview in: https://74fc8ab2.graphql-mesh.pages.dev

@renovate renovate bot force-pushed the renovate/all-gateway branch from f7af25e to 47be168 Compare January 10, 2025 10:47
@renovate renovate bot merged commit 80ad347 into master Jan 10, 2025
15 checks passed
@renovate renovate bot deleted the renovate/all-gateway branch January 10, 2025 11:04
ardatan pushed a commit that referenced this pull request Jan 10, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ardatan pushed a commit that referenced this pull request Jan 10, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ardatan pushed a commit that referenced this pull request Jan 10, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants