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 #1078

Merged
merged 1 commit into from
Apr 13, 2022
Merged

Upcoming Release Changes #1078

merged 1 commit into from
Apr 13, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 12, 2022

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 master, this PR will be updated.

Releases

@graphql-yoga/[email protected]

Minor Changes

  • 1d4fe42: new option fetchAPI has been added;

    User can provide a custom Fetch implementation to Yoga like below;

    import { fetch, Request, Response, ReadableStream } from 'my-ponyfill'
    createServer({
      fetchAPI: {
        fetch,
        Request,
        Response,
        ReadableStream,
      },
    })

Patch Changes

  • 1d4fe42: Avoid extra usages of URL constructor which has some performance implications on Node

@graphql-yoga/[email protected]

Minor Changes

[email protected]

Patch Changes

@graphql-yoga/[email protected]

Patch Changes

  • 1d4fe42: Use node-fetch by default instead of undici. As discussed in fetch() performance parity nodejs/undici#1203, undici's fetch implementation has some performance issues compared to node-fetch v2.

    So Yoga now uses node-fetch by default which doesn't affect the existing users. User can configure cross-undici-fetch to revert back this behavior;

    import { create } from 'cross-undici-fetch'
    
    createServer({
      fetchAPI: create({ useNodeFetch: false }),
    })
  • Updated dependencies [1d4fe42]

  • Updated dependencies [1d4fe42]

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@ardatan ardatan merged commit 8942e6b into master Apr 13, 2022
@ardatan ardatan deleted the changeset-release/master branch April 13, 2022 02:17
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