tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

0.2.1 release (#267)

* Remove extra newlines from release notes

* Tidy release notes for 0.2.1 release

* Bump cargo.toml version to 0.2.1

5ce388d24c4a272c2467a777ad678e09036ef52a · ruwaq Nico Burns · (3 wata ñawpaq) · tayta b952c2b38 · kay commitpi sach'ata qhaway

Semántico sayk'uy

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

3 qillqakuna · +4 −5

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 33d1a10f3..67c864941 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,6 +3,7 @@ on:
   push:
     branches:
       - main
+      - 0.2.x
 
 name: Continuous integration
 
diff --git a/Cargo.toml b/Cargo.toml
index 7ed527866..1ab507664 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "taffy"
-version = "0.2.0"
+version = "0.2.1"
 authors = [
     "Alice Cecile <alice.i.cecile@gmail.com>",
     "Johnathan Kelley <jkelleyrtp@gmail.com>",
diff --git a/RELEASES.md b/RELEASES.md
index 34d08f9ae..9f5b9b5a8 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -1,13 +1,12 @@
 # Release Notes
 
-## 0.2.1 (unreleased)
+## 0.2.1
 
 ### Fixes
 
+- In case of conflicts, `min_size` now overrides `max_size` which overrides `size` (#261). This is the behaviour specified in the CSS specification, and was also the behaviour in Taffy `v0.1.0`, but a regression was introduced in Taffy `v0.2.0`.
 - `taffy::compute_layout` has been made public allowing Taffy to be used with custom storage (#263)
 
-- In case of conflicts, `min_size` now overrides `max_size` which overrides `size` (#261)
-
 ## 0.2.0
 
 ### New features
@@ -23,7 +22,6 @@ Additionally we have a `SpaceEvenly` variant to the `AlignContent` enum to suppo
 Two debugging features have been added:
 
 - `taffy::debug::print_tree(&Taffy, root)` - This will print a debug representation of the computed layout of an entire node tree (starting at `root`), which can be useful for debugging layouts.
-
 - A cargo feature `debug`. This enabled debug logging of the layout computation process itself (this is probably mainly useful for those working taffy itself).
 
 ### Performance improvements