tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 89Markdown 11TOML 91930 Definiciones

Update main branch changelog for the v0.3.13 release (#527)

47aa8d43f7f8004c59e9c6d06bab54bea60c915b · por Nico Burns · (hace 3 años) · padre 995862416 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +26 −5

diff --git a/RELEASES.md b/RELEASES.md
index ad42aaf45..fe4a13471 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -36,7 +36,7 @@ Example usage change:
 ### Removed
 
 - `layout_flexbox()` has been removed from the prelude. Use `FlexboxAlgorithm::perform_layout()` instead.
-- The following methods have been removed from the `LayoutTree` trait: `parent`, `is_childless`, `layout`, `measure_node`, `needs_measure`, `cache_mut` and `mark_dirty`. These no longer need to be implemented in custom implementation of `LayoutTree`.
+- The following methods have been removed from the `LayoutTree` trait: `parent`, `is_childless`, `layout`, `measure_node`, `needs_measure`, `cache_mut` and `mark_dirty`. These no longer need to be implemented in custom implementations of `LayoutTree`.
 
 ### Changes
 
@@ -50,12 +50,33 @@ Example usage change:
   - All types from the `node`, `data`, `layout`, `error` and `cache` modules have been moved to the  the `tree` module.
 - Fixed misspelling: `RunMode::PeformLayout` renamed into `RunMode::PerformLayout` (added missing `r`).
 
+## 0.3.13
+
+### Fixes
+
+- Fix rounding accumulation bug (#521) (Fixes #501 and bevyengine/bevy#8911)
+- Flexbox: pass correct cross-axis available space when computing an item's intrinsic main size (#522)(Fixes bevyengine/bevy#9350)
+- Flexbox: Subtract child margin not parent margin when computing stretch-alignment known size
+- Grid: Make CSS Grid algorithm correctly apply max width/height and available space when it is the root node (#491)
+- Grid: Fix CSS Grid "auto track" / placement bugs #481
+  - Fix divide by zero when using grid_auto_rows/grid_auto_columns with zero negative implicit tracks
+  - Fix over counting of tracks (leading to incorrect container heights) when auto-placing in grids that contain negative implicit tracks.
+  - Fix axis conflation in auto-placement code when grid_auto_flow is column
+  - Fix assignment of auto track sizes when initializing negative implicit tracks
+- Leaf: Apply margins to leaf nodes when computing available space for measure functions
+- Leaf: Reserve space for padding/borders in nodes with measure functions (#497)
+  
+  **NOTE: This has the potential to break layouts relying on the old behaviour.** However, such layouts would be relying on a style having no effect, so it is judged that such layouts are unlikely to exist in the wild. If this turns out not to be true then this fix will be reverted on the 0.3.x branch.
+
+### Dependencies
+
+- Upgrade `grid` to `0.10`. This eliminates the transitive dependency on `no-std-compat`.
+
+## 0.3.12
+
 ### Fixes
 
-- Fix divide by zero when using grid_auto_rows/grid_auto_columns with zero negative implicit tracks
-- Fix over counting of tracks (leading to incorrect container heights) when auto-placing in grids that contain negative implicit tracks.
-- Fix axis conflation in auto-placement code when grid_auto_flow is column
-- Fix assignment of auto track sizes when initializing negative implicit tracks
+- Fix caching issue when toggling `display:none` on and off
 
 ## 0.3.11