Attn: Development Editor, Latest OCaml Weekly News

Alan Schmitt <[email protected]> Tue, 01 Jul 2025 13:16:52 +0200
Newsgroups gmane.comp.lang.caml.inria
Message-ID <[email protected]>
Hello

Here is the latest OCaml Weekly News, for the week of June 24 to July
01, 2025.

Table of Contents
─────────────────

dream-html and pure-html 3.11.0
Other OCaml News
Old CWN


dream-html and pure-html 3.11.0
═══════════════════════════════

  Archive:
  <https://discuss.ocaml.org/t/ann-dream-html-pure-html-3-11-0/16888/1>


Yawar Amin announced
────────────────────

  Happy to announce a new release of [dream-html]:


[dream-html] <https://github.com/yawaramin/dream-html>

pure-html
╌╌╌╌╌╌╌╌╌

  • Add `plaintext-only' value for [`contenteditable'] attribute
  • Join CSS classes together when
    [adding](<https://yawaramin.github.io/dream-html/pure-html/Pure_html/index.html#val-(+@)>)
    a `class' attribute to a node that already has one
  • Escape `<' and `>' characters in HTML attributes to prevent [mXSS
    attacks]


[`contenteditable']
<https://yawaramin.github.io/dream-html/pure-html/Pure_html/HTML/index.html#val-contenteditable>

[mXSS attacks]
<https://bughunters.google.com/blog/5038742869770240/escaping-and-in-attributes-how-it-helps-protect-against-mutation-xss>


dream-html
╌╌╌╌╌╌╌╌╌╌

  • Add [`Dream_html.if_none_match'] and `if_match' helpers for
    conditional requests using ETags
  • Add [`fold'] function to traverse nodes
  • Remove some incorrect path validation from the [PPX]


[`Dream_html.if_none_match']
<https://yawaramin.github.io/dream-html/dream-html/Dream_html/#val-if_none_match>

[`fold']
<https://yawaramin.github.io/dream-html/pure-html/Pure_html/index.html#val-fold>

[PPX] <https://yawaramin.github.io/dream-html/dream-html/Ppx/index.html>


Other OCaml News
════════════════

From the ocaml.org blog
───────────────────────

  Here are links from many OCaml blogs aggregated at [the ocaml.org
  blog].

  • [OCaml, modules, and import schemes]
  • [Guarded methods in OCaml]
  • [EEG internships for the summer of 2025]


[the ocaml.org blog] <https://ocaml.org/blog/>

[OCaml, modules, and import schemes]
<https://xvw.lol/en/articles/modules-import.html>

[Guarded methods in OCaml] <https://xvw.lol/en/articles/oop-refl.html>

[EEG internships for the summer of 2025]
<https://anil.recoil.org/notes/eeg-interns-2025>


Old CWN
═══════

  If you happen to miss a CWN, you can [send me a message] and I'll mail
  it to you, or go take a look at [the archive] or the [RSS feed of the
  archives].

  If you also wish to receive it every week by mail, you may subscribe
  to the [caml-list].

  [Alan Schmitt]


[send me a message] <mailto:[email protected]>

[the archive] <https://alan.petitepomme.net/cwn/>

[RSS feed of the archives] <https://alan.petitepomme.net/cwn/cwn.rss>

[caml-list] <https://sympa.inria.fr/sympa/info/caml-list>

[Alan Schmitt] <https://alan.petitepomme.net/>