@thi.ng/rstream 6.0.21 → 7.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/CHANGELOG.md +49 -620
  2. package/README.md +70 -52
  3. package/api.d.ts +2 -4
  4. package/api.js +0 -3
  5. package/{subs/asidechain.d.ts → asidechain.d.ts} +2 -2
  6. package/{subs/asidechain.js → asidechain.js} +1 -1
  7. package/{from/atom.d.ts → atom.d.ts} +2 -3
  8. package/{from/atom.js → atom.js} +8 -4
  9. package/{subs/bisect.d.ts → bisect.d.ts} +2 -2
  10. package/{subs/bisect.js → bisect.js} +3 -3
  11. package/{utils/checks.d.ts → checks.d.ts} +2 -1
  12. package/{utils/checks.js → checks.js} +3 -1
  13. package/{subs/debounce.d.ts → debounce.d.ts} +2 -2
  14. package/{subs/debounce.js → debounce.js} +7 -4
  15. package/defworker.d.ts +3 -0
  16. package/defworker.js +4 -0
  17. package/{from/event.d.ts → event.d.ts} +2 -2
  18. package/{from/event.js → event.js} +4 -4
  19. package/forkjoin.d.ts +2 -2
  20. package/forkjoin.js +8 -3
  21. package/idgen.d.ts +10 -0
  22. package/idgen.js +9 -0
  23. package/index.d.ts +35 -33
  24. package/index.js +35 -33
  25. package/internal/remove.d.ts +4 -0
  26. package/internal/remove.js +7 -0
  27. package/{from/interval.d.ts → interval.d.ts} +2 -3
  28. package/{from/interval.js → interval.js} +8 -5
  29. package/{from/iterable.d.ts → iterable.d.ts} +3 -4
  30. package/{from/iterable.js → iterable.js} +7 -7
  31. package/logger.d.ts +4 -0
  32. package/logger.js +3 -0
  33. package/{stream-merge.d.ts → merge.d.ts} +3 -3
  34. package/{stream-merge.js → merge.js} +7 -10
  35. package/metastream.d.ts +3 -3
  36. package/metastream.js +5 -5
  37. package/{from/object.d.ts → object.d.ts} +2 -2
  38. package/{from/object.js → object.js} +13 -6
  39. package/package.json +140 -31
  40. package/{subs/post-worker.d.ts → post-worker.d.ts} +1 -1
  41. package/{subs/post-worker.js → post-worker.js} +5 -4
  42. package/{from/promise.d.ts → promise.d.ts} +2 -3
  43. package/{from/promise.js → promise.js} +5 -5
  44. package/{from/promises.d.ts → promises.d.ts} +1 -1
  45. package/{from/promises.js → promises.js} +4 -4
  46. package/pubsub.d.ts +3 -3
  47. package/pubsub.js +12 -8
  48. package/{from/raf.d.ts → raf.d.ts} +2 -3
  49. package/{from/raf.js → raf.js} +6 -6
  50. package/{subs/resolve.d.ts → resolve.d.ts} +1 -1
  51. package/{subs/resolve.js → resolve.js} +5 -4
  52. package/{subs/sidechain-partition.d.ts → sidechain-partition.d.ts} +4 -4
  53. package/{subs/sidechain-partition.js → sidechain-partition.js} +7 -7
  54. package/{subs/sidechain-toggle.d.ts → sidechain-toggle.d.ts} +3 -3
  55. package/{subs/sidechain-toggle.js → sidechain-toggle.js} +4 -4
  56. package/stream.d.ts +2 -2
  57. package/stream.js +6 -5
  58. package/subscription.d.ts +4 -3
  59. package/subscription.js +26 -12
  60. package/{stream-sync.d.ts → sync.d.ts} +4 -4
  61. package/{stream-sync.js → sync.js} +15 -12
  62. package/{subs/timeout.d.ts → timeout.d.ts} +2 -2
  63. package/{subs/timeout.js → timeout.js} +4 -4
  64. package/{subs/trace.d.ts → trace.d.ts} +1 -1
  65. package/{subs/trace.js → trace.js} +0 -0
  66. package/{subs/transduce.d.ts → transduce.d.ts} +1 -1
  67. package/{subs/transduce.js → transduce.js} +1 -1
  68. package/trigger.d.ts +2 -2
  69. package/trigger.js +3 -3
  70. package/{subs/tunnel.d.ts → tunnel.d.ts} +1 -1
  71. package/{subs/tunnel.js → tunnel.js} +7 -6
  72. package/tween.d.ts +5 -5
  73. package/tween.js +8 -6
  74. package/{from/view.d.ts → view.d.ts} +3 -3
  75. package/{from/view.js → view.js} +4 -4
  76. package/{from/worker.d.ts → worker.d.ts} +2 -3
  77. package/{from/worker.js → worker.js} +7 -7
  78. package/lib/index.js +0 -1148
  79. package/lib/index.js.map +0 -1
  80. package/lib/index.umd.js +0 -1
  81. package/lib/index.umd.js.map +0 -1
  82. package/utils/idgen.d.ts +0 -4
  83. package/utils/idgen.js +0 -3
  84. package/utils/worker.d.ts +0 -3
  85. package/utils/worker.js +0 -4
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [6.0.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@6.0.20...@thi.ng/rstream@6.0.21) (2021-09-03)
6
+ ## [7.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@7.0.3...@thi.ng/rstream@7.0.4) (2021-10-25)
7
7
 
8
8
  **Note:** Version bump only for package @thi.ng/rstream
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [6.0.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@6.0.19...@thi.ng/rstream@6.0.20) (2021-08-22)
14
+ ## [7.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@7.0.2...@thi.ng/rstream@7.0.3) (2021-10-15)
15
15
 
16
16
  **Note:** Version bump only for package @thi.ng/rstream
17
17
 
@@ -19,660 +19,89 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- ## [6.0.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@6.0.13...@thi.ng/rstream@6.0.14) (2021-08-08)
22
+ ## [7.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@7.0.1...@thi.ng/rstream@7.0.2) (2021-10-15)
23
23
 
24
+ **Note:** Version bump only for package @thi.ng/rstream
24
25
 
