Releases: inthepocket/hubble-scripts
4.5.1
4.5.0
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
toraw_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
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
4.3.0
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
4.2.0
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
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
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 categorycolor
- Removed subtype
family
fromasset.font
asset.font
item keys are now font families, not textstyles- added category
font
and typetypo
: a mapping between textstyle id's and font families (defined underasset.font
) - added category
lineHeight
and typefont
- added category
weight
and types:fontFamily
: describing the weight of font assetsfont
: 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