- Require OCaml 4.08.
- Handle deprecation of
Pervasives
(and thus support OCaml 5.00)
- Allow signals to be created and
S.stop
ped instantaneously (#18) Previously this could lead to failed assertions in updates (e.g.S.bind
trying to switch to an uninitialized signal). Thanks to Arthur Wendling for the report. - Fix implementation of
S.Bool.flip
, its initial value on creation could be wrong in dynamic creation (#17). Thanks to Arthur Wendling for the report. - Fix bug in
S.Option.value
with`Always
onS.const None
(#19). Thanks to Arthur Wendling for the report. - Safe-string support.
- Build depend on topkg.
- Relicense from BSD3 to ISC
- Fix bug in dynamic creation of
S.{diff,changes}
(#8). - Fix bug in dynamic creation of
S.switch
(#7). - Add support for toplevel: automatically
open React
on#require "react"
. - Add
S.Bool.{flip,edge,fall,rise}
.
- Fix
S.switch
rank's initialisation. - Add
E.l{1,2,3,4,5,6}
, lifting combinators on events. - Add
E.Option.{some,value}
. - Add
S.{Float,Int}.{zero,one,minus_one}
. - Add
S.Bool.{zero,one}
. - Add
S.Option.{none,some,value}
. - Add
{S,E}.on
equivalent to{S,E}.when_
. - Deprecate
{S,E}.when_
(syntax error prone).
- Fix
S.bind
. - Use package builder topkg for distribution.
- OPAM friendly workflow and drop OASIS support.
- Add
S.bind
.
The following changes are incompatible.
- Add support for update steps, see the
React.Step
module. Allows to specify simultaneous primitive signal updates and event occurences. The functions returned by{S,E}.create
now have an optional?step
argument; if unused the previous semantics is preserved. - Add support for strong stops, can be used on platforms where weak
arrays are not to prevent leaks. The function
{E,S}.stop
now have an optional?strong
argument; if unused the previous semantics is preserved. - Change signature of
S.switch
. Any existing callS.switch ~eq s es
can be replaced byS.(switch ~eq (hold ~eq:( == ) s es))
.
- OASIS 0.3.0 support.
- OASIS support.
- Fix a bug in weak heap implementation (thanks to Jake Donham for reporting and a discussion about the fix).
- Added
E.retain
andS.retain
. - A few
List.map
where replaced byList.rev_map
. - Fixes to
breakout.ml
to make it work on vte based terminals.
- First release.