cyclejs/cycle-core

View on GitHub
run/CHANGELOG.md

Summary

Maintainability
Test Coverage
# 5.7.0 (2022-01-13)


### Bug Fixes

* **run:** lib/adapt.js was missing ([f976421](https://github.com/cyclejs/cyclejs/commit/f976421))



## 5.6.0 (2022-01-13)

* fix(run): avoid memory leaks with quicktask ([1fc18c02](https://github.com/cyclejs/cyclejs/commit/1fc18c02))



## 5.5.0 (2020-09-18)

* fix(run): setup quicktask lazily, only upon run() ([dee01dd](https://github.com/cyclejs/cyclejs/commit/dee01dd)), closes [#956](https://github.com/cyclejs/cyclejs/issues/956)



## 5.4.0 (2019-11-06)




## 5.3.0 (2019-09-10)

* chore(run): tweak some tests so that TypeScript compiles ([c2c2cbd](https://github.com/cyclejs/cyclejs/commit/c2c2cbd)), closes [#871](https://github.com/cyclejs/cyclejs/issues/871)



## 5.2.0 (2018-12-10)

* fix(run): support TypeScript's strict mode ([7412f56](https://github.com/cyclejs/cyclejs/commit/7412f56))



## 5.1.0 (2018-10-17)

* fix(run): support TypeScript 3.1 ([a90cd63](https://github.com/cyclejs/cyclejs/commit/a90cd63)), closes [#815](https://github.com/cyclejs/cyclejs/issues/815)
* refactor(run): move run tooling to pnpm ([0b2eebd](https://github.com/cyclejs/cyclejs/commit/0b2eebd))


### BREAKING CHANGE

* 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.


## 5.0.0 (2018-09-26)

* fix(run): support TypeScript 3.0 ([21245dc](https://github.com/cyclejs/cyclejs/commit/21245dc)), closes [#815](https://github.com/cyclejs/cyclejs/issues/815)
* refactor(run): move run tooling to pnpm ([0b2eebd](https://github.com/cyclejs/cyclejs/commit/0b2eebd))



<a name="4.4.0"></a>
# 4.4.0 (2018-06-28)


### Bug Fixes

* **run:** add two kinds of dispose() for setupReusable() ([ca20dc9](https://github.com/cyclejs/cyclejs/commit/ca20dc9))



<a name="4.3.0"></a>
# 4.3.0 (2018-06-27)


### Features

* **run:** add setupReusable(drivers) ([868eedf](https://github.com/cyclejs/cyclejs/commit/868eedf))



<a name="4.2.0"></a>
# 4.2.0 (2018-06-25)


### Bug Fixes

* **run:** use 'quicktask' dependency, supporting React Native ([2f3ed44](https://github.com/cyclejs/cyclejs/commit/2f3ed44))



<a name="4.1.0"></a>
# 4.1.0 (2017-12-08)


### Bug Fixes

* **run:** make exception reporting less opinionated ([b124fff](https://github.com/cyclejs/cyclejs/commit/b124fff))



<a name="4.0.0"></a>
# 4.0.0 (2017-11-10)


### Bug Fixes

* **run:** changes behavior of sinks to not have memory ([445fe08](https://github.com/cyclejs/cyclejs/commit/445fe08))
* **run:** schedule sink emissions as microtasks ([9d0fc02](https://github.com/cyclejs/cyclejs/commit/9d0fc02))


### BREAKING CHANGES

* **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



<a name="3.4.0"></a>
# 3.4.0 (2017-10-24)



<a name="3.3.0"></a>
# 3.3.0 (2017-10-04)


### Bug Fixes

* **run:** allow xstream v11 (not just v10) as a dependency ([0734dfd](https://github.com/cyclejs/cyclejs/commit/0734dfd))



<a name="3.2.0"></a>
# 3.2.0 (2017-08-12)



<a name="3.1.0"></a>
# 3.1.0 (2017-03-24)


### Features

* **run:** sinks to support TypeScript interface  ([c59ec55](https://github.com/cyclejs/cyclejs/commit/c59ec55))



<a name="3.0.0"></a>
# 3.0.0 (2017-03-05)


### Bug Fixes

* **run:** check for matching stream types of sinks and drivers ([4b4094c](https://github.com/cyclejs/cyclejs/commit/4b4094c))
* **run:** reintroduce Driver function TS type ([1ad62cb](https://github.com/cyclejs/cyclejs/commit/1ad62cb))


### BREAKING CHANGES

* 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



<a name="2.0.0"></a>
# 2.0.0 (2017-03-05)


### Bug Fixes

* **run:** type check keyof drivers and main with TypeScript 2.2 ([da528c7](https://github.com/cyclejs/cyclejs/commit/da528c7))


### BREAKING CHANGES

* 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



<a name="1.0.0"></a>
# 1.0.0 (2017-02-22)

First stable version of this package.


<a name="1.0.0-rc.9"></a>
# 1.0.0-rc.9 (2017-02-08)


### Bug Fixes

* **run:** fix race condition for drivers that subscribe late ([58b7991](https://github.com/cyclejs/cyclejs/commit/58b7991))
* **run:** sink proxy completes on dispose, not with setTimeout ([47931fc](https://github.com/cyclejs/cyclejs/commit/47931fc))


### BREAKING CHANGES

* 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.



<a name="1.0.0-rc.8"></a>
# 1.0.0-rc.8 (2017-02-03)


### Bug Fixes

* **run:** fix race condition for drivers that subscribe late ([58b7991](https://github.com/cyclejs/cyclejs/commit/58b7991))



<a name="1.0.0-rc.7"></a>
# 1.0.0-rc.7 (2017-01-19)


### Bug Fixes

* **run:** support drivers that dont return sources ([cda7602](https://github.com/cyclejs/cyclejs/commit/cda7602))



<a name="1.0.0-rc.6"></a>
# 1.0.0-rc.6 (2016-12-14)


### Bug Fixes

* **run:** adapt() sources, do not adapt() sinks ([0fd15ed](https://github.com/cyclejs/cyclejs/commit/0fd15ed))



<a name="1.0.0-rc.5"></a>
# 1.0.0-rc.5 (2016-12-12)


### Bug Fixes

* **run:** update to TypeScript 2.1 ([b7cabbc](https://github.com/cyclejs/cyclejs/commit/b7cabbc))



<a name="1.0.0-rc.4"></a>
# 1.0.0-rc.4 (2016-12-09)


### Bug Fixes

* **run:** clear buffers after all sink replicators are mutated ([432e4a6](https://github.com/cyclejs/cyclejs/commit/432e4a6))



<a name="1.0.0-rc.3"></a>
# 1.0.0-rc.3 (2016-12-09)


### Bug Fixes

* **run:** adapt sink to target stream lib before calling driver ([5edd925](https://github.com/cyclejs/cyclejs/commit/5edd925))
* **run:** only free up buffers after replicator has been mutated ([bf8a7e1](https://github.com/cyclejs/cyclejs/commit/bf8a7e1))



<a name="1.0.0-rc.2"></a>
# 1.0.0-rc.2 (2016-12-09)


### Bug Fixes

* **run:** use FantasyObservable in Sinks, not xstream Stream ([d68a50e](https://github.com/cyclejs/cyclejs/commit/d68a50e))



<a name="1.0.0-rc.1"></a>
# 1.0.0-rc.1 (2016-12-09)