Skip to content

Commit 5f652f1

Browse files
committed
Release 0.2.2
1 parent 0950c82 commit 5f652f1

File tree

3 files changed

+45
-32
lines changed

3 files changed

+45
-32
lines changed

CHANGELOG.md

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,62 @@
22

33
All notable changes to this project will be documented in this file.
44

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)
813

914
## [0.2.1] - 2019-06-28
1015

1116
### Added
1217

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)
2025

2126
### Changed
2227

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.
3034

3135
## [0.2.0] - 2019-03-16
3236

3337
### Added
3438

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)
3642

3743
### Fixed
3844

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)
4047

4148
## [0.1.1] - 2018-11-29
4249

4350
### Added
4451

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)
4855

4956
### Fixed
5057

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)
5461

5562
## [0.1.0] - 2018-11-17
5663

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "typed-html-macros"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2018"
55
authors = ["Bodil Stokke <bodil@bodil.org>"]
66
build = "build.rs"

typed-html/Cargo.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "typed-html"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2018"
55
authors = ["Bodil Stokke <bodil@bodil.org>"]
66
license = "MPL-2.0+"
@@ -13,20 +13,26 @@ keywords = ["jsx", "html", "wasm"]
1313

1414
[badges]
1515
travis-ci = { repository = "bodil/typed-html" }
16-
maintenance = { status = "actively-developed" }
16+
maintenance = { status = "looking-for-maintainer" }
17+
18+
[package.metadata.docs.rs]
19+
all-features = true
1720

1821
[dependencies]
19-
typed-html-macros = { path = "../macros" }
20-
strum = "0.16.0"
21-
strum_macros = "0.16.0"
22+
typed-html-macros = "0.2.2"
23+
strum = "0.17"
24+
strum_macros = "0.17"
2225
mime = "0.3.13"
2326
language-tags = "0.2.2"
2427
htmlescape = "0.3.1"
2528
proc-macro-hack = "0.5.4"
2629
proc-macro-nested = "0.1.3"
2730
stdweb = { version = "0.4.14", optional = true }
2831
dodrio = { version = "0.1.0", optional = true }
29-
web-sys = { version = "0.3.16", optional = true, features = ["Event", "Element"] }
32+
web-sys = { version = "0.3.16", optional = true, features = [
33+
"Event",
34+
"Element"
35+
] }
3036

3137
[features]
3238
dodrio_macro = ["web-sys", "dodrio", "typed-html-macros/dodrio"]

0 commit comments

Comments
 (0)