Skip to content

Commit b1fcc81

Browse files
committed
Update version to 2.2.3
1 parent 94efed5 commit b1fcc81

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@
77

88
# Change Log
99

10+
## [2.2.3](https://github.com/layoutBox/FlexLayout/releases/tag/2.2.2)
11+
12+
#### Add support for SPM dynamic linking
13+
14+
This allows users to link FlexLayout as a dynamic framework when needed for their specific use cases.
15+
16+
Added by [heoblitz](https://github.com/heoblitz) in Pull Request [#284](https://github.com/layoutBox/FlexLayout/pull/284)
17+
18+
19+
#### Fix error when dynamically removing views
20+
21+
Currently, FlexLayout does not guarantee that the UIView hierarchy state matches the Yoga node structure. This is because nodes are only updated during the layout process by following the UIView hierarchy.
22+
When a child UIView is dynamically removed and markDirty() is called, it causes an error and terminates the program because it doesn't align with Yoga's logic.
23+
24+
In React Native's case, views that become leaves are fixed and used consistently, but FlexLayout allows any UIView to become a leaf. Therefore, we add defensive code to prevent logical errors.
25+
26+
Added by [heoblitz](https://github.com/heoblitz) in Pull Request [#281](https://github.com/layoutBox/FlexLayout/pull/281)
27+
28+
1029
## [2.2.2](https://github.com/layoutBox/FlexLayout/releases/tag/2.2.2)
1130

1231
#### Support Swift 6

FlexLayout.podspec

Lines changed: 1 addition & 1 deletion
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.2.2"
4+
spec.version = "2.2.3"
55
spec.summary = "FlexLayout"
66
spec.homepage = "https://github.com/lucdion/FlexLayout.git"
77
spec.license = "MIT license"

0 commit comments

Comments
 (0)