Skip to content

Comments

chore: version packages#4

Closed
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Closed

chore: version packages#4
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

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

@remix-relay/react@3.0.0

Major Changes

  • #3 d2fb8cd Thanks @dantrain! - Update to GraphQL incremental delivery format (incrementalSpec v0.2)

    Breaking changes

    • graphql peer dependency updated from 17.0.0-alpha.2 to 17.0.0-alpha.9 - Adopts the newer incremental delivery response format with pending/incremental/completed fields.
    • Client fetch function must use processMultipartResponse - The client-side relay environment fetch function must be updated to use the new processMultipartResponse utility exported from @remix-relay/react, which handles the new response format. The Accept header must also change from deferSpec=20220824 to incrementalSpec=v0.2.

    Migration

    Update the graphql dependency:

    pnpm add graphql@17.0.0-alpha.9

    Update the client relay environment fetch function to use processMultipartResponse:

    import {
      getCachedResponse,
      processMultipartResponse,
    } from "@remix-relay/react";
    
    const fetchFn: FetchFunction = (params, variables, cacheConfig) => {
      return (
        getCachedResponse(params, variables, cacheConfig) ??
        Observable.create((sink) => {
          (async () => {
            try {
              const response = await fetch("/graphql", {
                method: "POST",
                headers: {
                  "Content-Type": "application/json",
                  Accept: "multipart/mixed; incrementalSpec=v0.2, application/json",
                },
                body: JSON.stringify({ query: params.text, variables }),
              });
    
              const parts = await meros(response);
    
              for await (const payload of processMultipartResponse(parts)) {
                sink.next(payload);
              }
            } finally {
              sink.complete();
            }
          })();
        })
      );
    };

@remix-relay/server@3.0.0

Major Changes

  • #3 d2fb8cd Thanks @dantrain! - Update to GraphQL incremental delivery format (incrementalSpec v0.2)

    Breaking changes

    • graphql peer dependency updated from 17.0.0-alpha.2 to 17.0.0-alpha.9 - Adopts the newer incremental delivery response format with pending/incremental/completed fields.
    • Client fetch function must use processMultipartResponse - The client-side relay environment fetch function must be updated to use the new processMultipartResponse utility exported from @remix-relay/react, which handles the new response format. The Accept header must also change from deferSpec=20220824 to incrementalSpec=v0.2.

    Migration

    Update the graphql dependency:

    pnpm add graphql@17.0.0-alpha.9

    Update the client relay environment fetch function to use processMultipartResponse:

    import {
      getCachedResponse,
      processMultipartResponse,
    } from "@remix-relay/react";
    
    const fetchFn: FetchFunction = (params, variables, cacheConfig) => {
      return (
        getCachedResponse(params, variables, cacheConfig) ??
        Observable.create((sink) => {
          (async () => {
            try {
              const response = await fetch("/graphql", {
                method: "POST",
                headers: {
                  "Content-Type": "application/json",
                  Accept: "multipart/mixed; incrementalSpec=v0.2, application/json",
                },
                body: JSON.stringify({ query: params.text, variables }),
              });
    
              const parts = await meros(response);
    
              for await (const payload of processMultipartResponse(parts)) {
                sink.next(payload);
              }
            } finally {
              sink.complete();
            }
          })();
        })
      );
    };

counter-app@1.0.1

Patch Changes

  • Updated dependencies [d2fb8cd]:
    • @remix-relay/react@3.0.0
    • @remix-relay/server@3.0.0

movie-app@1.0.1

Patch Changes

  • Updated dependencies [d2fb8cd]:
    • @remix-relay/react@3.0.0
    • @remix-relay/server@3.0.0

trellix-relay@1.0.1

Patch Changes

  • Updated dependencies [d2fb8cd]:
    • @remix-relay/react@3.0.0
    • @remix-relay/server@3.0.0

@dantrain dantrain closed this Feb 15, 2026
@dantrain dantrain deleted the changeset-release/main branch February 15, 2026 13:30
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.

1 participant