Skip to Content
Yoga
Changelogssubscription

@graphql-yoga/subscription

5.0.3

Patch Changes

5.0.2

Patch Changes

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

5.0.1

Patch Changes

5.0.0

Major Changes

Patch Changes

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

4.0.0

Major Changes

Patch Changes

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

3.1.0

Minor Changes

  • #2291 fe4a2aca Thanks @n1ru4l! - Support returning a Promise from the filter utility function.

    const applyFilter = filter(value => Promise.resolve(value > 3))

3.0.0

Major Changes

Patch Changes

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

3.0.0-next.0

Major Changes

Patch Changes

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

2.2.3

Patch Changes

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

2.2.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.

2.2.1

Patch Changes

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

2.2.0

Minor Changes

  • d024757: Use @graphql-yoga/typed-event-target as a dependency for the EventTarget implementation.

Patch Changes

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

2.1.0

Minor Changes

2.0.0

Major Changes

  • 3e771f5: re-export Repeater from @repeaterjs/repeater
  • e99ec3e: initial subscription package implementation
  • f856b58: export PubSub type
  • 3e771f5: add pipe helper function
  • f856b58: allow any AsyncIterable source for the map and filter operator
  • dcaea56: add missing tslib dependency

Patch Changes

  • 8d03bee: fix publishing values when using the id argument for granular resource based subscriptions
  • de1693e: trigger release
  • f856b58: correctly terminate AsyncIterable returned from map/filter when the source stream ends

0.0.1-beta.1

Patch Changes

  • 8d03bee: fix publishing values when using the id argument for granular resource based subscriptions

0.0.1-beta.0

Patch Changes

  • de1693e: trigger release

0.1.0-alpha.2

Minor Changes

  • dcaea56: add missing tslib dependency

0.1.0-alpha.1

Minor Changes

  • 3e771f5: re-export Repeater from @repeaterjs/repeater
  • f856b58: export PubSub type
  • 3e771f5: add pipe helper function
  • f856b58: allow any AsyncIterable source for the map and filter operator

Patch Changes

  • f856b58: correctly terminate AsyncIterable returned from map/filter when the source stream ends

0.1.0-alpha.0

Minor Changes

  • e99ec3e: initial subscription package implementation