Releases: apollographql/graphql-subscriptions
Releases · apollographql/graphql-subscriptions
3.0.0
Breaking Changes
- Replaced iterall with native Symbol.asyncIterator.
PubSubEngine.asyncIterator
is nowPubSubEngine.asyncIterableIterator
by @n1ru4l in #232
Other Changes
- Add TypeScript support to withFilter by @HofmannZ in #230
- Support readonly arrays as event names by @robhogan in #234
- Allow resolver functions to be async by @maclockard in #220
- Make
withFilter
output type compatible with Apollo Server subscriptions by @tninesling in #276
Full Changelog: v2.0.0...v3.0.0
2.0.0
1.1.0
- 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.