Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] brr (0.0.6+dune) #205

Merged
merged 1 commit into from Nov 6, 2023

Conversation

tmattio
Copy link
Contributor

@tmattio tmattio commented Nov 5, 2023

Browser programming toolkit for OCaml

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 (dune-universe/brr#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 (dune-universe/brr#39).

  • Updated developer tool console to Manifest V3 (dune-universe/brr#44).

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 (dune-universe/brr#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 (dune-universe/brr#39).

- Updated developer tool console to Manifest V3 (dune-universe/brr#44).
@tmattio tmattio merged commit 7c900a9 into dune-universe:master Nov 6, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant