Tags: ocsigen/tyxml
Tags
Release 4.6.0 CHANGES: * Update for OCaml 5.0 and drop support for OCaml 4.2.0 (#312 by @rr0gi) * Add additional variants to `linktype` for the `rel` attribute (Leon @LogicalOverflow Vack) * Expand options for `autocomplete` attribute on `<input>` elements (#302 by Aron @aronerben Erben) * Fix the SVG element `<animate>` (by the way, deprecate `animation` et al. in favor of `animate` et al.) (#306 by Idir @ilankri Lankri) * Add support for `dialog` element and `onclose` attribute (#301 by Julien Sagot) * Add an escape hatch for emitting attributes with non-standard names in jsx or ppx code (a leading `_` character on attribute name) (#295 Chas @cemerick Emerick) * Add support for `type` attribute on `<script>` elements (#293 by Ulrik @ulrikstrid Strid and Chas @cemerick Emerick) * Add svg `fill-rule` attribute (#294 by Eric @dedbox Griffis)
Version 4.2.0 * Compatibility with OCaml 4.6.0. * The ppx should now be compatible with driver-based workflows. In particular, jbuilder. * Future breakage: * The two camlp4-based packages (tyxml.syntax and tyxml.parser) are now deprecated and will be removed in the next major version. * Introduction of the tyxml-ppx ocamlfind package. Usage of the tyxml.ppx package is discouraged, and it will be removed in the next major version. * Various fixes in the Html_sigs.T module (contribution by Fabian Pijcke): * Fixed the map element function signature. * The elements functions now (almost) all make use of the types defined in Html_types, rather than redefining them. * Html_sigs.T.fieldset now takes [< legend] elt wrap as optional argument rather than legend elt wrap. * Add basic support for `aria-*` attributes (contribution by Armaël Guéneau) (see https://www.w3.org/TR/wai-aria-1.1/#states_and_properties) * Add support for the `role` attribute (contribution by Armaël Guéneau) (see https://www.w3.org/TR/role-attribute/) * Add support for the `minlength` form attribute (contribution by Armaël Guéneau) (See https://www.w3.org/TR/html5/forms.html#attr-input-minlength)
Version 3.6.0 * Improves and simplify the wrapping interface. Breaking change. * Add the possibility to specify converters, for constants functions. See also eliom's shared react. * Fix printing of floating numbers. * Add the main element. * Fix the accept attribute.
Version 3.5.0 * Add Tyxml_name, which allows to derive tyxml identifiers from HTML elements and attributes. * Internally build the tool `autoname`, which applies the aftermentionned transformation for the given elements/attributes. * Fix typo in `datetime-local`. * Add download attributes for area and tags. * Add various svg `text` attributes. * Fix namespaces issues related to svg elements inside html.
PreviousNext