Skip to content

Commit

Permalink
Update main branch changelog for the v0.3.13 release (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns authored Aug 14, 2023
1 parent 9958624 commit 47aa8d4
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 47aa8d4

Please sign in to comment.