|
1 | 1 | # Changelog
|
2 | 2 |
|
3 | 3 | [unreleased]
|
4 |
| -- (placeholder) |
| 4 | +- [BREAKING] Changed `perform_cmd` and `fetch` return type to `T` instead of `Result<T, T>`. |
5 | 5 |
|
6 | 6 | ## v0.6.0
|
7 | 7 | - Implemented `UpdateEl` for `Filter` and `FilterMap`.
|
|
18 | 18 | - Fixed processing of multiple event-handlers (#138).
|
19 | 19 | - Added DOM Element references - see `ElRef` and examples (`canvas`, `user_media` or `todomvc`) (#115).
|
20 | 20 | - Removed `Ms: Clone` restriction as much as possible.
|
21 |
| -- [BREAKING] Added or changed `Custom` variant from `Custom(String)` to `Custom(Cow<'static, str>)` |
| 21 | +- [BREAKING] Added or changed `Custom` variant from `Custom(String)` to `Custom(Cow<'static, str>)` |
22 | 22 | in `Ev`, `Tag`, `At` and `St`. Use function `from` to create custom entities (e.g. `At::from("my-attribute")`) (#208).
|
23 | 23 | - Added macro `nodes!`. It accepts `Node<Msg>` and `Vec<Node<Msg`, returns flattened `Vec<Node<Msg>`.
|
24 | 24 | - Refactored all examples.
|
@@ -82,7 +82,7 @@ in place of a closure or function to produce the corresponding `Init` and `After
|
82 | 82 | ## v0.4.1
|
83 | 83 | - Added more SVG `At` variants
|
84 | 84 | - Added the `St` enum, for style keys; similar to `At`
|
85 |
| -- Improved ergonomics of `add_child`, `add_attr`, `add_class`, |
| 85 | +- Improved ergonomics of `add_child`, `add_attr`, `add_class`, |
86 | 86 | `add_style`, `replace_text`, and `add_text`, `Node` methods
|
87 | 87 |
|
88 | 88 | ## v0.4.0
|
@@ -123,7 +123,7 @@ a text node, but doesn't remove existing ones. Added `add_class`. (Breaking)
|
123 | 123 | - Added support for `requestAnimationFrame`, which improves render performance,
|
124 | 124 | especially for animations
|
125 | 125 | - Styles no longer implicitly add `px`. Added `unit!` macro in its place
|
126 |
| -- `Map` can now be used directly in elements, without needing to annotate type and collect |
| 126 | +- `Map` can now be used directly in elements, without needing to annotate type and collect |
127 | 127 | (ie for child `Elements`, and `Listener`s)
|
128 | 128 | - Significant changes to MessageMapper
|
129 | 129 | - Orders hs new methods, `clone_app` and `msg_mapper` that allow access to app instance.
|
|
0 commit comments