Skip to content

Releases: amzn/style-dictionary

v2.7.0

05 Feb 22:58
Compare
Choose a tag to compare
  • feat: add registerFilter method, fixes #207 & #199 (#233)
  • doc: remove registerTemplate from examples, fixes #226 (#232)
  • feat: add node example (#228)
  • feat: making include accept an array of globs, like source does, fixes #215 (#227)
  • fix: the naming for Sass/Scss in documentation, tests, formats, fixes #213 (#222)
  • fix: handle showFileHeader option in androids formats templates, fixes #237
    (#243)

v2.6.1

13 Dec 22:49
Compare
Choose a tag to compare

Patch release to fix the init command.

v2.6.0

01 Dec 00:30
3a17ac1
Compare
Choose a tag to compare
  • Added sass-map formats
  • Added json-flat format
  • Overhaul of examples
  • Updated documentation

v2.5.0

05 Nov 18:21
Compare
Choose a tag to compare
  • Migrated tests to Jest and added more testing especially for formats and templates
  • Began deprecation path of templates. No power is being removed, you can still use templates in a format. It was confusing to people that we had both templates and formats, so this change simplifies the API without removing any features.
  • Ability to control the generated comment at the top of formats and templates
  • Added JSON5 support
  • Added new format: json/nested
  • Improved our error messaging and console output a lot. Rather than stop at 1 reference error, collect all the errors and show them at once so you don't have to fix one error, rebuild, repeat.

Thank you to all the contributors:

v2.4.0

07 Sep 17:18
Compare
Choose a tag to compare
  • Javascript config files
  • Fix: #113 Consistent property generation in formats and templates
  • Fix: #122 Fixing 'css' transform group and thow an error when using an undefined transformGroup
  • Fix: #111 No longer mutating the properties object
  • Fix: #124 Correctly escape strings in ES6 format

v2.3.0

06 Aug 16:10
Compare
Choose a tag to compare

The main feature of this release is the addition of the filter API to file generation so that all formats and templates can make use of a standardized filter instead of implementations based on the format or template.

  • Fixing es6 format example and adding a js transformGroup (#110)
  • Fixed “toUpperCase” case (#109)
  • Filter API (#101)
  • Hello, Pascal! (#105)
  • Adding chalk for color output (#99)

v2.2.0

15 Jun 20:44
Compare
Choose a tag to compare
  • Updated dependencies
  • Adding color/css transform
  • Allow property files to be node modules that export objects (#89)
  • Add LESS format and create tests for less (#76)
  • Reference error reporting (#74)
  • JSON error reporting (#73)
  • Fix for #66

v2.1.0

28 Feb 20:43
Compare
Choose a tag to compare
  • Fix: #39 Collision detection
  • Fix: #30 Documentation overhaul
  • Fix: #56 Support for non-string values
  • Fix: #60 Spaces in values

Initial Release v2.0.0-beta

07 Mar 18:57
Compare
Choose a tag to compare
Pre-release

The initial beta release of the 2.0 version!