Skip to content

Commit fc320a3

Browse files
authored
Release 0.3.0 (#43)
* Release 0.3.0 * Update CHANGELOG.md * Add links to PRs * Fix links
1 parent bd84298 commit fc320a3

File tree

4 files changed

+40
-4
lines changed

4 files changed

+40
-4
lines changed

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,40 @@
11
# Changelog
22

3+
## **0.3.0** _(2021-03-13)_
4+
5+
#### Changelog
6+
7+
- #### ⚡️ Features
8+
9+
- Nested effects. Inner effects are destroyed and recreated when outer effects re-run [[@lukechu10], [#29](https://github.com/lukechu10/maple/pull/29)]
10+
- `cloned!` macro for making it easier to clone items into a new scope [[@lukechu10], [#34](https://github.com/lukechu10/maple/pull/34)]
11+
- Effects are created inside a reactivity root (using `create_root`). When the root `Owner` is dropped, all effects are also destroyed [[@lukechu10], [37](https://github.com/lukechu10/maple/pull/37)]
12+
- Nested templates. Using this, it is also possible to build simple `if`/`else` control flow although there will be a more polished version [[@lukechu10], [#41](https://github.com/lukechu10/maple/pull/41)]
13+
14+
- #### 🛠 Fixes
15+
16+
- Parse html root as an `HtmlTree` [[@lukechu10], [#25](https://github.com/lukechu10/maple/pull/25)]
17+
- Recreate effect dependencies on each re-run [[@lukechu10], [#29](https://github.com/lukechu10/maple/pull/29)]
18+
19+
- #### 🛠 Internal Fixes and Improvements
20+
21+
- Remove double boxing of `Computation` [[@Kestrer], [#31](https://github.com/lukechu10/maple/pull/31)]
22+
- Create `CODE_OF_CONDUCT.md` [[@lukechu10], [#33](https://github.com/lukechu10/maple/pull/33)]
23+
- Add some preliminary benchmarks for signals and effects [[@lukechu10], [#35](https://github.com/lukechu10/maple/pull/35)]
24+
- Add clippy to CI workflow [[@Kestrer], [#42](https://github.com/lukechu10/maple/pull/42)]
25+
26+
- #### **BREAKING CHANGES**
27+
28+
- Replaced `create_signal` with `Signal::new(...)` and return `Signal` instead of getter/setter functions for increased type safety [[@Kestrer], [#20](https://github.com/lukechu10/maple/pull/20)]
29+
30+
- #### 📢 Announcements
31+
32+
- New documentation website: https://maple-rs.netlify.app/ [[@lukechu10], [#26](https://github.com/lukechu10/maple/pull/26) and [#40](https://github.com/lukechu10/maple/pull/40)]
33+
334
## **0.2.0** _(2021-03-07)_
435

36+
#### Changelog
37+
538
- #### ⚡️ Features
639

740
- Components! In `maple` they are simply plain old functions that take their props via their parameters [[#9](https://github.com/lukechu10/maple/pull/9)]
@@ -31,3 +64,6 @@
3164
- Initial release!
3265
- Added `template!` macro.
3366
- Added reactivity primitives.
67+
68+
[@Kestrer]: https://github.com/Kestrer
69+
[@lukechu10]: https://github.com/lukechu10

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The recommended build tool is [Trunk](https://trunkrs.dev/).
88
Start by adding `maple-core` to your `Cargo.toml`:
99

1010
```toml
11-
maple-core = "0.2.0"
11+
maple-core = "0.3.0"
1212
```
1313

1414
Add the following to your `src/main.rs` file:

maple-core-macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT"
77
name = "maple-core-macro"
88
readme = "../README.md"
99
repository = "https://github.com/lukechu10/maple"
10-
version = "0.2.0"
10+
version = "0.3.0"
1111

1212
[lib]
1313
proc-macro = true

maple-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ license = "MIT"
77
name = "maple-core"
88
readme = "../README.md"
99
repository = "https://github.com/lukechu10/maple"
10-
version = "0.2.0"
10+
version = "0.3.0"
1111

1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[dependencies]
15-
maple-core-macro = {path = "../maple-core-macro", version = "0.2.0"}
15+
maple-core-macro = {path = "../maple-core-macro", version = "0.3.0"}
1616
wasm-bindgen = "0.2.71"
1717

1818
[dependencies.web-sys]

0 commit comments

Comments
 (0)