Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-tools/schema (source) 10.0.20 -> 10.0.21 age adoption passing confidence
@graphql-yoga/plugin-apollo-usage-report (source) ^0.7.1 -> ^0.8.0 age adoption passing confidence
@graphql-yoga/plugin-csrf-prevention (source) 3.12.2 -> 3.13.0 age adoption passing confidence
@graphql-yoga/plugin-defer-stream (source) 3.12.2 -> 3.13.0 age adoption passing confidence
@graphql-yoga/plugin-persisted-operations (source) 3.12.2 -> 3.13.0 age adoption passing confidence
@graphql-yoga/plugin-prometheus (source) 6.7.2 -> 6.8.0 age adoption passing confidence
@nestjs/common (source) 11.0.10 -> 11.0.11 age adoption passing confidence
@nestjs/core (source) 11.0.10 -> 11.0.11 age adoption passing confidence
@nestjs/platform-express (source) 11.0.10 -> 11.0.11 age adoption passing confidence
@types/ws (source) 8.5.14 -> 8.18.0 age adoption passing confidence
graphql-yoga (source) 5.12.2 -> 5.13.0 age adoption passing confidence
pkgroll 2.10.0 -> 2.11.2 age adoption passing confidence
rxjs (source) 7.8.1 -> 7.8.2 age adoption passing confidence

Release Notes

ardatan/graphql-tools (@​graphql-tools/schema)

v10.0.21

Compare Source

Patch Changes
dotansimha/graphql-yoga (@​graphql-yoga/plugin-apollo-usage-report)

v0.8.0

Compare Source

Patch Changes
dotansimha/graphql-yoga (@​graphql-yoga/plugin-csrf-prevention)

v3.13.0

Compare Source

Patch Changes
dotansimha/graphql-yoga (@​graphql-yoga/plugin-defer-stream)

v3.13.0

Compare Source

dotansimha/graphql-yoga (@​graphql-yoga/plugin-persisted-operations)

v3.13.0

Compare Source

Patch Changes
dotansimha/graphql-yoga (@​graphql-yoga/plugin-prometheus)

v6.8.0

Compare Source

Patch Changes
nestjs/nest (@​nestjs/common)

v11.0.11

Compare Source

nestjs/nest (@​nestjs/core)

v11.0.11

Compare Source

nestjs/nest (@​nestjs/platform-express)

v11.0.11

Compare Source

dotansimha/graphql-yoga (graphql-yoga)

v5.13.0

Compare Source

Minor Changes
  • #​3793
    63b78d5
    Thanks @​EmrysMyrddin! - Add new Instruments API

    Introduction of a new API allowing to instrument the graphql pipeline.

    This new API differs from already existing Hooks by not having access to input/output of phases.
    The goal of Instruments is to run allow running code before, after or around the whole process
    of a phase
    , including plugins hooks executions.

    The main use case of this new API is observability (monitoring, tracing, etc...).

Basic usage
import { createYoga } from 'graphql-yoga'
import Sentry from '@​sentry/node'
import schema from './schema'

const server = createYoga({
  schema,
  plugins: [
    {
      instruments: {
        request: ({ request }, wrapped) =>
          Sentry.startSpan({ name: 'Graphql Operation' }, async () => {
            try {
              await wrapped()
            } catch (err) {
              Sentry.captureException(err)
            }
          })
      }
    }
  ]
})
Multiple instruments plugins

It is possible to have multiple instruments plugins (Prometheus and Sentry for example), they will
be automatically composed by envelop in the same order than the plugin array (first is outermost,
last is inner most).

import { createYoga } from 'graphql-yoga'
import schema from './schema'

const server = createYoga({
  schema,
  plugins: [useSentry(), useOpentelemetry()]
})
sequenceDiagram
  Sentry->>Opentelemetry: ;
  Opentelemetry->>Server Adapter: ;
  Server Adapter->>Opentelemetry: ;
  Opentelemetry->>Sentry: ;
Loading
Custom instruments ordering

If the default composition ordering doesn't suite your need, you can manually compose instruments.
This allows to have a different execution order of hooks and instruments.

import { composeInstruments, createYoga } from 'graphql-yoga'
import schema from './schema'

const { instruments: sentryInstruments, ...sentryPlugin } = useSentry()
const { instruments: otelInstruments, ...otelPlugin } = useOpentelemetry()
const instruments = composeInstruments([otelInstruments, sentryInstruments])

const server = createYoga({
  schema,
  plugins: [{ instruments }, useSentry(), useOpentelemetry()]
})
sequenceDiagram
  Opentelemetry->>Sentry: ;
  Sentry->>Server Adapter: ;
  Server Adapter->>Sentry: ;
  Sentry->>Opentelemetry: ;
Loading
Patch Changes
privatenumber/pkgroll (pkgroll)

v2.11.2

Compare Source

Bug Fixes

v2.11.1

Compare Source

Bug Fixes
  • dont inject createRequire on object property (c6e4cda)
  • preserve import.meta.url despite target (f313e1f), closes #​115

v2.11.0

Compare Source

Features
reactivex/rxjs (rxjs)

v7.8.2

Compare Source


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.

@renovate renovate bot added the dependencies label Mar 5, 2025
@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-tools/batch-delegate 9.0.32-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/batch-execute 9.0.13-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/delegate 10.2.14-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/executor-graphql-ws 2.0.4-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/executor-http 1.2.9-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/federation 3.1.5-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-runtime 0.11.3-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-hive/gateway 1.11.0-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-hive/logger-winston 1.0.2-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-hive/nestjs 1.0.0-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-hive/plugin-aws-sigv4 1.0.0-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/hmac-upstream-signature 1.2.22-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-opentelemetry 1.3.45-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 1.3.33-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-runtime 1.5.0-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/stitch 9.4.19-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/stitching-directives 3.1.29-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http 0.6.35-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http-callback 0.5.22-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-ws 1.0.5-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎
@graphql-tools/wrap 10.0.32-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for Linux-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Bun Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:1.11.0-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e-bun

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Node Docker Image)

The latest changes of this PR are available as image on GitHub Container Registry (based on the declared changesets):

ghcr.io/graphql-hive/gateway:1.11.0-alpha-2b207f07ca679f7888de94c09b57f6c94ceace0e

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for macOS-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for Linux-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for macOS-ARM64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@renovate
Copy link
Contributor Author

renovate bot commented Mar 5, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@theguild-bot
Copy link
Collaborator

theguild-bot commented Mar 5, 2025

🚀 Snapshot Release (Binary for Windows-X64)

The latest changes of this PR are available for download (based on the declared changesets).

Download

@ardatan ardatan merged commit ff6dcaf into main Mar 5, 2025
62 checks passed
@ardatan ardatan deleted the renovate/all-minor-patch branch March 5, 2025 15:52
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.

2 participants