combine-latest
operator.combine-latest
operator (breaking change).delay-at-least
operator.from-atom
factory.BREAKING CHANGE:
create
factory function is simplified, and IObservableValue is
removed. The subscription object is passed as is to the factory
function.Before:
(rx/create (fn [sink]
(sink 1)
(sink (reduced 2))))
Now:
(rx/create (fn [subs]
(rx/push! subs 1)
(rx/push! subs 2)
(rx/end! subs)))
if-empty
operator.nil
on from
function.subs
helper as alternative to subscribe
that receives the
observable in the last position of arguments.switch-map
operator.This a list of posible breaking changes:
from-coll
to from
.from-promise
(replaced by from
).just
and once
(of
already handles it).never
(alias of empty
).map-indexed
(already covered by the map
).=
to identical?
in dedupe
and dedupe'
.mapcat
and merge-map
/flat-map
.ICancellable
protocol with IDisposable
(and the method
is now -dispose
instead of -cancel
).Other relevant but backward compatible changes:
merge-all
operator.concat-all
operator.buffer-until
operator.first
operator.last
operator.merge-map
becomes the main operator name and flat-map
an alias.fmap
alias to merge-map
operator.finalize
operator.dispose!
function for finalize a subscription.cancel!
as alias to dispose!
(for backward compatibility).sub!
alias to subscribe
.sub!
/subscribe
is now a callable (you
can call it for dispose the subscription).Date: 2019-08-20
map-indexed
operator.observer?
predicate clj only (rxjs does not have a type
defined for it).IDeref
protocol for BehaviorSubject
(only cljs).as-observable
helper cljs.On this release we start to use a local rollup based process for generate the bundle from the npm installed dependency (that will simplify upgrading the RxJS for the next versions).
Date: 2019-03-01
This release reduces the rxjs bundle size including only the rxjs core and all operators (excluding all tests, ajax, websockets and other unrelated and not exposted api). Now it is 23k minified and gziped.
Date: 2017-11-17
ignore
return an instance of Observable
.Date: 2017-08-01
concat
operator with flowables.from-promise
is renamed to from-future
in jvm (BREAKING CHANGE).Date: 2017-05-28
:trampoline
scheduler is renamed to :queue
for consistency
(backward compatibility preserved, but :trampoline
is deprected
for now).from-event
function to the cljs.Date: 2017-04-29
timer
function.Date: 2017-04-25
Date: 2017-03-12
to-serialized
function(jvm).single?
predicate (jvm).Date: 2017-02-26
reduce
and scan
because some functions
such as conj does not works if they are passed as is (and
produces wrong results).Date: 2017-02-22
Date: 2017-02-13
WARNING: many changes are backward incompatible with the previous version. They are introduced because for make the library more concise and more consistent between clj and cljs.
A list of relevant changes:
scheduler
function.subscribe-on
and observe-on
now accept keywords
as argument that automatically resolves to proper scheduler or raises
an exception if no scheduler found for the provided keyword).cancel!
function for cancel subscriptions more conciselly.generate
function, see documentation for more info.to-atom
now return a cancellable variant of atom (a wrapper that
implements the atom interface and ICancellable protocol).bus?
predicate.bus
function (subject constructor).publish
function.from-exception
function.with-latest-from
(replaced by with-latest
)..close
method on disposable on clojurescript.Date: 2017-01-30
publish
is
deprecated. If you want to connect, just use the connect!
function. The arity will be removed in the next version.with-latest-from
function is deprecated in favor of the new
with-latest
function that has the project function mandatory in
contrast to the deprecated function. The deprecated function will
be removed in the next version.Date: 2016-12-18
buffer-time
operator.Date: 2016-12-14
Date: 2016-12-07
Date: 2016-12-07
bus
constructor to subject
(for name consistency with rxjs).behavior-subject
constructor.Date: 2016-11-27
Date: 2016-11-03
Date: 2016-08-17
Date: 2016-07-10
Date: 2016-06-15
Date: 2016-06-04
Date: 2016-05-28
Date: 2016-05-10
Date: 2016-04-13
merge-map
alias for flat-map.merge
and concat
.nil
values from merge
and concat
func args.Date: 2016-03-19
dedupe
and dedupe'
functions.Date: 2016-03-19
from-exception
to throw
.from-exception
.Date: 2016-03-16
Date: 2016-03-16
Date: 2016-03-16
Date: 2016-03-16
This is a major release due to big internal changes and some backward incompatibilities introduced in this version.
from-callback
observable constructor.from-poll
observable constructor.repeat
operator.slice
operator.to-observable
operator.pausable
operator.immediate
scheduler.mapcat
operator (similar to flatmap but maintains the order).fjoin
a rxjs forkjoin operator (similar to promise .all
method).range
constructor.async
scheduler.zip
call signature.delay'
operator to delay-when
.choice
operator to race
.sample'
operator to sample-when
.of
consturctor accept more than 6 parameters.Date: 2016-01-28
take-until
function.Date: 2016-01-22
timeout
function becomes timer
.timeout
function.delay
function.interval
function.subscribe-on
and observe-on
).beicon.monad
ns).
(Is responsability of the user include the appropriate cats version).Date: 2016-01-08
Date: 2015-12-23
sample
function.Date: 2015-12-23
debounce
function.on-value
, on-error
and on-end
.Date: 2015-12-08
repeat
function.scan
function.from-promise
function.retry
function.with-latest-from
function.catch
function.from-exception
function.empty
function.share
function.merge-all
function.of
function.just
function (once is now an alias for just).never
in function of empty.zip
function allowing passing user defined
join functon.to-atom
for consistency
with the subscribe related functions.Date: 2015-12-03
Date: 2015-11-03
Date: 2015-11-02
Can you improve this documentation? These fine people already did:
Andrey Antukh & Alejandro GómezEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close