Skip to content

Releases: facebook/yoga

1.4.0

12 Apr 09:16
Compare
Choose a tag to compare

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

  • Allow YogaLayout on android to be created outside of xml. f66f52d
  • Optimize log print by using html format 586b570

1.3.0

07 Mar 13:37
Compare
Choose a tag to compare

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

  • Add ability to configure Yoga to use web defaults 62f4719
  • Add a configuration option to nodes for things like experiments and various other things which were previously global configs. 37c4825

1.2.0

23 Feb 19:27
Compare
Choose a tag to compare

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:

  • Add support for space-between and space-around on align-content
    6a7ad21
  • Add support for auto margins 1146013
  • Add support for wrap-reverse 2053692

1.1.0

07 Feb 15:11
Compare
Choose a tag to compare
  • Handle minWidth == maxWidth as width. improves perf by not calling measure function. (46817a3)
  • Added property display: flex and none (e567502)
  • Return raw style from style setters (93e327f)

1.0.1

28 Jan 01:33
Compare
Choose a tag to compare

Small release to facilitate changes in folder structure needed for cocoapods

1.0.0

26 Jan 00:59
Compare
Choose a tag to compare

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

12 Nov 14:35
Compare
Choose a tag to compare

The npm release was faulty, this is v1.1.0, but fixed!

New C# API

11 Nov 07:30
Compare
Choose a tag to compare
  • Performance improvements #122 #123 #137 #138 #141
  • Java constants are now public #126
  • C# API added #129, with C# 6 language features suppressed #135, and bugfix #144 (although this still needs to be added to test, CI and release #142)
  • Bug fixed: Fix width being ignored when has a value of 0 #134
  • ESLint applied to codebase #139
  • Reset added to CSSNode #140
  • Improved CSSNode API #146

NOTE: The npm process for this release failed, please use v1.1.1

First Release

08 Sep 06:47
Compare
Choose a tag to compare

This is the first public API and moves the project into using semver proper!

Test release

21 Aug 10:06
Compare
Choose a tag to compare

A patch release for the purposes of testing the release process.