tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1077HTML 1008Markdown 12TOML 83209 Definitions

⎇ 2a1e42639a25c00e1922dcf2f5f451c787439888 RELEASES.md Markdown · 64 lines · 2.6 KB History raw

Return a Result from Taffy::remove (#106) 2a1e42639 · Rose Peck ·

1# Release Notes
2
3## 0.2.0
4
5### 0.2.0 Added
6
7- Nothing yet
8
9### 0.2.0 Changed
10
11- `Sprawl::remove` now returns a `Result<usize, Error>`, to indicate if the operation was sucessful, and if it was, which ID was invalidated.
12- renamed `taffy::forest::Forest.new-node(..)` `taffy::forest::Forest.new_with_children(..)`
13- renamed `taffy::node::Taffy.new-node(..)` -> `taffy::node::Taffy.new_with_children(..)`
14- renamed `taffy::style::Style` -> `taffy::style::FlexboxLayout` to more precicely indicate its purpose
15
16### 0.2.0 Fixed
17
18- fixed rounding of fractional values to follow latest Chrome - values are now rounded the same regardless of their position
19- fixed computing free space when using both `flex-grow` and a minimum size
20
21### 0.2.0 Removed
22
23- various internal types are no longer public
24  - if you needed one of these, please file an issue!
25
26## 0.1.0
27
28### 0.1.0 Changed
29
30- the `order` field of `Layout` is now public, and describes the relative z-ordering of nodes
31- renamed crate from `stretch2` to `taffy`
32- updated to the latest version of all dependencies to reduce upstream pain caused by duplicate dependencies
33- renamed `stretch::node::Strech` -> `taffy::node::Taffy`
34
35### 0.1.0 Fixed
36
37- fixed feature strategy for `alloc` and `std`: these can now be compiled together, with `std`'s types taking priority
38
39### 0.1.0 Removed
40
41- removed Javascript / Kotlin / Swift bindings
42  - the maintainer team lacks expertise to keep these working
43  - more serious refactors are planned, and this will be challenging to keep working through that process
44  - if you are interested in helping us maintain bindings to other languages, [get in touch](https://github.com/DioxusLabs/taffy/discussions)!
45- the `serde_camel_case` and `serde_kebab_case` features have been removed: they were poorly motivated and were not correctly additive (if both were enabled compilation would fail)
46- removed the `Direction` and `Overflow` structs, and the corresponding `direction` and `overflow` fields from `Style`
47  - these had no effect in the current code base and were actively misleading
48
49## stretch2 0.4.3
50
51This is the final release of `stretch`: migrate to the crate named `taffy` for future fixes and features!
52
53These notes describe the differences between this release and `stretch` 0.3.2, the abandoned crate from which this library was forked.
54
55### Changed
56
57- updated [assorted dependencies](https://github.com/vislyhq/stretch/commit/a6491117379cea52dedc9584d892594a143e8cb0)
58
59### Fixed
60
61- fixed an exponential performance blow-up with deep nesting
62- fixed percent height values, which were using parent width
63- recomputing layout no longer moves children of non-zero-positioned parent
64- fixed broken Swift bindings

RELEASES.md

Release Notes

0.2.0

0.2.0 Added

0.2.0 Changed

0.2.0 Fixed

0.2.0 Removed

0.1.0

0.1.0 Changed

0.1.0 Fixed

0.1.0 Removed

stretch2 0.4.3

This is the final release of stretch: migrate to the crate named taffy for future fixes and features!

These notes describe the differences between this release and stretch 0.3.2, the abandoned crate from which this library was forked.

Changed

Fixed