1.6 KiB
1.6 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[Unreleased]
Changed
- Attribute type conversion is now using the newly stabilised
TryFrom
instead ofFrom
, to avoid relying on panickingFrom
implementations to detect conversion errors, though the conversions inside the macro will still panic if they fail. The appropriateTryFrom
implementations have been added toClass
,Id
,SpacedList
andSpacedSet
, and the correspondingFrom
implementations have been removed.
[0.2.0] - 2019-03-16
Added
- Support for the Dodrio virtual DOM renderer: the
dodrio_macro
feature flag enables thetyped_html::dodrio
macro, which generates code to build adodrio::Node
directly, without going viaVNode
s. (#38)
Fixed
- Added the missing attributes to the
<video>
tag, which was previously listed as having none. (#32)
[0.1.1] - 2018-11-29
Added
typed-html
now works on stable rustc. (#1)- All elements and HTML marker traits now implement
IntoIterator
, so you can return them directly from a group. (#12)
Fixed
- Boolean flags are now correctly rendered as empty when stringifying. (#13, #14)
- Non-self-closing tags are now correctly rendered with a closing tag in the HTML style, rather than in the XML style. (#15, #16)
[0.1.0] - 2018-11-17
This is the initial release.