Version 1, Update 107
Figma now supports proportional resizing via the Lock aspect ratio
option. This replaces the legacy constrainProportions
option. constrainProportions
maintains backwards compatibility by setting the new targetAspectRatio
field, but we encourage you to use the new property.