|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file.
|
4 | 4 |
|
5 |
| -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) |
6 |
| -and this project adheres to [Semantic |
7 |
| -Versioning](http://semver.org/spec/v2.0.0.html). |
| 5 | +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project |
| 6 | +adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [0.2.2] - 2020-02-07 |
| 9 | + |
| 10 | +## Fixed |
| 11 | + |
| 12 | +- Changed some internal uses of `into_iter()` to `iter()` for future proofing. (#78) |
8 | 13 |
|
9 | 14 | ## [0.2.1] - 2019-06-28
|
10 | 15 |
|
11 | 16 | ### Added
|
12 | 17 |
|
13 |
| -- Most types now implement `Send`. (#53) |
14 |
| -- All tags now support the ARIA `role` attribute. (#47) |
15 |
| -- The `text!()` macro now accepts expressions as value arguments. (#48) |
16 |
| -- You can now create "unsafe" text nodes with the `unsafe_text!()` macro, which |
17 |
| - won't be quoted at all when stringifying, even if they contain HTML tags. This |
18 |
| - is a meaningless distinction when creating DOM nodes, however, and unsafe text |
19 |
| - nodes will behave like normal text nodes in this case. (#39) |
| 18 | +- Most types now implement `Send`. (#53) |
| 19 | +- All tags now support the ARIA `role` attribute. (#47) |
| 20 | +- The `text!()` macro now accepts expressions as value arguments. (#48) |
| 21 | +- You can now create "unsafe" text nodes with the `unsafe_text!()` macro, which won't be quoted at |
| 22 | + all when stringifying, even if they contain HTML tags. This is a meaningless distinction when |
| 23 | + creating DOM nodes, however, and unsafe text nodes will behave like normal text nodes in this |
| 24 | + case. (#39) |
20 | 25 |
|
21 | 26 | ### Changed
|
22 | 27 |
|
23 |
| -- Text in attributes are quoted less aggressively when stringified. (#26, #49) |
24 |
| -- Attribute type conversion is now using the recently stabilised `TryFrom` |
25 |
| - instead of `From`, to avoid relying on panicking `From` implementations to |
26 |
| - detect conversion errors, though the conversions inside the macro will still |
27 |
| - panic if they fail. The appropriate `TryFrom` implementations have been added |
28 |
| - to `Class`, `Id`, `SpacedList` and `SpacedSet`, and the corresponding `From` |
29 |
| - implementations have been removed. |
| 28 | +- Text in attributes are quoted less aggressively when stringified. (#26, #49) |
| 29 | +- Attribute type conversion is now using the recently stabilised `TryFrom` instead of `From`, to |
| 30 | + avoid relying on panicking `From` implementations to detect conversion errors, though the |
| 31 | + conversions inside the macro will still panic if they fail. The appropriate `TryFrom` |
| 32 | + implementations have been added to `Class`, `Id`, `SpacedList` and `SpacedSet`, and the |
| 33 | + corresponding `From` implementations have been removed. |
30 | 34 |
|
31 | 35 | ## [0.2.0] - 2019-03-16
|
32 | 36 |
|
33 | 37 | ### Added
|
34 | 38 |
|
35 |
| -* Support for the [Dodrio](https://github.com/fitzgen/dodrio) virtual DOM renderer: the `dodrio_macro` feature flag enables the `typed_html::dodrio` macro, which generates code to build a `dodrio::Node` directly, without going via `VNode`s. (#38) |
| 39 | +- Support for the [Dodrio](https://github.com/fitzgen/dodrio) virtual DOM renderer: the |
| 40 | + `dodrio_macro` feature flag enables the `typed_html::dodrio` macro, which generates code to |
| 41 | + build a `dodrio::Node` directly, without going via `VNode`s. (#38) |
36 | 42 |
|
37 | 43 | ### Fixed
|
38 | 44 |
|
39 |
| -* Added the missing attributes to the `<video>` tag, which was previously listed as having none. (#32) |
| 45 | +- Added the missing attributes to the `<video>` tag, which was previously listed as having none. |
| 46 | + (#32) |
40 | 47 |
|
41 | 48 | ## [0.1.1] - 2018-11-29
|
42 | 49 |
|
43 | 50 | ### Added
|
44 | 51 |
|
45 |
| -* `typed-html` now works on stable rustc. (#1) |
46 |
| -* All elements and HTML marker traits now implement `IntoIterator`, so you can return them directly |
47 |
| - from a group. (#12) |
| 52 | +- `typed-html` now works on stable rustc. (#1) |
| 53 | +- All elements and HTML marker traits now implement `IntoIterator`, so you can return them |
| 54 | + directly from a group. (#12) |
48 | 55 |
|
49 | 56 | ### Fixed
|
50 | 57 |
|
51 |
| -* Boolean flags are now correctly rendered as empty when stringifying. (#13, #14) |
52 |
| -* Non-self-closing tags are now correctly rendered with a closing tag in the HTML style, rather than |
53 |
| - in the XML style. (#15, #16) |
| 58 | +- Boolean flags are now correctly rendered as empty when stringifying. (#13, #14) |
| 59 | +- Non-self-closing tags are now correctly rendered with a closing tag in the HTML style, rather |
| 60 | + than in the XML style. (#15, #16) |
54 | 61 |
|
55 | 62 | ## [0.1.0] - 2018-11-17
|
56 | 63 |
|
|
0 commit comments