From 516954e835a25b15d3a9976eef0494efd85b19ac Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Sun, 24 Sep 2023 10:34:16 -0300 Subject: [PATCH] Bump and changelog --- CHANGELOG.md | 12 ++++++++++++ pubspec.yaml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 719127b..348572a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 2.0.0 + +* **BREAKING:** `RenderPrototypeConstrainedBox` is now private +* **BREAKING:** `PrototypeConstrainedBoxElement` is now private +* **BREAKING:** `ConstraintType` has been removed from the API +* **BREAKING:** `PrototypeConstrainedBox` is now a `final class`, and thus can't be extended/implemented anymore +* **BREAKING:** `PrototypeConstrainedBox` API has been changed to be more similar to what we have in `BoxConstraints` + * `PrototypeConstrainedBox.looseHorizontal` and `PrototypeConstrainedBox.looseVertical` constructors have been removed + * `PrototypeConstrainedBox.tightHorizontal` and `PrototypeConstrainedBox.tightVertical` have been replaced by `PrototypeConstrainedBox.tightFor` + * `PrototypeConstrainedBox` default unnamed constructor allows for complete customization of constraints, allowing constraints that were not possible before +* **Fix:** `RenderPrototypeConstrainedBox` was not calling `super` on `redepthChildren` + ## 1.0.0 * Added tests diff --git a/pubspec.yaml b/pubspec.yaml index 760e1cc..57f85de 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: prototype_constrained_box description: A ConstrainedBox-like widget, but the constraints are given by another widget. -version: 1.0.0 +version: 2.0.0 repository: https://github.com/mateusfccp/prototype_constrained_box issue_tracker: https://github.com/mateusfccp/prototype_constrained_box/issues