On this page

@graphql-yoga/redis-event-target

Changelog for @graphql-yoga/redis-event-target: every release with its changes and the pull requests behind them.

4.0.0

Major 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

  • Updated dependencies [79b0e8b]:
    • @graphql-yoga/typed-event-target@4.0.0

3.0.4

Patch Changes

  • #4577 7bff35c Thanks @egoodwinx! - Add homepage and bugs.url to package.json files

  • Updated dependencies [7bff35c]:

    • @graphql-yoga/typed-event-target@3.0.3

3.0.3

Patch Changes

  • Updated dependencies [d4cbae1]:
    • @graphql-yoga/typed-event-target@3.0.2

3.0.2

Patch Changes

  • Updated dependencies [57e7701]:
    • @graphql-yoga/typed-event-target@3.0.1

3.0.1

Patch Changes

3.0.0

Major Changes

Minor Changes

  • #3037 8d143e4e Thanks @Akryum! - Added serializeMessage and deserializeMessage options to createRedisEventTarget

Patch Changes

  • Updated dependencies [01430e03]:
    • @graphql-yoga/typed-event-target@3.0.0

2.0.0

Major Changes

  • #2767 4228c1d5 Thanks @renovate! - Drop support for Node.js 14. Require Node.js >=16.

  • #2767 4228c1d5 Thanks @renovate! - Events without an event payload will now always have null as the event payload instead of undefined.

Patch Changes

  • Updated dependencies [4228c1d5, 4228c1d5]:
    • @graphql-yoga/typed-event-target@2.0.0

1.0.0

Major Changes

Patch Changes

  • Updated dependencies [b2407c6a]:
    • @graphql-yoga/typed-event-target@1.0.0

1.0.0-next.0

Major Changes

Patch Changes

  • Updated dependencies [b2407c6a]:
    • @graphql-yoga/typed-event-target@1.0.0-next.0

0.1.3

Patch Changes

  • eecf24c: Fix CommonJS TypeScript resolution with moduleResolution node16 or nodenext
  • Updated dependencies [eecf24c]
    • @graphql-yoga/typed-event-target@0.1.1

0.1.2

Patch Changes

  • 3363de2: Use import type { Foo } from '@pkg' instead of import { type Foo } from '@pkg' as many tools don’t yet support this syntax.

0.1.1

Patch Changes

  • ebddc71: Correctly handle empty (‘undefined’) payloads.

0.1.0

Minor Changes

  • d024757: Initial release of this package. It contains an EventTarget implementation based upon Redis Pub/Sub using ioredis.

Patch Changes

  • Updated dependencies [d024757]
    • @graphql-yoga/typed-event-target@0.1.0