• 1.5.0 2c91e1e7d2

    1.5.0 Stable

    emilsjolander released this 2017-05-10 04:26:22 -07:00 | 1491 commits to main since this release

    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. f6b17183c5
    • 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. 203577724e
    • Allow flexible root containers in YogaKit. 849de89a58
    • Fix flex-wrap with max constraint. 3178e3bf15

    API changes

    • YogaNodeAPI interface no longer exists. 1b3e971549
    • in C# StyleAspectRatio has been renamed AspectRatio. 8891ea1a7a
    • 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. 91230ae177

    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. aa5b296ac7 3db38f2a80 40e1bf6ce3
    • Support for percentage values in YogaKit! 7b89a1dd48
    Downloads