Skip to content

Commit

Permalink
[new release] brr (0.0.6+dune) (#205)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
tmattio authored Nov 6, 2023
1 parent f5a95a0 commit 7c900a9
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions packages/brr/brr.0.0.6+dune/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
opam-version: "2.0"
synopsis: "Browser programming toolkit for OCaml"
description: """\
Brr is a toolkit for programming browsers in OCaml with the
[`js_of_ocaml`][jsoo] compiler. It provides:

* Interfaces to a selection of browser APIs.
* An OCaml console developer tool for live interaction
with programs running in web pages.
* A JavaScript FFI for idiomatic OCaml programming.

Brr is distributed under the ISC license. It depends on the
`js_of_ocaml` compiler and runtime – but not on its libraries or
syntax extension.

[jsoo]: https://ocsigen.org/js_of_ocaml

Homepage: <https://erratique.ch/software/brr>"""
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
authors: "The brr programmers"
license: ["ISC" "BSD-3-Clause"]
tags: ["reactive" "declarative" "frp" "front-end" "browser" "org:erratique"]
homepage: "https://github.com/dune-universe/brr"
bug-reports: "https://github.com/dbuenzli/brr/issues"
depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.8"}
"js_of_ocaml-compiler" {>= "4.1.0"}
"js_of_ocaml-toplevel" {>= "4.1.0"}
]
build: [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} ]
dev-repo: "git+https://github.com/dune-universe/brr.git"
url {
src:
"https://github.com/dune-universe/brr/releases/download/v0.0.6%2Bdune/brr-0.0.6.dune.tbz"
checksum: [
"sha256=cea25f08ad1cd55abff0057b55d8efc3dc48ab3b6aa7c0698f3ada4999e35e66"
"sha512=05fd170deb59e31594df0f17cee6a4b32daa5b6bb7e0c703df0b32e09b80671dfe7c8fa7f8a5a035201bea978931ccfd43aeb0dfadbf7edb47a33b5b46023977"
]
}
x-commit-hash: "0533b0d3ae56cd192f32029970beb842d9a22fd8"

0 comments on commit 7c900a9

Please sign in to comment.