Releases: seed-rs/seed
Releases · seed-rs/seed
V0.2.9
- Added a
RenderThen
option toUpdate
, which allows chaining update messages - Added a
.model
method toUpdate
, allowing for cleaner recursion in updates - Improved controlled-comonent (sync fields with model) logic
V0.2.8
- Reflowed
El::from_html
andEl::from_markdown
to returnVec
s ofEl
s, instead of wrapping
them in a single span. - Improved support for SVG and namespaces
- Added
set_timeout
wrapper
V0.2.7
v0.2.7
- Fixed a bug where
line!
macro interfered with builtin in - Fixed a bug with routing search (ie
?
)
v0.2.6
- Fixed a bug where children would render out-of-order
- Improved vdom diffing logic
v0.2.5
- Attributes and Events now can use At and Ev enums
- Routing overhauled; modelled after react-reason. Cleaner syntax, and more flexible.
- Input, Textarea, and Select elements are now "controlled" - they always stay in sync with the model.
- index.html file updated in examples and quickstart to use relative paths, which fixes landing page routing
v0.2.4
- Changed render func to use a new pattern (Breaking)
- Default mount point added: "app" for element id
- View func now takes a ref to the model instead of the model itself
- Routing refactored; now works dynamically
- Update function now returns an enum that returns Render or Skip,
to allow conditional rendering (Breaking) - Elements can now store more than 1 text node.
0.2.3
- Fixed a bug where initially-empty text won't update
- Added more tests
- Exposed web_sys Document and Window in top level of Seed create, with .expect
- Modified build scripts to keep the wasm output name fixed at 'package', simplifying example/quickstart renames
- Tests now work in Windows due to update in wasm-pack
0.2.2
Refactor of fetch, set_interval API.