Skip to content

Conversation

theguild-bot
Copy link
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@graphql-hive/[email protected]

Minor Changes

Patch Changes

@graphql-hive/[email protected]

Minor Changes

Patch Changes

@graphql-hive/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@graphql-mesh/[email protected]

Patch Changes

@theguild-bot
Copy link
Collaborator Author

🚀 Snapshot Release (rc)

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

Package Version Info
@graphql-hive/gateway 1.12.0-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d npm ↗︎ unpkg ↗︎
@graphql-hive/nestjs 1.0.1-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-opentelemetry 1.3.46-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 1.3.34-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-runtime 1.6.0-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d npm ↗︎ unpkg ↗︎

Copy link
Contributor

coderabbitai bot commented Mar 12, 2025

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Introduced a new Hive reporting option, "target," to enhance reporting capabilities.
    • Updated CLI commands by replacing a deprecated registry token option with separate usage target and access token options.
  • Chores

    • Released new versions across key modules with dependency updates aimed at improving performance and stability.

Walkthrough

This pull request updates multiple packages and changelog entries. It includes version bumps for the gateway, nestjs, plugins (opentelemetry and prometheus), and gateway-runtime packages. The updates document dependency changes—such as adding @graphql-hive/yoga, removing @graphql-mesh/plugin-hive, and updating other dependencies—as well as the introduction of a new reporting option (target) and the deprecation of an existing CLI flag (--hive-registry-token). Changelog and package metadata files were adjusted accordingly.

Changes

File(s) Change Summary
.changeset/@graphql-hive_gateway-runtime-809-dependencies.md,
.changeset/wet-kiwis-peel.md
Document updates for @graphql-hive/gateway-runtime: added dependency @graphql-hive/yoga, removed dependency @graphql-mesh/plugin-hive, and introduced the new reporting option target.
.changeset/plenty-llamas-push.md Documented a minor update for @graphql-hive/gateway: introduced the target reporting option and deprecated the --hive-registry-token CLI flag in favor of --hive-usage-target and --hive-usage-access-token.
packages/gateway/{CHANGELOG.md, package.json} Updated @graphql-hive/gateway to version 1.12.0; changelog notes the new reporting option target, deprecation of the CLI flag, and several dependency updates.
packages/nestjs/{CHANGELOG.md, package.json} Bumped @graphql-hive/nestjs to version 1.0.1 and updated its dependency on @graphql-hive/gateway to 1.12.0.
packages/plugins/opentelemetry/{CHANGELOG.md, package.json} Upgraded @graphql-mesh/plugin-opentelemetry to version 1.3.46 and updated its dependency @graphql-hive/gateway-runtime from 1.5.0 to 1.6.0.
packages/plugins/prometheus/{CHANGELOG.md, package.json} Upgraded @graphql-mesh/plugin-prometheus to version 1.3.34 and updated its dependency @graphql-hive/gateway-runtime to 1.6.0.
packages/runtime/{CHANGELOG.md, package.json} Updated @graphql-hive/gateway-runtime to version 1.6.0; added the target reporting option, added dependency @graphql-hive/yoga@^0.41.0, removed dependency @graphql-mesh/plugin-hive@^0.104.0, and updated dependency @graphql-mesh/hmac-upstream-signature to 1.2.22.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (8)
packages/nestjs/package.json (1)

3-3: Version Bump Update.

The version has been updated to "1.0.1", which is appropriate for minor improvements. Please ensure that a corresponding changeset file has been created (using yarn changeset) and verify that any required Linear issue (e.g. with an identifier starting with "GW-") is linked in the PR description.

packages/gateway/package.json (1)

2-3: Gateway Package Version Bump.

The version update to "1.12.0" reflects the introduction of the new reporting option (target), the deprecation of the --hive-registry-token CLI flag, and associated dependency updates. Please make sure that the changelog documents these changes and that a corresponding changeset file exists. Also, check that any required Linear issue is properly referenced.

packages/plugins/opentelemetry/package.json (1)

2-3: Opentelemetry Plugin Version Increment.

The version has been incremented to "1.3.46", aligning with updates to the dependent @graphql-hive/gateway-runtime package. Ensure that the changelog reflects this change and that a proper changeset file is present. Also, verify that any necessary Linear issue reference is included.

packages/runtime/package.json (1)

2-3: Gateway Runtime Version Update.

Updating the version to "1.6.0" signals the inclusion of new features (such as the target reporting option) and dependency modifications (e.g. adding @graphql-hive/yoga). Please confirm that these modifications are clearly documented in the changelog and that an accompanying changeset file exists. Additionally, ensure that any relevant Linear issue is referenced.

packages/plugins/prometheus/package.json (1)

2-3: Prometheus Plugin Version Bump.

The version update to "1.3.34" is consistent with the updates in related packages, notably the upgrade of @graphql-hive/gateway-runtime to version "1.6.0". Please verify that the changelog appropriately documents these updates and that there is a corresponding changeset file. Also, confirm that a Linear issue (if required) is linked in the PR.

packages/plugins/opentelemetry/CHANGELOG.md (1)

