gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

Prepare for v0.11.0 release (#963)

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

2ddc66405b14cd6696d0a8391d91c0cdba611133 · por Nico Burns · (hace 4 meses) · padre 9c58cc5d5 · ver el árbol en este commit

Delta semántico

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

2 archivos · +17 −1

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b1dcad46..7fa9d6163 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,21 @@
 # Changelog
 
+## 0.11.0
+
+The MSRV for this release is 1.71.
+
+### Implemented safe alignment keywords (#952)
+
+Taffy now implements [safe alignment](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/align-items#safe) (in addition to unsafe alignment).
+
+The alignment style types are now structs consisting of an `AlignmentKeyword` and an `AlignmentSafety` modifier. For most users this will mean changing from using enum variants like `AlignContent::Start` to associated constants like `AlignContent::START`.
+
+This change applies to the `AlignContent`, `JustifyContent`, `AlignItems`, `JustifyItems`, `AlignSelf`, and `JustifySelf` types.
+
+### Fixed
+
+- Grid: resolve item percentages against grid area rather than grid container (#960)
+
 ## 0.10.1
 
 ### Fixed
diff --git a/Cargo.toml b/Cargo.toml
index 7b817610f..9ba488da8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "taffy"
-version = "0.10.1"
+version = "0.11.0"
 authors = [
     "Alice Cecile <alice.i.cecile@gmail.com>",
     "Johnathan Kelley <jkelleyrtp@gmail.com>",