Skip to content

Conversation

@theguild-bot
Copy link
Collaborator

@theguild-bot theguild-bot commented Jan 12, 2026

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]

Patch Changes

  • #7485
    e3006e2
    Thanks @kamilkisiela! - Fixes a bug in Federation composition
    and validation where an error was incorrectly reported for interfaces implementing another
    interface with a @key. The validation now correctly applies only to object types implementing
    the interface.

[email protected]

Major Changes

  • #7383
    ec77725
    Thanks @n1ru4l! - Add a new workflows service. This service
    consolidates and replaces the emails and webhooks services, using a Postgres-backed persistent
    queue for improved stability and reliability.

    If you are running a self-hosted setup the following docker compose changes are required:

    services:
    
    +  workflows:
    +    image: '${DOCKER_REGISTRY}workflows${DOCKER_TAG}'
    +    networks:
    +      - 'stack'
    +    depends_on:
    +      db:
    +        condition: service_healthy
    +    environment:
    +      NODE_ENV: production
    +      PORT: 3014
    +      POSTGRES_HOST: db
    +      POSTGRES_PORT: 5432
    +      POSTGRES_DB: '${POSTGRES_DB}'
    +      POSTGRES_USER: '${POSTGRES_USER}'
    +      POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
    +      EMAIL_FROM: [email protected]
    +      EMAIL_PROVIDER: sendmail
    +      LOG_LEVEL: '${LOG_LEVEL:-debug}'
    +      SENTRY: '${SENTRY:-0}'
    +      SENTRY_DSN: '${SENTRY_DSN:-}'
    +      PROMETHEUS_METRICS: '${PROMETHEUS_METRICS:-}'
    +      LOG_JSON: '1'
    -  emails:
    -    ...
    -  webhooks:
    -    ...

    For different setups, we recommend using this as a reference.

    Note: The workflows service will attempt to run postgres migrations for seeding the required
    database tables within the graphile_worker namespace. Please make sure the database user has
    sufficient permissions. For more information please refer to the
    Graphile Worker documentation.

Minor Changes

  • #7377
    8549f22
    Thanks @adambenhassen! - Add activeAppDeployments GraphQL
    query to find app deployments based on usage criteria.

    New filter options:

    • lastUsedBefore: Find stale deployments that were used but not recently (OR with
      neverUsedAndCreatedBefore)
    • neverUsedAndCreatedBefore: Find old deployments that have never been used (OR with
      lastUsedBefore)
    • name: Filter by app deployment name (case-insensitive partial match, AND with date filters)

    Also adds createdAt field to the AppDeployment type.

    See
    Finding Stale App Deployments
    for more details.

Patch Changes

  • #7475
    e022bb4
    Thanks @jdolle! - Fix org owner not being able to select a new
    billing plan after downgrading.

  • #7478
    8e2e40d
    Thanks @n1ru4l! - Improve error message when schema composition
    exceeds the memory consumption limits.

  • #7485
    e3006e2
    Thanks @kamilkisiela! - Fixes a bug in Federation composition
    and validation where an error was incorrectly reported for interfaces implementing another
    interface with a @key. The validation now correctly applies only to object types implementing
    the interface.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @theguild-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by the Changesets release action, prepares for the [email protected] major release. The primary change involves the introduction of a new workflows service designed to consolidate and enhance the functionality previously provided by the emails and webhooks services. This new service leverages a Postgres-backed persistent queue for increased stability and reliability, necessitating updates to Docker Compose configurations for self-hosted deployments.

Highlights

  • New Workflows Service: A new workflows service has been introduced, consolidating and replacing the emails and webhooks services.
  • Improved Stability: The new workflows service utilizes a Postgres-backed persistent queue, enhancing stability and reliability for background tasks.
  • Self-Hosted Configuration: Self-hosted deployments will require updates to their Docker Compose configurations to include the new workflows service and its environment variables.
  • Major Version Release: The hive package is being released as 9.0.0, indicating a major update with potentially breaking changes.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

🚀 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/cli 0.57.2-rc-20260115152628-e44fa97c1cff3fe1efed52b955bd5a794c91c0fb npm ↗︎ unpkg ↗︎
hive 9.0.0-rc-20260115152628-e44fa97c1cff3fe1efed52b955bd5a794c91c0fb npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

📚 Storybook Deployment

The latest changes are available as preview in: https://pr-7481.hive-storybook.pages.dev

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This PR prepares for the v9.0.0 major release, which introduces a new workflows service to replace the emails and webhooks services. My review focuses on the clarity of the release notes for self-hosted users. I've identified a potential point of confusion in CHANGELOG.md regarding the removal of the old services and have suggested an improvement to make the migration steps clearer.

Comment on lines 9 to 44
Thanks [@n1ru4l](https://github.com/n1ru4l)! - Add a new `workflows` service. This service
consolidates and replaces the `emails` and `webhooks` services, using a Postgres-backed persistent
queue for improved stability and reliability.

If you are running a self-hosted setup the following docker compose changes are required:

```diff
services:

+ workflows:
+ image: '${DOCKER_REGISTRY}workflows${DOCKER_TAG}'
+ networks:
+ - 'stack'
+ depends_on:
+ db:
+ condition: service_healthy
+ environment:
+ NODE_ENV: production
+ PORT: 3014
+ POSTGRES_HOST: db
+ POSTGRES_PORT: 5432
+ POSTGRES_DB: '${POSTGRES_DB}'
+ POSTGRES_USER: '${POSTGRES_USER}'
+ POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
+ EMAIL_FROM: [email protected]
+ EMAIL_PROVIDER: sendmail
+ LOG_LEVEL: '${LOG_LEVEL:-debug}'
+ SENTRY: '${SENTRY:-0}'
+ SENTRY_DSN: '${SENTRY_DSN:-}'
+ PROMETHEUS_METRICS: '${PROMETHEUS_METRICS:-}'
+ LOG_JSON: '1'
```
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The changelog states that the workflows service replaces the emails and webhooks services. However, the provided diff for docker-compose.yml only shows the addition of the workflows service. This can be misleading for self-hosted users, who might not remove the old emails and webhooks services, leading to them running unnecessary services.

To ensure a smooth migration, please update the changelog to explicitly state that emails and webhooks services should be removed. It would be best to update the diff block to reflect these removals as well. For example:

services:
-  webhooks:
-    # ...
-
-  emails:
-    # ...

+  workflows:
+    # ...

Additionally, the depends_on section for the server service may need to be updated to remove dependencies on emails and webhooks.

References
  1. Changesets for the hive scope should contain enough information for a self-hosted user to understand the change and its implications, without excessive technical detail. The current changelog entry is missing crucial information about removing old services, which is necessary for a smooth upgrade. (link)

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tag: e44fa97c1cff3fe1efed52b955bd5a794c91c0fb

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

💻 Website Preview

The latest changes are available as preview in: https://pr-7481.hive-landing-page.pages.dev

@theguild-bot theguild-bot force-pushed the changeset-release/main branch from da1e224 to 2da36be Compare January 12, 2026 14:14
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from 2da36be to 38ee667 Compare January 12, 2026 17:09
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from 38ee667 to c681f8e Compare January 12, 2026 18:40
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from c681f8e to d500742 Compare January 13, 2026 10:36
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from d500742 to 30ca108 Compare January 13, 2026 15:11
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from 30ca108 to c700ca5 Compare January 13, 2026 16:00
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from c700ca5 to 5a01900 Compare January 13, 2026 16:31
@theguild-bot theguild-bot force-pushed the changeset-release/main branch from 5a01900 to cf8339b Compare January 14, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant