@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
79b0e8bThanks @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. SetmaxRequestBodySize: falseincreateYogato 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
7bff35cThanks @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
- #3300
fdd902cThanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@graphql-yoga/typed-event-target@workspace:^↗︎ (from^3.0.0, independencies)
- Updated dependency
3.0.0
Major Changes
- #3063
01430e03Thanks @EmrysMyrddin! - Breaking Change: Drop support of Node.js 16
Minor Changes
- #3037
8d143e4eThanks @Akryum! - AddedserializeMessageanddeserializeMessageoptions tocreateRedisEventTarget
Patch Changes
- Updated dependencies
[
01430e03]:- @graphql-yoga/typed-event-target@3.0.0
2.0.0
Major Changes
-
#2767
4228c1d5Thanks @renovate! - Drop support for Node.js 14. Require Node.js>=16. -
#2767
4228c1d5Thanks @renovate! - Events without an event payload will now always havenullas the event payload instead ofundefined.
Patch Changes
1.0.0
Major Changes
- #1761
b2407c6aThanks @ardatan! - - DropTypedEventin favor ofCustomEvent- Use
@whatwg-node/eventsas a ponyfill instead of@whatwg-node/fetch
- Use
Patch Changes
- Updated dependencies
[
b2407c6a]:- @graphql-yoga/typed-event-target@1.0.0
1.0.0-next.0
Major Changes
- #1761
b2407c6aThanks @ardatan! - BREAKING:- Drop
TypedEventin favor ofCustomEvent - Use
@whatwg-node/eventsas a ponyfill instead of@whatwg-node/fetch
- Drop
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
moduleResolutionnode16ornodenext - Updated dependencies [eecf24c]
- @graphql-yoga/typed-event-target@0.1.1
0.1.2
Patch Changes
- 3363de2: Use
import type { Foo } from '@pkg'instead ofimport { 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