Releases: inthepocket/hubble-scripts
3.4.0
What's new
🚀 Features
- Normalize asset names. Assets will now be exported as all lowercase and spaces in filenames will be replaced with underscores. This was necessary to improve compatibility with Android projects. #35
- Export extra PNG scales. This was necessary to improve compatibility with Android projects since they rely on DPI scales instead of factor scales like iOS. Assets will still take factors as the base scale to export from but now contain all required scales for Android. #36
Thanks to contributors for this release: @thibmaek
3.3.0
3.2.1: Fix line height issue defaulting to formula
Patch update to fix line height being parsed incorrectly.
Fixes:
- Line height was not being parsed correctly and always defaulted to the
font size * 1.2
. It now correctly parses the line height defined in Sketch + adds some test 803b3df
3.2.0: Add new supported properties to text styles
This release adds a bunch of new properties to text styles!
New features:
- Add new properties to text styles #26
3.1.0: Sketch 53 support
This release brings support for Sketch 53 and its new APIs.
New features:
- Parse JSON dump output from Sketch 53
- Support for named document colors and gradients
Breaking changes:
- Sketch 53 is a requirement and while it might be backward-compatible we do not encourage you to use this release with versions lower than Sketch 53
- Named document colors are now grabbed from
document.colorAssets
anddocument.gradientAssets
which may conflict with how your document colors were previously parsed.
3.0.0: More design token support + uniformity
This release's most important change is the support for more design-tokens.
We're busy working on documenting the Hubble ecosystem, for now, you read the outline of how to integrate your Sketch file hubble-scripts to use the new design-tokens: https://www.notion.so/thibmaek/Sketch-0fdddc2524dc4fe69d09c7aa446391db
New features:
- Support for Gradient design token 27e62a2
- Support for Shadow design token 0735758
- Support for Border design token 6891d44
Breaking changes:
- The
id
prop is now in camelcase format. This breaks Colors & Text Styles which were previously defined as is in the Sketch file. - A
primitives
page in Sketch is now required for hubble-scripts to work. The script will exit if the page is not found. - RGB and RGBA values for colors are no longer defined as a string but are now defined as an array in the signature of
[r: int, g: int, b: int, a?: float]
like HSL values already were 534cf1a
Other changes:_
- Each token includes a
token
prop describing the token type 4e6dd9d
Quick summary of breaking changes
These are some of the breaking changes and should be listed in the changelog for 3.0.0:
The id property for tokens is now formatted as camelcase strings. This breaks Text Style tokens which previously had their ids formatted exactly like they were named in Sketch.
A primitives page in Sketch is now required. The script will exit if the page is not found.
2.0.0: Hubble
This release rebrands sketchxport-scripts as Hubble-scripts and includes precompiled binaries to export data.
We are still refining our process, sit tight for cool stuff!
1.1.0: (Cloud) storage upload + Google Cloud Storage
☁ (Cloud) Storage providers
This brand new release adds the possibility to upload the sketchxport output to (Cloud) storage providers. All providers will be sourced as a shell script from the service/upload
folder when sketchxport.sh runs. Any function in those file will then be available in the sketchxport.sh, for this version we have limited support (for GCP) but feel free to add your own or create a PR!
Google Cloud Storage
Google Cloud Storage has been added as the first provider to upload to and for now, depends on gsutil locally to upload the assets to the correct bucket. This feature is not enabled by default but can easily be enabled by commenting out the upload_to_gcloud function in sketchxport.sh
0.2.0 (10-09-2018)
0.1.0 (04-09-2018)
- Initial release