Skip to content

Releases: dune-universe/brr

0.0.6+dune

05 Nov 17:10
Compare
Choose a tag to compare

CHANGES:

  • The experimental library brr.note has been migrated to the note.brr
    library available via the note package. The toplevel modules
    were renamed from Brr_note* to Note_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).

  • Add canvas color space support (note: unsupported on Firefox for now).

    • C2d.attrs, add color_space and will_read_frequently attributes.
    • Add C2d.Image_data.color_space and a ?color_space optional argument
      to C2d.{create,get}_image_data and C2d.Image_data.create.
  • Brr.Blob.{array_buffer,text,data_uri}: add an optional argument
    ?progress. If provided the load happens via a FileReader object
    and load progress is reported (dbuenzli#39).

  • Updated developer tool console to Manifest V3 (dbuenzli#44).

0.0.3+dune

14 Apr 16:49
Compare
Choose a tag to compare

CHANGES:

  • Require js_of_ocaml 4.0.0:

    • Allows brr, js_of_ocaml, and gen_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).

  • 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 a Jv.t value instead of an 'a.
    Thanks to Joseph Price for the report (dbuenzli#28).