Skip to content

v17.6

Compare
Choose a tag to compare
@trusktr trusktr released this 02 Apr 23:19

Reverted a breaking change from v17.3.0 to v17.3.2 (v17.3.1 was never released) that broke dynamic-to with array interpolation values.

In v17.6, objects passed to tween.to() that have interpolation arrays will be modified as before v17.3.2, and those objects can be modified on the outside during animation to update interpolation values dynamically.

v18 contains the new behavior where the object passed into to() is prototypically copied and never modified, but that prevents dynamic interpolation values during animations (the breaking change is suitable for the major version bump from 17 to 18).

A following major version will provide a new dynamic option to the to() method for choosing the desired behavior.