Skip to content

Commit

Permalink
Bump and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfccp committed Sep 24, 2023
1 parent 122dc91 commit 516954e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 516954e

Please sign in to comment.