Skip to content

1.5.0

Compare
Choose a tag to compare
@emilsjolander emilsjolander released this 10 May 15:13

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 renamed AspectRatio. 8891ea1
  • YGLogger has moved into YGConfig 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

  • Pixel grid rounding is no longer experimental. We have been using it for a while and this release contains several improvements. Report bugs if you find them. aa5b296 3db38f2 40e1bf6
  • Support for percentage values in YogaKit! 7b89a1d