Skip to content

Releases: mirage/ocaml-cow

2.5.0

07 Dec 19:42
Compare
Choose a tag to compare

CHANGES:

  • Add integrity and crossorigin attributes (#108, @tbrk)
  • Dune packaging fixes and updates (#109, #112, @CraiFe, @samoht)

v2.4.0

12 Mar 21:57
Compare
Choose a tag to compare

CHANGES:

2.3.0

02 May 21:52
Compare
Choose a tag to compare

2.3.0 (29-04-2018)

More HTML5 combinators, use module aliases and topkg

15 Sep 12:51
Compare
Choose a tag to compare
  • Port to use module aliases, so there are now Cow_xml Cow_html
    Cow_xhtml Cow_markdown Cow_json and Cow_atom modules,
    with aliases to the old scheme under the Cow module (e.g. Cow.Xml).
    Existing code should continue to work, but the whole compilation unit
    is no longer linked in if just a single method of output is used.
    This bumps the minimum OCaml version to 4.02.3 due to the use of
    module-level aliases.
  • Switch build system to use topkg instead of oasis, and adhere
    to the opkg layout format.
  • Add description lists (dl/dt/dd)
  • Add ~licls/~dtcls/~ddcls to Html.ul/ol/dl. Setting classes of child
    elements in lists is sometimes useful.
  • Add some missing HTML5 combinators.

OCaml 4.03 compatibility

03 May 17:00
Compare
Choose a tag to compare
  • Turn off warnings-as-errors, which fixes build under 4.03
  • Add OCaml test cases for OCaml 4.03.

OCamldoc and API compatibility

27 Sep 18:01
Compare
Choose a tag to compare
  • Improve compatibility with Type_conv >= 113.00 by renaming some of the
    syntax parser modules to be less generically named.
  • Add ocamldoc generation and improve the Html.Create library
    (from @chrismamo1 in #82).

CSS and HTML improvements

27 Sep 18:00
Compare
Choose a tag to compare
  • Add Css.of_string, Css.set_prop, Css.get_prop, Css.polygradient.
    Css.gradient (#74, by @chrismamo1)
  • Add optional arguments to Css.top_rounded, Css.rounded, Css.box_shadow
    and Css.text_shadow (#74, by @chrismamo1)
  • Add Html.concat, Html.append, Html.Create.ul and Html.Create.ol
    (#74, by @chrismamo1)

Fix int32 support in JSON syntax

30 Jul 10:53
Compare
Choose a tag to compare
  • Fix int32 conversion to float in JSON syntax (#76, by Antoine Luciani)
  • Fix a regression introduced in 1.2.0 in make test (#72 by @dsheets)
  • Modernize .travis.yml to use ocaml-travisci-skeleton (by @dsheets)
  • Remove direct dependency on re (#71, by @rgrinberg)
  • Add a .merlin file (#70, by @rgrinberg)

Support new ezjsonm in syntax extension

05 Mar 14:23
Compare
Choose a tag to compare
  • Fix compatibility of the json syntax extension with ezjsonm version 0.4 (#68)

Now with valid HTML5 Output

06 Feb 13:39
Compare
Choose a tag to compare
  • When serializing HTML, only self-close void elements.
  • New Html.doctype value of the HTML5 DOCTYPE.
  • New Html.output and Html.output_doc functions for generic polyglot output.
  • Atom support is now deprecated in favor of Syndic
  • New Html.img constructor for easy creation of tags
  • New Html.a constructor for easy creation of tags
  • Deprecate function Html.html_of_link and type Html.link