- run: lib/adapt.js was missing (f976421)
- fix(run): avoid memory leaks with quicktask (1fc18c02)
- fix(run): support TypeScript's strict mode (7412f56)
- fix(run): support TypeScript 3.1 (a90cd63), closes #815
- refactor(run): move run tooling to pnpm (0b2eebd)
- If you use JavaScript, there are no breaking changes. If you use TypeScript, this package may not work anymore with versions of TS below 3.1.
- fix(run): support TypeScript 3.0 (21245dc), closes #815
- refactor(run): move run tooling to pnpm (0b2eebd)
- run: add two kinds of dispose() for setupReusable() (ca20dc9)
- run: add setupReusable(drivers) (868eedf)
- run: use 'quicktask' dependency, supporting React Native (2f3ed44)
- run: make exception reporting less opinionated (b124fff)
- run: changes behavior of sinks to not have memory (445fe08)
- run: schedule sink emissions as microtasks (9d0fc02)
- run: This means Cycle run() function is no longer synchronous, so if for some reason you were depending on the synchronicity of run(), you will lose this guarantee. This is breaking change, but rarely should this be experienced. With the new microtask scheduling, sinks are emitted to drivers as soon as the current event loop scripts are completed, so there will not be noticeable delays in the user interface (like setTimeout would incur).
ISSUES CLOSED: #592
- run: This is a breaking change that requires updating your project to use the latest Cycle Run as well as the latest Cycle HTTP and Cycle DOM all at the same time, otherwise you may see race conditions across drivers.
ISSUES CLOSED: #592
- run: allow xstream v11 (not just v10) as a dependency (0734dfd)
- run: sinks to support TypeScript interface (c59ec55)
- run: check for matching stream types of sinks and drivers (4b4094c)
- run: reintroduce Driver function TS type (1ad62cb)
- run: If you are using JavaScript, literally nothing changes. If you are using TypeScript, this version may detect more errors than before, and may break (by not compiling) your existing code if your existing code happened to have a sneaky bug.
ISSUES CLOSED: 541
- run: type check keyof drivers and main with TypeScript 2.2 (da528c7)
- run: If you are using JavaScript, literally nothing has changed, and this is not a breaking release. However, if you are using TypeScript, this version may catch errors and typos that previous Cycle Run versions didnt. Also, this version expects that if Sinks of main() are typed, they must be a type alias, not an interface. Usually you should leave the Sinks object implicitly typed, but we also support type aliases if you want to explicitly type them.
ISSUES CLOSED: 538
First stable version of this package.
- run: fix race condition for drivers that subscribe late (58b7991)
- run: sink proxy completes on dispose, not with setTimeout (47931fc)
- run: if you are using sources or sinks from the output of Cycle setup(), you may see different behavior of the complete notification, which now happens always when run's dispose() is called. The complete notifications from main's sinks are ignored.
- run: fix race condition for drivers that subscribe late (58b7991)
- run: support drivers that dont return sources (cda7602)
- run: adapt() sources, do not adapt() sinks (0fd15ed)
- run: update to TypeScript 2.1 (b7cabbc)
- run: clear buffers after all sink replicators are mutated (432e4a6)
- run: adapt sink to target stream lib before calling driver (5edd925)
- run: only free up buffers after replicator has been mutated (bf8a7e1)
- run: use FantasyObservable in Sinks, not xstream Stream (d68a50e)