September 25th 2024
This release comes with a few bugfixes around themes and sync providers as well as a fix for a variable issue due to a bug in Figma’s Variables API that caused wrong variables to be applied or used as references.
Fixed an issue introduced in 2.1.0 that sometimes caused the order of token sets to not be as expected, meaning sets that acted as overrides didn't correctly get calculated.
Resolved an issue with Bitbucket sync where deleted sets were still being reflected in the tokens repository.
Fixed a bug where applying themes using "Prefix styles with active theme name" didn't correctly apply the right styles.
Fixed an issue with "zombie variables". Basically, even though a Figma file shows 0 variables, Figma's plugin API will sometimes tell us there's variables existing - probably ones that existed in the past but should be deleted - Figma seems to report those as existing still. This led to issues around applying and referencing variables where we'd point to those zombies. We now correctly check if the variable's collection still exist, and only then use those as references.