Skip to content

Commit 36f1991

Browse files
authored
v0.9.0 (#747)
* Create new blog post * wip * wip 2 * Attribute passthrough section * SSR Streaming section * wip * Fix some typos * Move contributing guide to book * Add a simple roadmap * Update blog post * Update migration guide * Add some code examples to migration guide * Update version to v0.9.0 * Update CHANGELOG.md
1 parent 63c1123 commit 36f1991

12 files changed

+992
-207
lines changed

CHANGELOG.md

+144
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,149 @@
11
# Changelog
22

3+
## 0.9.2 _(2024-11-01)_
4+
5+
Release Post: https://sycamore.dev/post/announcing-0-9-0
6+
Migration Guide: https://sycamore.dev/book/migration/0-8-to-0-9
7+
8+
#### What's Changed
9+
10+
- Change NAME_SPACE to NAMESPACE by @sokratisvas in https://github.com/sycamore-rs/sycamore/pull/482
11+
- Improve binding ergonomics for `RcSignal` by @danielalvsaaker in https://github.com/sycamore-rs/sycamore/pull/489
12+
- Use fully qualified method calls in macro for bound signals by @danielalvsaaker in https://github.com/sycamore-rs/sycamore/pull/499
13+
- fix(bug): #500 fix and #501 fix by @danielnehrig in https://github.com/sycamore-rs/sycamore/pull/502
14+
- Rename derive proc-macro `Prop` to `Props` by @alexisfontaine in https://github.com/sycamore-rs/sycamore/pull/503
15+
- Fix MDN documentation link of SVG elements by @alexisfontaine in https://github.com/sycamore-rs/sycamore/pull/505
16+
- Rename the derive macro helper attribute `builder` to `prop` by @alexisfontaine in https://github.com/sycamore-rs/sycamore/pull/504
17+
- Make `NodeRef` Reactive by @wainwrightmark in https://github.com/sycamore-rs/sycamore/pull/508
18+
- Add data binding for valueAsNumber property by @wainwrightmark in https://github.com/sycamore-rs/sycamore/pull/511
19+
- Fix js-framework-benchmark CI by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/520
20+
- Fix mismatched link in examples by @nthnd in https://github.com/sycamore-rs/sycamore/pull/524
21+
- Simplify the TodoMVC example code by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/526
22+
- adding `set_fn` and `set_fn_silent` by @blainehansen in https://github.com/sycamore-rs/sycamore/pull/529
23+
- Remove redundant set_value in todomvc example in https://github.com/sycamore-rs/sycamore/pull/530
24+
- Make `create_ref` only allow `T: 'static` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/519
25+
- Update dependencies to latest by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/510
26+
- `GenericNode` v2 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/521
27+
- Remove legacy component syntax and introduce `Component` trait by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/533
28+
- Change CSS `color-scheme` with dark mode is toggled on website by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/534
29+
- Prevent re-running effects inside themselves by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/539
30+
- (Runtime) Templates by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/536
31+
- Make `Option<T>` prop fields optional by default by @danielalvsaaker in https://github.com/sycamore-rs/sycamore/pull/531
32+
- Implement ToView manually for types by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/541
33+
- Fix missing `View::new_dyn_scoped` check at the root by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/549
34+
- Rename css.md to styling.md and add info on integrations with CSS frameworks by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/550
35+
- Adopt a logo! by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/551
36+
- Typed event data + async event handlers by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/553
37+
- Replace context `HashMap` with `Vec` and add benchmark by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/555
38+
- Allow passing through attributes on components by @wingertge in https://github.com/sycamore-rs/sycamore/pull/548
39+
- Wasm bindgen example by @wa1aric in https://github.com/sycamore-rs/sycamore/pull/558
40+
- Add unique ID generation hook by @wingertge in https://github.com/sycamore-rs/sycamore/pull/565
41+
- fixes bind macro problem by @blainehansen in https://github.com/sycamore-rs/sycamore/pull/569
42+
- API docs correction for Functions hydrate_to: "use hydrate_to" can now read and link as "use hydrate". by @StarSapien in https://github.com/sycamore-rs/sycamore/pull/579
43+
- chore: fix formatting and clippy lints by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/582
44+
- Update render util tests and add nested dyn test by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/583
45+
- Fix Issue #572 by @wingertge in https://github.com/sycamore-rs/sycamore/pull/573
46+
- Centered badges by @simonhyll in https://github.com/sycamore-rs/sycamore/pull/589
47+
- Add signal equivalent of `create_ref_unsafe` by @wingertge in https://github.com/sycamore-rs/sycamore/pull/586
48+
- Do not add values to the arena drop list if not necessary by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/552
49+
- Avoid exponential blowup in size of Builder type by @sapphire-arches in https://github.com/sycamore-rs/sycamore/pull/591
50+
- Update syn to v2 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/593
51+
- Prepare v0.9.0-beta.1 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/594
52+
- Fix builder `bind_value` and `bind_checked` calling wasm functions in SSR by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/608
53+
- Fix #562 / ignore the query parameters when matching a path to a route by @Miroito in https://github.com/sycamore-rs/sycamore/pull/575
54+
- Fix navigating to an anchor and route matching with hash parameters by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/610
55+
- Update Trunk, NodeJS, and MSRV to 1.65 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/611
56+
- Update routing.md by @jhutchins in https://github.com/sycamore-rs/sycamore/pull/613
57+
- fix view! parser to handle dashed attributes with Rust keywords (#620) by @mekanoe in https://github.com/sycamore-rs/sycamore/pull/624
58+
- Update MSRV to 1.72 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/625
59+
- Reactivity v3! (Part 1) 🎉 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/612
60+
- fix typos & small grammatical errors by @iiiii7d in https://github.com/sycamore-rs/sycamore/pull/627
61+
- Reactivity v3 (Part 2) by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/626
62+
- Update README.md example with new reactivity system] by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/629
63+
- Bump postcss from 8.4.23 to 8.4.31 in /website by @dependabot in https://github.com/sycamore-rs/sycamore/pull/628
64+
- Dont suggest wee-alloc in docs by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/630
65+
- Make batch affect both memos and effects by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/631
66+
- Repace the `Memo` struct with `ReadSignal` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/632
67+
- Update all dependencies by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/633
68+
- v0.9.0-beta.2 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/634
69+
- Run everything through prettier by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/635
70+
- Update components documentation for v0.9 by @brynnjmccormick in https://github.com/sycamore-rs/sycamore/pull/637
71+
- Add a CONTRIBUTING.md and remove old contributing docs by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/636
72+
- Fix panic about current not being a child of parent in clean_children by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/639
73+
- Re-export `wasm-bindgen`, `js-sys`, and event types from `web-sys` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/642
74+
- Add missing docs and more doctests by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/643
75+
- Move web-sys features from sycamore to sycamore-web by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/644
76+
- Update Router example to use non-referenced ReadSignal by @noxxxxxious in https://github.com/sycamore-rs/sycamore/pull/647
77+
- Refactor view! by extracting parsing logic from codegen into a new crate by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/649
78+
- Improve generation of HTML for the hydrate example. by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/657
79+
- Add underline and bold for navigation improvements by @Hmikihiro in https://github.com/sycamore-rs/sycamore/pull/660
80+
- Temporary fix for book broken navigation by @Hmikihiro in https://github.com/sycamore-rs/sycamore/pull/661
81+
- Update MSRV to 1.73.0 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/663
82+
- Remove deploy draft workflow by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/664
83+
- Update trunk to v0.19.1 and disable minification for hydrate example by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/665
84+
- Maintenance: fix all the new clippy warnings by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/666
85+
- Add `track_caller` attribute to `provide_context*` and `use_context` functions by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/667
86+
- Add 'SubmitEvent' to re-exported events from web_sys crate by @dyanechi in https://github.com/sycamore-rs/sycamore/pull/668
87+
- Replace CountAPI as it got taken down. by @JasonLovesDoggo in https://github.com/sycamore-rs/sycamore/pull/674
88+
- Bump braces from 3.0.2 to 3.0.3 in /website by @dependabot in https://github.com/sycamore-rs/sycamore/pull/675
89+
- Rename the tag type alias by @mtshr in https://github.com/sycamore-rs/sycamore/pull/677
90+
- View Backend v2! (Attempt 2) by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/679
91+
- Remove `target_wasm32` folder by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/680
92+
- Update some old docs by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/681
93+
- Fix `set_fn` to not be silent by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/682
94+
- v0.9.0-beta.3 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/683
95+
- Fix missing version in dependency by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/684
96+
- fixup: missing keys in Cargo.toml by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/685
97+
- Update codecov action by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/686
98+
- fixup: wrong version in docs by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/687
99+
- Make `ViewHtmlNode` methods use `Cow<'static, str>` instead of `&'static str` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/688
100+
- Make `HtmlNode` into `pub` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/689
101+
- Fix `NoHydrate` should render if not hydrating by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/690
102+
- Remove `nom` dependency and replace with hand written parser by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/691
103+
- Reorganize `sycamore-web` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/692
104+
- Move `MaybeDyn` to new file and add some impls by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/693
105+
- Reimplement attribute passthrough, without `attr:xyz`! by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/694
106+
- Fix suspense rendering async shell during fallback by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/695
107+
- SSR Streaming by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/696
108+
- Remove Gitpod by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/697
109+
- v0.9.0-beta.4 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/698
110+
- Fix router on different pathname and hash triggers hard refresh by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/700
111+
- Fix suspense should create context in global scope by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/701
112+
- Add umami analytics to website by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/702
113+
- Update branch name from `master` to `main` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/706
114+
- Allow attribute names by using string literal by @Kromgart in https://github.com/sycamore-rs/sycamore/pull/707
115+
- Move `MaybeDyn` to `sycamore-reactive` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/705
116+
- Add re-exports back to `sycamore-web` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/708
117+
- Cleanup some example dependencies by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/709
118+
- Add missing feature to serde in `http-request(-builder)` examples by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/710
119+
- Fix #704 - Updating the check whether a view must be dynamic. by @Kromgart in https://github.com/sycamore-rs/sycamore/pull/711
120+
- Support `MaybeDyn<Option<Cow<'static, str>>>` and make some impls more flexible by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/713
121+
- Remove `tracing` from `sycamore-web` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/715
122+
- Support optional attributes by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/714
123+
- Update faq.md, rust is the 2023-most-desired-language by @liigo in https://github.com/sycamore-rs/sycamore/pull/716
124+
- Transitions v2 + Resources API by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/719
125+
- cargo fmt by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/722
126+
- Fix macro hygiene for `console_{log, warn, error, dbg}!` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/723
127+
- Update old website to migrate to sycamore.dev by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/724
128+
- Force redirect home page to new website by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/725
129+
- Remove old website code by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/726
130+
- Create SECURITY.md by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/727
131+
- Update docs to test workflow by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/728
132+
- Fix build examples workflow by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/730
133+
- Fix build example workflow again by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/731
134+
- Implement `Into<View>` for signal like types by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/732
135+
- New docs for Sycamore v0.9 by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/729
136+
- Fix hydration mismatch when using `render_to_string_await_suspense` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/733
137+
- Fix broken expect test by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/734
138+
- Fix condition in `Suspense` is not reactive breaking hydration by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/735
139+
- Fix SSR blocking mode removing suspended content after load by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/736
140+
- Make `SsrNode` automatically create reactive nodes by default by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/737
141+
- Reimplement SSR streaming with `FuturesUnordered` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/738
142+
- Do not track callback in `on` function callback by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/740
143+
- Fix do not track nested reactivity in `map_keyed`/`map_indexed` by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/742
144+
- Slightly better error messages for read/updating a signal while updating/reading by @lukechu10 in https://github.com/sycamore-rs/sycamore/pull/745
145+
- Support `impl Trait` syntax with `inline_props` by @davidon-top in https://github.com/sycamore-rs/sycamore/pull/746
146+
3147
## **0.8.2** _(2022-09-24)_
4148

5149
- #### ⚡️ Features

0 commit comments

Comments
 (0)