3-9: New Changelog Entry for Version 1.3.46
The new version entry (1.3.46) introduces a patch change that updates the dependency on @graphql-hive/gateway-runtime to version 1.6.0. Note that the commit hash [17cfa19] is listed twice in the dependency reference; consider removing the duplicate if it was not intentional.

packages/plugins/prometheus/CHANGELOG.md (1)

3-9: Review: Version 1.3.34 Changelog Entry Improvement

The new changelog entry for version 1.3.34 is clear and well-organized. It correctly documents the patch update of the dependency @graphql-hive/gateway-runtime to version 1.6.0. One minor nitpick: the commit reference 17cfa19 appears twice in the dependency update bullet. Please consider removing the duplicate reference for improved clarity and consistency.

packages/gateway/CHANGELOG.md (1)

3-10: Announcement of Version 1.12.0 with New Reporting Option and CLI Deprecation

The changelog correctly announces the new release (v1.12.0) and clearly documents the two key minor changes:

  • The introduction of the new Hive reporting option target.
  • The deprecation of the --hive-registry-token CLI option (replaced by --hive-usage-target and --hive-usage-access-token).

Please ensure that these new options are also reflected in the corresponding documentation (e.g. on the console project) and that a matching changeset has been generated. Additionally, verify that all related user guides and code references have been updated accordingly.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 17cfa19 and 1b18f24.

📒 Files selected for processing (13)
  • .changeset/@graphql-hive_gateway-runtime-809-dependencies.md (0 hunks)
  • .changeset/plenty-llamas-push.md (0 hunks)
  • .changeset/wet-kiwis-peel.md (0 hunks)
  • packages/gateway/CHANGELOG.md (1 hunks)
  • packages/gateway/package.json (1 hunks)
  • packages/nestjs/CHANGELOG.md (1 hunks)
  • packages/nestjs/package.json (1 hunks)
  • packages/plugins/opentelemetry/CHANGELOG.md (1 hunks)
  • packages/plugins/opentelemetry/package.json (1 hunks)
  • packages/plugins/prometheus/CHANGELOG.md (1 hunks)
  • packages/plugins/prometheus/package.json (1 hunks)
  • packages/runtime/CHANGELOG.md (1 hunks)
  • packages/runtime/package.json (1 hunks)
💤 Files with no reviewable changes (3)
  • .changeset/plenty-llamas-push.md
  • .changeset/wet-kiwis-peel.md
  • .changeset/@graphql-hive_gateway-runtime-809-dependencies.md
🧰 Additional context used
📓 Path-based instructions (4)
`packages/**`: In this directory we keep all packages releva...

