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

Upcoming Release Changes #583

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Upcoming Release Changes #583

merged 1 commit into from
Feb 4, 2025

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-tools/executor-graphql-ws@2.0.0

Major Changes

  • #481 0b13cb4 Thanks @enisdenjo! - Executor options don't exist graphql-ws dependency options

    Removing the dependency on the types. Some options are still exposed, but if you want to further customise the graphql-ws client, you should pass your own instance of the client instead.

    import { buildGraphQLWSExecutor } from '@graphql-tools/executor-graphql-ws';
    import { createClient } from 'graphql-ws';
    import { options } from './my-graphql-ws-client-options';
    
    const executor = buildGraphQLWSExecutor(
      createClient({
        url: 'ws://localhost:4000/graphql',
        ...options,
      }),
    );
  • #481 0b13cb4 Thanks @enisdenjo! - Upgrade graphql-ws to v6

    If you have a custom graphql-ws configuration when building the executor with buildGraphQLWSExecutor, you will have to migrate the graphql-ws side to v6. Please consult the changelog of graphql-ws.

Minor Changes

Patch Changes

@graphql-mesh/transport-ws@1.0.0

Major Changes

  • #481 0b13cb4 Thanks @enisdenjo! - WebSocket transport options allow configuring only connectionParams

    In most of the cases you won't need to configure the underlying graphql-ws client any further.

  • #481 0b13cb4 Thanks @enisdenjo! - WebSocket transport is stable and production ready

Minor Changes

Patch Changes

@graphql-hive/gateway@1.9.2

Patch Changes

@graphql-mesh/plugin-opentelemetry@1.3.39

Patch Changes

  • Updated dependencies [0b13cb4]:
    • @graphql-hive/gateway-runtime@1.4.11

@graphql-mesh/plugin-prometheus@1.3.27

Patch Changes

  • Updated dependencies [0b13cb4]:
    • @graphql-hive/gateway-runtime@1.4.11

@graphql-hive/gateway-runtime@1.4.11

Patch Changes

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Feb 3, 2025

🚀 Snapshot Release (rc)

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

Package Version Info
@graphql-tools/executor-graphql-ws 2.0.0-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd npm ↗︎ unpkg ↗︎
@graphql-hive/gateway 1.9.2-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-opentelemetry 1.3.39-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 1.3.27-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd npm ↗︎ unpkg ↗︎
@graphql-hive/gateway-runtime 1.4.11-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-ws 1.0.0-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Feb 3, 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 Author

theguild-bot commented Feb 3, 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 Author

theguild-bot commented Feb 3, 2025

🚀 Snapshot Release (Binary for macOS-ARM64)

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

Download

Copy link

coderabbitai bot commented Feb 3, 2025

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Introduced a stable, production-ready WebSocket transport with simplified connection configuration.
    • Enhanced the GraphQL executor to require user-provided WebSocket clients for greater customization.
  • Chores

    • Upgraded dependencies across packages to support the latest graphql-ws version.
    • Released multiple package version bumps, including major and patch updates, to improve overall compatibility and performance.

Walkthrough

This pull request removes several changeset markdown files that documented dependency updates, primarily the upgrade of the graphql-ws library from version ^5.16.0 to ^6.0.3, across multiple packages. Additionally, various package files, including changelogs and package manifests, have been updated to reflect new version numbers and dependency changes. These modifications impact executor, gateway, runtime, transports, and plugin packages, ensuring that dependency information, versioning, and related exported types are aligned with the updated libraries and configurations.

Changes

