@thi.ng/rstream 9.2.6 → 9.2.8

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 (3) hide show
  1. package/CHANGELOG.md +3 -918
  2. package/README.md +1 -1
  3. package/package.json +11 -13
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:53Z
3
+ - **Last updated**: 2025-01-29T16:25:48Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -153,920 +155,3 @@ and/or version bumps of transitive dependencies.
153
155
  #### ♻️ Refactoring
154
156
 
155
157
  - various (minor) TS4.7 related updates/fixes ([9d9ecae](https://github.com/thi-ng/umbrella/commit/9d9ecae))
156
-
157
- ## [7.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.2.0) (2021-11-21)
158
-
159
- #### 🚀 Features
160
-
161
- - update defWorker() arg types ([e07521e](https://github.com/thi-ng/umbrella/commit/e07521e))
162
- - add `WorkerSource` type alias
163
- - add support for zero-arg fns returning a worker instance
164
- - helps v. much with Vite's `xxx?worker` imports
165
- - see /examples/mandelbrot for usage
166
-
167
- ### [7.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.1.1) (2021-11-19)
168
-
169
- #### 🩹 Bug fixes
170
-
171
- - add note about Awaited<T> type sig (1c82afa7e) ([efd8647](https://github.com/thi-ng/umbrella/commit/efd8647))
172
-
173
- ## [7.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.1.0) (2021-11-17)
174
-
175
- #### 🚀 Features
176
-
177
- - add fromNodeJS/linesFromNodeJS() ([d56026d](https://github.com/thi-ng/umbrella/commit/d56026d))
178
- - add NodeJS stream adapter bridges
179
- - update readme
180
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
181
- Improving the overall build ergonomics
182
- - introduced a tools workspaces
183
- - imported it in all needed packages/examples
184
- - inclusive project root
185
-
186
- #### ♻️ Refactoring
187
-
188
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
189
- this commit reverts (partly) changes made in:
190
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
191
- overall purpose is better testament ergonomics:
192
- instead of having to pass NODE_OPTIONS with every invocation
193
- having a binary to handle this for us.
194
-
195
- ### [7.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.0.9) (2021-11-10)
196
-
197
- #### ♻️ Refactoring
198
-
199
- - update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
200
-
201
- ### [7.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.0.1) (2021-10-13)
202
-
203
- #### ♻️ Refactoring
204
-
205
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
206
- - add .js suffix for all relative imports
207
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
208
-
209
- # [7.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.0.0) (2021-10-12)
210
-
211
- #### 🛑 Breaking changes
212
-
213
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
214
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
215
- - only ESM modules will be published from now on
216
- - CJS obsolete due to ESM support in recent versions of node:
217
- - i.e. launch NodeJS via:
218
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
219
- - in the node REPL use `await import(...)` instead of `require()`
220
- - UMD obsolete due to widespread browser support for ESM
221
- Also:
222
- - normalize/restructure/reorg all package.json files
223
- - cleanup all build scripts, remove obsolete
224
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
225
-
226
- #### ♻️ Refactoring
227
-
228
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
229
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
230
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
231
- - update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
232
- - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
233
- - largely related to recent updates/restructuring of these packages:
234
- - api
235
- - defmulti
236
- - errors
237
- - logger
238
- - major pkg restructure ([831c113](https://github.com/thi-ng/umbrella/commit/831c113))
239
- - flatten /src folder for easier imports in userland
240
- - move logging from api.ts => logger.ts
241
- - rename internal helpers (__nextID, __optsWithID, defWorker, ...)
242
- - update imports
243
- - dedupe removeAllIDs() impls ([57e57cc](https://github.com/thi-ng/umbrella/commit/57e57cc))
244
-
245
- ### [6.0.14](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@6.0.14) (2021-08-08)
246
-
247
- #### 🩹 Bug fixes
248
-
249
- - fix [#305](https://github.com/thi-ng/umbrella/issues/305), metaStream() factory arg type ([2bc7bff](https://github.com/thi-ng/umbrella/commit/2bc7bff))
250
- - add test case
251
-
252
- # [6.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@6.0.0) (2021-03-12)
253
-
254
- #### 🛑 Breaking changes
255
-
256
- - add .transform() error handler opt ([#276](https://github.com/thi-ng/umbrella/issues/276)) ([22c6f7c](https://github.com/thi-ng/umbrella/commit/22c6f7c))
257
- - BREAKING CHANGE: update ISubscribable contract, remove transducer
258
- only version of `.subscribe()`, MUST provide dummy sub w/ transducer
259
- OR (better) use `.transform()` instead (which also more clearly
260
- communicates intention...)
261
- - another breaking change side effect for `.subscribe()`:
262
- `next()` handlers MUST be provided now in first arg (child sub), this
263
- is NOT because they're mandatory now, but TS won't be able to
264
- correctly infer arg types when using `Partial<ISubscriber<T>>`
265
- - add `DUMMY` subscriber constant w/ empty `next() {}`
266
- - simplify internal `.subscribe()` logic
267
- - add `WithErrorHandlerOpts` interface
268
- - update `.transform()` & `.map()`: add error handling support
269
- - add PubSub.transformTopic() ([123e15d](https://github.com/thi-ng/umbrella/commit/123e15d))
270
- - BREAKING CHANGE: replace transducer only version of
271
- `PubSub.subscribeTopic()` with new `.transformTopic()`.
272
- Similarly to [22c6f7cb2](https://github.com/thi-ng/umbrella/commit/22c6f7cb2), `.subscribeTopic()` subs also need to
273
- provide at least a `next` key (for typechecking only)
274
- - add .transformTopic() w/ opt error handling support
275
- - TODO multi-transducer overrides for .transformTopic()
276
- - further simplify ISubscribable & impls ([9e290fe](https://github.com/thi-ng/umbrella/commit/9e290fe))
277
- - BREAKING CHANGE: remove `.subscribe(sub, xform, opts)` signature.
278
- Transducer now supplied via `xform` key in `opts` (or use `.transform()`
279
- instead of `.subscribe()`)
280
- - further simplify `Subscription.subscribe()` / `.transform()`
281
- - update Subscription ctor args
282
- - make `.subscribe()` child subs partial again
283
- - remove temporary & obsolete again `DUMMY` subscriber
284
- - add docs
285
- - update tests
286
-
287
- #### 🚀 Features
288
-
289
- - log error to console ([594d806](https://github.com/thi-ng/umbrella/commit/594d806))
290
- - update Subscription.error() and ensure error is at least written to
291
- console, even if the default `NULL_LOGGER` is used
292
- - addresses [#125](https://github.com/thi-ng/umbrella/issues/125), [#276](https://github.com/thi-ng/umbrella/issues/276)
293
- - update ITransformable.transform() ([fe0eaa9](https://github.com/thi-ng/umbrella/commit/fe0eaa9))
294
- - add new `transform()` override to supply transducer as part of options arg
295
- - update/fix opts arg type in other `transform()` versions
296
- - add `WithTransform`, `WithErrorHandler` interfaces
297
- - update `TransformableOpts`, `WithErrorHandlerOpts`
298
- - add generic type for PubSub topics ([08adc5f](https://github.com/thi-ng/umbrella/commit/08adc5f))
299
- - update PubSub, PubSubOpts w/ new generic for topic types (default: any)
300
- - add ISubscription interface ([98edee0](https://github.com/thi-ng/umbrella/commit/98edee0))
301
- - replaces obsolete `ISubscribableSubscriber`
302
- - update PubSub ([fa87168](https://github.com/thi-ng/umbrella/commit/fa87168))
303
- - update PubSub generics
304
- - update .subscribeTopic() opts to use `TransformableOpts`
305
- - add sidechainPartitionRAF() ([a101626](https://github.com/thi-ng/umbrella/commit/a101626))
306
- - update error handler sig ([#281](https://github.com/thi-ng/umbrella/issues/281)) ([015380a](https://github.com/thi-ng/umbrella/commit/015380a))
307
- - add `ErrorHandler` type, update to return boolean
308
- - update `ISubscribable`, `ITransformable` to only refer to `ISubscription`
309
- interface (rather than `Subscription` class itself)
310
- - refactor `Subscription.next()`, add `.dispatchXform()`
311
- - update various error handlers (add return values)
312
- - update tests
313
- - add Sub2 WIP impl ([de4149b](https://github.com/thi-ng/umbrella/commit/de4149b))
314
- - update Sub2, State enum ([db0ab34](https://github.com/thi-ng/umbrella/commit/db0ab34))
315
- - add State.UNSUBSCRIBED
316
- - add missing Sub2.done() handling
317
- - add Sub2.map()
318
- - refactor Sub2 value/phase dispatch logic
319
- - add logging
320
- - [#281](https://github.com/thi-ng/umbrella/issues/281) update Subscription error/teardown logic ([a9e4040](https://github.com/thi-ng/umbrella/commit/a9e4040))
321
- - replace old `Subscription` class w/ what was recently `Sub2` (removed)
322
- - update/fix done(), subscribe()/unsubscribe() logic
323
- - update related constructs (Stream, StreamSync, MetaStream, etc.)
324
- - update Stream ctor (and factory fns) to support error handler opts arg
325
- - update Timeout error dispatch
326
- - fix typehints
327
- - update DONE state & teardown logic ([a8a8c44](https://github.com/thi-ng/umbrella/commit/a8a8c44))
328
- - DONE state now only valid during depth-first stage of .done()
329
- - state switches to UNSUBSCRIBED during recursive teardown (unless ERROR)
330
- - update tests
331
- - add StreamSource error handling ([73023b6](https://github.com/thi-ng/umbrella/commit/73023b6))
332
- - update stream() opts arg type
333
- - update Stream.subscribe() to use opt error handler to deal w/ errors
334
- during execution of stream source function
335
- - add test
336
- - update Subscription FSM, add/update tests ([ea1d0c1](https://github.com/thi-ng/umbrella/commit/ea1d0c1))
337
- - add state check in .subscribe()
338
- - set both parent & child sub to ACTIVE
339
-
340
- #### 🩹 Bug fixes
341
-
342
- - minor update/revert sub ctor args ([c651421](https://github.com/thi-ng/umbrella/commit/c651421))
343
- - fix wrong imports ([ae4866a](https://github.com/thi-ng/umbrella/commit/ae4866a))
344
- - PubSub dispatch & error handling ([cca0f34](https://github.com/thi-ng/umbrella/commit/cca0f34))
345
- - store last received value (if caching enabled)
346
- - update error handler logic
347
- - update failing tests ([ae591a1](https://github.com/thi-ng/umbrella/commit/ae591a1))
348
-
349
- #### ⏱ Performance improvements
350
-
351
- - revert to storing child subs in array ([014bf20](https://github.com/thi-ng/umbrella/commit/014bf20))
352
-
353
- #### ♻️ Refactoring
354
-
355
- - update types/generics ([c982288](https://github.com/thi-ng/umbrella/commit/c982288))
356
- - remove default generics from ISubscription due to inference troubles
357
- - add ITransformable.map()
358
- - fix unsubscribe() arg types in various classes
359
- - update tests (generics only)
360
-
361
- ### [5.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.1.2) (2021-02-22)
362
-
363
- #### 🩹 Bug fixes
364
-
365
- - add auto IDs for bisect/debounce() ([89b1def](https://github.com/thi-ng/umbrella/commit/89b1def))
366
-
367
- ## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.1.0) (2021-01-22)
368
-
369
- #### 🚀 Features
370
-
371
- - add CommonOpts for .map() ([6324123](https://github.com/thi-ng/umbrella/commit/6324123))
372
-
373
- ### [5.0.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.0.10) (2020-12-07)
374
-
375
- #### ♻️ Refactoring
376
-
377
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
378
- - update type-only imports ([cdf5d62](https://github.com/thi-ng/umbrella/commit/cdf5d62))
379
-
380
- ### [5.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.0.5) (2020-09-22)
381
-
382
- #### ♻️ Refactoring
383
-
384
- - add isFirstOrLastInput(), update StreamMerge/Sync ([ebab5a0](https://github.com/thi-ng/umbrella/commit/ebab5a0))
385
-
386
- ### [5.0.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.0.4) (2020-09-13)
387
-
388
- #### 🩹 Bug fixes
389
-
390
- - update PubSub.subscribeTopic(), fix [#248](https://github.com/thi-ng/umbrella/issues/248) ([3e2240a](https://github.com/thi-ng/umbrella/commit/3e2240a))
391
- - use CloseMode.NEVER for internal topic subs
392
-
393
- #### ♻️ Refactoring
394
-
395
- - update imports ([a35efa8](https://github.com/thi-ng/umbrella/commit/a35efa8))
396
-
397
- ### [5.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.0.3) (2020-08-28)
398
-
399
- #### ♻️ Refactoring
400
-
401
- - update delete op (TS4.0) ([cef8674](https://github.com/thi-ng/umbrella/commit/cef8674))
402
-
403
- # [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.0.0) (2020-07-28)
404
-
405
- #### 🛑 Breaking changes
406
-
407
- - fix/update StreamSync type inference ([c9d983d](https://github.com/thi-ng/umbrella/commit/c9d983d))
408
- - BREAKING CHANGE: better StreamSync generics handling/inference &
409
- updated StreamSyncOpts
410
- - `src` opt (input sources) MUST be given as object now
411
- (specifying inputs as array not supported anymore, use `autoObj()`
412
- from transducers package to convert array into auto-labeled object)
413
- - update StreamSync inference rules to better determine result type
414
- - simplify .addAll()
415
- - generics now *usually* don't need to manually be specified anymore
416
- (with some exceptions)
417
- - update tests
418
-
419
- #### ♻️ Refactoring
420
-
421
- - add opts arg for trigger() ([32340f0](https://github.com/thi-ng/umbrella/commit/32340f0))
422
- - update forkJoin() & tween() impls (StreamSync) ([08ca3e1](https://github.com/thi-ng/umbrella/commit/08ca3e1))
423
- - update StreamSync generics & args ([0a182b0](https://github.com/thi-ng/umbrella/commit/0a182b0))
424
- - update StreamMerge method args ([da648af](https://github.com/thi-ng/umbrella/commit/da648af))
425
-
426
- ## [4.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.6.0) (2020-07-08)
427
-
428
- #### 🚀 Features
429
-
430
- - add Subscription.map() syntax sugar ([a00485e](https://github.com/thi-ng/umbrella/commit/a00485e))
431
-
432
- ## [4.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.5.0) (2020-07-02)
433
-
434
- #### 🚀 Features
435
-
436
- - add reactive(), update readme ([e508faa](https://github.com/thi-ng/umbrella/commit/e508faa))
437
-
438
- ## [4.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.4.0) (2020-06-14)
439
-
440
- #### 🚀 Features
441
-
442
- - add error handling for transducer phase ([609424e](https://github.com/thi-ng/umbrella/commit/609424e))
443
- - update Subscription.next()
444
- - update transduce()
445
- - add emitLast metastream option ([1073735](https://github.com/thi-ng/umbrella/commit/1073735))
446
- - add debounce() sub & tests ([9c53bb4](https://github.com/thi-ng/umbrella/commit/9c53bb4))
447
-
448
- ### [4.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.3.1) (2020-05-16)
449
-
450
- #### 🩹 Bug fixes
451
-
452
- - initial default val handling in fromObject() ([25117e3](https://github.com/thi-ng/umbrella/commit/25117e3))
453
- - defaults now applied to initial seed values (if enabled)
454
- - update tests
455
-
456
- ## [4.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.3.0) (2020-05-16)
457
-
458
- #### 🚀 Features
459
-
460
- - extend fromObject() features/opts ([975f74c](https://github.com/thi-ng/umbrella/commit/975f74c))
461
- - add support for default values, dedupe, equiv predicate
462
-
463
- ## [4.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.2.0) (2020-05-15)
464
-
465
- #### 🚀 Features
466
-
467
- - add fromObject(), add docs & tests ([5e854eb](https://github.com/thi-ng/umbrella/commit/5e854eb))
468
- - update fromObject(), add StreamObjOpts, update docs ([f3ca3b6](https://github.com/thi-ng/umbrella/commit/f3ca3b6))
469
-
470
- ## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.1.0) (2020-05-14)
471
-
472
- #### 🚀 Features
473
-
474
- - [#221](https://github.com/thi-ng/umbrella/issues/221), update StreamSync input removal ([52ee040](https://github.com/thi-ng/umbrella/commit/52ee040))
475
- - add StreamSyncOpts.clean option (disabled by default)
476
- - add support for cleaning result tuple when removing inputs
477
- - update input add/removal ops to use new partitionSync() hooks
478
- - add/update tests
479
-
480
- #### ♻️ Refactoring
481
-
482
- - update opts handling (TS3.9) ([ba76da6](https://github.com/thi-ng/umbrella/commit/ba76da6))
483
-
484
- ### [4.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.0.8) (2020-05-03)
485
-
486
- #### 🩹 Bug fixes
487
-
488
- - MetaStream close mode handling ([2d9e907](https://github.com/thi-ng/umbrella/commit/2d9e907))
489
- - never go into DONE state if `closeIn == CloseMode.NEVER`
490
- - fix/update unsubscribe() & pass arg
491
- - update detach() to consider `closeOut` mode
492
- - add tests
493
-
494
- ### [4.0.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.0.7) (2020-04-28)
495
-
496
- #### 🩹 Bug fixes
497
-
498
- - subscribe() w/ xform, add test ([20ce586](https://github.com/thi-ng/umbrella/commit/20ce586))
499
- - fixes `.subscribe(sub, xform)` where child `sub` was an actual instance
500
- of `Subscription` and the given `xform` transducer was silently
501
- ignored in that case...
502
- - add test
503
-
504
- ### [4.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.0.3) (2020-04-06)
505
-
506
- #### 🩹 Bug fixes
507
-
508
- - fix Subscription.subscribe() ([2a7f6ad](https://github.com/thi-ng/umbrella/commit/2a7f6ad))
509
- - check if opts arg given, but nullish
510
- - fixes PubSub.subscribeTopic(id, xform) version, which would wrongly
511
- infer `xform` as subscriber instead of transducer
512
- - add tests
513
- - update readme
514
-
515
- ### [4.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.0.2) (2020-04-05)
516
-
517
- #### ♻️ Refactoring
518
-
519
- - switch to non-const enums ([1f6221d](https://github.com/thi-ng/umbrella/commit/1f6221d))
520
-
521
- # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.0.0) (2020-03-28)
522
-
523
- #### 🛑 Breaking changes
524
-
525
- - update/rename fromView() ([f5df4ab](https://github.com/thi-ng/umbrella/commit/f5df4ab))
526
- - BREAKING CHANGE: update/rename fromView(), add fromViewUnsafe()
527
- - fromView() now performs type checking on given path and/or view transform
528
- - existing `fromView()` renamed to `fromViewUnsafe()` (this is in line w/ related
529
- updates in [@thi.ng/atom](https://github.com/thi-ng/umbrella/tree/main/packages/atom) & [@thi.ng/paths](https://github.com/thi-ng/umbrella/tree/main/packages/paths) pkgs)
530
-
531
- #### ♻️ Refactoring
532
-
533
- - update fromView() & options ([7565448](https://github.com/thi-ng/umbrella/commit/7565448))
534
- - update fromView value type inference ([ba20557](https://github.com/thi-ng/umbrella/commit/ba20557))
535
-
536
- ### [3.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@3.0.3) (2020-02-25)
537
-
538
- #### ♻️ Refactoring
539
-
540
- - fix [#201](https://github.com/thi-ng/umbrella/issues/201), extract ASidechain ([b88fa04](https://github.com/thi-ng/umbrella/commit/b88fa04))
541
- - extract abstract ASidechain base class
542
- - update SidechainPartition/Toggle classes
543
- - update imports ([d529e86](https://github.com/thi-ng/umbrella/commit/d529e86))
544
-
545
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@3.0.0) (2019-11-30)
546
-
547
- #### 🛑 Breaking changes
548
-
549
- - update args for various fromXXX() stream factories ([b466ebc](https://github.com/thi-ng/umbrella/commit/b466ebc))
550
- - add types for options objects
551
- - update tests
552
- - BREAKING CHANGE: update stream factories to use options object args
553
- - fromAtom
554
- - fromInterval
555
- - fromIterable
556
- - fromView
557
- - fromWorker
558
- - update readme ([4ecdbf9](https://github.com/thi-ng/umbrella/commit/4ecdbf9))
559
- - BREAKING CHANGE: document new stream/sub config opts in readme
560
-
561
- #### 🚀 Features
562
-
563
- - update sidechainPartition/Toggle and timeout ([898eb53](https://github.com/thi-ng/umbrella/commit/898eb53))
564
- - use options objects for args
565
- - update tests
566
- - add CommonOpts support for ISubscribable & ITransformable ([0a70b90](https://github.com/thi-ng/umbrella/commit/0a70b90))
567
-
568
- #### ♻️ Refactoring
569
-
570
- - re-use `Path` from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) ([7e7ef8f](https://github.com/thi-ng/umbrella/commit/7e7ef8f))
571
-
572
- ### [2.5.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.5.5) (2019-09-21)
573
-
574
- #### 🚀 Features
575
-
576
- - add ITransformable interface, minor updates ([da52b98](https://github.com/thi-ng/umbrella/commit/da52b98))
577
- - add forkJoin() parallel worker processing ([da03722](https://github.com/thi-ng/umbrella/commit/da03722))
578
- - add back pressure opts to StreamSyncOpts & ForkJoinOpts ([e236987](https://github.com/thi-ng/umbrella/commit/e236987))
579
- - add forkBuffer/joinBuffer HOFs, add docs ([a35c8e8](https://github.com/thi-ng/umbrella/commit/a35c8e8))
580
- - add/update fork/joinBuffer generics, optimize ([8f0c55c](https://github.com/thi-ng/umbrella/commit/8f0c55c))
581
- - add Subscription.done() error handling ([c911006](https://github.com/thi-ng/umbrella/commit/c911006))
582
- - update Stream cancel & reset behavior for CloseMode.NEVER ([250dfe1](https://github.com/thi-ng/umbrella/commit/250dfe1))
583
- - don't call cancel() if `closeOut` is CloseMODE.NEVER
584
- - only initialize stream once and don't re-init on 1st re-sub after
585
- all other subs have left
586
-
587
- #### 🩹 Bug fixes
588
-
589
- - update StreamSync.remove(), refactor ctor ([d5fd4b4](https://github.com/thi-ng/umbrella/commit/d5fd4b4))
590
- - remove ID from invRealSourceIDs
591
- - update ctor xform init, avoid one level of comp() if opts.xform given
592
-
593
- ### [2.5.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.5.4) (2019-08-21)
594
-
595
- #### 🚀 Features
596
-
597
- - 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/e770469))
598
- - add CommonOpts, TransformableOpts, SubscriptionOpts
599
- - update all ctors & factory fns to accepts options arg
600
- - fix [#81](https://github.com/thi-ng/umbrella/issues/81) (only keep last received value if `cache` option enabled)
601
- - check from `closeOut` mode and possibly keep stream alive
602
- after all current subscribers have left ([#74](https://github.com/thi-ng/umbrella/issues/74))
603
- - update tests (but need to add various new ones)
604
- - add optsWithID() helper to inject ID option if needed
605
-
606
- #### 🩹 Bug fixes
607
-
608
- - add missing timeout() re-export ([7062332](https://github.com/thi-ng/umbrella/commit/7062332))
609
-
610
- #### ♻️ Refactoring
611
-
612
- - add/update optsWithID() handling ([f0d7f87](https://github.com/thi-ng/umbrella/commit/f0d7f87))
613
-
614
- ### [2.5.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.5.3) (2019-08-16)
615
-
616
- #### 🩹 Bug fixes
617
-
618
- - preserve const enums ([765a9ac](https://github.com/thi-ng/umbrella/commit/765a9ac))
619
-
620
- ## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.5.0) (2019-07-07)
621
-
622
- #### 🚀 Features
623
-
624
- - enable TS strict compiler flags (refactor) ([d796e21](https://github.com/thi-ng/umbrella/commit/d796e21))
625
- - add fromDOMEvent() ([6e3fec8](https://github.com/thi-ng/umbrella/commit/6e3fec8))
626
-
627
- #### 🩹 Bug fixes
628
-
629
- - TS strictNullChecks, add assertions ([1aad856](https://github.com/thi-ng/umbrella/commit/1aad856))
630
- - generics & type hints (TS 3.5.2) ([eb2e18a](https://github.com/thi-ng/umbrella/commit/eb2e18a))
631
-
632
- ### [2.4.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.4.2) (2019-04-24)
633
-
634
- #### ♻️ Refactoring
635
-
636
- - replace DEBUG w/ LOGGER impl, add setLogger() ([8587989](https://github.com/thi-ng/umbrella/commit/8587989))
637
-
638
- ## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.4.0) (2019-04-11)
639
-
640
- #### 🚀 Features
641
-
642
- - add tweenNumber() ([cb6d46a](https://github.com/thi-ng/umbrella/commit/cb6d46a))
643
- (cherry picked from commit [17d0fdb2ed1130d88be8d9daa36ae7cb5e166864](https://github.com/thi-ng/umbrella/commit/17d0fdb2ed1130d88be8d9daa36ae7cb5e166864))
644
- - add tweenNumber() ([17d0fdb](https://github.com/thi-ng/umbrella/commit/17d0fdb))
645
-
646
- ### [2.3.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.3.8) (2019-04-11)
647
-
648
- #### 🩹 Bug fixes
649
-
650
- - add missing Subscription.deref() return type hint ([0ae1243](https://github.com/thi-ng/umbrella/commit/0ae1243))
651
-
652
- ### [2.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.3.2) (2019-04-02)
653
-
654
- #### 🩹 Bug fixes
655
-
656
- - fix [#80](https://github.com/thi-ng/umbrella/issues/80) update StreamSource alias ([f7b9fbd](https://github.com/thi-ng/umbrella/commit/f7b9fbd))
657
- - stream source fns don't need to return StreamCancel
658
-
659
- ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.3.0) (2019-03-21)
660
-
661
- #### 🚀 Features
662
-
663
- - update clock control for tween(), update docs ([65e9c44](https://github.com/thi-ng/umbrella/commit/65e9c44))
664
-
665
- ### [2.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.2.2) (2019-03-10)
666
-
667
- #### ♻️ Refactoring
668
-
669
- - re-use type aliases from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) ([0d2fdff](https://github.com/thi-ng/umbrella/commit/0d2fdff))
670
-
671
- ### [2.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.2.1) (2019-03-05)
672
-
673
- #### 🩹 Bug fixes
674
-
675
- - add __owner info for MetaStream, update ISubscriber ([b5801e9](https://github.com/thi-ng/umbrella/commit/b5801e9))
676
-
677
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.2.0) (2019-03-03)
678
-
679
- #### 🚀 Features
680
-
681
- - add CloseMode enum, update StreamMerge, StreamSync & opts ([f0d53b4](https://github.com/thi-ng/umbrella/commit/f0d53b4))
682
- - add tween() stream operator ([c74a2d0](https://github.com/thi-ng/umbrella/commit/c74a2d0))
683
-
684
- #### 🩹 Bug fixes
685
-
686
- - update MetaStream unsub handling ([b2e6e6f](https://github.com/thi-ng/umbrella/commit/b2e6e6f))
687
-
688
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.1.0) (2019-03-01)
689
-
690
- #### 🚀 Features
691
-
692
- - add metaStream() ([bc36005](https://github.com/thi-ng/umbrella/commit/bc36005))
693
-
694
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.0.0) (2019-01-21)
695
-
696
- #### 🛑 Breaking changes
697
-
698
- - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
699
- - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
700
- - build scripts now first build ES6 modules in package root, then call
701
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
702
- - all imports MUST be updated to only refer to package level
703
- (not individual files anymore). tree shaking in user land will get rid of
704
- all unused imported symbols
705
-
706
- #### 🩹 Bug fixes
707
-
708
- - avoid Subscription ctor to workaround parceljs build issue ([d1e275b](https://github.com/thi-ng/umbrella/commit/d1e275b))
709
- - use `subscription()` factory instead of `new Subscription`
710
- - solves issue w/ parcel's scope hoisting build flag
711
- - disable __State reverse enum lookups ([b238a3a](https://github.com/thi-ng/umbrella/commit/b238a3a))
712
-
713
- #### ♻️ Refactoring
714
-
715
- - use arrow fns, update formatting ([6c3ea08](https://github.com/thi-ng/umbrella/commit/6c3ea08))
716
- - replace Subscription.NEXT_ID w/ nextID() util ([e201ca8](https://github.com/thi-ng/umbrella/commit/e201ca8))
717
-
718
- ## [1.14.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.14.0) (2018-11-24)
719
-
720
- #### 🚀 Features
721
-
722
- - add worker tunnel() sub ([4750e79](https://github.com/thi-ng/umbrella/commit/4750e79))
723
- - add StreamSync.getSources() / getSourceForID() ([ef0fe42](https://github.com/thi-ng/umbrella/commit/ef0fe42))
724
- - add support multiple workers in Tunnel & TunnelOpts ([67a5b10](https://github.com/thi-ng/umbrella/commit/67a5b10))
725
-
726
- #### 🩹 Bug fixes
727
-
728
- - make maxWorkers optional ([46c2882](https://github.com/thi-ng/umbrella/commit/46c2882))
729
-
730
- #### ♻️ Refactoring
731
-
732
- - move tunnel to /subs, add docs ([f24e69e](https://github.com/thi-ng/umbrella/commit/f24e69e))
733
-
734
- ### [1.13.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.13.6) (2018-10-17)
735
-
736
- #### ♻️ Refactoring
737
-
738
- - update Infinity consts in various packages ([296e1e0](https://github.com/thi-ng/umbrella/commit/296e1e0))
739
-
740
- ### [1.13.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.13.2) (2018-09-24)
741
-
742
- #### ⏱ Performance improvements
743
-
744
- - `State` => const enum ([7ac83c6](https://github.com/thi-ng/umbrella/commit/7ac83c6))
745
- - export `__State` for reverse lookups
746
-
747
- ## [1.13.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.13.0) (2018-09-22)
748
-
749
- #### 🚀 Features
750
-
751
- - add trigger() utility stream ([929c6f4](https://github.com/thi-ng/umbrella/commit/929c6f4))
752
- - add trigger() generics ([288b68d](https://github.com/thi-ng/umbrella/commit/288b68d))
753
-
754
- #### ♻️ Refactoring
755
-
756
- - remove Stream.NEXT_ID, replace w/ Subscription field ([0dcc1b8](https://github.com/thi-ng/umbrella/commit/0dcc1b8))
757
-
758
- ## [1.12.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.12.0) (2018-09-08)
759
-
760
- #### 🚀 Features
761
-
762
- - add merge-only mode for StreamSync, update docs ([162aa2d](https://github.com/thi-ng/umbrella/commit/162aa2d))
763
- - add `mergeOnly` option to StreamSyncOpts
764
-
765
- ### [1.11.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.11.6) (2018-08-27)
766
-
767
- #### 🩹 Bug fixes
768
-
769
- - Fix unbound this in method call expression ([34a97b4](https://github.com/thi-ng/umbrella/commit/34a97b4))
770
-
771
- ### [1.11.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.11.3) (2018-08-24)
772
-
773
- #### ♻️ Refactoring
774
-
775
- - update StreamSync transducer init ([cd5c6ff](https://github.com/thi-ng/umbrella/commit/cd5c6ff))
776
- - fix regression caused by breaking changes in [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/main/packages/transducers)
777
- - use SEMAPHORE from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api), not transducers ([f3d4646](https://github.com/thi-ng/umbrella/commit/f3d4646))
778
-
779
- ### [1.11.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.11.1) (2018-08-06)
780
-
781
- #### 🩹 Bug fixes
782
-
783
- - add generics for stream() ([378772f](https://github.com/thi-ng/umbrella/commit/378772f))
784
-
785
- ## [1.11.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.11.0) (2018-08-03)
786
-
787
- #### 🚀 Features
788
-
789
- - update StreamSync to use `reset: false` by default, update docs ([55499cc](https://github.com/thi-ng/umbrella/commit/55499cc))
790
- - add stream() & subscription() factories, add/update docs ([e97aac0](https://github.com/thi-ng/umbrella/commit/e97aac0))
791
-
792
- ### [1.10.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.10.3) (2018-08-01)
793
-
794
- #### ♻️ Refactoring
795
-
796
- - cleanup imports ([0f7e82a](https://github.com/thi-ng/umbrella/commit/0f7e82a))
797
-
798
- ## [1.10.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.10.0) (2018-07-20)
799
-
800
- #### 🚀 Features
801
-
802
- - add reset option for timeout() ([cd751fb](https://github.com/thi-ng/umbrella/commit/cd751fb))
803
- - add tests
804
- - update docs
805
-
806
- #### ⏱ Performance improvements
807
-
808
- - optimize dispatch if only single child ([a59c5c9](https://github.com/thi-ng/umbrella/commit/a59c5c9))
809
- - replace Subscription.subs with array (was Set)
810
- - update Subscription.dispatch()
811
- - update call sites
812
- - add tests
813
-
814
- ### [1.9.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.9.7) (2018-07-19)
815
-
816
- #### 🚀 Features
817
-
818
- - Add a timeout() subscription ([aa55973](https://github.com/thi-ng/umbrella/commit/aa55973))
819
-
820
- ### [1.9.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.9.6) (2018-07-16)
821
-
822
- #### 🩹 Bug fixes
823
-
824
- - emit first value immediately in fromInterval() ([9be2018](https://github.com/thi-ng/umbrella/commit/9be2018))
825
- - previously first value was only emitted after `delay` ms
826
-
827
- ### [1.9.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.9.3) (2018-07-09)
828
-
829
- #### 🩹 Bug fixes
830
-
831
- - Fix potential reference error in transduce() ([7f2d5dd](https://github.com/thi-ng/umbrella/commit/7f2d5dd))
832
-
833
- ## [1.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.9.0) (2018-07-04)
834
-
835
- #### 🚀 Features
836
-
837
- - add support for event listener opts in `fromEvent()` ([d5ac264](https://github.com/thi-ng/umbrella/commit/d5ac264))
838
-
839
- ### [1.8.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.8.1) (2018-07-03)
840
-
841
- #### 🩹 Bug fixes
842
-
843
- - unsubscribe on error in transduce() ([8c7d937](https://github.com/thi-ng/umbrella/commit/8c7d937))
844
-
845
- ## [1.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.8.0) (2018-06-21)
846
-
847
- #### 🚀 Features
848
-
849
- - option to avoid auto-closing `fromInterval()`, add docs ([cc5b736](https://github.com/thi-ng/umbrella/commit/cc5b736))
850
-
851
- ## [1.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.7.0) (2018-05-20)
852
-
853
- #### 🚀 Features
854
-
855
- - update resolve(), update subscribe() overrides ([23fdd39](https://github.com/thi-ng/umbrella/commit/23fdd39))
856
- - replace resolve() opt `id` arg w/ `ResolveOpts` object
857
- - if `fail` option is given use as Promise failure handler instead of
858
- calling `this.error()` and thereby stopping stream
859
- - add new override for actual child `Subscription`s, fixes generics
860
- - update `subscribe()` for Subscription, Stream, PubSub
861
- - re-implement bisect() using PubSub, update tests ([846aaf9](https://github.com/thi-ng/umbrella/commit/846aaf9))
862
-
863
- #### 🩹 Bug fixes
864
-
865
- - minor update PubSub topic fn return type ([cbc600e](https://github.com/thi-ng/umbrella/commit/cbc600e))
866
-
867
- ### [1.6.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.6.6) (2018-05-10)
868
-
869
- #### ♻️ Refactoring
870
-
871
- - update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
872
-
873
- ### [1.6.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.6.2) (2018-04-26)
874
-
875
- #### ♻️ Refactoring
876
-
877
- - update ISubscribable (add IDeref parent) ([76f00c3](https://github.com/thi-ng/umbrella/commit/76f00c3))
878
-
879
- ### [1.6.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.6.1) (2018-04-25)
880
-
881
- #### 🩹 Bug fixes
882
-
883
- - minor fix StreamSync.addAll() ([cc286e1](https://github.com/thi-ng/umbrella/commit/cc286e1))
884
-
885
- ## [1.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.6.0) (2018-04-24)
886
-
887
- #### 🚀 Features
888
-
889
- - add owner meta data & IDs for merge/sync inputs ([33f55b3](https://github.com/thi-ng/umbrella/commit/33f55b3))
890
-
891
- #### ⏱ Performance improvements
892
-
893
- - support (re)named StreamSync inputs ([b392817](https://github.com/thi-ng/umbrella/commit/b392817))
894
- - update StreamSyncOpts
895
- - allow objects as `src` option, use object keys as input IDs
896
- - update `add()`, add optional ID arg
897
- - add various maps to handle real vs. alias IDs
898
-
899
- ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.5.0) (2018-04-20)
900
-
901
- #### 🚀 Features
902
-
903
- - add PubSub, add ISubscribableSubscriber, remove cache() ([27a098d](https://github.com/thi-ng/umbrella/commit/27a098d))
904
- - allow arbitrary PubSub topic vals, add [@thi.ng/associative](https://github.com/thi-ng/umbrella/tree/main/packages/associative) dep ([ba10907](https://github.com/thi-ng/umbrella/commit/ba10907))
905
- - use EquivMap for storing topics
906
- - add/update tests
907
- - add docs
908
-
909
- ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.4.0) (2018-04-16)
910
-
911
- #### 🚀 Features
912
-
913
- - add StreamMerge/Sync.removeID() & removeAllIDs() ([8bcc287](https://github.com/thi-ng/umbrella/commit/8bcc287))
914
- - update remove() & removeAll() to return boolean
915
-
916
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.3.0) (2018-04-15)
917
-
918
- #### 🚀 Features
919
-
920
- - add Subscription.transform() ([2164ddf](https://github.com/thi-ng/umbrella/commit/2164ddf))
921
-
922
- ### [1.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.2.4) (2018-04-05)
923
-
924
- #### 🩹 Bug fixes
925
-
926
- - correct wrong isString() import ([48310a6](https://github.com/thi-ng/umbrella/commit/48310a6))
927
- - use [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/main/packages/checks)/is-string, not from node "util" package
928
-
929
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.2.0) (2018-03-21)
930
-
931
- #### 🚀 Features
932
-
933
- - update error handling, add [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) dep ([1ce7054](https://github.com/thi-ng/umbrella/commit/1ce7054))
934
-
935
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.1.0) (2018-03-21)
936
-
937
- #### 🚀 Features
938
-
939
- - update Subscription.unsubscribe() ([01a751e](https://github.com/thi-ng/umbrella/commit/01a751e))
940
- - switch to DONE state if unsubscribing itself from parent
941
- - unsubscribe itself from parent after last child sub unsubscribed
942
- (effect propagates upstream until no more parent)
943
- - add fromView(), update fromAtom() docs, update re-exports ([41bb385](https://github.com/thi-ng/umbrella/commit/41bb385))
944
- - update Sidechain*.next(), add unsubscribe() ([d18a115](https://github.com/thi-ng/umbrella/commit/d18a115))
945
- - don't throw errors in next() if state >= DONE
946
- - unsub sidechain when unsubscribing SidechainPartition/Toggle itself
947
- - 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))
948
- - any Subscription values (incl. Streams) sent by inputs are added
949
- to the set of inputs themselves and not passed downstream
950
- - add test case
951
- - Subscription stores last value and passes to new subs ([6b87bca](https://github.com/thi-ng/umbrella/commit/6b87bca))
952
- - add transduce(), update re-exports ([eec56de](https://github.com/thi-ng/umbrella/commit/eec56de))
953
- - add merge()/sync() ctor wrappers ([1fee7d5](https://github.com/thi-ng/umbrella/commit/1fee7d5))
954
- - add IDeref impl for Subscription ([907d599](https://github.com/thi-ng/umbrella/commit/907d599))
955
-
956
- #### 🩹 Bug fixes
957
-
958
- - bisect() add downstream impl checks, add tests ([2ad2f48](https://github.com/thi-ng/umbrella/commit/2ad2f48))
959
-
960
- #### ♻️ Refactoring
961
-
962
- - simplify Subscription, update all impls ([47b6a92](https://github.com/thi-ng/umbrella/commit/47b6a92))
963
- - use Set for storing child subs
964
- - update Stream, StreamMerge, StreamSync
965
- - only clean sources in StreamMerge/Sync.unsubscribe()
966
- - update & StreamMerge/SyncOpts, minor fixes StreamSync ([ebe222c](https://github.com/thi-ng/umbrella/commit/ebe222c))
967
- - only allow arrays for sources
968
- - pre-add/remove source IDs in StreamSync.addAll/removeAll()
969
- - update mapVals() xform to use copies
970
- - simplify unsubscribe() logic ([26f15b2](https://github.com/thi-ng/umbrella/commit/26f15b2))
971
- - add Subscription.cleanup()
972
- - update unsub for Stream, Subscription, StreamMerge/Sync
973
- - no more calling of done() as part of unsub process
974
- (strictly unidirectional teardown from child -> parent)
975
- - fix input unsubs for StreamMerge/Sync
976
-
977
- ### [1.0.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.0.22) (2018-03-19)
978
-
979
- #### 🚀 Features
980
-
981
- - add StreamSync ([791a993](https://github.com/thi-ng/umbrella/commit/791a993))
982
-
983
- #### ♻️ Refactoring
984
-
985
- - add/update Stream ctor arities ([c736433](https://github.com/thi-ng/umbrella/commit/c736433))
986
- - minor cleanup/perf StreamSync ([f7029ef](https://github.com/thi-ng/umbrella/commit/f7029ef))
987
- - simplify StreamMerge source handling ([ff802a4](https://github.com/thi-ng/umbrella/commit/ff802a4))
988
-
989
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.0.0) (2018-02-18)
990
-
991
- #### 🛑 Breaking changes
992
-
993
- - 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))
994
- - BREAKING CHANGE: StreamMerge ctor now accepts an options object
995
- only (`StreamMergeOpts`).
996
-
997
- #### ♻️ Refactoring
998
-
999
- - don't throw in unsubscribe() if no parent ([ca1caae](https://github.com/thi-ng/umbrella/commit/ca1caae))
1000
-
1001
- ## [0.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.9.0) (2018-02-01)
1002
-
1003
- #### 🚀 Features
1004
-
1005
- - add Cache subscription class ([ea638be](https://github.com/thi-ng/umbrella/commit/ea638be))
1006
-
1007
- ### [0.8.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.8.1) (2018-01-31)
1008
-
1009
- #### 🩹 Bug fixes
1010
-
1011
- - subscription unhandled error handling ([54cd526](https://github.com/thi-ng/umbrella/commit/54cd526))
1012
- - track if any child subs have received error, if not treat as unhandled
1013
- and unsub current sub from parent (if any)
1014
-
1015
- ## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.8.0) (2018-01-31)
1016
-
1017
- #### 🚀 Features
1018
-
1019
- - add changed predicate for fromAtom(), add tests ([d58cf70](https://github.com/thi-ng/umbrella/commit/d58cf70))
1020
-
1021
- ### [0.7.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.7.4) (2018-01-29)
1022
-
1023
- #### 🩹 Bug fixes
1024
-
1025
- - fatal recursion w/ error handling ([382aa05](https://github.com/thi-ng/umbrella/commit/382aa05))
1026
- - use Subscription.dispatch() only for next() calls, wrapped in try..catch
1027
- - update Subscription.error() & done() to call children WITHOUT try...catch
1028
- - revert obsolete test timeout adjustment
1029
-
1030
- ### [0.7.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.7.2) (2018-01-29)
1031
-
1032
- #### 🩹 Bug fixes
1033
-
1034
- - fix [#1](https://github.com/thi-ng/umbrella/issues/1) update fromPromise(), add test ([822b297](https://github.com/thi-ng/umbrella/commit/822b297))
1035
- - add catch() outside stream source to catch errors before 1st sub is active
1036
-
1037
- ## [0.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.7.0) (2018-01-29)
1038
-
1039
- #### 🚀 Features
1040
-
1041
- - add trace() error handler ([2247f72](https://github.com/thi-ng/umbrella/commit/2247f72))
1042
- - add fromPromises(), add docs ([55ba0e1](https://github.com/thi-ng/umbrella/commit/55ba0e1))
1043
- - add atom dep, add fromAtom() & docs ([ca3994a](https://github.com/thi-ng/umbrella/commit/ca3994a))
1044
-
1045
- ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.6.0) (2018-01-28)
1046
-
1047
- #### 🚀 Features
1048
-
1049
- - add new package, remove CSP dep from rstream ([e37f6a1](https://github.com/thi-ng/umbrella/commit/e37f6a1))
1050
-
1051
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.4.0) (2018-01-25)
1052
-
1053
- #### 🚀 Features
1054
-
1055
- - add sidechainToggle(), minor update sidechainPartition() ([f6ca3f3](https://github.com/thi-ng/umbrella/commit/f6ca3f3))
1056
-
1057
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.3.0) (2018-01-25)
1058
-
1059
- #### 🚀 Features
1060
-
1061
- - add fromRAF() fallback for node, add docs ([4e5a2ee](https://github.com/thi-ng/umbrella/commit/4e5a2ee))
1062
-
1063
- #### 🩹 Bug fixes
1064
-
1065
- - subscription generics if transducer is used ([592a242](https://github.com/thi-ng/umbrella/commit/592a242))
1066
- - don't throw resolve() error, only warning msg ([eef65b9](https://github.com/thi-ng/umbrella/commit/eef65b9))
1067
-
1068
- ### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.2.1) (2018-01-24)
1069
-
1070
- #### 🚀 Features
1071
-
1072
- - initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 200 standalone projects, maintained as part
10
+ > This is one of 201 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream",
3
- "version": "9.2.6",
3
+ "version": "9.2.8",
4
4
  "description": "Reactive streams & subscription primitives for constructing dataflow graphs / pipelines",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,27 +37,25 @@
37
37
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
38
38
  "clean": "bun ../../tools/src/clean-package.ts",
39
39
  "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
40
- "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
41
40
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
42
41
  "pub": "yarn npm publish --access public",
43
42
  "test": "bun test",
44
43
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
45
44
  },
46
45
  "dependencies": {
47
- "@thi.ng/api": "^8.11.17",
48
- "@thi.ng/arrays": "^2.10.12",
49
- "@thi.ng/associative": "^7.0.21",
50
- "@thi.ng/atom": "^5.3.18",
51
- "@thi.ng/checks": "^3.6.20",
52
- "@thi.ng/errors": "^2.5.23",
53
- "@thi.ng/logger": "^3.0.28",
54
- "@thi.ng/transducers": "^9.2.15"
46
+ "@thi.ng/api": "^8.11.19",
47
+ "@thi.ng/arrays": "^2.10.14",
48
+ "@thi.ng/associative": "^7.0.23",
49
+ "@thi.ng/atom": "^5.3.20",
50
+ "@thi.ng/checks": "^3.6.22",
51
+ "@thi.ng/errors": "^2.5.25",
52
+ "@thi.ng/logger": "^3.0.30",
53
+ "@thi.ng/transducers": "^9.2.17"
55
54
  },
56
55
  "devDependencies": {
57
- "@microsoft/api-extractor": "^7.48.1",
58
56
  "esbuild": "^0.24.2",
59
57
  "typedoc": "^0.27.6",
60
- "typescript": "^5.7.2"
58
+ "typescript": "^5.7.3"
61
59
  },
62
60
  "keywords": [
63
61
  "async",
@@ -223,5 +221,5 @@
223
221
  ],
224
222
  "year": 2017
225
223
  },
226
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
224
+ "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
227
225
  }