gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

Prepare for v0.12 release (#970)

Signed-off-by: Nico Burns <nico@nicoburns.com>

983247b18889e878263f008c3e100cb64db11719 · ruwaq Nico Burns · (3 killa ñawpaq) · tayta df2663aad · kay commitpi sach'ata qhaway

Semántico sayk'uy

Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.

2 qillqakuna · +18 −1

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7fa9d6163..9cd266398 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,22 @@
 # Changelog
 
+## 0.12.0
+
+The MSRV for this release is 1.71.
+
+### Block: support for `align-content` (#959)
+
+Block containers now implement `align_content` along the block axis for their in-flow children.
+
+### More correct caching logic
+
+- The cache key now includes the axis, parent size, and available space, and ignores available space in an axis when a known dimension is set there. This is a performance hit (~10% in common cases, ~60% in pathalogically ones) but is necessary for correctness. It does also enable early-return optimizations (in cases where only the horizontal size is needed, which can allow that performance to be recouped in some cases (#911)
+
+### Fixed
+
+- Flexbox: fall back to safe `align-self` of `start` on absolute-position overflow (#958)
+- Block: derive definite height from `aspect-ratio` at final layout. A block container with `aspect-ratio` and an automatic height now becomes definite when its width is filled/stretched, so children's percentage heights resolve correctly and the ratio is preserved (#965)
+
 ## 0.11.0
 
 The MSRV for this release is 1.71.
diff --git a/Cargo.toml b/Cargo.toml
index 9ba488da8..b091d87b9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "taffy"
-version = "0.11.0"
+version = "0.12.0"
 authors = [
     "Alice Cecile <alice.i.cecile@gmail.com>",
     "Johnathan Kelley <jkelleyrtp@gmail.com>",