On this page

@graphql-yoga/render-apollo-sandbox

Changelog for @graphql-yoga/render-apollo-sandbox: every release with its changes and the pull requests behind them.

1.0.0

Minor Changes

  • #4574 79b0e8b Thanks @egoodwinx! - ### Breaking Changes

    • Node: minimum supported version is now Node 22. Node 18 and 20 are no longer supported. Future releases will only support Node >=22.
    • GraphQL: minimum supported version is now GraphQL 16. GraphQL 14 and 15 are no longer supported.
    • Request body parsing: Yoga now limits request bodies to 25,000,000 bytes by default. Enforcing this limit streams the body through a byte counter, making POST body parsing asynchronous even for an in-memory body. As a result, yoga.fetch() can return a Promise where it previously returned a synchronous Response, even when all resolvers and plugins are synchronous.

    Migration

    • If you’re on Node 18/20, upgrade to Node 22 or later before upgrading this package.
    • If you’re on graphql 14/15, upgrade to graphql 16 or 17 first.
    • Await yoga.fetch() and response body parsing instead of relying on synchronous results. Set maxRequestBodySize: false in createYoga to disable the body-size limit and preserve synchronous parsing for in-memory bodies, but only if you enforce an appropriate request-body limit elsewhere.

Patch Changes

0.10.6

Patch Changes

  • Updated dependencies [9294289]:
    • graphql-yoga@5.24.6

0.10.5

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.24.5

0.10.4

Patch Changes

  • Updated dependencies [d8b8860]:
    • graphql-yoga@5.24.4

0.10.3

Patch Changes

  • Updated dependencies [c6febdc]:
    • graphql-yoga@5.24.3

0.10.2

Patch Changes

  • Updated dependencies [c08efde]:
    • graphql-yoga@5.24.2

0.10.1

Patch Changes

  • Updated dependencies [c6a9aa4]:
    • graphql-yoga@5.24.1

0.10.0

Patch Changes

0.9.0

Patch Changes

0.8.0

Minor Changes

  • #4545 94ebe5b Thanks @egoodwinx! - Update to support graphql-js 17

    Bump package versions, fix expected typing, and update compatability with subscribe.

Patch Changes

  • Updated dependencies [94ebe5b]:
    • graphql-yoga@5.22.0

0.7.3

Patch Changes

  • Updated dependencies [04014d2]:
    • graphql-yoga@5.21.3

0.7.2

Patch Changes

  • Updated dependencies [39b55ba]:
    • graphql-yoga@5.21.2

0.7.1

Patch Changes

  • Updated dependencies [4b43efd]:
    • graphql-yoga@5.21.1

0.7.0

Patch Changes

  • Updated dependencies [e263f7e]:
    • graphql-yoga@5.21.0

0.6.0

Patch Changes

  • Updated dependencies [93f1dc0]:
    • graphql-yoga@5.20.0

0.5.0

Patch Changes

  • Updated dependencies [7e0aaf6]:
    • graphql-yoga@5.19.0

0.4.0

Minor Changes

  • #4327 8998d9b Thanks @mario-jerkovic! - Breaking;

    includeCookies in the options has been removed, use initialState.includeCookies instead.

Patch Changes

0.3.0

Patch Changes

  • #4312 3eabd17 Thanks @ardatan! - - Add target option that allows you to choose which HTML element you want to render Apollo Sandbox
    • Set it to #embedded-sandbox by default
    • Use GraphiQLRenderer type from graphql-yoga package to prevent typing regressions
    • Fix renderGraphiQL option type
    • Set initialEndpoint based on graphiqlOpts.endpoint if provided
    • Set includeCookies based on graphiqlOpts.credentials if provided
    • Fix margin and size issues in the rendered HTML
  • Updated dependencies [3eabd17]:
    • graphql-yoga@5.18.0

0.2.1

Patch Changes

  • Updated dependencies [c27f550]:
    • graphql-yoga@5.17.1

0.2.0

Patch Changes

0.1.2

Patch Changes

  • Updated dependencies [ba38629]:
    • graphql-yoga@5.16.2

0.1.1

Patch Changes

0.1.0

Patch Changes