Releases: dune-universe/brr
0.0.6+dune
CHANGES:
-
The experimental library
brr.note
has been migrated to thenote.brr
library available via thenote
package. The toplevel modules
were renamed fromBrr_note*
toNote_brr*
. -
Fix encoding mess in
Brr.Uri
which tried to expose a model that is
not workable in practice due to the way the URI standard is defined.- Accessors and
Uri.with_uri
no longer perform percent decoding and
encoding for you. - Added helper functions
Uri.[with_]{query,fragment}_params
. - Added helper functions
Uri.[with_]{path_segments}
.
Thanks to Max Lang for the report and making sure the new API makes
sense (dbuenzli#50). - Accessors and
-
Add canvas color space support (note: unsupported on Firefox for now).
C2d.attrs
, addcolor_space
andwill_read_frequently
attributes.- Add
C2d.Image_data.color_space
and a?color_space
optional argument
toC2d.{create,get}_image_data
andC2d.Image_data.create
.
-
Brr.Blob.{array_buffer,text,data_uri}
: add an optional argument
?progress
. If provided the load happens via aFileReader
object
and load progress is reported (dbuenzli#39). -
Updated developer tool console to Manifest V3 (dbuenzli#44).
0.0.3+dune
CHANGES:
-
Require
js_of_ocaml
4.0.0:- Allows
brr
,js_of_ocaml
, andgen_js_api
bindings to be used in the
same program. - Adding
-no-check-prims
during bytecode linking is no longer required.
Thanks to Hugo Heuzard for making the ground work in
js_of_ocaml
and
providing a patch (dbuenzli#2, dbuenzli#33). - Allows
-
Add
Brr.Ev.beforeunload
. -
Add
Brr.Ev.Pointer.as_mouse
. -
Tweak
Brr.Ev.{Drag,Wheel}.as_mouse_event
into
Brr.Ev.{Drag,Wheel}.as_mouse
to avoid coercion madness. -
Add
Brr.El.{previous,next}_sibling
. -
Add
Brr.El.remove_inline_style
. -
Add
Brr.El.Style.{top,left,right,bottom,position,z_index}
. -
Fix
Blob.of_jstr
. It was not working. Thanks to Kiran Gopinathan for
the report (dbuenzli#31). -
Ev.target_{of,to}_jv
take and return aJv.t
value instead of an'a
.
Thanks to Joseph Price for the report (dbuenzli#28).