Skip to content

Commit c69e9b8

Browse files
committed
0.2.9 release
1 parent c043e13 commit c69e9b8

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Changelog
22

33
## v0.2.9
4-
- Added an `Effect` option to the `Update` enum, which allows chaining update
5-
messages.
4+
- Added a `RenderThen` option to `Update`, which allows chaining update messages
5+
- Added a `.model` method to `Update`, allowing for cleaner recursion in updates
6+
- Improved controlled-comonent (sync fields with model) logic
67

78
## v0.2.8
89
- Reflowed `El::from_html` and `El::from_markdown` to return `Vec`s of `El`s, instead of wrapping

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "seed"
3-
version = "0.2.8"
3+
version = "0.2.9"
44
description = "A Rust framework for creating web apps, using WebAssembly"
55
authors = ["DavidOConnor <[email protected]>"]
66
license = "MIT"

examples/server_interaction/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ impl Default for Model {
103103
#[derive(Clone)]
104104
enum Msg {
105105
Replace(Branch),
106-
// GetData(seed::App<Msg, Model>),
107-
GetData,
106+
GetData(seed::App<Msg, Model>),
107+
// GetData,
108108
Send,
109109
}
110110

src/dom_types.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1300,10 +1300,10 @@ use crate::{attrs, div, h1, p, section, span};
13001300
pub mod tests {
13011301
// wasm_bindgen_test_configure!(run_in_browser);
13021302

1303-
#[derive(Clone)]
1304-
enum Msg {
1305-
Placeholder,
1306-
}
1303+
// #[derive(Clone)]
1304+
// enum Msg {
1305+
// Placeholder,
1306+
// }
13071307

13081308
// todo now that we use text nodes, same problem as nested
13091309
// #[wasm_bindgen_test]

0 commit comments

Comments
 (0)