Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Releases: inthepocket/hubble-scripts

4.5.1

21 Sep 08:01
01fa1f5
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix a bug where if you have no text tokens defined in Figma, the parser would crash #85

Thanks to contributors for this release: @thibmaek @robbedec

4.5.0

15 Apr 09:53
Compare
Choose a tag to compare

What's new

BAM, Adobe XD support just landed! With 4.5.0 you can now parse design tokens from your Adobe XD library file. Unfortunately, offering full-blown support on par to Sketch and Figma was not possible, so if you want to start with Hubble and your Adobe XD files please read the documentation

💥 Breaking Changes

  • Raw dumps from design parsers have been renamed from logdump.json to raw_output.json 59103c8

🚀 Features

🐛 Bug fixes

  • The sketchtool wrapper now works safer, and exits early if needed d940bae

📦 Dependencies

  • Add rimraf, unzipper #69

Thanks to contributors for this release: @thibmaek @robbedec

4.4.0

25 Feb 10:51
Compare
Choose a tag to compare

What's new

📐 Grid tokens are now supported! In Sketch, you can add a global grid setting to have it extracted and mapped to a token, for Figma create an artboard format e.g. primitives/grid/global.

Grids alone, for now, are not as useful as the other tokens, but they do allow you to create consistent margins and paddings based on the grid size in your applications. Only the size is exposed as a numeric value, we are looking at support for deriving padding directly from your components in Sketch & Figma.

// Generic tokens
{
  …,
  "grid": {
    "size": 8
  }
}

// Style Dictionary
{
  …,
  "grid": {
    "global": {
      "value": 8,
      "comment": "Global grid size definition"
    }
  }
}

🚀 Features

  • Add support for grid tokens #66

Thanks to contributors for this release: @thibmaek

4.3.1

20 Nov 15:22
Compare
Choose a tag to compare

What's new

🐛 Bug Fixes

  • Fix a bug where fs.mkdirSync could not be used in the binary #63

📦 Dependencies

  • Update pkg to 4.4.0 #63

Thanks to contributors for this release: @OriginalJef

4.3.0

26 Sep 14:30
Compare
Choose a tag to compare

What's new

We now build the CLI for multiple architectures which means you can use hubble-scripts on Windows and Linux as well (Figma only of course). We rely on a modern toolset, so decided to no longer support 32-bit systems and only create binaries for 64-bit CPU architecture.

🚀 Features

  • Build CLI for multi arch #61
  • Provide the possibility to skip processing text style paths for Sketch #59

📦 Dependences

  • Runtime updated to node@10 (No impact on binaries) #62

Thanks to contributors for this release: @thibmaek

4.2.1

27 Aug 09:29
Compare
Choose a tag to compare

What's new

🐛 Bug Fixes

  • Fixes an issue where fonts that do not have a weight set, would crash the export because the mapper would try and process as a null value #57

Thanks to contributors for this release: @Stvenoo

4.2.0

20 Aug 14:47
8cfc7dc
Compare
Choose a tag to compare

What's new

🚀 Features

  • Add support for exporting Sketch assets as PDF #50
  • Figma assets can now be exported and do not require another shell script but work out of the box using hubble-cli #51

🐛 Bug Fixes

  • Do not run the sketchtool script if the host machine is not macOS d05fee1

📦 Dependencies

  • Add husky + lint-staged for development hooks 979afa5

Thanks to contributors for this release: @thibmaek @Onomanatee

4.1.0

05 Aug 09:21
1013523
Compare
Choose a tag to compare

What's new

The most important thing in this release is that we now support Figma for extracting assets! Documentation for this is coming soon as we are in the process for revising and releasing our full Hubble ecosystem documentation. For now please refer to the README and relevant pull requests

🚀 Features

  • We now fully support parsing for tokens in Figma files 🎉 #46 #47
  • Blur tokens can now be extracted from both Sketch and Figma #48

🐛 Bug Fixes

  • The help menu for the CLI now shows up to date info bd18f69

📦 Dependencies

  • We switched from Travis CI to Circle CI to align our CI provider across all Hubble components #49

Other stuff

  • Mocked assets in Sketch & Figma are now Hubble related instead of a generic checkmark #44
  • The hubble.sh example was removed since it no longer felt relevant 143d7fa

Thanks to contributors for this release: @thibmaek @VanhaverbekeCedric

4.0.0

02 Jul 13:59
Compare
Choose a tag to compare

What's new

This release brings big updates to the output for Style Dictionary!

💥 Breaking changes

All breaking changes apply only to Style Dictionary output and have been made in #38

  • Removed type font from category color
  • Removed subtype family from asset.font
    • asset.font item keys are now font families, not textstyles
    • added category font and type typo: a mapping between textstyle id's and font families (defined under asset.font)
    • added category lineHeight and type font
    • added category weight and types:
      • fontFamily: describing the weight of font assets
      • font: describing the weight of text styles

🚀 Features

  • Added extra styleDictionary mappers: fonts, lineHeights & weights #38 #42
  • Strip comments from SVGs by default #43

Thanks to contributors for this release: @thibmaek @brecht @MThiebe

3.4.1

06 Jun 09:37
Compare
Choose a tag to compare

What's new

🐛 Bug Fixes

  • Fix incorrect filename for 1.5x scale #39

Thanks to contributors for this release: @thibmaek