Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for 0.6.0 release #719

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "taffy"
version = "0.5.2"
version = "0.6.0"
authors = [
"Alice Cecile <[email protected]>",
"Johnathan Kelley <[email protected]>",
Expand Down
27 changes: 27 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Release Notes

## 0.6.0

### Highlights

- The `Style` struct has been "traitified". This supports Taffy's integration in Servo and generally makes Taffy more flexible. The
`Style` struct still exists and implements the new traits so existing uses of Taffy will continue to work as before.
- The `box-sizing` style is supported
- Computed margins are output in `Layout`

### Fixes

- Fix `print_tree()` when rounding is disabled (#680)
- Absolute Insets should be resolved against the container size minus border (#666)
- Fix flooring hypothetical_main_size by computed min size (#689)
- Fix flex line cross-size determination (#690)
- Fix panics in the grid algorithm (#691)
- Fix resolving flexible lengths (WPT css/flexbox-multiline-min-max test) (#692)
- Fix wrapping when a max main size style is present (#694)
- Fix case where Taffy allowed margins to collapse through an element when it shouldn't have (#695)

### Added

- Legacy text align (for laying out `<center>` and `<div align="..">`) is supported
- Add `is_table` for block items (#701)
- Impl `Debug` and `Clone` for `Cache` (#688)
- Implement `Debug` and `PartialEq` for tree types (#697)

## 0.5.2

- Fix block stretch sizing (don't always apply stretch sizing to block containers) (#674)
Expand Down