@thi.ng/transducers 9.2.14 → 9.2.16

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 (2) hide show
  1. package/CHANGELOG.md +3 -912
  2. package/package.json +12 -13
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-14T12:23:33Z
3
+ - **Last updated**: 2025-01-23T13:39:11Z
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
@@ -151,914 +153,3 @@ and/or version bumps of transitive dependencies.
151
153
  #### 🚀 Features
152
154
 
153
155
  - add mapA() helper ([5cc5795](https://github.com/thi-ng/umbrella/commit/5cc5795))
154
-
155
- ## [8.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.2.0) (2021-12-14)
156
-
157
- #### 🚀 Features
158
-
159
- - update/fix/extend streamShuffle() ([dc26203](https://github.com/thi-ng/umbrella/commit/dc26203))
160
- - add StreamShuffleOpts, add IRandom opt
161
- - fix args for internal shuffle() calls
162
- - optimize number of shuffle calls
163
- - optimize final buffer drain
164
-
165
- ## [8.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.1.0) (2021-11-17)
166
-
167
- #### 🚀 Features
168
-
169
- - add rechunk() xform ([10d0e9f](https://github.com/thi-ng/umbrella/commit/10d0e9f))
170
- - update readme
171
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
172
- Improving the overall build ergonomics
173
- - introduced a tools workspaces
174
- - imported it in all needed packages/examples
175
- - inclusive project root
176
-
177
- #### ♻️ Refactoring
178
-
179
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
180
- this commit reverts (partly) changes made in:
181
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
182
- overall purpose is better testament ergonomics:
183
- instead of having to pass NODE_OPTIONS with every invocation
184
- having a binary to handle this for us.
185
-
186
- ### [8.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.0.8) (2021-11-10)
187
-
188
- #### ♻️ Refactoring
189
-
190
- - update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
191
-
192
- ### [8.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.0.1) (2021-10-13)
193
-
194
- #### ♻️ Refactoring
195
-
196
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
197
- - add .js suffix for all relative imports
198
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
199
-
200
- # [8.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.0.0) (2021-10-12)
201
-
202
- #### 🛑 Breaking changes
203
-
204
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
205
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
206
- - only ESM modules will be published from now on
207
- - CJS obsolete due to ESM support in recent versions of node:
208
- - i.e. launch NodeJS via:
209
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
210
- - in the node REPL use `await import(...)` instead of `require()`
211
- - UMD obsolete due to widespread browser support for ESM
212
- Also:
213
- - normalize/restructure/reorg all package.json files
214
- - cleanup all build scripts, remove obsolete
215
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
216
- - restructure package ([4d643f5](https://github.com/thi-ng/umbrella/commit/4d643f5))
217
- - BREAKING CHANGE: restructure/flatten pkg, remove sub folders
218
- - migrate all /func, /iter, /rfn, /xform files to main /src folder
219
-
220
- #### ♻️ Refactoring
221
-
222
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
223
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
224
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
225
- - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
226
- - largely related to recent updates/restructuring of these packages:
227
- - api
228
- - defmulti
229
- - errors
230
- - logger
231
-
232
- ### [7.9.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.9.2) (2021-09-03)
233
-
234
- #### 🩹 Bug fixes
235
-
236
- - fix [#310](https://github.com/thi-ng/umbrella/issues/310), update flatten/flattenWith ([bfbd726](https://github.com/thi-ng/umbrella/commit/bfbd726))
237
- - fix `flatten()`/`flattenWith()` return types
238
- - update generics to allow specifying explicit result type, but
239
- use new `DeepArrayValue<A>` mapped type as default
240
- - update `flattenWith()` predicate arg type to `any` since current
241
- restriction on top-level input type was (potentially) wrong for
242
- deeper levels. Also lift restriction and update pred's return type
243
- to `MaybeIterable<any>` (for same reason).
244
-
245
- ### [7.9.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.9.1) (2021-08-19)
246
-
247
- #### 🩹 Bug fixes
248
-
249
- - update normFrequenciesAuto() ([5b5200b](https://github.com/thi-ng/umbrella/commit/5b5200b))
250
- - actually use `key` fn arg (if given)
251
-
252
- ## [7.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.9.0) (2021-08-19)
253
-
254
- #### 🚀 Features
255
-
256
- - add normalized frequencies() reducers ([d09db8d](https://github.com/thi-ng/umbrella/commit/d09db8d))
257
- - add normCount()
258
- - add normFrequencies()
259
- - add normFrequenciesAuto()
260
- - update readme
261
-
262
- ## [7.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.8.0) (2021-08-04)
263
-
264
- #### 🚀 Features
265
-
266
- - update repeatedly(), iterate() ([b7d9ba4](https://github.com/thi-ng/umbrella/commit/b7d9ba4))
267
- - add iteration counter arg for repeatedly()
268
- - minor refactor iterate()
269
- - add minMax() reducer ([5f8a722](https://github.com/thi-ng/umbrella/commit/5f8a722))
270
-
271
- ## [7.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.7.0) (2021-04-07)
272
-
273
- #### 🚀 Features
274
-
275
- - add partitionWhen() xform ([d2dd4d9](https://github.com/thi-ng/umbrella/commit/d2dd4d9))
276
-
277
- ### [7.6.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.6.10) (2021-04-03)
278
-
279
- #### ♻️ Refactoring
280
-
281
- - minor updates ([c582a1a](https://github.com/thi-ng/umbrella/commit/c582a1a))
282
-
283
- ### [7.6.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.6.2) (2021-03-03)
284
-
285
- #### 🩹 Bug fixes
286
-
287
- - add missing type anno (TS4.2) ([7ced9be](https://github.com/thi-ng/umbrella/commit/7ced9be))
288
-
289
- ## [7.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.6.0) (2021-02-20)
290
-
291
- #### 🚀 Features
292
-
293
- - add TweenOpts.easing, update tween() ([f3a50f4](https://github.com/thi-ng/umbrella/commit/f3a50f4))
294
-
295
- #### ♻️ Refactoring
296
-
297
- - use clamp0() ([47d5e54](https://github.com/thi-ng/umbrella/commit/47d5e54))
298
-
299
- ### [7.5.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.5.2) (2020-12-07)
300
-
301
- #### ♻️ Refactoring
302
-
303
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
304
- - update type-only imports ([6407f7d](https://github.com/thi-ng/umbrella/commit/6407f7d))
305
-
306
- ## [7.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.5.0) (2020-11-24)
307
-
308
- #### 🚀 Features
309
-
310
- - add reduceRight/transduceRight() ([b71ff9c](https://github.com/thi-ng/umbrella/commit/b71ff9c))
311
- - update readme
312
- - add minMag/maxMag() reducers ([f7496b3](https://github.com/thi-ng/umbrella/commit/f7496b3))
313
-
314
- #### ♻️ Refactoring
315
-
316
- - update destructuring ([d944b54](https://github.com/thi-ng/umbrella/commit/d944b54))
317
- - dedupe transduce/transduceRight() internals ([2246ef4](https://github.com/thi-ng/umbrella/commit/2246ef4))
318
-
319
- ## [7.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.4.0) (2020-09-22)
320
-
321
- #### 🚀 Features
322
-
323
- - add mapcatIndexed() xform ([4f3d6e0](https://github.com/thi-ng/umbrella/commit/4f3d6e0))
324
-
325
- ### [7.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.3.1) (2020-09-13)
326
-
327
- #### ♻️ Refactoring
328
-
329
- - update imports ([e166cda](https://github.com/thi-ng/umbrella/commit/e166cda))
330
-
331
- ## [7.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.3.0) (2020-08-28)
332
-
333
- #### 🚀 Features
334
-
335
- - add normRange2 ([1125930](https://github.com/thi-ng/umbrella/commit/1125930))
336
- - fix normRange2d, add normRange3d ([db75605](https://github.com/thi-ng/umbrella/commit/db75605))
337
-
338
- #### 🩹 Bug fixes
339
-
340
- - type ([dedce3f](https://github.com/thi-ng/umbrella/commit/dedce3f))
341
-
342
- #### ♻️ Refactoring
343
-
344
- - update/fix normRange2d/3d() ([d40c4a7](https://github.com/thi-ng/umbrella/commit/d40c4a7))
345
-
346
- ## [7.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.2.0) (2020-07-28)
347
-
348
- #### 🚀 Features
349
-
350
- - add autoObj() reducer ([26ad12a](https://github.com/thi-ng/umbrella/commit/26ad12a))
351
-
352
- ## [7.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.1.0) (2020-06-14)
353
-
354
- #### 🚀 Features
355
-
356
- - add keyPermutations, tests, update readme ([5110d50](https://github.com/thi-ng/umbrella/commit/5110d50))
357
-
358
- # [7.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@7.0.0) (2020-06-01)
359
-
360
- #### 🛑 Breaking changes
361
-
362
- - update readme ([47b6cef](https://github.com/thi-ng/umbrella/commit/47b6cef))
363
- - BREAKING CHANGE: `flatten` string handling now *always* atomic
364
-
365
- #### 🩹 Bug fixes
366
-
367
- - [#186](https://github.com/thi-ng/umbrella/issues/186), Fix crash when using empty string as source for several transducers. ([ef7a798](https://github.com/thi-ng/umbrella/commit/ef7a798))
368
-
369
- #### ♻️ Refactoring
370
-
371
- - update flatten & flattenWith ([35c2aaf](https://github.com/thi-ng/umbrella/commit/35c2aaf))
372
-
373
- ## [6.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.7.0) (2020-06-01)
374
-
375
- #### 🚀 Features
376
-
377
- - add IDeref support slidingWindow() ([13f4184](https://github.com/thi-ng/umbrella/commit/13f4184))
378
- (cherry picked from commit [c75175689544f172acde856b4261ca9dc128d1dd](https://github.com/thi-ng/umbrella/commit/c75175689544f172acde856b4261ca9dc128d1dd))
379
- - add IDeref support slidingWindow() ([c751756](https://github.com/thi-ng/umbrella/commit/c751756))
380
-
381
- ## [6.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.6.0) (2020-05-29)
382
-
383
- #### 🚀 Features
384
-
385
- - add rangeNd(), add/update tests ([9239d6f](https://github.com/thi-ng/umbrella/commit/9239d6f))
386
-
387
- #### ♻️ Refactoring
388
-
389
- - update rangeNd() arg types ([d5aab14](https://github.com/thi-ng/umbrella/commit/d5aab14))
390
-
391
- ## [6.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.5.0) (2020-05-14)
392
-
393
- #### 🚀 Features
394
-
395
- - [#221](https://github.com/thi-ng/umbrella/issues/221), add partitionSync() key add/removal ops ([2ab4bf5](https://github.com/thi-ng/umbrella/commit/2ab4bf5))
396
- - add PartitionSync type
397
- - attach ops to dynamically manipulate & query input set
398
- - make input removal cleanup optional (enabled by default)
399
- - add/update tests
400
-
401
- ## [6.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.4.0) (2020-03-01)
402
-
403
- #### 🚀 Features
404
-
405
- - add partitionTime() transducer ([efafd0b](https://github.com/thi-ng/umbrella/commit/efafd0b))
406
- - update mapKeys() key fns to accept 2nd arg ([749d2cd](https://github.com/thi-ng/umbrella/commit/749d2cd))
407
- - pass original input value as 2nd arg to each key transform fn
408
- - this allows creating new keys based on other values in the object
409
-
410
- ## [6.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.3.0) (2020-02-25)
411
-
412
- #### 🚀 Features
413
-
414
- - add peek() xform, update readme ([26aa228](https://github.com/thi-ng/umbrella/commit/26aa228))
415
-
416
- #### ♻️ Refactoring
417
-
418
- - update imports ([f081687](https://github.com/thi-ng/umbrella/commit/f081687))
419
-
420
- ## [6.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.2.0) (2020-01-24)
421
-
422
- #### 🚀 Features
423
-
424
- - add pushSort() reducer ([444d2ee](https://github.com/thi-ng/umbrella/commit/444d2ee))
425
- - add sortedKeys() iterator ([fa9343c](https://github.com/thi-ng/umbrella/commit/fa9343c))
426
- - add dup() & palindrome(), update readme ([546bf9f](https://github.com/thi-ng/umbrella/commit/546bf9f))
427
- - add line(), curve() ([31bd5b9](https://github.com/thi-ng/umbrella/commit/31bd5b9))
428
- - add opt limit for cycle() ([186daff](https://github.com/thi-ng/umbrella/commit/186daff))
429
- - update curve(), line(), iterate() ([3581a9d](https://github.com/thi-ng/umbrella/commit/3581a9d))
430
- - curve(): use new/improved logic from [@thi.ng/dsp](https://github.com/thi-ng/umbrella/tree/main/packages/dsp)
431
- - iterate(): add opt step count
432
- - add IXform interface & TxLike type alias, update related functions ([49c62b7](https://github.com/thi-ng/umbrella/commit/49c62b7))
433
- - update all fns expecting Transducer args
434
- - add internal ensureTransducer() helper
435
-
436
- #### 🩹 Bug fixes
437
-
438
- - use child reducer completion step in groupByMap/Obj() ([ff44fcb](https://github.com/thi-ng/umbrella/commit/ff44fcb))
439
- - update keep() xform to accept nullable ([1bc561b](https://github.com/thi-ng/umbrella/commit/1bc561b))
440
-
441
- #### ⏱ Performance improvements
442
-
443
- - update string version of palindrome() ([315cbf8](https://github.com/thi-ng/umbrella/commit/315cbf8))
444
- - avoid char-wise iteration of original input
445
-
446
- #### ♻️ Refactoring
447
-
448
- - update ConvolutionOpts ([0748d97](https://github.com/thi-ng/umbrella/commit/0748d97))
449
-
450
- ## [6.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.1.0) (2019-11-30)
451
-
452
- #### 🩹 Bug fixes
453
-
454
- - add type hints ([651e281](https://github.com/thi-ng/umbrella/commit/651e281))
455
-
456
- # [6.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@6.0.0) (2019-11-09)
457
-
458
- #### 🛑 Breaking changes
459
-
460
- - simplify args for extendSides, padSides, wrapSides ([a36651a](https://github.com/thi-ng/umbrella/commit/a36651a))
461
- - rename wrap() => wrapSides()
462
- - remove obsolete & deprecated wrapLeft/Right/Both
463
- - BREAKING CHANGE: Rename wrap() => wrapSides(), update signature to be
464
- aligned w/ related iterators
465
- - rename old `interpolate` => `tween` ([918721d](https://github.com/thi-ng/umbrella/commit/918721d))
466
- - BREAKING CHANGE: rename `interpolate` iterator => `tween`
467
- - update tween() args ([5523582](https://github.com/thi-ng/umbrella/commit/5523582))
468
- - add TweenOpts
469
- - add/update docstrings
470
- - BREAKING CHANGE: replace tween() args w/ `TweenOpts` config object
471
-
472
- #### 🚀 Features
473
-
474
- - add new iterators: extendSides/padSides/symmetric() ([47001fc](https://github.com/thi-ng/umbrella/commit/47001fc))
475
- - add new transducers: interpolate, interpolateHermite/Linear ([c3fa9ab](https://github.com/thi-ng/umbrella/commit/c3fa9ab))
476
-
477
- #### ♻️ Refactoring
478
-
479
- - add type hints (TS 3.6.4) ([a1582c0](https://github.com/thi-ng/umbrella/commit/a1582c0))
480
- - fix [#166](https://github.com/thi-ng/umbrella/issues/166), update wrapSides() bounds check ([963c73a](https://github.com/thi-ng/umbrella/commit/963c73a))
481
-
482
- ### [5.4.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.4.5) (2019-09-21)
483
-
484
- #### 🚀 Features
485
-
486
- - add back pressure support for partitionSync() ([6e14952](https://github.com/thi-ng/umbrella/commit/6e14952))
487
-
488
- #### 🩹 Bug fixes
489
-
490
- - fix mean() for reduce w/ init value ([d993bf2](https://github.com/thi-ng/umbrella/commit/d993bf2))
491
-
492
- ### [5.4.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.4.4) (2019-08-21)
493
-
494
- #### ♻️ Refactoring
495
-
496
- - extract common logic for add/mul/sub reducers ([7caa71a](https://github.com/thi-ng/umbrella/commit/7caa71a))
497
- - update kernelLookup destructuring ([acaa38e](https://github.com/thi-ng/umbrella/commit/acaa38e))
498
- - update/split reduce() ([820e7c7](https://github.com/thi-ng/umbrella/commit/820e7c7))
499
- - extract internal helpers, update rfns & xforms ([7772f9b](https://github.com/thi-ng/umbrella/commit/7772f9b))
500
- Impacted reducers:
501
- - add/mul/sub
502
- - groupByMap/Obj
503
- Xforms:
504
- - movingMedian
505
- - partitionSort / streamSort
506
- - takeLast
507
-
508
- ## [5.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.4.0) (2019-07-07)
509
-
510
- #### 🚀 Features
511
-
512
- - enable TS strict compiler flags (refactor) ([2f8ec89](https://github.com/thi-ng/umbrella/commit/2f8ec89))
513
-
514
- #### 🩹 Bug fixes
515
-
516
- - fix cat/mapcat arg types ([0d9b7cb](https://github.com/thi-ng/umbrella/commit/0d9b7cb))
517
-
518
- #### ♻️ Refactoring
519
-
520
- - address TS strictNullChecks flag ([c681aae](https://github.com/thi-ng/umbrella/commit/c681aae))
521
-
522
- ### [5.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.3.3) (2019-04-03)
523
-
524
- #### 🩹 Bug fixes
525
-
526
- - fix [#82](https://github.com/thi-ng/umbrella/issues/82), update partitionSync required key checks, add tests ([8b2f3fe](https://github.com/thi-ng/umbrella/commit/8b2f3fe))
527
-
528
- ## [5.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.3.0) (2019-03-21)
529
-
530
- #### 🚀 Features
531
-
532
- - add toggle() xform ([b5c744e](https://github.com/thi-ng/umbrella/commit/b5c744e))
533
-
534
- #### 🩹 Bug fixes
535
-
536
- - update mean() completion step to avoid div by zero ([f644ecd](https://github.com/thi-ng/umbrella/commit/f644ecd))
537
-
538
- ## [5.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.2.0) (2019-03-10)
539
-
540
- #### 🚀 Features
541
-
542
- - add / update convolution fns ([31e594b](https://github.com/thi-ng/umbrella/commit/31e594b))
543
- - add buildKernel1d, convolve1d
544
-
545
- #### ♻️ Refactoring
546
-
547
- - 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))
548
-
549
- ### [5.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.1.2) (2019-03-03)
550
-
551
- #### 🩹 Bug fixes
552
-
553
- - update dedupe() w/ predicate arg ([c414423](https://github.com/thi-ng/umbrella/commit/c414423))
554
- - if pred is given, do not call pred for 1st value (always passes)
555
-
556
- ## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.1.0) (2019-02-26)
557
-
558
- #### 🚀 Features
559
-
560
- - add converge() xform, add iter arg to iterate() ([8393a95](https://github.com/thi-ng/umbrella/commit/8393a95))
561
-
562
- #### 🩹 Bug fixes
563
-
564
- - update converge() & update readme ([9aca912](https://github.com/thi-ng/umbrella/commit/9aca912))
565
-
566
- # [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@5.0.0) (2019-02-15)
567
-
568
- #### 🛑 Breaking changes
569
-
570
- - remove obsolete fns, update to use [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/main/packages/arrays) ([83cb816](https://github.com/thi-ng/umbrella/commit/83cb816))
571
- - BREAKING CHANGE: migrate various support fns to [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/main/packages/arrays)
572
- - remove/migrate functions:
573
- - binarySearch()
574
- - ensureArray() / ensureIterable()
575
- - fuzzyMatch()
576
- - peek()
577
- - shuffleN()
578
- - swizzler()
579
- - add support for IRandom in:
580
- - randomID()
581
- - choices()
582
- - weightedRandom()
583
- - sample()
584
- - update deps / readme
585
- - remove obsolete randomID() & weightedRandom() ([4b0eec6](https://github.com/thi-ng/umbrella/commit/4b0eec6))
586
- - BREAKING CHANGE: migrate randomID() & weightedRandom() to [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/main/packages/random)
587
- - update choices() iterator
588
- - restructure, migrate / remove various functions ([05bf213](https://github.com/thi-ng/umbrella/commit/05bf213))
589
- - BREAKING CHANGE: migrate / remove various functions to other packages
590
- - constantly(), delay(), identity() => [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/main/packages/compose)
591
- - randomID(), weightedRandom() => [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/main/packages/random)
592
- - remove re-exports:
593
- - even(), odd() (from [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/main/packages/checks))
594
- - juxt() (from [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/main/packages/compose))
595
- - remove obsolete hex() fn (use [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/main/packages/strings) fns instead)
596
-
597
- #### ♻️ Refactoring
598
-
599
- - update [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/main/packages/arrays) call sites ([f95ab38](https://github.com/thi-ng/umbrella/commit/f95ab38))
600
-
601
- # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@4.0.0) (2019-02-05)
602
-
603
- #### 🛑 Breaking changes
604
-
605
- - migrate binary related ops to new package ([a7c1ef7](https://github.com/thi-ng/umbrella/commit/a7c1ef7))
606
- - update readme
607
- - BREAKING CHANGE: migrate all binary data related ops to new package [@thi.ng/transducers-binary](https://github.com/thi-ng/umbrella/tree/main/packages/transducers-binary)
608
- Removed:
609
- - bits
610
- - base64Encode/Decode
611
- - hexDump
612
- - partitionBits
613
- - utf8Encode/Decode
614
-
615
- #### 🩹 Bug fixes
616
-
617
- - ensure all vals in hexDump iterator version ([ae83bb2](https://github.com/thi-ng/umbrella/commit/ae83bb2))
618
-
619
- #### ♻️ Refactoring
620
-
621
- - deprecate & rename tuples() => zip() ([d1151ce](https://github.com/thi-ng/umbrella/commit/d1151ce))
622
- - update refs / re-exports
623
-
624
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@3.0.0) (2019-01-21)
625
-
626
- #### 🛑 Breaking changes
627
-
628
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
629
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
630
- - build scripts now first build ES6 modules in package root, then call
631
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
632
- - all imports MUST be updated to only refer to package level
633
- (not individual files anymore). tree shaking in user land will get rid of
634
- all unused imported symbols.
635
-
636
- #### 🩹 Bug fixes
637
-
638
- - update juxt re-export ([a894a24](https://github.com/thi-ng/umbrella/commit/a894a24))
639
-
640
- #### ♻️ Refactoring
641
-
642
- - use arrow fns ([e9f0542](https://github.com/thi-ng/umbrella/commit/e9f0542))
643
-
644
- ### [2.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.3.2) (2019-01-02)
645
-
646
- #### 🩹 Bug fixes
647
-
648
- - add reduced() handling for cat() ([cd17586](https://github.com/thi-ng/umbrella/commit/cd17586))
649
-
650
- ### [2.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.3.1) (2018-12-29)
651
-
652
- #### 🩹 Bug fixes
653
-
654
- - interpolate() interval selection, add minPos/maxPos ([a90a712](https://github.com/thi-ng/umbrella/commit/a90a712))
655
-
656
- ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.3.0) (2018-12-28)
657
-
658
- #### 🚀 Features
659
-
660
- - add interpolate() iterator, update readme ([846ab5c](https://github.com/thi-ng/umbrella/commit/846ab5c))
661
-
662
- ### [2.2.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.2.7) (2018-12-17)
663
-
664
- #### 🩹 Bug fixes
665
-
666
- - add return type for range() ([0470505](https://github.com/thi-ng/umbrella/commit/0470505))
667
-
668
- ### [2.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.2.3) (2018-12-01)
669
-
670
- #### ♻️ Refactoring
671
-
672
- - implement range() as class w/ IReducible impl ([0e77d2c](https://github.com/thi-ng/umbrella/commit/0e77d2c))
673
-
674
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.2.0) (2018-10-17)
675
-
676
- #### 🚀 Features
677
-
678
- - update wrap*() fns to accept iterables ([515e5ba](https://github.com/thi-ng/umbrella/commit/515e5ba))
679
-
680
- #### 🩹 Bug fixes
681
-
682
- - minor TS3.1 fixes ([1ef2361](https://github.com/thi-ng/umbrella/commit/1ef2361))
683
-
684
- #### ♻️ Refactoring
685
-
686
- - update Infinity consts in various packages ([296e1e0](https://github.com/thi-ng/umbrella/commit/296e1e0))
687
- - add ensureArrayLike(), update permutations() ([f257330](https://github.com/thi-ng/umbrella/commit/f257330))
688
-
689
- ### [2.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.1.6) (2018-09-26)
690
-
691
- #### 🩹 Bug fixes
692
-
693
- - fix matchLast(), fix & update return match*() types ([823d828](https://github.com/thi-ng/umbrella/commit/823d828))
694
- - use iterator() instead of iterator1() for matchLast()
695
- - fix return type decls for both matchFirst() / matchLast()
696
- - update doc strings
697
-
698
- ### [2.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.1.2) (2018-09-22)
699
-
700
- #### 🩹 Bug fixes
701
-
702
- - add missing type annotation ([022101f](https://github.com/thi-ng/umbrella/commit/022101f))
703
-
704
- ### [2.1.2-alpha.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.1.2-alpha.1) (2018-09-17)
705
-
706
- #### 🚀 Features
707
-
708
- - add randomID() ([b488d2b](https://github.com/thi-ng/umbrella/commit/b488d2b))
709
-
710
- #### 🩹 Bug fixes
711
-
712
- - update arg types for choices() & weightedRandom() ([eb67426](https://github.com/thi-ng/umbrella/commit/eb67426))
713
- - str() initial result handling ([f001314](https://github.com/thi-ng/umbrella/commit/f001314))
714
-
715
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.1.0) (2018-09-08)
716
-
717
- #### 🚀 Features
718
-
719
- - add window() xform ([2f0f3d4](https://github.com/thi-ng/umbrella/commit/2f0f3d4))
720
- - update partitionSync() xform & PartitionSyncOpts ([d8fdc01](https://github.com/thi-ng/umbrella/commit/d8fdc01))
721
- - add `mergeOnly` option to allow partially populated result tuples
722
- - rename window() => slidingWindow(), update readme ([1f22867](https://github.com/thi-ng/umbrella/commit/1f22867))
723
-
724
- ### [2.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.0.3) (2018-09-03)
725
-
726
- #### ♻️ Refactoring
727
-
728
- - update normRange() ([4a16bd5](https://github.com/thi-ng/umbrella/commit/4a16bd5))
729
- - add opt flag to exclude last value
730
-
731
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@2.0.0) (2018-08-24)
732
-
733
- #### 🛑 Breaking changes
734
-
735
- - rename inspect() => trace() ([e713704](https://github.com/thi-ng/umbrella/commit/e713704))
736
- - BREAKING CHANGE: rename inspect() => trace()
737
- - update all xforms to also work as iterator ([bae8a1d](https://github.com/thi-ng/umbrella/commit/bae8a1d))
738
- - if input iterable is provided, return iterator version
739
- - add opt initial result arg for scan()
740
- - utf8Decode() w/ input returns string
741
- - update tests
742
- - BREAKING CHANGE: replace some xform args with options objects, impacted are:
743
- - convolve2d()
744
- - filterFuzzy()
745
- - hexDump()
746
- - movingMedian()
747
- - partitionSort()
748
- - partitionSync()
749
- - streamSort()
750
- - wordWrap()
751
- - add GroupByOpts interface, update groupBy* reducers ([2c3a114](https://github.com/thi-ng/umbrella/commit/2c3a114))
752
- - add support for direct reduction if optional iterable is provided
753
- - BREAKING CHANGE: groupByMap() & groupByObj() args now given as
754
- options object
755
-
756
- #### 🚀 Features
757
-
758
- - add fill() & fillN() reducers ([0bd860e](https://github.com/thi-ng/umbrella/commit/0bd860e))
759
- - update all reducers to accept opt iterables ([89b4ad5](https://github.com/thi-ng/umbrella/commit/89b4ad5))
760
- - add $$reduce helper
761
- - fix str() to use string concatenation (instead of Array.join())
762
- - add opt init vals for add() & mul()
763
- - add sub() & div() reducers
764
- - update base64Encode() to return string if input given ([599f2b6](https://github.com/thi-ng/umbrella/commit/599f2b6))
765
-
766
- #### 🩹 Bug fixes
767
-
768
- - hex type decl ([723da5b](https://github.com/thi-ng/umbrella/commit/723da5b))
769
- - iterator1() final reduced value handling ([d861bdd](https://github.com/thi-ng/umbrella/commit/d861bdd))
770
- - copy&paste error (push) ([832e57f](https://github.com/thi-ng/umbrella/commit/832e57f))
771
- - arg handling in rename() ([7a5be21](https://github.com/thi-ng/umbrella/commit/7a5be21))
772
-
773
- #### ⏱ Performance improvements
774
-
775
- - add iterator1(), update various xforms ([ab662d8](https://github.com/thi-ng/umbrella/commit/ab662d8))
776
- - iterator1() is speed optimized for 0-or-1 result xforms
777
- w/o completion step
778
- - update $iter to accept iterator impl
779
- - add IReducible, update reduce() ([9d83255](https://github.com/thi-ng/umbrella/commit/9d83255))
780
- - add IReducible interface for custom/optimized iteration
781
- and source value provision for reduce()
782
- - add array-like check to reduce() and switch to version without
783
- forcing array iterator (`for..of..`)
784
-
785
- #### ♻️ Refactoring
786
-
787
- - add ReductionFn type alias, update Reducer ([45e4993](https://github.com/thi-ng/umbrella/commit/45e4993))
788
- - add shared SortOpts, update xforms ([8a111ef](https://github.com/thi-ng/umbrella/commit/8a111ef))
789
- - replace opts for movingMedian(), partitionSort(), streamSort()
790
- - move convolution types to src/xform/convole.ts
791
- - move StructField to src/xform/struct.ts
792
- - replace local types w/ external defs ([3a8bd08](https://github.com/thi-ng/umbrella/commit/3a8bd08))
793
- - re-use Fn & SEMAPHORE ([@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api))
794
- - replace comp() and juxt() ([@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/main/packages/compose))
795
-
796
- ## [1.16.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.16.0) (2018-08-08)
797
-
798
- #### 🚀 Features
799
-
800
- - add partitionBits() xform & tests ([a5e2c28](https://github.com/thi-ng/umbrella/commit/a5e2c28))
801
-
802
- #### ♻️ Refactoring
803
-
804
- - deprecate hex(), update hexDump() xform & deps ([b1ea9a5](https://github.com/thi-ng/umbrella/commit/b1ea9a5))
805
-
806
- ## [1.15.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.15.0) (2018-08-02)
807
-
808
- #### 🚀 Features
809
-
810
- - add peek() helper fn ([e50fd10](https://github.com/thi-ng/umbrella/commit/e50fd10))
811
-
812
- ## [1.14.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.14.0) (2018-07-19)
813
-
814
- #### 🚀 Features
815
-
816
- - add juxtR() for multiplexed reductions from same src ([9b07d12](https://github.com/thi-ng/umbrella/commit/9b07d12))
817
- - add tests & docs
818
- - allow key arrays for rename(), simplify call sites ([092154c](https://github.com/thi-ng/umbrella/commit/092154c))
819
- - update multiplexObj() & struct() xforms
820
- - add asIterable() helper ([ccc37c6](https://github.com/thi-ng/umbrella/commit/ccc37c6))
821
-
822
- #### ⏱ Performance improvements
823
-
824
- - update movingAverage() xform, add docs ([9874ace](https://github.com/thi-ng/umbrella/commit/9874ace))
825
-
826
- ## [1.13.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.13.0) (2018-07-13)
827
-
828
- #### 🚀 Features
829
-
830
- - add wordWrap() xform ([81223dc](https://github.com/thi-ng/umbrella/commit/81223dc))
831
-
832
- ### [1.12.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.12.2) (2018-07-09)
833
-
834
- #### 🩹 Bug fixes
835
-
836
- - revert mean() from regression introduced in [095e6ef](https://github.com/thi-ng/umbrella/commit/095e6ef) ([03543ee](https://github.com/thi-ng/umbrella/commit/03543ee))
837
-
838
- ### [1.12.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.12.1) (2018-07-09)
839
-
840
- #### ♻️ Refactoring
841
-
842
- - add reducer() helper, update existing reducers ([095e6ef](https://github.com/thi-ng/umbrella/commit/095e6ef))
843
-
844
- ## [1.12.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.12.0) (2018-07-03)
845
-
846
- #### 🚀 Features
847
-
848
- - add ensureArray(), refactor reverse() ([677c7cc](https://github.com/thi-ng/umbrella/commit/677c7cc))
849
-
850
- ## [1.11.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.11.0) (2018-06-19)
851
-
852
- #### 🚀 Features
853
-
854
- - add matchFirst()/matchLast() xforms, update readme ([bc261e5](https://github.com/thi-ng/umbrella/commit/bc261e5))
855
-
856
- ### [1.10.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.10.1) (2018-05-14)
857
-
858
- #### ♻️ Refactoring
859
-
860
- - replace wrapBoth/Left/Right w/ wrap() ([e238541](https://github.com/thi-ng/umbrella/commit/e238541))
861
- - deprecate existing wrap*() iters
862
- - update docs & readme
863
-
864
- ## [1.10.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.10.0) (2018-05-14)
865
-
866
- #### 🚀 Features
867
-
868
- - add wrap*() iterators ([306625d](https://github.com/thi-ng/umbrella/commit/306625d))
869
- - add wrapBoth()
870
- - add wrapLeft()
871
- - add wrapRight()
872
- - add filterFuzzy() xform ([2bebba2](https://github.com/thi-ng/umbrella/commit/2bebba2))
873
- - add fuzzyMatch() predicate
874
-
875
- ## [1.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.9.0) (2018-05-10)
876
-
877
- #### 🚀 Features
878
-
879
- - add normRange() iterator ([55f29b8](https://github.com/thi-ng/umbrella/commit/55f29b8))
880
-
881
- ### [1.8.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.8.6) (2018-05-10)
882
-
883
- #### ♻️ Refactoring
884
-
885
- - 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))
886
-
887
- ### [1.8.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.8.1) (2018-04-18)
888
-
889
- #### 🩹 Bug fixes
890
-
891
- - add generics for compR(), fix types in mapNth() ([3b7c9d9](https://github.com/thi-ng/umbrella/commit/3b7c9d9))
892
-
893
- ## [1.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.8.0) (2018-04-11)
894
-
895
- #### 🚀 Features
896
-
897
- - add run() for executing side effects only, update readme ([52c7508](https://github.com/thi-ng/umbrella/commit/52c7508))
898
-
899
- ### [1.7.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.7.1) (2018-03-21)
900
-
901
- #### ♻️ Refactoring
902
-
903
- - update error handling ([ca099e5](https://github.com/thi-ng/umbrella/commit/ca099e5))
904
-
905
- ## [1.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.7.0) (2018-03-19)
906
-
907
- #### 🚀 Features
908
-
909
- - add partitionSync() xform ([bebd118](https://github.com/thi-ng/umbrella/commit/bebd118))
910
- - add mapVals() xform ([abc195a](https://github.com/thi-ng/umbrella/commit/abc195a))
911
-
912
- #### ♻️ Refactoring
913
-
914
- - update labeled(), mapIndexed(), partition() ([3bc8d54](https://github.com/thi-ng/umbrella/commit/3bc8d54))
915
- - labeled() - add support for label fn instead of just static label
916
- - mapIndexed() - add optional start index arg
917
- - partition() - minor update in completing reducer
918
-
919
- ## [1.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.6.0) (2018-03-03)
920
-
921
- #### 🚀 Features
922
-
923
- - add permutations()/permutationsN() generators ([91938ed](https://github.com/thi-ng/umbrella/commit/91938ed))
924
-
925
- #### ♻️ Refactoring
926
-
927
- - update permutations()/permutationsN(), add tests ([488462e](https://github.com/thi-ng/umbrella/commit/488462e))
928
- - update swizzler() arg types ([2f5abce](https://github.com/thi-ng/umbrella/commit/2f5abce))
929
- - extract compR() into its own file, update refs, update readme ([8c180bc](https://github.com/thi-ng/umbrella/commit/8c180bc))
930
-
931
- ### [1.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.5.1) (2018-03-02)
932
-
933
- #### 🩹 Bug fixes
934
-
935
- - flattenWith() ([3d8aa32](https://github.com/thi-ng/umbrella/commit/3d8aa32))
936
-
937
- ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.5.0) (2018-02-26)
938
-
939
- #### 🚀 Features
940
-
941
- - add keys()/vals() iterators, refactor pairs() ([9824844](https://github.com/thi-ng/umbrella/commit/9824844))
942
-
943
- ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.4.0) (2018-02-23)
944
-
945
- #### 🚀 Features
946
-
947
- - add deepTransform & mapDeep xform ([f0fdfa1](https://github.com/thi-ng/umbrella/commit/f0fdfa1))
948
-
949
- #### ♻️ Refactoring
950
-
951
- - add TransformSubSpec, fix test, minor update docs ([2a11ff6](https://github.com/thi-ng/umbrella/commit/2a11ff6))
952
-
953
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.3.0) (2018-02-19)
954
-
955
- #### 🚀 Features
956
-
957
- - add lookup1d/2d/3d helpers, update re-exports ([193058d](https://github.com/thi-ng/umbrella/commit/193058d))
958
-
959
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.2.0) (2018-02-18)
960
-
961
- #### 🚀 Features
962
-
963
- - add range2d / range3d generators ([722042b](https://github.com/thi-ng/umbrella/commit/722042b))
964
- - add movingMedian() xform ([d7b1d0d](https://github.com/thi-ng/umbrella/commit/d7b1d0d))
965
- - add convolve2d xform & types ([ab8a855](https://github.com/thi-ng/umbrella/commit/ab8a855))
966
-
967
- #### 🩹 Bug fixes
968
-
969
- - update imports `step()` ([48f8bb8](https://github.com/thi-ng/umbrella/commit/48f8bb8))
970
-
971
- #### ♻️ Refactoring
972
-
973
- - add/update range2d/range3d arity handling ([63a4953](https://github.com/thi-ng/umbrella/commit/63a4953))
974
-
975
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.1.0) (2018-02-08)
976
-
977
- #### 🚀 Features
978
-
979
- - add page() xform, update readme ([855d803](https://github.com/thi-ng/umbrella/commit/855d803))
980
-
981
- #### ♻️ Refactoring
982
-
983
- - re-use even/odd from [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/main/packages/checks) ([445c857](https://github.com/thi-ng/umbrella/commit/445c857))
984
-
985
- ### [1.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.0.6) (2018-02-01)
986
-
987
- #### 🩹 Bug fixes
988
-
989
- - update comp() for typescript 2.7.* ([febe39f](https://github.com/thi-ng/umbrella/commit/febe39f))
990
-
991
- ### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.0.5) (2018-01-31)
992
-
993
- #### ♻️ Refactoring
994
-
995
- - use Predicate2 ([4753afb](https://github.com/thi-ng/umbrella/commit/4753afb))
996
-
997
- ### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.0.2) (2018-01-29)
998
-
999
- #### ⏱ Performance improvements
1000
-
1001
- - avoid result object cloning in struct() xform ([d774e32](https://github.com/thi-ng/umbrella/commit/d774e32))
1002
- - disable copying in mapKeys() step
1003
-
1004
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@1.0.0) (2018-01-28)
1005
-
1006
- #### 🛑 Breaking changes
1007
-
1008
- - update step() to support multiple results ([1f32fc0](https://github.com/thi-ng/umbrella/commit/1f32fc0))
1009
- - respect reduced value termination
1010
- - internal use of push() vs. last() to support multiple results per transduction step
1011
- - add docs
1012
- - BREAKING CHANGE:
1013
- now possibly returns array instead of single value if wrapped transducer produced multiple results
1014
- - rename join() => str() rfn ([e268e35](https://github.com/thi-ng/umbrella/commit/e268e35))
1015
- - BREAKING CHANGE:
1016
- rename join() => str() reduer in prep for actual set join() op
1017
- - update throttle(), refactor take/dropNth ([e1a282c](https://github.com/thi-ng/umbrella/commit/e1a282c))
1018
- - throttle() requires stateful predicate now
1019
- - add throttleTime() as replacement for prev throttle() impl
1020
- - refactor takeNth()/dropNth() to use throttle()
1021
- - BREAKING CHANGE: throttle() requires stateful predicate now
1022
-
1023
- #### 🚀 Features
1024
-
1025
- - add utf8Encode()/utf8Decode() xforms ([e50fa26](https://github.com/thi-ng/umbrella/commit/e50fa26))
1026
- - add multiplex() xform & docs ([beb2cee](https://github.com/thi-ng/umbrella/commit/beb2cee))
1027
- - update frequencies() & groupByMap() ([4b8d037](https://github.com/thi-ng/umbrella/commit/4b8d037))
1028
- - add opt key fn for frequencies(), delegate to groupByMap()
1029
- - use identity as default key fn
1030
- - update re-exports, minor update reductions() ([e555ff5](https://github.com/thi-ng/umbrella/commit/e555ff5))
1031
- - add every(), some() rfns ([63344e4](https://github.com/thi-ng/umbrella/commit/63344e4))
1032
- - add multiplexObj() ([931b67f](https://github.com/thi-ng/umbrella/commit/931b67f))
1033
- - add labeled() xform ([0b3c786](https://github.com/thi-ng/umbrella/commit/0b3c786))
1034
- - update re-exports, extract throttleTime() into own file ([45d6bc6](https://github.com/thi-ng/umbrella/commit/45d6bc6))
1035
- - add noop() xform, update readme ([7b21aa6](https://github.com/thi-ng/umbrella/commit/7b21aa6))
1036
-
1037
- #### 🩹 Bug fixes
1038
-
1039
- - add "complete" step handling in scan() ([8e5204d](https://github.com/thi-ng/umbrella/commit/8e5204d))
1040
- - scan() complete handling ([44db970](https://github.com/thi-ng/umbrella/commit/44db970))
1041
- - pass final inner result to outer complete only if different
1042
-
1043
- #### ♻️ Refactoring
1044
-
1045
- - udate cat() to accept iterables, not just arrays ([58f1477](https://github.com/thi-ng/umbrella/commit/58f1477))
1046
-
1047
- ### [0.11.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@0.11.2) (2018-01-25)
1048
-
1049
- #### 🩹 Bug fixes
1050
-
1051
- - project links in readme files ([e290d75](https://github.com/thi-ng/umbrella/commit/e290d75))
1052
- - base64 imports ([75bb161](https://github.com/thi-ng/umbrella/commit/75bb161))
1053
- - include 1st val in benchmark() ([b3ce275](https://github.com/thi-ng/umbrella/commit/b3ce275))
1054
-
1055
- #### ♻️ Refactoring
1056
-
1057
- - simplify concat(), add docs ([0c116c1](https://github.com/thi-ng/umbrella/commit/0c116c1))
1058
- - update reverse(), add deps ([a2c3bc4](https://github.com/thi-ng/umbrella/commit/a2c3bc4))
1059
-
1060
- ### [0.11.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@0.11.1) (2018-01-24)
1061
-
1062
- #### 🚀 Features
1063
-
1064
- - initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers",
3
- "version": "9.2.14",
3
+ "version": "9.2.16",
4
4
  "description": "Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -44,21 +44,20 @@
44
44
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@thi.ng/api": "^8.11.16",
48
- "@thi.ng/arrays": "^2.10.11",
49
- "@thi.ng/checks": "^3.6.19",
50
- "@thi.ng/compare": "^2.4.8",
51
- "@thi.ng/compose": "^3.0.19",
52
- "@thi.ng/errors": "^2.5.22",
53
- "@thi.ng/math": "^5.11.16",
54
- "@thi.ng/random": "^4.1.7",
55
- "@thi.ng/timestamp": "^1.1.1"
47
+ "@thi.ng/api": "^8.11.18",
48
+ "@thi.ng/arrays": "^2.10.13",
49
+ "@thi.ng/checks": "^3.6.21",
50
+ "@thi.ng/compare": "^2.4.10",
51
+ "@thi.ng/compose": "^3.0.21",
52
+ "@thi.ng/errors": "^2.5.24",
53
+ "@thi.ng/math": "^5.11.18",
54
+ "@thi.ng/random": "^4.1.9",
55
+ "@thi.ng/timestamp": "^1.1.3"
56
56
  },
57
57
  "devDependencies": {
58
- "@microsoft/api-extractor": "^7.48.1",
59
58
  "esbuild": "^0.24.2",
60
59
  "typedoc": "^0.27.6",
61
- "typescript": "^5.7.2"
60
+ "typescript": "^5.7.3"
62
61
  },
63
62
  "keywords": [
64
63
  "1d",
@@ -605,5 +604,5 @@
605
604
  ],
606
605
  "year": 2016
607
606
  },
608
- "gitHead": "d888087b36b086fd8c3e7dc98d35857266f78942\n"
607
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
609
608
  }