diff --git a/.changeset/stale-flies-walk.md b/.changeset/stale-flies-walk.md deleted file mode 100644 index 9598a85..0000000 --- a/.changeset/stale-flies-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@divriots/style-dictionary-to-figma': minor ---- - -BREAKING: do not restore original value if it was not a reference value. Before, it used to always restore, which unintentionally also restored style-dictionary transforms. For nested values, restore fully if any reference is found inside the nested value (object or array). If undesired, you can always use `ignoreUseRefValue` (see [README](./README.md)) to fall back to keeping the fully resolved value. Currently, a hybrid solution that restores only the subparts of a value that is partially using references, is not available. Feel free to raise an issue if needed to explain your use case. diff --git a/CHANGELOG.md b/CHANGELOG.md index 449949c..733a528 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @divriots/style-dictionary-to-figma +## 0.3.0 + +### Minor Changes + +- b6cb742: BREAKING: do not restore original value if it was not a reference value. Before, it used to always restore, which unintentionally also restored style-dictionary transforms. For nested values, restore fully if any reference is found inside the nested value (object or array). If undesired, you can always use `ignoreUseRefValue` (see [README](./README.md)) to fall back to keeping the fully resolved value. Currently, a hybrid solution that restores only the subparts of a value that is partially using references, is not available. Feel free to raise an issue if needed to explain your use case. + ## 0.2.1 ### Patch Changes diff --git a/package.json b/package.json index b75af1f..94260f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@divriots/style-dictionary-to-figma", - "version": "0.2.1", + "version": "0.3.0", "description": "A utility that transforms a style-dictionary object into something Figma Tokens plugin understands", "license": "MIT", "author": "divRiots ",