Skip to content

Commit 16a5c07

Browse files
committed
Update version
1 parent f69bcdc commit 16a5c07

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,33 @@
77

88
# Change Log
99

10+
## [2.0.05](https://github.com/layoutBox/FlexLayout/releases/tag/2.0.05)
11+
Released on 2024-01-11
12+
13+
#### 1) Add `Gap` support
14+
15+
Add `Gap` methods:
16+
17+
- `columnGap(_ value: CGFloat) -> Flex`
18+
- `rowGap(_ value: CGFloat) -> Flex`
19+
- `gap(_ value: CGFloat) -> Flex`
20+
21+
##### background
22+
After [Yoga layout updated to 2.0.0](https://github.com/layoutBox/FlexLayout/pull/230) the gap func added. and as needed by [this issue](https://github.com/layoutBox/FlexLayout/issues/235) and my company's product, me and my partner @TaekH made feature to use. 🙇‍♂️
23+
24+
Added by [Buseong Kim](https://github.com/Skyline-23) in Pull Request [#241](https://github.com/layoutBox/FlexLayout/pull/241)
25+
26+
27+
#### 2) Fix "Child already has a owner" Assert
28+
29+
Upgrading to the latest version of Yoga introduced an assert in YGNodeInsertChild() that was previously removed accidentally (see relevant commit). This assert will throw an error if the node we are trying to add already has an owner. Unfortunately, we can fall into this case quite easily if we move a view between different superviews (as demonstrated in the following contrived example).
30+
31+
Restoring the changes from this old commit [c303faa](https://github.com/layoutBox/FlexLayout/commit/c303faae7b7b441872f8d49dbd1424db6ec7953f) should ensure that any lingering parent references are cleaned up before we call YGNodeInsertChild()
32+
33+
Added by [kennethpu](https://github.com/kennethpu) in Pull Request [#242](https://github.com/layoutBox/FlexLayout/pull/242)
34+
35+
36+
1037
## [2.0.04](https://github.com/layoutBox/FlexLayout/releases/tag/2.0.04)
1138
Released on 2024-01-06
1239

FlexLayout.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |spec|
33
spec.name = "FlexLayout"
4-
spec.version = "2.0.04"
4+
spec.version = "2.0.05"
55
spec.summary = "FlexLayout"
66
spec.homepage = "https://github.com/lucdion/FlexLayout.git"
77
spec.license = "MIT license"

0 commit comments

Comments
 (0)