Skip to content

Latest commit

 

History

History
376 lines (206 loc) · 32.2 KB

CHANGELOG.md

File metadata and controls

376 lines (206 loc) · 32.2 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.9.0 (2023-10-23)

Features

  • allow overriding formatting, add commentStyle long-above, short-above (b627ff1)

Bug Fixes

  • account for multi-line comments in tokens, improve comment style (b5d4cc2)
  • allow outputReferences to work on non-string values (8021ec0)
  • outputReferences to use original.value when possible (#1002) (bd73b62)

3.8.0 (2023-04-25)

Features

  • formats: add options.outputStringLiterals to typescript/es6-declarations (#857) (0c31718), closes #905
  • formats: compose object imports (#874) (8373721)
  • types: loosening the Platform type to allow for extension (#926) (c43263b)

Bug Fixes

  • formats: added missing EOL before EOF for some formats (#963) (dd60479)
  • types: add correct return types for sortByReference (#919) (2eff17d), closes #918

3.7.2 (2023-01-03)

Bug Fixes

  • docs: Correct custom-file-header example link (#869) (4e156b1)
  • docs: removed the duplicate wording (#870) (dbb89e5)
  • formats: scss/map-deep type error when values are strings or null (#838) (d338633), closes #837
  • references: getReferences now searches the entire object (#812) (884b1b8)
  • references: tokens with a number value should be interpolated correctly (#825) (a2f7784)
  • transforms: transitive transforms now work without .value in refs (#808) (41bc893)
  • types: add matcher type to export (#878) (2617a0d), closes #875
  • types: added packageName as optional property on interface File (#829) (0996cc4)
  • types: adding missing format helpers (#834) (a6f4b34)
  • types: fix filter config key expected matcher value (#883) (c77c3db)
  • types: fixing transform group property type of Config (#833) (0f0ad10)

3.7.1 (2022-06-07)

Bug Fixes

  • references: getReferences now searches the entire object (#812) (884b1b8)
  • references: tokens with a number value should be interpolated correctly (#825) (a2f7784)
  • transforms: transitive transforms now work without .value in refs (#808) (41bc893)

3.7.0 (2022-02-22)

Features

Bug Fixes

  • examples: complete example style dictionary version to latest (#755) (c3aae93)
  • types: Correct type of Core.format (#780) (9868b7e), closes #779

3.1.1 (2021-12-17)

Bug Fixes

  • deps: adding jsonc-parser to regular dependencies (#750) (43ff607)

3.1.0 (2021-12-16)

Features

  • formats: Add outputReferences support to scss/map-deep (#720) (65453e0), closes #712
  • formats: add support for Microsoft's JSONC format (#732) (cfa83cb), closes #698
  • formats: object handling for typescript/es6-declarations (#718) (4e3905a)
  • references: ability to reference other tokens without 'value' (#746) (c6f482e)
  • transforms: add transformer for Color class from SwiftUI (#733) (439e474)

Bug Fixes

3.0.3 (2021-10-15)

Bug Fixes

3.0.2 (2021-08-19)

Bug Fixes

  • format: 'typescript/es6-declarations' return type (#681) (0cf6c52)
  • lib: fix createFormatArgs positional args (#655) (29e511d), closes #652
  • references: check if object value is a string before replacement (#682) (bfc204c)
  • types: format config expects formatter function (#650) (b12c4b1)

3.0.1 (2021-06-07)

Bug Fixes

  • swift: add missing space after UIColor's alpha property (#648) (7c65733)
  • types: directly export Named type to avoid ambiguity with TS --isolatedModules option (8295b0d)
  • types: directly export Named type to avoid ambiguity with TS --isolatedModules option (3ed31be)

3.0.0 (2021-05-25)

3.0.0-rc.10 (2021-05-24)

Features

  • formats: add typescript declarations formats (#557) (f517bcf), closes #425
  • types: cleaning up our type definitions (#632) (db6269b)

Bug Fixes

  • references: value object references now work (#623) (23de306), closes #615
  • template: remove blank lines in scss/map-deep and scss/map-flat templates (#588) (a88e622)

2.10.3 (2021-03-09)

Bug Fixes

3.0.0-rc.9 (2021-05-04)

Features

Bug Fixes

  • formats: bringing mapName back to scss formats (#611) (7a28f40)
  • formats: fixing formatting options in fileHeader (#614) (3f7fe96), closes #612
  • references: fixing circular reference errors (#607) (9af17f4), closes #608
  • references: flushing the filtered reference warnings (#598) (d3b5135)

3.0.0-rc.8 (2021-04-05)

Features

  • formats: add an optional selector to css/variables format (#582) (34922a8)
  • formats: output references handles interpoloated references (#590) (cc595ca), closes #589

Bug Fixes

  • combine: filePath was missing for falsey values (#583) (8c405e6)
  • formats: update output references in formats to handle nested references (#587) (9ce0311)

3.0.0-rc.7 (2021-03-24)

Features

Bug Fixes

  • references: use unfiltered dictionary for reference resolution in formats (#553) (62c8fb8)

3.0.0-rc.6 (2021-03-09)

Bug Fixes

3.0.0-rc.5 (2021-02-27)

Bug Fixes

  • types: introduce parser, update config, optional transform options (#546) (0042354), closes #545

3.0.0-rc.4 (2021-02-16)

Features

3.0.0-rc.3 (2021-02-06)

Features

  • build-file: do not generate file if properties is empty (#494) (8945c46)
  • format: output references (#504) (7e7889a)
  • format: use named parameters in formatter functions (#533) (32bd40d)
  • react-native support (#512) (bd61cd2)

Bug Fixes

  • examples: little typo (#518) (33271b6)
  • export platform: fixing infinite loop when there are reference errors (#531) (6078c80)
  • property setup: original property being mutated if the value is an object (#534) (0b13ae2)
  • types: add transitive to value transform type (#536) (695eed6)
  • types: Change transforms to transform in Core (#530) (40a2601)

3.0.0-rc.2 (2021-01-12)

Features

  • format: adding android/resources format (e43aafd)
  • transforms: add 'px to rem' transform (#491) (75f0ba3)

Bug Fixes

  • extend: use given file path for token data (#499) (0b23c9d)
  • parsers: fixed an error where parsers weren't running (#511) (b0077c3)
  • types: fix transform options type #502 (32787f8)

3.0.0-rc.1 (2020-12-04)

3.0.0-rc.0 (2020-12-03)

Features

  • examples: add custom filters example (c9bfcbc)
  • examples: add custom filters example (f95c420)
  • examples: add matching build files example (#481) (5a80ef6), closes #251
  • add support for !default in SCSS variables format (#359) (fa82002), closes #307
  • add TypeScript typings (#410) (a8bb832)
  • core: add new entries on property object (#356) (fd254a5)
  • formats: add file object to formatter method (#439) (1481c46)
  • formats: javascript/module-flat format (#457) (37b06e8)
  • parser: adding custom parser support (#429) (887a837)
  • transforms: Make transitive transforms & resolves possible (#371) (3edbb17), closes #208

Bug Fixes

  • cli: update clean config path logic (#454) (dc3cfa5)
  • formats: fix max call stack issue on json/nested format (#465) (67fb361)
  • transforms: fix transitive transforms (#476) (ac0c515)

2.10.3 (2021-03-09)

Bug Fixes

2.10.2 (2020-10-08)

Bug Fixes

  • cli: update clean config path logic (#454) (3cc3d4e)
  • formats: fix max call stack issue on json/nested format (#465) (4064e6a)

2.10.1 (2020-07-09)

Bug Fixes

  • filter: fix conditional to ensure we catch properties with a falsy value (#423) (1ec4e74), closes #406
  • formats: align scss/map-* with scss/variables on asset category (9d867ef)

2.10.0 (2020-05-05)

Features

2.9.0 (2020-04-21)

Bug Fixes

  • transforms: add NaN check to all size transforms (#413) (d353795)
  • transforms: add specificity so color for hex values is correct (#412) (01cc11c), closes #407
  • clean require cache before loading file content (#405) (18a50d0), closes #404
  • parseFloat() has only one argument (#417) (16c3040), closes #416

Features

  • attribute/cti: attribute/cti should respect manually set attributes (#415) (fb3e393), closes #414

2.8.3 (2019-10-30)

Bug Fixes

2.8.2 (2019-09-04)

Bug Fixes

2.8.1 (2019-07-02)

Bug Fixes

  • format: adding configurable name to sass map name (#291) (cfa2422), closes #290
  • sketch: fix sketch palette format to use new filters (#287) (374012c), closes #285

2.8.0 (2019-05-28)

Bug Fixes

  • cleanfile: add file check and log for non-existent file (#277) (6375133)
  • docs/examples: 404 errors and typos (#269) (da369da)
  • error-messaging: add better error messaging when a transform or transformGroup does not exist (#264) (d5c0583)
  • extend: multiple extensions properly deep merge (#276) (f1d6bb0), closes #274
  • accidentally generating test output in root directory (4994553)

Features

  • config: use config.js if config.json is not found (#249) (09fc43f), closes #238 #238 #247
  • add automatic changelog generation (#225) (b062008)
  • docs: adding PR and download badges; fixing code coverage badge (#270) (2307a44), closes #265
  • ios-swift: adding common transforms for Swift in iOS (#255) (749db69), closes #161
  • transforms: Add UIColor transform for swift (#250) (a62d880), closes #161
  • warning: catch property name collisions during file output (#273) (9a40407)