File(s) Change Summary
.changeset/*-dependencies.md (multiple files) Deleted documentation files that recorded dependency updates for packages (e.g., @graphql-hive/gateway, @graphql-mesh/transport-ws, @graphql-tools/executor-graphql-ws), including the update of graphql-ws from ^5.16.0 to ^6.0.3, removal of certain export types, and executor option deprecations.
packages/executors/graphql-ws/{CHANGELOG.md, package.json} Bumped version from 1.3.7 to 2.0.0; updated changelog to reflect removal of dependency on graphql-ws options and the export of GraphQLWSExecutorOptions.
packages/gateway/{CHANGELOG.md, package.json} Updated version from 1.9.1 to 1.9.2; changed graphql-ws dependency from ^5.16.0 to ^6.0.3 and updated several related dependencies.
packages/plugins/{opentelemetry, prometheus}/{CHANGELOG.md, package.json} Upgraded plugin versions (opentelemetry: 1.3.381.3.39, prometheus: 1.3.261.3.27); updated dependency @graphql-hive/gateway-runtime from 1.4.10 to 1.4.11.
packages/runtime/{CHANGELOG.md, package.json} Bumped version from 1.4.10 to 1.4.11; updated graphql-ws dependency to ^6.0.3 and upgraded @graphql-mesh/hmac-upstream-signature to 1.2.19.
packages/transports/ws/{CHANGELOG.md, package.json} Increased version from 0.4.16 to 1.0.0; updated graphql-ws from ^5.16.0 to ^6.0.3, added the isomorphic-ws dependency at ^5.0.0, and set @graphql-tools/executor-graphql-ws to version 2.0.0 while documenting production readiness.

Possibly related PRs


🪧 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. (Beta)
  • @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.

@theguild-bot theguild-bot force-pushed the changeset-release/main branch from d8bd617 to 229fe0d Compare February 3, 2025 20:00
Copy link

@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 (5)
packages/executors/graphql-ws/CHANGELOG.md (3)

5-8: Major Changes Description — Consider Wording Improvement

The major changes section explains that the executor options no longer include the graphql‐ws dependency options. The bullet note at line 7 could be made clearer. For example, consider rephrasing to:

"Executor options no longer include the graphql‐ws dependency options"
This will improve readability and set clear expectations for users.


11-22: Code Example — Clear Demonstration of New Usage Pattern

The provided TypeScript code snippet clearly illustrates how to import and use the buildGraphQLWSExecutor alongside createClient from graphql-ws. This example is very useful for users adjusting to the new configuration.
Consider adding a short inline comment (within the snippet) to emphasize that this pattern is required due to the removal of certain dependency options.


24-27: Upgrade Notice for graphql-ws to v6 — Clear and Informative

This section notifies users that upgrading to graphql-ws v6 may require changes to custom configurations. The reference link to the graphql-ws changelog is a good addition.
Optionally, you might consider briefly summarizing one or two notable changes in graphql-ws v6 that require attention for easier migration.

packages/transports/ws/CHANGELOG.md (2)

5-10: Major Changes – WebSocket Transport Configuration

This section clearly documents that only the connectionParams can now be configured and highlights that the underlying graphql‐ws client normally requires no further configuration. For improved readability, consider rephrasing the sentence from “In most of the cases you won't need to configure the underlying graphql-ws client any further.” to “In most cases you won't need to configure the underlying graphql-ws client any further.”

Suggested diff:

-  In most of the cases you won't need to configure the underlying graphql-ws client any further.
+  In most cases you won't need to configure the underlying graphql-ws client any further.

19-27: Patch Changes – Dependency Updates

This patch changes section concisely presents the dependency updates:

  • Upgrading graphql-ws to version ^6.0.3
  • Adding the isomorphic-ws dependency at ^5.0.0
  • Bumping @graphql-tools/executor-graphql-ws to 2.0.0

For clarity, if the multiple commit references (all pointing to 0b13cb4) are derived from the same change, consider consolidating them into a single reference.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 0b13cb4 and d8bd617.

📒 Files selected for processing (22)
  • .changeset/@graphql-hive_gateway-481-dependencies.md (0 hunks)
  • .changeset/@graphql-hive_gateway-runtime-481-dependencies.md (0 hunks)
  • .changeset/@graphql-mesh_transport-ws-481-dependencies.md (0 hunks)
  • .changeset/@graphql-tools_executor-graphql-ws-481-dependencies.md (0 hunks)
  • .changeset/silent-dingos-warn.md (0 hunks)
  • .changeset/six-planes-change.md (0 hunks)
  • .changeset/swift-scissors-end.md (0 hunks)
  • .changeset/tame-garlics-itch.md (0 hunks)
  • .changeset/violet-scissors-judge.md (0 hunks)
  • .changeset/warm-tigers-lie.md (0 hunks)
  • packages/executors/graphql-ws/CHANGELOG.md (1 hunks)
  • packages/executors/graphql-ws/package.json (1 hunks)
  • packages/gateway/CHANGELOG.md (1 hunks)
  • packages/gateway/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)
  • packages/transports/ws/CHANGELOG.md (1 hunks)
  • packages/transports/ws/package.json (1 hunks)
💤 Files with no reviewable changes (10)
  • .changeset/@graphql-hive_gateway-runtime-481-dependencies.md
  • .changeset/warm-tigers-lie.md
  • .changeset/six-planes-change.md
  • .changeset/@graphql-tools_executor-graphql-ws-481-dependencies.md
  • .changeset/silent-dingos-warn.md
  • .changeset/@graphql-mesh_transport-ws-481-dependencies.md
  • .changeset/tame-garlics-itch.md
  • .changeset/@graphql-hive_gateway-481-dependencies.md
  • .changeset/swift-scissors-end.md
  • .changeset/violet-scissors-judge.md
✅ Files skipped from review due to trivial changes (7)
  • packages/runtime/package.json
  • packages/gateway/package.json
  • packages/plugins/opentelemetry/package.json
  • packages/plugins/prometheus/package.json
  • packages/executors/graphql-ws/package.json
  • packages/runtime/CHANGELOG.md
  • packages/plugins/prometheus/CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (5)
packages/plugins/opentelemetry/CHANGELOG.md (3)

Pattern 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.


Pattern 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.


Pattern **: 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/transports/ws/package.json (3)

Pattern 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.


Pattern packages/transports/**: The transports configures how to deal with HTTP requests that are made from the GraphQL gateway to the GraphQL subgraphs. Transports manipulates the HTTP calls, headers, protocols and others.


Pattern **: 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/executors/graphql-ws/CHANGELOG.md (2)

Pattern 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.


Pattern **: 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/transports/ws/CHANGELOG.md (3)

Pattern 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.


Pattern packages/transports/**: The transports configures how to deal with HTTP requests that are made from the GraphQL gateway to the GraphQL subgraphs. Transports manipulates the HTTP calls, headers, protocols and others.


Pattern **: 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/gateway/CHANGELOG.md (3)

Pattern 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.


Pattern 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.


Pattern **: 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.

⏰ Context from checks skipped due to timeout of 90000ms (28)
  • GitHub Check: Binary built on ubuntu-24.04-arm
  • GitHub Check: Binary built on macos-14
  • GitHub Check: Binary built on macos-13
  • GitHub Check: Binary built on ubuntu-latest
  • GitHub Check: Bun Docker image
  • GitHub Check: Node Docker image
  • GitHub Check: E2E / Bun Docker on Ubuntu
  • GitHub Check: E2E / Bun on Ubuntu
  • GitHub Check: E2E / Node Binary on Windows
  • GitHub Check: E2E / Node Binary on Ubuntu
  • GitHub Check: E2E / Node Docker on Ubuntu
  • GitHub Check: Leaks / Node v22
  • GitHub Check: Leaks / Node v20
  • GitHub Check: E2E / Node 22 on Ubuntu
  • GitHub Check: Leaks / Node v18
  • GitHub Check: E2E / Node 20 on Ubuntu
  • GitHub Check: Benchmark / bun / 1000 items
  • GitHub Check: E2E / Node 18 on Ubuntu
  • GitHub Check: Benchmark / bun / 100 items
  • GitHub Check: Unit / Bun
  • GitHub Check: Benchmark / bun / 10 items
  • GitHub Check: Benchmark / node / 1000 items
  • GitHub Check: Benchmark / node / 100 items
  • GitHub Check: Build
  • GitHub Check: Unit / Node v18
  • GitHub Check: Benchmark / node / 10 items
  • GitHub Check: Bundle
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (16)
packages/plugins/opentelemetry/CHANGELOG.md (1)

3-9: New Version Section for 1.3.39 Added Correctly
The new section for version 1.3.39 is formatted correctly with the appropriate Markdown headers. The "### Patch Changes" subheading clearly organizes the update, and the dependency update for @graphql-hive/gateway-runtime to version 1.4.11 is clearly listed with the associated commit link. Please confirm that this update aligns with your intended dependency bump (from 1.4.10 in 1.3.38 to 1.4.11) and that a corresponding changeset file has been generated per the repository’s guidelines.

packages/executors/graphql-ws/CHANGELOG.md (4)

3-4: Version Bump to 2.0.0 — Confirm Changeset Documentation

The changelog header now reflects the major version bump to 2.0.0, which aligns with the intended breaking changes. Please ensure that a corresponding changeset file (using yarn changeset) is present with a detailed description of the breaking changes.


9-10: Clarification on Dependency Removal

The explanation regarding the removal of dependency on the types is clear. It explains that further customization requires passing your own client instance. This is helpful for users migrating their configurations, so no changes are required here.


28-30: Minor Changes — Exporting GraphQLWSExecutorOptions Type

The changelog correctly documents the export of the GraphQLWSExecutorOptions type. This addition aids type accessibility and consistency. The section is clear and informative.


31-38: Patch Changes — Dependency Update Details

The patch changes section documents the update of the graphql-ws dependency from ^5.14.0 to ^6.0.3. This is crucial information for users regarding dependency management.
Please verify that all peer- or transitive dependencies are compatible with graphql-ws v6 if applicable.

packages/transports/ws/CHANGELOG.md (3)

3-4: Version Bump to 1.0.0

The new version header is correctly added as "## 1.0.0". Please ensure that a corresponding changeset file is provided to document the release details and the semantic versioning impact.


13-18: Minor Changes – Upgrade to graphql-ws v6

The minor changes entry properly indicates the upgrade to graphql-ws v6 and warns users with custom configurations to adjust accordingly. The inclusion of the link to the graphql-ws changelog is particularly helpful for migration guidance.


1-27: Overall Changelog Consistency and PR Metadata

The changelog entries are well-structured and align with the PR objectives for the upcoming release. As a reminder, please ensure that the PR description includes a reference to the associated Linear issue (e.g., a "GW-*" identifier) if applicable. This extra metadata helps with tracking release-related changes across packages.

packages/gateway/CHANGELOG.md (7)

3-4: Version Bump Confirmation for 1.9.2:
The new changelog entry header (## 1.9.2) is clearly defined and indicates the beginning of the new version release. Please ensure that a corresponding changeset file (generated via yarn changeset) exists with a full description of these updates along with examples where necessary.


5-7: Patch Changes Section Heading:
The "### Patch Changes" section is properly designated to describe non-breaking updates. The formatting and attribution (e.g., thanks to [@enisdenjo]) are consistent with previous entries.


7-10: Dependency Update for graphql-ws:
The update from ^5.16.0 to ^6.0.3 is clearly indicated in the bullet:

Make sure that any necessary migration details (if users have custom configurations) are documented in your release notes or developer documentation.


11-14: Simplification of WebSocket Transport Options:
This change explains that WebSocket transport options now allow configuring only connectionParams, reducing the need to customize the underlying graphql-ws client. The note, “In most of the cases you won't need to configure the underlying graphql-ws client any further,” is clear and user friendly.


15-18: Upgrade Notice for graphql-ws to v6:
The changelog advises users that if they use a custom graphql-ws configuration, they must migrate to version 6. The provided link to the official changelog of graphql-ws (v6.0.0 release notes) is a good practice to guide users through potential breaking changes.


19-25: Summary of Other Updated Dependencies:
The consolidated list of updated dependencies is comprehensive and well-formatted. It lists the following upgrades:

  • @graphql-hive/gateway-runtime@1.4.11
  • @graphql-mesh/transport-ws@1.0.0
  • @graphql-mesh/hmac-upstream-signature@1.2.19
  • @graphql-mesh/plugin-opentelemetry@1.3.39
  • @graphql-mesh/plugin-prometheus@1.3.27

Please double-check that these new versions are correctly specified in the respective package manifests and that any necessary migration guides or documentation updates have been prepared.


1-25: Missing Linear Issue Reference:
According to our guidelines, PRs should reference a Linear issue (e.g., "GW-*") to ensure proper traceability. There is no such reference in this changelog entry. Please confirm if a Linear issue should be linked in the PR description or changelog entry for comprehensive issue tracking.

packages/transports/ws/package.json (1)

3-3: Major Version Bump – Validate Accompanying Documentation and Changeset

The version change to "1.0.0" indicates a major update with potential breaking changes. Please ensure that a corresponding changeset file has been created (using yarn changeset) that fully documents these breaking changes and specifies the major semver bump. Additionally, verify that the related documentation (especially in the console project) is updated accordingly and that a Linear issue (e.g., one starting with "GW-") is linked in the PR description, as per the guidelines.

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Feb 3, 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.9.2-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd-bun

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Feb 3, 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.9.2-rc-7759f3d79ac8abb2207692cde94f7adf982c37cd

Copy link

@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 (3)
packages/transports/ws/CHANGELOG.md (1)

13-18: Minor Changes Block Clarity
The update to upgrade graphql-ws to v6 is clearly documented with an advisory note for users with custom configurations. Consider briefly noting if there are any specific migration steps or breaking changes that users should be aware of (beyond consulting the graphql-ws changelog).

packages/executors/graphql-ws/CHANGELOG.md (1)

5-8: Major Changes: Removal of Default graphql-ws Dependency Options

The bullet clearly references PR [#481] and notes the removal of default dependency options from the executor options. To improve clarity, consider rephrasing the description slightly (for example, “Executor options no longer include the default graphql-ws dependency configurations”) so that the intent is immediately clear.

packages/gateway/CHANGELOG.md (1)

11-13: WebSocket Transport Options Simplification
This entry indicates that users now only need to configure connectionParams, simplifying the setup.

Nitpick: The sentence on line 13 could be rephrased for clarity. Consider changing:

-  In most of the cases you won't need to configure the underlying graphql-ws client any further.
+  In most cases, you won't need to configure the underlying graphql-ws client any further.

This minor change improves readability.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~13-~13: Possible missing comma found.
Context: ...ly connectionParams In most of the cases you won't need to configure the underly...

(AI_HYDRA_LEO_MISSING_COMMA)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between d8bd617 and 229fe0d.

📒 Files selected for processing (22)
  • .changeset/@graphql-hive_gateway-481-dependencies.md (0 hunks)
  • .changeset/@graphql-hive_gateway-runtime-481-dependencies.md (0 hunks)
  • .changeset/@graphql-mesh_transport-ws-481-dependencies.md (0 hunks)
  • .changeset/@graphql-tools_executor-graphql-ws-481-dependencies.md (0 hunks)
  • .changeset/silent-dingos-warn.md (0 hunks)
  • .changeset/six-planes-change.md (0 hunks)
  • .changeset/swift-scissors-end.md (0 hunks)
  • .changeset/tame-garlics-itch.md (0 hunks)
  • .changeset/violet-scissors-judge.md (0 hunks)
  • .changeset/warm-tigers-lie.md (0 hunks)
  • packages/executors/graphql-ws/CHANGELOG.md (1 hunks)
  • packages/executors/graphql-ws/package.json (1 hunks)
  • packages/gateway/CHANGELOG.md (1 hunks)
  • packages/gateway/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)
  • packages/transports/ws/CHANGELOG.md (1 hunks)
  • packages/transports/ws/package.json (1 hunks)
💤 Files with no reviewable changes (10)
  • .changeset/@graphql-hive_gateway-runtime-481-dependencies.md
  • .changeset/tame-garlics-itch.md
  • .changeset/six-planes-change.md
  • .changeset/warm-tigers-lie.md
  • .changeset/@graphql-tools_executor-graphql-ws-481-dependencies.md
  • .changeset/@graphql-hive_gateway-481-dependencies.md
  • .changeset/violet-scissors-judge.md
  • .changeset/swift-scissors-end.md
  • .changeset/silent-dingos-warn.md
  • .changeset/@graphql-mesh_transport-ws-481-dependencies.md
🚧 Files skipped from review as they are similar to previous changes (9)
  • packages/transports/ws/package.json
  • packages/runtime/package.json
  • packages/executors/graphql-ws/package.json
  • packages/gateway/package.json
  • packages/plugins/prometheus/package.json
  • packages/runtime/CHANGELOG.md
  • packages/plugins/prometheus/CHANGELOG.md
  • packages/plugins/opentelemetry/package.json
  • packages/plugins/opentelemetry/CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (3)
packages/executors/graphql-ws/CHANGELOG.md (2)

Pattern 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.


Pattern **: 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/transports/ws/CHANGELOG.md (3)

Pattern 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.


Pattern packages/transports/**: The transports configures how to deal with HTTP requests that are made from the GraphQL gateway to the GraphQL subgraphs. Transports manipulates the HTTP calls, headers, protocols and others.


Pattern **: 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/gateway/CHANGELOG.md (3)

Pattern 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.


Pattern 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.


Pattern **: 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.

🪛 LanguageTool
packages/gateway/CHANGELOG.md

[uncategorized] ~13-~13: Possible missing comma found.
Context: ...ly connectionParams In most of the cases you won't need to configure the underly...

(AI_HYDRA_LEO_MISSING_COMMA)

⏰ Context from checks skipped due to timeout of 90000ms (25)
  • GitHub Check: Binary built on ubuntu-24.04-arm
  • GitHub Check: E2E / Bun Docker on Ubuntu
  • GitHub Check: E2E / Bun on Ubuntu
  • GitHub Check: E2E / Node Binary on Windows
  • GitHub Check: E2E / Node Binary on Ubuntu
  • GitHub Check: Unit / Bun
  • GitHub Check: E2E / Node Docker on Ubuntu
  • GitHub Check: E2E / Node 22 on Ubuntu
  • GitHub Check: Leaks / Node v22
  • GitHub Check: E2E / Node 20 on Ubuntu
  • GitHub Check: Unit / Node v22
  • GitHub Check: Leaks / Node v20
  • GitHub Check: E2E / Node 18 on Ubuntu
  • GitHub Check: Unit / Node v20
  • GitHub Check: Leaks / Node v18
  • GitHub Check: Unit / Node v18
  • GitHub Check: Benchmark / bun / 1000 items
  • GitHub Check: Benchmark / bun / 100 items
  • GitHub Check: Benchmark / bun / 10 items
  • GitHub Check: Benchmark / node / 1000 items
  • GitHub Check: Bundle
  • GitHub Check: Benchmark / node / 100 items
  • GitHub Check: Build
  • GitHub Check: Benchmark / node / 10 items
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (13)
packages/transports/ws/CHANGELOG.md (3)

3-4: Release Version Header Verification
The new version header “1.0.0” clearly indicates the release’s milestone. Please ensure that a corresponding changeset file (generated via yarn changeset) is included or referenced with a full description of the changes, as required by our guidelines.


5-12: Major Changes Block Consistency
The “Major Changes” block succinctly highlights two significant updates:

  • Configuring only connectionParams for WebSocket transport options
  • Declaring the transport as stable and production-ready

Please verify that the commit references and links are accurate and that these changes indeed represent breaking updates for users.


19-27: Patch Changes Section Detailing Dependency Updates
The “Patch Changes” segment effectively lists the dependency updates:

  • Upgrading graphql-ws from ^5.16.0 to ^6.0.3
  • Adding isomorphic-ws@^5.0.0
  • Updating @graphql-tools/executor-graphql-ws to version 2.0.0

Ensure that the formatting is consistent with our overall changelog style and that all commit references are correct. If any of these dependency updates lead to non-breaking improvements or require migration notes, consider adding a clarifying sentence.

packages/executors/graphql-ws/CHANGELOG.md (5)

3-4: Version Header Update: Confirming Major Release Version

The new version header “2.0.0” is clearly introduced here to signal a major release with breaking changes. Make sure that all downstream documentation and dependency version checks are aligned with this major bump.


9-22: Guidance & Code Example for Custom Client Instantiation

The explanatory text and corresponding code sample effectively illustrate how users should now pass their own graphql-ws client instance via buildGraphQLWSExecutor. The example is well formatted and instructive. You might add inline comments in the code block for even greater clarity, but overall the guidance is solid.


24-27: Major Changes: Upgrade to graphql-ws v6

This segment communicates the upgrade to graphql-ws version 6 and advises users with custom configurations to consult the graphql-ws changelog. The messaging is clear regarding the migration requirement.


28-31: Minor Changes: Export of GraphQLWSExecutorOptions Type

The minor change that exports the GraphQLWSExecutorOptions type is well noted. This update will enhance type accessibility for users and is clearly documented in the changelog.


32-37: Patch Changes: Dependency Update for graphql-ws

The patch section accurately records the dependency update—from ^5.14.0 to ^6.0.3—and clearly provides the relevant npm link for verification. Ensure that any related configuration or documentation that references the old version is updated accordingly.

packages/gateway/CHANGELOG.md (5)

3-4: Version Header Updated Correctly
The changelog now clearly marks the beginning of version 1.9.2. Please ensure that a corresponding changeset file exists with a full description of this update.


5-6: Patch Changes Section Confirmation
The header "### Patch Changes" is appropriately used to group the patch update entries for version 1.9.2.


7-10: Dependency Update for graphql-ws
The entry documents the upgrade of graphql-ws from ^5.16.0 to ^6.0.3 with a clear reference link. This aligns well with the PR objectives. Make sure that any migration-related notes (especially for users with custom configurations) are also incorporated in the documentation or the release notes.


15-18: GraphQL-WS Upgrade Documentation
The changelog entry for upgrading graphql-ws to v6 is clear and includes a helpful link to the graphql-ws changelog for further details. Ensure that downstream users update their custom configurations if needed.


19-25: Consolidated Dependency Updates
The final block lists multiple updated dependencies (such as @graphql-hive/gateway-runtime, @graphql-mesh/transport-ws, @graphql-mesh/hmac-upstream-signature, @graphql-mesh/plugin-opentelemetry, and @graphql-mesh/plugin-prometheus) with appropriate commit references. The presentation is clear and consistent with the overall release changes.

@theguild-bot
Copy link
Collaborator Author

theguild-bot commented Feb 3, 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 Author

theguild-bot commented Feb 3, 2025

🚀 Snapshot Release (Binary for Windows-X64)

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

Download

@theguild-bot theguild-bot force-pushed the changeset-release/main branch from 229fe0d to 7759f3d Compare February 3, 2025 20:40
Copy link

@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 (2)
packages/transports/ws/CHANGELOG.md (2)

3-12: New Major Release (1.0.0) Announcement

This section introduces version 1.0.0 with major changes. It clearly indicates that the WebSocket transport now allows configuring only the connectionParams and asserts that the transport is stable and production-ready.

Recommendations:
• Ensure a corresponding changeset file exists with a full description of these breaking changes and the related migration steps.
• If applicable, include links to related Linear issues (e.g., references containing “GW-*”) to improve traceability.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~9-~9: Possible missing comma found.
Context: ...ly connectionParams In most of the cases you won't need to configure the underly...

(AI_HYDRA_LEO_MISSING_COMMA)


9-9: Nitpick: Punctuation Review

The description in this block reads:

"In most of the cases you won't need to configure the underlying graphql-ws client any further."

Consider revising to improve clarity. For example:

"In most cases, you won't need to configure the underlying graphql-ws client any further."

This small refinement could improve readability.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~9-~9: Possible missing comma found.
Context: ...ly connectionParams In most of the cases you won't need to configure the underly...

(AI_HYDRA_LEO_MISSING_COMMA)

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 229fe0d and 7759f3d.

📒 Files selected for processing (22)
  • .changeset/@graphql-hive_gateway-481-dependencies.md (0 hunks)
  • .changeset/@graphql-hive_gateway-runtime-481-dependencies.md (0 hunks)
  • .changeset/@graphql-mesh_transport-ws-481-dependencies.md (0 hunks)
  • .changeset/@graphql-tools_executor-graphql-ws-481-dependencies.md (0 hunks)
  • .changeset/silent-dingos-warn.md (0 hunks)
  • .changeset/six-planes-change.md (0 hunks)
  • .changeset/swift-scissors-end.md (0 hunks)
  • .changeset/tame-garlics-itch.md (0 hunks)
  • .changeset/violet-scissors-judge.md (0 hunks)
  • .changeset/warm-tigers-lie.md (0 hunks)
  • packages/executors/graphql-ws/CHANGELOG.md (1 hunks)
  • packages/executors/graphql-ws/package.json (1 hunks)
  • packages/gateway/CHANGELOG.md (1 hunks)
  • packages/gateway/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)
  • packages/transports/ws/CHANGELOG.md (1 hunks)
  • packages/transports/ws/package.json (1 hunks)
💤 Files with no reviewable changes (10)
  • .changeset/silent-dingos-warn.md
  • .changeset/tame-garlics-itch.md
  • .changeset/swift-scissors-end.md
  • .changeset/violet-scissors-judge.md
  • .changeset/@graphql-mesh_transport-ws-481-dependencies.md
  • .changeset/@graphql-hive_gateway-runtime-481-dependencies.md
  • .changeset/@graphql-hive_gateway-481-dependencies.md
  • .changeset/warm-tigers-lie.md
  • .changeset/@graphql-tools_executor-graphql-ws-481-dependencies.md
  • .changeset/six-planes-change.md
🚧 Files skipped from review as they are similar to previous changes (11)
  • packages/runtime/package.json
  • packages/plugins/opentelemetry/package.json
  • packages/transports/ws/package.json
  • packages/executors/graphql-ws/package.json
  • packages/plugins/prometheus/package.json
  • packages/gateway/package.json
  • packages/plugins/opentelemetry/CHANGELOG.md
  • packages/runtime/CHANGELOG.md
  • packages/executors/graphql-ws/CHANGELOG.md
  • packages/gateway/CHANGELOG.md
  • packages/plugins/prometheus/CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (1)
packages/transports/ws/CHANGELOG.md (3)

Pattern 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.


Pattern packages/transports/**: The transports configures how to deal with HTTP requests that are made from the GraphQL gateway to the GraphQL subgraphs. Transports manipulates the HTTP calls, headers, protocols and others.


Pattern **: 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.

🪛 LanguageTool
packages/transports/ws/CHANGELOG.md

[uncategorized] ~9-~9: Possible missing comma found.
Context: ...ly connectionParams In most of the cases you won't need to configure the underly...

(AI_HYDRA_LEO_MISSING_COMMA)

⏰ Context from checks skipped due to timeout of 90000ms (22)
  • GitHub Check: Binary built on ubuntu-latest
  • GitHub Check: E2E / Bun Docker on Ubuntu
  • GitHub Check: E2E / Bun on Ubuntu
  • GitHub Check: E2E / Node Binary on Windows
  • GitHub Check: E2E / Node Binary on Ubuntu
  • GitHub Check: E2E / Node Docker on Ubuntu
  • GitHub Check: E2E / Node 22 on Ubuntu
  • GitHub Check: Unit / Bun
  • GitHub Check: Benchmark / bun / 1000 items
  • GitHub Check: E2E / Node 20 on Ubuntu
  • GitHub Check: Benchmark / bun / 100 items
  • GitHub Check: Benchmark / bun / 10 items
  • GitHub Check: Leaks / Node v22
  • GitHub Check: Benchmark / node / 1000 items
  • GitHub Check: Leaks / Node v20
  • GitHub Check: Benchmark / node / 100 items
  • GitHub Check: Bundle
  • GitHub Check: E2E / Node 18 on Ubuntu
  • GitHub Check: Benchmark / node / 10 items
  • GitHub Check: Build
  • GitHub Check: Leaks / Node v18
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (2)
packages/transports/ws/CHANGELOG.md (2)

13-18: Minor Changes: Upgrade to graphql-ws v6

The minor changes section indicates that users with custom configurations must migrate their graphql-ws setup to v6, and it provides a link to the graphql-ws changelog for further guidance.

Recommendation:
Ensure that any accompanying documentation or migration guides (possibly in the console project or repository docs) are updated to reflect these changes.


19-28: Patch Changes: Dependency Updates

The patch section details important dependency updates:
• Upgrading graphql-ws from ^5.16.0 to ^6.0.3.
• Adding isomorphic-ws@^5.0.0.
• Updating @graphql-tools/executor-graphql-ws to version 2.0.0.

Recommendation:
Verify that these dependency updates have been tested in integration and that any potential compatibility issues are documented in the release notes or changeset file.

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