Releases: cyclejs/cyclejs
Cycle Unified
Cycle Diversity
v6.0.0 - Cycle Nested
Make Rx a peer dependency
Breaking change
RxJS is not anymore bundled inside Cycle Core. Instead, it is an npm peer dependency. You need to install both Cycle Core and RxJS: npm install rx @cycle/core
.
Before | After |
---|---|
import {Rx} from '@cycle/core'; |
import Rx from 'rx'; |
RxJS updated to v4.0
New RxJS version 4.0 used as dependency https://github.com/Reactive-Extensions/RxJS
Update RxJS to v3.1
v3.1.0 3.1.0
Update RxJS to v3
Implies a breaking change to Cycle Core because RxJS v3 is a breaking change. Most noteworthy breaking change is the signature change of scan
operator. Read more here.
Not a major release, just a tiny breaking change
If you do not use responses.dispose()
, you can safely update to Cycle Core v2 and all your code will still work.
This is not a "v2" as in "everything different". We are just following good old semver. This version fixes the semantics of disposal.
Given
let [requests, responses] = Cycle.run(main, drivers);
There exists responses.dispose()
. Prior to v2, there was no requests.dispose()
, and there were some subscriptions left undisposed if you wanted to dispose everything.
In v2, we have both requests.dispose()
and responses.dispose()
. If you were using dispose(), please carefully update your program. You might need to dispose both requests and responses.
Release candidate for v1.0.0
This release splits the original cyclejs
npm package into two: @cycle/core
and @cycle/web
.
This is just a split, no functionality added nor removed nor changed. To migrate, you just need to get the right functions from the right packages.
They contain:
let Cycle = require('@cycle/core');
let {run, Rx} = Cycle;
let CycleWeb = require('@cycle/web');
let {makeDOMDriver, makeHTMLDriver, h, svg} = Cycle;
v0.24.1 - Introduce props.getAll() for custom elements
props.getAll()
was introduced as an equivalent to props.get('*')
for custom elements. The former allows better integration with TypeScript. See issue #138