- [BREAKING] Replace
iterall
use with nativeSymbol.asyncIterator
.PubSubEngine.asyncIterator
is nowPubSubEngine.asyncIterableIterator
.
@n1ru4l in #232 - Add an optional generic type map to
PubSub
.
@cursorsdottsx in #245 - Support
readonly
arrays of event names.
@rh389 in #234 - Support returning a Promise of an
AsyncIterator
as thewithFilter
resolver function.
@maclockard in #220 withFilter
TypeScript improvements.
@HofmannZ in #230withFilter
returnsAsyncIterableIterator
for compatibility with Apollo Server subscriptions.
@tninesling in #276
- Support
graphql@16
; do not supportgraphql
older than 15.7.2.
- Fix memory leak in
withFilter
. PR #209
- Add
graphql@15
topeerDependencies
.
- Fix #132 - withFilter was previously always passing undefined as its first argument to the filterFn
- Partially attempt to fix #143 - try to reduce occurrence of certain memory leaks with the built-in PubSubEngine implementation
- Replaced
eventEmitterAsyncIterator
with default genericAsyncIterator
namedPubSubAsyncIterator
.extends PubSubEngine
automatically uses generic implementation. No breaking changes for those who continue to useimplements PubSubEngine
. See PR #78.
- BREAKING CHANGE: Changed return type of
publish
.
@grantwwu in #162 - Bump versions of various devDependencies to fix security issues, use
newer tslint config.
@grantwwu in #163 - Allows
graphql
14 as a peer dep, forcesgraphql
14 as a dev dep, and has been updated to use@types/graphql
14.
@hwillson in #172
- Bump iterall version
- Add
graphql@0.13
topeerDependencies
.
- Add
graphql@0.12
topeerDependencies
.
- FilterFn can return a Promise
- Allow passing in a custom
EventEmitter
toPubSub
- Better define
withFilter
return type PR #111
- Require iterall ^1.1.3 to address unhandled exceptions
- Require iterall ^1.1.2 to address memory leak [Issue #97] (#97)
- Remove
@types/graphql
dependency. [PR #105] (#105)
withFilter
now called with(rootValue, args, context, info)
[PR #103] (#103)
- BREAKING CHANGE: Removed deprecated code. [PR #104] (#104)
- BREAKING CHANGE: Minimum GraphQL version bumped to 0.10.X. [PR #104] (#104)
- Properly propagate return() and throw() through withFilter PR #74
- Fixed issue with
withFilter
causing to use the same iterator PR #69
- Fixed exports issue with TypeScript PR #65
- Added
asyncIterator(channelName: string)
toPubSub
implementation PR #60 - Added
withFilter
to allowAsyncIterator
filtering PR #60 - Deprecate
SubscriptionManager
PR #60 - Fixed
withFilter
issue caused multiple subscribers to execute with the same AsyncIterator PR #69
- Allow
setupFunctions
to be async (returnPromise
) (#41) - Refactor promise chaining in pubsub engine (#41)
- Fixed a possible bug with managing subscriptions internally (#29)
- Return the
Promise
fromonMessage
of PubSub engine (#33)
- update
graphql
dependency to 0.9.0
- made
graphql
a peer dependency and updated it to 0.8.2
- Fixed a bug that caused subscriptions without operationName to fail