packages/**: In this directory we keep all packages relevant to the gateway.

In most cases, when changes are made to the source code / dependencies in these directories, we also require to have a corresponding changeset file, created using yarn changeset with a full description on the changes with an example.
Also, when new features are added the packages, the changeset file should mention minor semver change. When a bug is fixed, patch needs to be used. The major bump is used for a PR that has breaking changes.

  • packages/nestjs/package.json
  • packages/runtime/package.json
  • packages/nestjs/CHANGELOG.md
  • packages/gateway/package.json
  • packages/plugins/opentelemetry/package.json
  • packages/plugins/prometheus/package.json
  • packages/plugins/prometheus/CHANGELOG.md
  • packages/gateway/CHANGELOG.md
  • packages/plugins/opentelemetry/CHANGELOG.md
  • packages/runtime/CHANGELOG.md
`**`: For all PRs, we would like to verify that a Linear iss...

**: For all PRs, we would like to verify that a Linear issue is linked. Check if there's a mention for "GW-*" in the PR description, and the us know when it's missing.

In most cases, when a PR adds a new functionality, we would like to make sure it has documentation in the corresponding console project.
Use the global knowledge feature to search for PRs in graphql-hive/console repository that adds documentation. Suggest to create a follow up issue to add the missing documentation.

  • packages/nestjs/package.json
  • packages/runtime/package.json
  • packages/nestjs/CHANGELOG.md
  • packages/gateway/package.json
  • packages/plugins/opentelemetry/package.json
  • packages/plugins/prometheus/package.json
  • packages/plugins/prometheus/CHANGELOG.md
  • packages/gateway/CHANGELOG.md
  • packages/plugins/opentelemetry/CHANGELOG.md
  • packages/runtime/CHANGELOG.md
`packages/gateway/**`: The main runtime for the Hive gateway...

packages/gateway/**: The main runtime for the Hive gateway.
This package is CLI that runs the gateway and configures the internals of the gateway function.

  • packages/gateway/package.json
  • packages/gateway/CHANGELOG.md
`packages/plugins/**`: The directories inside this dir are g...

packages/plugins/**: The directories inside this dir are gateway plugins. Plugins adds functionality to the GraphQL gateway, at the runtime level. Plugins included are authorization, authentication, caching, persisted documents and more.

  • packages/plugins/opentelemetry/package.json
  • packages/plugins/prometheus/package.json
  • packages/plugins/prometheus/CHANGELOG.md
  • packages/plugins/opentelemetry/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms (28)
  • GitHub Check: E2E / Bun Docker on Ubuntu
  • GitHub Check: E2E / Bun on Ubuntu
  • GitHub Check: Unit / Bun
  • GitHub Check: Unit / Node v23
  • GitHub Check: E2E / Node Binary on Windows
  • GitHub Check: Unit / Node v22
  • GitHub Check: Unit / Node v20
  • GitHub Check: E2E / Node Binary on Ubuntu
  • GitHub Check: Unit / Node v18
  • GitHub Check: E2E / Node Docker on Ubuntu
  • GitHub Check: Leaks / Node v23
  • GitHub Check: E2E / Node 23 on Ubuntu
  • GitHub Check: Benchmark / bun / 1000 items
  • GitHub Check: E2E / Node 22 on Ubuntu
  • GitHub Check: Benchmark / bun / 100 items
  • GitHub Check: Leaks / Node v22
  • GitHub Check: Snapshot / snapshot
  • GitHub Check: Benchmark / bun / 10 items
  • GitHub Check: E2E / Node 20 on Ubuntu
  • GitHub Check: Benchmark / node / 1000 items
  • GitHub Check: Bundle
  • GitHub Check: Leaks / Node v20
  • GitHub Check: Benchmark / node / 100 items
  • GitHub Check: Build
  • GitHub Check: E2E / Node 18 on Ubuntu
  • GitHub Check: Benchmark / node / 10 items
  • GitHub Check: Leaks / Node v18
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (7)
packages/nestjs/CHANGELOG.md (2)

3-9: New Release Entry for Version 1.0.1
The changelog adds a new release entry for version 1.0.1 with a patch change that updates the dependency on @graphql-hive/gateway to version 1.12.0 (referenced via commit 17cfa19). The formatting and details (commit hash and link) are clear and consistent with previous entries.


10-26: Preservation of Historical Release Data
The remaining sections (versions 1.0.0 and earlier) remain intact and provide valuable context and history. The commit references and links in these older entries are well maintained.

packages/plugins/opentelemetry/CHANGELOG.md (1)

10-29: Detailed Patch Changes for Version 1.3.45
This section lists several dependency updates:

  • PR [#706] updates @graphql-mesh/utils with a new version constraint.
  • PR [#726] adds the dependency @whatwg-node/promise-helpers@^1.0.0.
  • PR [#727] updates the dependency @whatwg-node/disposablestack from ^0.0.5 to ^0.0.6.
  • The final bullet consolidates multiple dependency updates, ending with @graphql-hive/[email protected] and @graphql-mesh/[email protected].

The changelog is detailed and each update is properly referenced with commit links. All entries follow the standard format and provide a clear audit trail of the dependency changes.

packages/runtime/CHANGELOG.md (2)

3-10: Introduce New Release 1.6.0 with Target Reporting Option
This new section clearly marks the release of version 1.6.0 and documents a minor change where the target reporting option has been introduced. The inclusion of a link to Hive’s product update page is helpful for users seeking more details. Please double-check that the new functionality is also covered in the corresponding changeset documentation.


11-20: Document Dependency Updates for 1.6.0 Patch Changes
This patch changes block lists key dependency adjustments:
• Adding the dependency @graphql-hive/yoga@^0.41.0 (to enhance reporting features),
• Removing @graphql-mesh/plugin-hive@^0.104.0, and
• Updating @graphql-mesh/hmac-upstream-signature to version 1.2.22.

These updates are clearly attributed to [#809]. Please ensure consistency with the changeset file and verify the updated commit references as part of your release process.

packages/gateway/CHANGELOG.md (2)

11-19: Documentation of Dependency Updates under Patch Changes

The patch changes section for version 1.12.0 lists several dependency updates (for example, the update of @graphql-hive/gateway-runtime to 1.6.0, among others) with clear commit links. This provides transparency and traceability for the updates.

It is recommended to:

  • Double-check that these new dependency versions are consistently updated in the package manifest files.
  • Confirm that all dependency changes have been accompanied by corresponding changeset entries.
  • Review that no breaking changes were introduced by these updated dependencies.

20-992: Historical Version Entries

The remainder of the changelog (from version 1.11.0 downward) appears to serve as historical context. No changes have been flagged in these sections, so no further comments are needed here.

@theguild-bot
Copy link
Collaborator Author

🚀 Snapshot Release (Binary for macOS-ARM64)

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

Download

@theguild-bot
Copy link
Collaborator Author

🚀 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 Author

🚀 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.12.0-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d

@theguild-bot
Copy link
Collaborator Author

🚀 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.12.0-rc-1b18f24ee6daa60d710c1e23aa05d7c8b3d0060d-bun

@theguild-bot
Copy link
Collaborator Author

🚀 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 Author

🚀 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 Author

🚀 Snapshot Release (Binary for Windows-X64)

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

Download

@enisdenjo enisdenjo merged commit 8a5b6dd into main Mar 12, 2025
45 checks passed
@enisdenjo enisdenjo deleted the changeset-release/main branch March 12, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants