Releases: cujojs/most
Releases · cujojs/most
1.0.1: Fix nested switch end race condition
- Fix subtle timing issue with nested switch streams
1.0.0: Do it!
- Ensure backward compatibility with 0.19.7, except for removed deprecations (see below)
- Align
fromEvent
'scapture
parameter default behavior with that of@most/dom-event
- Improve and simplify Typescript definitions
- Fix issue with Draft Observable interop which could cause it not to recognize non-most.js observables.
- Remove deprecated methods and functions:
create
,cycle
-
For
create
, see@most/create
-
cycle
was rarely used. You can create it easily if you need:const cycle = stream => stream.continueWith(() => cycle(stream))
-
0.19.7: Improve TypeScript defs
- Improve TypeScript definitions. The type definitions now include many of the architectural types, such as Source and Sink to provide type safety when working with them directly.
0.19.6: Add TypeScript definitions
- Add TypeScript type definitions. Check out
type-definitions/most.d.ts
.
0.19.5: Interop w/ES Observable draft proposal
- Add interop with ES Observable draft proposal:
most.from
will coerce observables to most.js streams, and streams now implement[Symbol.observable]()
and.subscribe
so that other libs can consume them. - Move Concepts doc to the wiki.
0.19.4: Improve error handling
- Fix some error handling cases in higher-order operations, like
chain
andconcatMap
, as well ascontinueWith
. - Deprecate
most.create
. It will be moved to a separate, backward compatible package. - Simplify several operations and internals.
- Update build and test tooling.
0.19.3: Add thru, Improve combine
- Add
stream.thru()
, which allows adapting functional APIs to fluent style - Improve efficiency of
combine()
- Add
throttle
fusion. For example: stream.throttle(n).throttle(m) becomes stream.throttle(Math.max(m, n)) - Experimental Add map/throttle commutation. For example, stream.map.throttle.map becomes stream.throttle.map.map, which is then fused into stream.throttle.map
0.19.2: Fix scan/combine/sample interference
- Fix bug that could cause scan to interfere with a later combine or sample.
0.19.1: Update multicast dep
- Update to
@most/multicast
1.1.1 for recent fixes.
0.19.0: Add perfs, laziness, and ascii art
- Have you see the new ascii art logo? It's pretty fast, too.
- Improve performance of
switch
substantially. - Add fusion rules for skip, take, and slice. For example:
stream.skip.take
becomesstream.slice
. - Experimental Add map/slice commutation. For example,
stream.map.slice.map
becomesstream.slice.map.map
, which is then fused intostream.slice.map
- Fix for
recoverWith
ending a stream too early. - Breaking change
concatMap
now applies its mapping function lazily. See the docs for more information and visuals. This should only be a breaking change for code that has made assumptions about when the mapping function will be called.