25
- ### Bug Fixes
26
-
27
- * **rstream:** fix [#305](https://github.com/thi-ng/umbrella/issues/305), metaStream() factory arg type ([2bc7bff](https://github.com/thi-ng/umbrella/commit/2bc7bff2eff9331d3a52830d0275d47fc7c59e78))
28
-
29
-
30
-
31
-
32
-
33
- # [6.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@5.1.7...@thi.ng/rstream@6.0.0) (2021-03-12)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * **rstream:** fix wrong imports ([ae4866a](https://github.com/thi-ng/umbrella/commit/ae4866adb52800af4dee30392d8482befd8a9435))
39
- * **rstream:** minor update/revert sub ctor args ([c651421](https://github.com/thi-ng/umbrella/commit/c651421e7809df1a37103628e54d3e21161e8c0a))
40
- * **rstream:** PubSub dispatch & error handling ([cca0f34](https://github.com/thi-ng/umbrella/commit/cca0f34568c9e1a6c30a6a423e7469a477e5a76d))
41
- * **rstream:** update failing tests ([ae591a1](https://github.com/thi-ng/umbrella/commit/ae591a1a8a8647768d38b783c094ae1bbe94a278))
42
-
43
-
44
- ### Features
45
-
46
- * **rstream:** [#281](https://github.com/thi-ng/umbrella/issues/281) update Subscription error/teardown logic ([a9e4040](https://github.com/thi-ng/umbrella/commit/a9e40407d0c0ec4e3ffdd3983d70a9e40aec2356))
47
- * **rstream:** add .transform() error handler opt ([#276](https://github.com/thi-ng/umbrella/issues/276)) ([22c6f7c](https://github.com/thi-ng/umbrella/commit/22c6f7cb25516359690811c39a184b0e9838ea02))
48
- * **rstream:** add generic type for PubSub topics ([08adc5f](https://github.com/thi-ng/umbrella/commit/08adc5f2f6c719cdda0a8eb4e5548bf6c5c1cf75))
49
- * **rstream:** add ISubscription interface ([98edee0](https://github.com/thi-ng/umbrella/commit/98edee0bc84763547a1c06394d78456565fbc9de))
50
- * **rstream:** add PubSub.transformTopic() ([123e15d](https://github.com/thi-ng/umbrella/commit/123e15d84557990c682ed80f9f97eafe94c09b43))
51
- * **rstream:** add sidechainPartitionRAF() ([a101626](https://github.com/thi-ng/umbrella/commit/a10162625836d5392199d34149c281f9cc47a572))
52
- * **rstream:** add StreamSource error handling ([73023b6](https://github.com/thi-ng/umbrella/commit/73023b6979dd0cf4b95c6d072bfbda8c12ba9438))
53
- * **rstream:** add Sub2 WIP impl ([de4149b](https://github.com/thi-ng/umbrella/commit/de4149bc0504c4be9faef8b467eee74ecf9caa05))
54
- * **rstream:** further simplify ISubscribable & impls ([9e290fe](https://github.com/thi-ng/umbrella/commit/9e290fe2e3813d0096eacd28d700f9000155bc5e))
55
- * **rstream:** log error to console ([594d806](https://github.com/thi-ng/umbrella/commit/594d806fbc2176d3458d80e390baa0cb4b0d7b60)), closes [#125](https://github.com/thi-ng/umbrella/issues/125) [#276](https://github.com/thi-ng/umbrella/issues/276)
56
- * **rstream:** update DONE state & teardown logic ([a8a8c44](https://github.com/thi-ng/umbrella/commit/a8a8c44ed8a42b91f92fe9040cb1ce28b17113e7))
57
- * **rstream:** update error handler sig ([#281](https://github.com/thi-ng/umbrella/issues/281)) ([015380a](https://github.com/thi-ng/umbrella/commit/015380ac20e342f83757556e158320e23a42502a))
58
- * **rstream:** update ITransformable.transform() ([fe0eaa9](https://github.com/thi-ng/umbrella/commit/fe0eaa9f145d627dce67acfe2650c38222121ad1))
59
- * **rstream:** update PubSub ([fa87168](https://github.com/thi-ng/umbrella/commit/fa87168ffbb683aed495b7786a4d100510d29c04))
60
- * **rstream:** update Sub2, State enum ([db0ab34](https://github.com/thi-ng/umbrella/commit/db0ab34fcea8869d9c85c51f5faacf1e1f6bb0ec))
61
- * **rstream:** update Subscription FSM, add/update tests ([ea1d0c1](https://github.com/thi-ng/umbrella/commit/ea1d0c1fe2132cf00e2f2851cb770007a5965c13))
62
-
63
-
64
- ### Performance Improvements
65
-
66
- * **rstream:** revert to storing child subs in array ([014bf20](https://github.com/thi-ng/umbrella/commit/014bf20ee3fdfa31377a08eaa5dc8fe211cadeac))
67
-
68
-
69
- ### BREAKING CHANGES
70
-
71
- * **rstream:** remove `.subscribe(sub, xform, opts)` signature.
72
- Transducer now supplied via `xform` key in `opts` (or use `.transform()`
73
- instead of `.subscribe()`)
74
-
75
- - further simplify `Subscription.subscribe()` / `.transform()`
76
- - update Subscription ctor args
77
- - make `.subscribe()` child subs partial again
78
- - remove temporary & obsolete again `DUMMY` subscriber
79
- - add docs
80
- - update tests
81
- * **rstream:** replace transducer only version of
82
- `PubSub.subscribeTopic()` with new `.transformTopic()`.
83
- Similarly to 22c6f7cb2, `.subscribeTopic()` subs also need to
84
- provide at least a `next` key (for typechecking only)
85
-
86
- - add .transformTopic() w/ opt error handling support
87
- - TODO multi-transducer overrides for .transformTopic()
88
- * **rstream:** update ISubscribable contract, remove transducer
89
- only version of `.subscribe()`, MUST provide dummy sub w/ transducer
90
- OR (better) use `.transform()` instead (which also more clearly
91
- communicates intention...)
92
-
93
- - another breaking change side effect for `.subscribe()`:
94
- `next()` handlers MUST be provided now in first arg (child sub), this
95
- is NOT because they're mandatory now, but TS won't be able to
96
- correctly infer arg types when using `Partial<ISubscriber<T>>`
97
- - add `DUMMY` subscriber constant w/ empty `next() {}`
98
- - simplify internal `.subscribe()` logic
99
- - add `WithErrorHandlerOpts` interface
100
- - update `.transform()` & `.map()`: add error handling support
101
-
102
-
103
-
104
-
105
-
106
- ## [5.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@5.1.1...@thi.ng/rstream@5.1.2) (2021-02-22)
107
-
108
-
109
- ### Bug Fixes
110
-
111
- * **rstream:** add auto IDs for bisect/debounce() ([89b1def](https://github.com/thi-ng/umbrella/commit/89b1def89f34723ebd1bc1c188b0166293eac6cc))
112
-
113
-
114
-
115
-
116
-
117
- # [5.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@5.0.15...@thi.ng/rstream@5.1.0) (2021-01-22)
118
-
119
-
120
- ### Features
121
-
122
- * **rstream:** add CommonOpts for .map() ([6324123](https://github.com/thi-ng/umbrella/commit/63241231a93c34fa5fb834706f26e024adf3100b))
123
-
124
-
125
-
126
-
127
-
128
- ## [5.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@5.0.3...@thi.ng/rstream@5.0.4) (2020-09-13)
129
-
130
-
131
- ### Bug Fixes
132
-
133
- * **rstream:** update PubSub.subscribeTopic(), fix [#248](https://github.com/thi-ng/umbrella/issues/248) ([3e2240a](https://github.com/thi-ng/umbrella/commit/3e2240ababeee342857eead64c491789cc97b960))
134
-
135
-
136
-
137
-
138
-
139
- # [5.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.6.5...@thi.ng/rstream@5.0.0) (2020-07-28)
140
-
141
-
142
- ### Features
143
-
144
- * **rstream:** fix/update StreamSync type inference ([c9d983d](https://github.com/thi-ng/umbrella/commit/c9d983dec69f508efb8cd66f377f57c78489abcc))
145
-
146
-
147
- ### BREAKING CHANGES
148
-
149
- * **rstream:** better StreamSync generics handling/inference &
150
- updated StreamSyncOpts
151
-
152
- - `src` opt (input sources) MUST be given as object now
153
- (specifying inputs as array not supported anymore, use `autoObj()`
154
- from transducers package to convert array into auto-labeled object)
155
- - update StreamSync inference rules to better determine result type
156
- - simplify .addAll()
157
- - generics now *usually* don't need to manually be specified anymore
158
- (with some exceptions)
159
- - update tests
160
-
161
-
162
-
163
-
164
-
165
- # [4.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.5.1...@thi.ng/rstream@4.6.0) (2020-07-08)
166
-
167
-
168
- ### Features
169
-
170
- * **rstream:** add Subscription.map() syntax sugar ([a00485e](https://github.com/thi-ng/umbrella/commit/a00485e93600783691d6eaf6088d6625fb26630c))
171
-
172
-
173
-
174
-
175
-
176
- # [4.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.4.1...@thi.ng/rstream@4.5.0) (2020-07-02)
177
-
178
-
179
- ### Features
180
-
181
- * **rstream:** add reactive(), update readme ([e508faa](https://github.com/thi-ng/umbrella/commit/e508faa2fa110ddc812e8f3d750a6d7060ee57d6))
182
-
183
-
184
-
185
-
186
-
187
- # [4.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.3.5...@thi.ng/rstream@4.4.0) (2020-06-14)
188
-
189
-
190
- ### Features
191
-
192
- * **rstream:** add debounce() sub & tests ([9c53bb4](https://github.com/thi-ng/umbrella/commit/9c53bb4faffee0a06046de64325f0b4ddeedd3a0))
193
- * **rstream:** add emitLast metastream option ([1073735](https://github.com/thi-ng/umbrella/commit/107373574cd6f15531e6210c016cde1a9939e040))
194
- * **rstream:** add error handling for transducer phase ([609424e](https://github.com/thi-ng/umbrella/commit/609424e6b332e5f2df89d07b6b5af02fc5b4ba99))
195
-
196
-
197
-
198
-
199
-
200
- ## [4.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.3.0...@thi.ng/rstream@4.3.1) (2020-05-16)
201
-
202
-
203
- ### Bug Fixes
204
-
205
- * **rstream:** initial default val handling in fromObject() ([25117e3](https://github.com/thi-ng/umbrella/commit/25117e3e6fe145c2a1c30fa5a97d997e1929900c))
206
-
207
-
208
-
209
-
210
-
211
- # [4.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.2.0...@thi.ng/rstream@4.3.0) (2020-05-16)
212
-
213
-
214
- ### Features
215
-
216
- * **rstream:** extend fromObject() features/opts ([975f74c](https://github.com/thi-ng/umbrella/commit/975f74c88ccd8ca9560505f0de74cc8d28c05ac0))
217
-
218
-
219
-
220
-
221
-
222
- # [4.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.1.0...@thi.ng/rstream@4.2.0) (2020-05-15)
223
-
224
-
225
- ### Features
226
-
227
- * **rstream:** add fromObject(), add docs & tests ([5e854eb](https://github.com/thi-ng/umbrella/commit/5e854eb64c28eac2221b656db528b819449bdcbd))
228
- * **rstream:** update fromObject(), add StreamObjOpts, update docs ([f3ca3b6](https://github.com/thi-ng/umbrella/commit/f3ca3b6fef4568cb5c8992166e1db931c173ffca))
229
-
230
-
231
-
232
-
233
-
234
- # [4.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.0.8...@thi.ng/rstream@4.1.0) (2020-05-14)
235
-
236
-
237
- ### Features
238
-
239
- * **rstream:** [#221](https://github.com/thi-ng/umbrella/issues/221), update StreamSync input removal ([52ee040](https://github.com/thi-ng/umbrella/commit/52ee04010814aa6aa3362f8bd1b52ea857ff8ed0))
240
-
241
-
242
-
243
-
244
-
245
- ## [4.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.0.7...@thi.ng/rstream@4.0.8) (2020-05-03)
246
-
247
-
248
- ### Bug Fixes
249
-
250
- * **rstream:** MetaStream close mode handling ([2d9e907](https://github.com/thi-ng/umbrella/commit/2d9e907e9c5a7ef9b0944473561c7c6d52f82841))
251
-
252
-
253
-
254
-
255
-
256
- ## [4.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.0.6...@thi.ng/rstream@4.0.7) (2020-04-28)
257
-
258
-
259
- ### Bug Fixes
260
-
261
- * **rstream:** subscribe() w/ xform, add test ([20ce586](https://github.com/thi-ng/umbrella/commit/20ce586fdc0b4f9633f93581f7480572334317f1))
262
-
263
-
264
-
265
-
266
-
267
- ## [4.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@4.0.2...@thi.ng/rstream@4.0.3) (2020-04-06)
268
-
269
-
270
- ### Bug Fixes
271
-
272
- * **rstream:** fix Subscription.subscribe() ([2a7f6ad](https://github.com/thi-ng/umbrella/commit/2a7f6ad01f6b239e46eb59d4b12f30356dbf078a))
273
-
274
-
275
-
276
-
277
-
278
- # [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@3.0.7...@thi.ng/rstream@4.0.0) (2020-03-28)
279
-
280
-
281
- ### Features
282
-
283
- * **rstream:** update/rename fromView() ([f5df4ab](https://github.com/thi-ng/umbrella/commit/f5df4abbdaa82e666b9fcea9135a6e3d2f563666))
284
-
285
-
286
- ### BREAKING CHANGES
287
-
288
- * **rstream:** update/rename fromView(), add fromViewUnsafe()
289
-
290
- - fromView() now performs type checking on given path and/or view transform
291
- - existing `fromView()` renamed to `fromViewUnsafe()` (this is in line w/ related
292
- updates in thi.ng/atom & thi.ng/paths pkgs)
293
-
294
-
295
-
296
-
297
-
298
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.5.6...@thi.ng/rstream@3.0.0) (2019-11-30)
299
-
300
- ### Bug Fixes
301
-
302
- * **rstream:** add missing timeout() re-export ([7062332](https://github.com/thi-ng/umbrella/commit/7062332137125e86b8f956ceafcb0d2fe16a30e6))
303
- * **rstream:** update StreamSync.remove(), refactor ctor ([d5fd4b4](https://github.com/thi-ng/umbrella/commit/d5fd4b4db759d26270491c38334f1e4258a74c4f))
304
-
305
- ### Documentation
306
-
307
- * **rstream:** update readme ([4ecdbf9](https://github.com/thi-ng/umbrella/commit/4ecdbf92e53e24099cc3a136c18ab51563ddd06f))
308
-
309
- ### Features
310
-
311
- * **rstream:** add back pressure opts to StreamSyncOpts & ForkJoinOpts ([e236987](https://github.com/thi-ng/umbrella/commit/e2369879b3972568eac985daf11766b292fce84a))
312
- * **rstream:** add CommonOpts support for ISubscribable & ITransformable ([0a70b90](https://github.com/thi-ng/umbrella/commit/0a70b90a244b8d1285ee6c0c01e8e4d570c18a91))
313
- * **rstream:** add forkBuffer/joinBuffer HOFs, add docs ([a35c8e8](https://github.com/thi-ng/umbrella/commit/a35c8e86d212b4186c2642f19230c0153356e203))
314
- * **rstream:** add forkJoin() parallel worker processing ([da03722](https://github.com/thi-ng/umbrella/commit/da03722897995a61c46d255ccfac4d81c4af24d0))
315
- * **rstream:** add ITransformable interface, minor updates ([da52b98](https://github.com/thi-ng/umbrella/commit/da52b9872b5063b617bb217a7c54743d427aa219))
316
- * **rstream:** add Subscription.done() error handling ([c911006](https://github.com/thi-ng/umbrella/commit/c911006e7990f4283e5a3f93191b03638cc39905))
317
- * **rstream:** add/update fork/joinBuffer generics, optimize ([8f0c55c](https://github.com/thi-ng/umbrella/commit/8f0c55c1680558292c022a2dd535bbb8d49200ab))
318
- * **rstream:** initial work on [#74](https://github.com/thi-ng/umbrella/issues/74), [#81](https://github.com/thi-ng/umbrella/issues/81), [#91](https://github.com/thi-ng/umbrella/issues/91), [#92](https://github.com/thi-ng/umbrella/issues/92), add stream opts ([e770469](https://github.com/thi-ng/umbrella/commit/e77046995ff4cdb4b2582620b32bee001ceb664c))
319
- * **rstream:** update args for various fromXXX() stream factories ([b466ebc](https://github.com/thi-ng/umbrella/commit/b466ebc553dd00e37a84fe20cc61d8e1f275ed37))
320
- * **rstream:** update sidechainPartition/Toggle and timeout ([898eb53](https://github.com/thi-ng/umbrella/commit/898eb537c6812eecc1b6f0dd720ce5a24b431f13))
321
- * **rstream:** update Stream cancel & reset behavior for CloseMode.NEVER ([250dfe1](https://github.com/thi-ng/umbrella/commit/250dfe12560d4629d867a0a2c0cc3e03756fdab6))
322
-
323
- ### BREAKING CHANGES
324
-
325
- * **rstream:** document new stream/sub config opts in readme
326
- * **rstream:** update stream factories to use options object args
327
-
328
- - fromAtom
329
- - fromInterval
330
- - fromIterable
331
- - fromView
332
- - fromWorker
333
-
334
- ## [2.5.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.5.2...@thi.ng/rstream@2.5.3) (2019-08-16)
335
-
336
- ### Bug Fixes
337
-
338
- * **rstream:** preserve const enums ([765a9ac](https://github.com/thi-ng/umbrella/commit/765a9ac))
339
-
340
- # [2.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.4.4...@thi.ng/rstream@2.5.0) (2019-07-07)
341
-
342
- ### Bug Fixes
343
-
344
- * **rstream:** generics & type hints (TS 3.5.2) ([eb2e18a](https://github.com/thi-ng/umbrella/commit/eb2e18a))
345
- * **rstream:** TS strictNullChecks, add assertions ([1aad856](https://github.com/thi-ng/umbrella/commit/1aad856))
346
-
347
- ### Features
348
-
349
- * **rstream:** add fromDOMEvent() ([6e3fec8](https://github.com/thi-ng/umbrella/commit/6e3fec8))
350
- * **rstream:** enable TS strict compiler flags (refactor) ([d796e21](https://github.com/thi-ng/umbrella/commit/d796e21))
351
-
352
- # [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.3.8...@thi.ng/rstream@2.4.0) (2019-04-11)
353
-
354
- ### Features
355
-
356
- * **rstream:** add tweenNumber() ([cb6d46a](https://github.com/thi-ng/umbrella/commit/cb6d46a))
357
-
358
- ## [2.3.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.3.7...@thi.ng/rstream@2.3.8) (2019-04-11)
359
-
360
- ### Bug Fixes
361
-
362
- * **rstream:** add missing Subscription.deref() return type hint ([0ae1243](https://github.com/thi-ng/umbrella/commit/0ae1243))
363
-
364
- ## [2.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.3.1...@thi.ng/rstream@2.3.2) (2019-04-02)
365
-
366
- ### Bug Fixes
367
-
368
- * **rstream:** fix [#80](https://github.com/thi-ng/umbrella/issues/80) update StreamSource alias ([f7b9fbd](https://github.com/thi-ng/umbrella/commit/f7b9fbd))
369
-
370
- # [2.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.4...@thi.ng/rstream@2.3.0) (2019-03-21)
371
-
372
- ### Features
373
-
374
- * **rstream:** update clock control for tween(), update docs ([65e9c44](https://github.com/thi-ng/umbrella/commit/65e9c44))
375
-
376
- ## [2.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.0...@thi.ng/rstream@2.2.1) (2019-03-05)
377
-
378
- ### Bug Fixes
379
-
380
- * **rstream:** add __owner info for MetaStream, update ISubscriber ([b5801e9](https://github.com/thi-ng/umbrella/commit/b5801e9))
381
26
 
382
- # [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.1.0...@thi.ng/rstream@2.2.0) (2019-03-03)
383
27
 
384
- ### Bug Fixes
385
28
 
386
- * **rstream:** update MetaStream unsub handling ([b2e6e6f](https://github.com/thi-ng/umbrella/commit/b2e6e6f))
387
29
 
388
- ### Features
30
+ ## [7.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@7.0.0...@thi.ng/rstream@7.0.1) (2021-10-13)
389
31
 
390
- * **rstream:** add CloseMode enum, update StreamMerge, StreamSync & opts ([f0d53b4](https://github.com/thi-ng/umbrella/commit/f0d53b4))
391
- * **rstream:** add tween() stream operator ([c74a2d0](https://github.com/thi-ng/umbrella/commit/c74a2d0))
32
+ **Note:** Version bump only for package @thi.ng/rstream
392
33
 
393
- # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.0.6...@thi.ng/rstream@2.1.0) (2019-03-01)
394
34
 
395
- ### Features
396
35
 
397
- * **rstream:** add metaStream() ([bc36005](https://github.com/thi-ng/umbrella/commit/bc36005))
398
36
 
399
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.14.9...@thi.ng/rstream@2.0.0) (2019-01-21)
400
37
 
401
- ### Bug Fixes
38
+ # [7.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@6.0.21...@thi.ng/rstream@7.0.0) (2021-10-12)
402
39
 
403
- * **rstream:** avoid Subscription ctor to workaround parceljs build issue ([d1e275b](https://github.com/thi-ng/umbrella/commit/d1e275b))
404
- * **rstream:** disable __State reverse enum lookups ([b238a3a](https://github.com/thi-ng/umbrella/commit/b238a3a))
405
40
 
406
41
  ### Build System
407
42
 
408
- * update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
409
-
410
- ### BREAKING CHANGES
411
-
412
- * enable multi-outputs (ES6 modules, CJS, UMD)
413
-
414
- - build scripts now first build ES6 modules in package root, then call
415
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
416
- - all imports MUST be updated to only refer to package level
417
- (not individual files anymore). tree shaking in user land will get rid of
418
- all unused imported symbols
419
-
420
- # [1.14.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.13.8...@thi.ng/rstream@1.14.0) (2018-11-24)
421
-
422
- ### Bug Fixes
423
-
424
- * **rstream:** make maxWorkers optional ([46c2882](https://github.com/thi-ng/umbrella/commit/46c2882))
425
-
426
- ### Features
427
-
428
- * **rstream:** add StreamSync.getSources() / getSourceForID() ([ef0fe42](https://github.com/thi-ng/umbrella/commit/ef0fe42))
429
- * **rstream:** add support multiple workers in Tunnel & TunnelOpts ([67a5b10](https://github.com/thi-ng/umbrella/commit/67a5b10))
430
- * **rstream:** add worker tunnel() sub ([4750e79](https://github.com/thi-ng/umbrella/commit/4750e79))
431
-
432
- <a name="1.13.2"></a>
433
- ## [1.13.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.13.1...@thi.ng/rstream@1.13.2) (2018-09-24)
434
-
435
- ### Performance Improvements
436
-
437
- * **rstream:** `State` => const enum ([7ac83c6](https://github.com/thi-ng/umbrella/commit/7ac83c6))
438
-
439
- <a name="1.13.0"></a>
440
- # [1.13.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.12.2-alpha.2...@thi.ng/rstream@1.13.0) (2018-09-22)
441
-
442
- ### Features
443
-
444
- * **rstream:** add trigger() generics ([288b68d](https://github.com/thi-ng/umbrella/commit/288b68d))
445
- * **rstream:** add trigger() utility stream ([929c6f4](https://github.com/thi-ng/umbrella/commit/929c6f4))
446
-
447
- <a name="1.12.0"></a>
448
- # [1.12.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.11.10...@thi.ng/rstream@1.12.0) (2018-09-08)
449
-
450
- ### Features
451
-
452
- * **rstream:** add merge-only mode for StreamSync, update docs ([162aa2d](https://github.com/thi-ng/umbrella/commit/162aa2d))
43
+ * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
453
44
 
454
- <a name="1.11.6"></a>
455
- ## [1.11.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.11.5...@thi.ng/rstream@1.11.6) (2018-08-27)
456
-
457
- ### Bug Fixes
458
-
459
- * **rstream:** Fix unbound this in method call expression ([34a97b4](https://github.com/thi-ng/umbrella/commit/34a97b4))
460
-
461
- <a name="1.11.1"></a>
462
- ## [1.11.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.11.0...@thi.ng/rstream@1.11.1) (2018-08-06)
463
-
464
- ### Bug Fixes
465
-
466
- * **rstream:** add generics for stream() ([378772f](https://github.com/thi-ng/umbrella/commit/378772f))
467
-
468
- <a name="1.11.0"></a>
469
- # [1.11.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.10.4...@thi.ng/rstream@1.11.0) (2018-08-03)
470
-
471
- ### Features
472
-
473
- * **rstream:** add stream() & subscription() factories, add/update docs ([e97aac0](https://github.com/thi-ng/umbrella/commit/e97aac0))
474
- * **rstream:** update StreamSync to use `reset: false` by default, update docs ([55499cc](https://github.com/thi-ng/umbrella/commit/55499cc))
475
-
476
- <a name="1.10.0"></a>
477
- # [1.10.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.9.7...@thi.ng/rstream@1.10.0) (2018-07-20)
478
-
479
- ### Features
480
-
481
- * **rstream:** Add a timeout() subscription ([aa55973](https://github.com/thi-ng/umbrella/commit/aa55973))
482
- * **rstream:** add reset option for timeout() ([cd751fb](https://github.com/thi-ng/umbrella/commit/cd751fb))
483
-
484
- ### Performance Improvements
485
-
486
- * **rstream:** optimize dispatch if only single child ([a59c5c9](https://github.com/thi-ng/umbrella/commit/a59c5c9))
487
-
488
- <a name="1.9.6"></a>
489
- ## [1.9.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.9.5...@thi.ng/rstream@1.9.6) (2018-07-16)
490
-
491
- ### Bug Fixes
492
-
493
- * **rstream:** emit first value immediately in fromInterval() ([9be2018](https://github.com/thi-ng/umbrella/commit/9be2018))
494
-
495
- <a name="1.9.3"></a>
496
- ## [1.9.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.9.2...@thi.ng/rstream@1.9.3) (2018-07-09)
497
-
498
- ### Bug Fixes
499
-
500
- * **rstream:** Fix potential reference error in transduce() ([7f2d5dd](https://github.com/thi-ng/umbrella/commit/7f2d5dd))
501
-
502
- <a name="1.9.0"></a>
503
- # [1.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.8.2...@thi.ng/rstream@1.9.0) (2018-07-04)
504
-
505
- ### Features
506
-
507
- * **rstream:** add support for event listener opts in `fromEvent()` ([d5ac264](https://github.com/thi-ng/umbrella/commit/d5ac264))
508
-
509
- <a name="1.8.1"></a>
510
- ## [1.8.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.8.0...@thi.ng/rstream@1.8.1) (2018-07-03)
511
-
512
- ### Bug Fixes
513
-
514
- * **rstream:** unsubscribe on error in transduce() ([8c7d937](https://github.com/thi-ng/umbrella/commit/8c7d937))
515
-
516
- <a name="1.8.0"></a>
517
- # [1.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.7.3...@thi.ng/rstream@1.8.0) (2018-06-21)
518
-
519
- ### Features
520
-
521
- * **rstream:** option to avoid auto-closing `fromInterval()`, add docs ([cc5b736](https://github.com/thi-ng/umbrella/commit/cc5b736))
522
-
523
- <a name="1.7.3"></a>
524
- ## [1.7.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.7.2...@thi.ng/rstream@1.7.3) (2018-06-19)
525
-
526
- <a name="1.7.0"></a>
527
- # [1.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.6.14...@thi.ng/rstream@1.7.0) (2018-05-20)
528
-
529
- ### Bug Fixes
530
-
531
- * **rstream:** minor update PubSub topic fn return type ([cbc600e](https://github.com/thi-ng/umbrella/commit/cbc600e))
532
-
533
- ### Features
534
-
535
- * **rstream:** re-implement bisect() using PubSub, update tests ([846aaf9](https://github.com/thi-ng/umbrella/commit/846aaf9))
536
- * **rstream:** update resolve(), update subscribe() overrides ([23fdd39](https://github.com/thi-ng/umbrella/commit/23fdd39))
537
-
538
- <a name="1.6.14"></a>
539
- ## [1.6.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.6.13...@thi.ng/rstream@1.6.14) (2018-05-14)
540
-
541
- <a name="1.6.1"></a>
542
- ## [1.6.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.6.0...@thi.ng/rstream@1.6.1) (2018-04-25)
543
-
544
- ### Bug Fixes
545
-
546
- * **rstream:** minor fix StreamSync.addAll() ([cc286e1](https://github.com/thi-ng/umbrella/commit/cc286e1))
547
-
548
- <a name="1.6.0"></a>
549
- # [1.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.5.1...@thi.ng/rstream@1.6.0) (2018-04-24)
550
-
551
- ### Features
552
-
553
- * **rstream:** add owner meta data & IDs for merge/sync inputs ([33f55b3](https://github.com/thi-ng/umbrella/commit/33f55b3))
554
-
555
- ### Performance Improvements
556
-
557
- * **rstream:** support (re)named StreamSync inputs ([b392817](https://github.com/thi-ng/umbrella/commit/b392817))
558
-
559
- <a name="1.5.0"></a>
560
- # [1.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.4.3...@thi.ng/rstream@1.5.0) (2018-04-20)
561
-
562
- ### Features
563
-
564
- * **rstream:** add PubSub, add ISubscribableSubscriber, remove cache() ([27a098d](https://github.com/thi-ng/umbrella/commit/27a098d))
565
- * **rstream:** allow arbitrary PubSub topic vals, add [@thi](https://github.com/thi).ng/associative dep ([ba10907](https://github.com/thi-ng/umbrella/commit/ba10907))
566
-
567
- <a name="1.4.0"></a>
568
- # [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.3.1...@thi.ng/rstream@1.4.0) (2018-04-16)
569
-
570
- ### Features
571
-
572
- * **rstream:** add StreamMerge/Sync.removeID() & removeAllIDs() ([8bcc287](https://github.com/thi-ng/umbrella/commit/8bcc287))
573
-
574
- <a name="1.3.0"></a>
575
- # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.2.9...@thi.ng/rstream@1.3.0) (2018-04-15)
576
-
577
- ### Features
578
-
579
- * **rstream:** add Subscription.transform() ([2164ddf](https://github.com/thi-ng/umbrella/commit/2164ddf))
580
-
581
- <a name="1.2.4"></a>
582
- ## [1.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.2.3...@thi.ng/rstream@1.2.4) (2018-04-05)
583
-
584
- ### Bug Fixes
585
-
586
- * **rstream:** correct wrong isString() import ([48310a6](https://github.com/thi-ng/umbrella/commit/48310a6))
587
-
588
- <a name="1.2.0"></a>
589
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.1.0...@thi.ng/rstream@1.2.0) (2018-03-21)
590
-
591
- ### Features
592
-
593
- * **rstream:** update error handling, add [@thi](https://github.com/thi).ng/api dep ([1ce7054](https://github.com/thi-ng/umbrella/commit/1ce7054))
594
-
595
- <a name="1.1.0"></a>
596
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.0.22...@thi.ng/rstream@1.1.0) (2018-03-21)
597
-
598
- ### Bug Fixes
599
-
600
- * **rstream:** bisect() add downstream impl checks, add tests ([2ad2f48](https://github.com/thi-ng/umbrella/commit/2ad2f48))
601
-
602
- ### Features
603
-
604
- * **rstream:** add fromView(), update fromAtom() docs, update re-exports ([41bb385](https://github.com/thi-ng/umbrella/commit/41bb385))
605
- * **rstream:** add IDeref impl for Subscription ([907d599](https://github.com/thi-ng/umbrella/commit/907d599))
606
- * **rstream:** add merge()/sync() ctor wrappers ([1fee7d5](https://github.com/thi-ng/umbrella/commit/1fee7d5))
607
- * **rstream:** add StreamSync ([791a993](https://github.com/thi-ng/umbrella/commit/791a993))
608
- * **rstream:** add transduce(), update re-exports ([eec56de](https://github.com/thi-ng/umbrella/commit/eec56de))
609
- * **rstream:** fix [#6](https://github.com/thi-ng/umbrella/issues/6) update StreamMerge to support transduced input streams ([8026409](https://github.com/thi-ng/umbrella/commit/8026409))
610
- * **rstream:** Subscription stores last value and passes to new subs ([6b87bca](https://github.com/thi-ng/umbrella/commit/6b87bca))
611
- * **rstream:** update Sidechain*.next(), add unsubscribe() ([d18a115](https://github.com/thi-ng/umbrella/commit/d18a115))
612
- * **rstream:** update Subscription.unsubscribe() ([01a751e](https://github.com/thi-ng/umbrella/commit/01a751e))
613
-
614
- <a name="1.0.22"></a>
615
- ## [1.0.22](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@1.0.21...@thi.ng/rstream@1.0.22) (2018-03-19)
616
-
617
- <a name="1.0.0"></a>
618
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.9.4...@thi.ng/rstream@1.0.0) (2018-02-18)
619
-
620
- ### Features
621
-
622
- * **rstream:** fix [#8](https://github.com/thi-ng/umbrella/issues/8), support infinite StreamMerge's, update ctor ([4942e2e](https://github.com/thi-ng/umbrella/commit/4942e2e))
623
45
 
624
46
  ### BREAKING CHANGES
625
47
 
626
- * **rstream:** StreamMerge ctor now accepts an options object
627
- only (`StreamMergeOpts`).
628
-
629
- <a name="0.9.0"></a>
630
- # [0.9.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.8.1...@thi.ng/rstream@0.9.0) (2018-02-01)
631
-
632
- ### Features
48
+ * discontinue CommonJS & UMD versions
633
49
 
634
- * **rstream:** add Cache subscription class ([ea638be](https://github.com/thi-ng/umbrella/commit/ea638be))
50
+ - only ESM modules will be published from now on
51
+ - CJS obsolete due to ESM support in recent versions of node:
52
+ - i.e. launch NodeJS via:
53
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
54
+ - in the node REPL use `await import(...)` instead of `require()`
55
+ - UMD obsolete due to widespread browser support for ESM
635
56
 
636
- <a name="0.8.1"></a>
637
- ## [0.8.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.8.0...@thi.ng/rstream@0.8.1) (2018-01-31)
57
+ Also:
58
+ - normalize/restructure/reorg all package.json files
59
+ - cleanup all build scripts, remove obsolete
60
+ - switch from mocha to @thi.ng/testament for all tests
638
61
 
639
- ### Bug Fixes
640
62
 
641
- * **rstream:** subscription unhandled error handling ([54cd526](https://github.com/thi-ng/umbrella/commit/54cd526))
642
63
 
643
- <a name="0.8.0"></a>
644
- # [0.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.7.6...@thi.ng/rstream@0.8.0) (2018-01-31)
645
64
 
646
- ### Features
647
65
 
648
- * **rstream:** add changed predicate for fromAtom(), add tests ([d58cf70](https://github.com/thi-ng/umbrella/commit/d58cf70))
649
66
 
650
- <a name="0.7.4"></a>
651
- ## [0.7.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.7.3...@thi.ng/rstream@0.7.4) (2018-01-29)
67
+ ## [6.0.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@6.0.13...@thi.ng/rstream@6.0.14) (2021-08-08)
652
68
 
653
- ### Bug Fixes
69
+ ### Bug Fixes
654
70
 
655
- * **rstream:** fatal recursion w/ error handling ([382aa05](https://github.com/thi-ng/umbrella/commit/382aa05))
71
+ - **rstream:** fix [#305](https://github.com/thi-ng/umbrella/issues/305), metaStream() factory arg type ([2bc7bff](https://github.com/thi-ng/umbrella/commit/2bc7bff2eff9331d3a52830d0275d47fc7c59e78))
656
72
 
657
- <a name="0.7.2"></a>
658
- ## [0.7.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.7.1...@thi.ng/rstream@0.7.2) (2018-01-29)
73
+ # [6.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@5.1.7...@thi.ng/rstream@6.0.0) (2021-03-12)
659
74
 
660
- ### Bug Fixes
75
+ ### Bug Fixes
661
76
 
662
- * **rstream:** fix [#1](https://github.com/thi-ng/umbrella/issues/1) update fromPromise(), add test ([822b297](https://github.com/thi-ng/umbrella/commit/822b297))
77
+ - **rstream:** fix wrong imports ([ae4866a](https://github.com/thi-ng/umbrella/commit/ae4866adb52800af4dee30392d8482befd8a9435))
78
+ - **rstream:** minor update/revert sub ctor args ([c651421](https://github.com/thi-ng/umbrella/commit/c651421e7809df1a37103628e54d3e21161e8c0a))
79
+ - **rstream:** PubSub dispatch & error handling ([cca0f34](https://github.com/thi-ng/umbrella/commit/cca0f34568c9e1a6c30a6a423e7469a477e5a76d))
80
+ - **rstream:** update failing tests ([ae591a1](https://github.com/thi-ng/umbrella/commit/ae591a1a8a8647768d38b783c094ae1bbe94a278))
663
81
 
664
- <a name="0.7.0"></a>
665
- # [0.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.6.0...@thi.ng/rstream@0.7.0) (2018-01-29)
82
+ ### Features
666
83
 
667
- ### Features
84
+ - **rstream:** [#281](https://github.com/thi-ng/umbrella/issues/281) update Subscription error/teardown logic ([a9e4040](https://github.com/thi-ng/umbrella/commit/a9e40407d0c0ec4e3ffdd3983d70a9e40aec2356))
85
+ - **rstream:** add .transform() error handler opt ([#276](https://github.com/thi-ng/umbrella/issues/276)) ([22c6f7c](https://github.com/thi-ng/umbrella/commit/22c6f7cb25516359690811c39a184b0e9838ea02))
86
+ - **rstream:** add generic type for PubSub topics ([08adc5f](https://github.com/thi-ng/umbrella/commit/08adc5f2f6c719cdda0a8eb4e5548bf6c5c1cf75))
87
+ - **rstream:** add ISubscription interface ([98edee0](https://github.com/thi-ng/umbrella/commit/98edee0bc84763547a1c06394d78456565fbc9de))
88
+ - **rstream:** add PubSub.transformTopic() ([123e15d](https://github.com/thi-ng/umbrella/commit/123e15d84557990c682ed80f9f97eafe94c09b43))
89
+ - **rstream:** add sidechainPartitionRAF() ([a101626](https://github.com/thi-ng/umbrella/commit/a10162625836d5392199d34149c281f9cc47a572))
90
+ - **rstream:** add StreamSource error handling ([73023b6](https://github.com/thi-ng/umbrella/commit/73023b6979dd0cf4b95c6d072bfbda8c12ba9438))
91
+ - **rstream:** add Sub2 WIP impl ([de4149b](https://github.com/thi-ng/umbrella/commit/de4149bc0504c4be9faef8b467eee74ecf9caa05))
92
+ - **rstream:** further simplify ISubscribable & impls ([9e290fe](https://github.com/thi-ng/umbrella/commit/9e290fe2e3813d0096eacd28d700f9000155bc5e))
93
+ - **rstream:** log error to console ([594d806](https://github.com/thi-ng/umbrella/commit/594d806fbc2176d3458d80e390baa0cb4b0d7b60)), closes [#125](https://github.com/thi-ng/umbrella/issues/125) [#276](https://github.com/thi-ng/umbrella/issues/276)
94
+ - **rstream:** update DONE state & teardown logic ([a8a8c44](https://github.com/thi-ng/umbrella/commit/a8a8c44ed8a42b91f92fe9040cb1ce28b17113e7))
95
+ - **rstream:** update error handler sig ([#281](https://github.com/thi-ng/umbrella/issues/281)) ([015380a](https://github.com/thi-ng/umbrella/commit/015380ac20e342f83757556e158320e23a42502a))
96
+ - **rstream:** update ITransformable.transform() ([fe0eaa9](https://github.com/thi-ng/umbrella/commit/fe0eaa9f145d627dce67acfe2650c38222121ad1))
97
+ - **rstream:** update PubSub ([fa87168](https://github.com/thi-ng/umbrella/commit/fa87168ffbb683aed495b7786a4d100510d29c04))
98
+ - **rstream:** update Sub2, State enum ([db0ab34](https://github.com/thi-ng/umbrella/commit/db0ab34fcea8869d9c85c51f5faacf1e1f6bb0ec))
99
+ - **rstream:** update Subscription FSM, add/update tests ([ea1d0c1](https://github.com/thi-ng/umbrella/commit/ea1d0c1fe2132cf00e2f2851cb770007a5965c13))
668
100
 
669
- * **rstream:** add atom dep, add fromAtom() & docs ([ca3994a](https://github.com/thi-ng/umbrella/commit/ca3994a))
670
- * **rstream:** add fromPromises(), add docs ([55ba0e1](https://github.com/thi-ng/umbrella/commit/55ba0e1))
671
- * **rstream:** add trace() error handler ([2247f72](https://github.com/thi-ng/umbrella/commit/2247f72))
101
+ ### Performance Improvements
672
102
 
673
- <a name="0.6.0"></a>
674
- # [0.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@0.5.1...@thi.ng/rstream@0.6.0) (2018-01-28)
103
+ - **rstream:** revert to storing child subs in array ([014bf20](https://github.com/thi-ng/umbrella/commit/014bf20ee3fdfa31377a08eaa5dc8fe211cadeac))
675
104
 
676
- ### Features
105
+ ### BREAKING CHANGES
677
106
 
678
- * **rstream-csp:** add new package, remove CSP dep from rstream ([e37f6a1](https://github.com/thi-ng/umbrella/commit/e37f6a1))
107
+ - **rstream:** remove `.subscribe(sub, xform, opts)` signature. Transducer now supplied via `xform` key in `opts` (or use `.transform()` instead of `.subscribe()`)