1 | # Changelog
|
2 |
|
3 | ### 1.2.1
|
4 |
|
5 | - Fix memory leak in `withFilter`. [PR #209](https://github.com/apollographql/graphql-subscriptions/pull/209)
|
6 |
|
7 | ### 1.2.0
|
8 |
|
9 | - Add `graphql@15` to `peerDependencies`.
|
10 |
|
11 | ### 1.1.0
|
12 |
|
13 | - Fix [#132](https://github.com/apollographql/graphql-subscriptions/issues/132) - withFilter was previously always passing undefined as its first argument to the filterFn
|
14 | - Partially attempt to fix [#143](https://github.com/apollographql/graphql-subscriptions/issues/143) - try to reduce occurrence of certain memory leaks with the built-in PubSubEngine implementation
|
15 | - Replaced `eventEmitterAsyncIterator` with default generic `AsyncIterator` named `PubSubAsyncIterator`. `extends PubSubEngine` automatically uses generic implementation. No breaking changes for those who continue to use `implements PubSubEngine`. See PR [#78](https://github.com/apollographql/graphql-subscriptions/pull/78).
|
16 |
|
17 | ### 1.0.0
|
18 |
|
19 | - BREAKING CHANGE: Changed return type of `publish`. <br/>
|
20 | [@grantwwu](https://github.com/grantwwu) in [#162](https://github.com/apollographql/graphql-subscriptions/pull/162)
|
21 | - Bump versions of various devDependencies to fix security issues, use
|
22 | newer tslint config. <br/>
|
23 | [@grantwwu](https://github.com/grantwwu) in [#163](https://github.com/apollographql/graphql-subscriptions/pull/163)
|
24 | - Allows `graphql` 14 as a peer dep, forces `graphql` 14 as a dev dep, and
|
25 | has been updated to use `@types/graphql` 14. <br/>
|
26 | [@hwillson](https://github.com/hwillson) in [#172](https://github.com/apollographql/graphql-subscriptions/pull/172)
|
27 |
|
28 | ### 0.5.8
|
29 | - Bump iterall version
|
30 |
|
31 | ### 0.5.7
|
32 | - Add `graphql@0.13` to `peerDependencies`.
|
33 |
|
34 | ### 0.5.6
|
35 | - Add `graphql@0.12` to `peerDependencies`.
|
36 |
|
37 | ### 0.5.5
|
38 | - FilterFn can return a Promise<boolean>
|
39 | - Allow passing in a custom `EventEmitter` to `PubSub`
|
40 |
|
41 | ### 0.5.4
|
42 | - Better define `withFilter` return type [PR #111](https://github.com/apollographql/graphql-subscriptions/pull/111)
|
43 |
|
44 | ### 0.5.3
|
45 | - Require iterall ^1.1.3 to address unhandled exceptions
|
46 |
|
47 | ### 0.5.2
|
48 | - Require iterall ^1.1.2 to address memory leak [Issue #97] (https://github.com/apollographql/graphql-subscriptions/issues/97)
|
49 | - Remove `@types/graphql` dependency. [PR #105] (https://github.com/apollographql/graphql-subscriptions/pull/105)
|
50 |
|
51 | ### 0.5.1
|
52 | - `withFilter` now called with `(rootValue, args, context, info)` [PR #103] (https://github.com/apollographql/graphql-subscriptions/pull/103)
|
53 |
|
54 | ### 0.5.0
|
55 | - BREAKING CHANGE: Removed deprecated code. [PR #104] (https://github.com/apollographql/graphql-subscriptions/pull/104)
|
56 | - BREAKING CHANGE: Minimum GraphQL version bumped to 0.10.X. [PR #104] (https://github.com/apollographql/graphql-subscriptions/pull/104)
|
57 |
|
58 | ### 0.4.4
|
59 | - Avoid infinite loop after the last consumer unsubscribes, [Issue #81](https://github.com/apollographql/graphql-subscriptions/issues/81) [PR #84](https://github.com/apollographql/graphql-subscriptions/pull/84)
|
60 |
|
61 | ### 0.4.3
|
62 | - Properly propagate return() and throw() through withFilter [PR #74](https://github.com/apollographql/graphql-subscriptions/pull/74)
|
63 |
|
64 | ### 0.4.2
|
65 | - Fixed issue with `withFilter` causing to use the same iterator [PR #69](https://github.com/apollographql/graphql-subscriptions/pull/69)
|
66 |
|
67 | ### 0.4.1
|
68 | - Fixed exports issue with TypeScript [PR #65](https://github.com/apollographql/graphql-subscriptions/pull/65)
|
69 |
|
70 | ### 0.4.0
|
71 | - Added `asyncIterator(channelName: string)` to `PubSub` implementation [PR #60](https://github.com/apollographql/graphql-subscriptions/pull/60)
|
72 | - Added `withFilter` to allow `AsyncIterator` filtering [PR #60](https://github.com/apollographql/graphql-subscriptions/pull/60)
|
73 | - Deprecate `SubscriptionManager` [PR #60](https://github.com/apollographql/graphql-subscriptions/pull/60)
|
74 | - Fixed `withFilter` issue caused multiple subscribers to execute with the same AsyncIterator [PR #69](https://github.com/apollographql/graphql-subscriptions/pull/69)
|
75 |
|
76 | ### 0.3.1
|
77 | - Add support for `defaultValue`, fixes [#49](https://github.com/apollographql/graphql-subscriptions/issues/49) (https://github.com/apollographql/graphql-subscriptions/pull/50)
|
78 |
|
79 | ### 0.3.0
|
80 | - Allow `setupFunctions` to be async (return `Promise`) (https://github.com/apollographql/graphql-subscriptions/pull/41)
|
81 | - Refactor promise chaining in pubsub engine (https://github.com/apollographql/graphql-subscriptions/pull/41)
|
82 | - Fixed a possible bug with managing subscriptions internally (https://github.com/apollographql/graphql-subscriptions/pull/29)
|
83 | - Return the `Promise` from `onMessage` of PubSub engine (https://github.com/apollographql/graphql-subscriptions/pull/33)
|
84 |
|
85 | ### 0.2.3
|
86 | - update `graphql` dependency to 0.9.0
|
87 |
|
88 | ### 0.2.2
|
89 | - made `graphql` a peer dependency and updated it to 0.8.2
|
90 |
|
91 | ### v 0.2.1
|
92 | - Fixed a bug that caused subscriptions without operationName to fail
|