Releases: facebook/yoga
Releases · facebook/yoga
1.8.0: Set missing header_namespace
Summary: When we don't explicitly set header_namespace, we can get differing behavior between Android and iOS. Even when it is not explicitly necessary, we are going to try to enforce this properly. Reviewed By: scottrice Differential Revision: D7141155 fbshipit-source-id: 74d1488c3909f89ad9d6d0ee0de335b789dc2ccd
v1.6.0
1.5.0
Big thanks to everyone who contributed to this release.
Bug fixes
- Measure functions now get called even if no space is left over. This is done for web compatibility. f6b1718
- Fix bug where items were stretching within parents when they should not. For example when a parent has
alignItems:center
. To use the legacy behaviour set useLegacyStretchBehaviour on a node's config object. 2035777 - Allow flexible root containers in YogaKit. 849de89
- Fix
flex-wrap
with max constraint. 3178e3b
API changes
YogaNodeAPI
interface no longer exists. 1b3e971- in C#
StyleAspectRatio
has been renamedAspectRatio
. 8891ea1 YGLogger
has moved intoYGConfig
so it is no longer global. It also passes along a node in cases where it makes sense so you have the ability to show errors based on a node's context. 91230ae
Features
1.4.0
Big thanks to @woehrl01 for all the fixes and performance improvements in this release.
Bug fixes
- Take margin into account on max dimension 09f0c2d
- Fix align-content: center, flex-end alignment with margin b94466e
- Invalidate layout when node is removed from tree 249d010
- Set hasNewLayout on display changes. ebdf82f
- Fix position on root node with RTL direction e992737
- Fix min constraint incorrectly reducing available space 25f14a1
Performance improvements
API changes
- Move point scale factor to reside on the config instead of being a global flag. 406c8a2
Features
1.3.0
Bug fixes
- Fix bug with display: none not invalidating children properly a706f4c
- Handle margin-start and margin-end with 'auto' value 8668e43
- Fix percentages in flexing parents 17e3dca
Behavior changes
- Pass parent size instead of root size as parameters to
YGNodeCalculateLayout
. 1cd7363 - Flex getters now return the value which was set on them / the default value instead of a computed value. 3346f95
Features
1.2.0
Bug fixes:
Behavior changes:
- Return Undefined for edges without set values and not their computed value. This allows users to correctly check if a value is set / has changed. 168ae40
API changes:
- 9d2839f Changes YGPixel to be named YGPoint. This is a small change which should not effect most users of the library. Reason for this change is that we will want to start performing more operations on 'points' which don't map to physical pixels.
Features:
1.1.0
1.0.1
Small release to facilitate changes in folder structure needed for cocoapods
1.0.0
This is the first official release since the Yoga rename so calling it 1.0.0
as we start with semantic versioning. Future versions will be released on an as needed basis, mostly to release new code to those consuming yoga via package managers.
If you need a new release to be cut please file a task.
Patched v1.1.0
The npm release was faulty, this is v1.1.0, but fixed!