Releases: evoactivity/ember-svg-jar
Releases · evoactivity/ember-svg-jar
v2.3.3
v2.3.2
v2.3.2
v2.3.1
Breaking update
For more info check out the CHANGELOG.
Step by step
- [FEATURE] Helper supports
size
attribute{{svg-jar "asset-name" size=2}}
- [ENHANCEMENT] The viewer now shows asset base size as
24x20px
in details - [ENHANCEMENT] The viewer allows to copy optimized asset code to clipboard
- [CLEANUP] Add node tests to cover all broccoli stuff & improve code
Sweet and sour
v0.9.0
- [FEATURE] The viewer allows downloading selected assets
- [FEATURE] The viewer allows copying selected assets' code to the clipboard
- [FEATURE] The viewer now shows original and optimized file sizes
- [BREAKING ENHANCEMENT]
stripPath
is nowtrue
by default
This release contains a potentially breaking change. In previous versions of the addon stripPath
was set to false
by default. It means that some of your asset IDs could look like {{svg-jar "icons/filled/twitter"}}
. When stripPath
is true
the same helper will look like this {{svg-jar "twitter"}}
.
If you prefer the old behavior (with directories in the asset ID), just add the code below to the ember-cli-build.js
:
let app = new EmberApp(defaults, {
svgJar: {
stripPath: false
}
});
Adding a change log
- [DOC] Add CHANGELOG.md
- [BUGFIX] Custom helper attrs shouldn't affect the inline assets store
Improved helper
- [FEATURE]
svg-jar
helper can now bind any passed attributes to created SVG elements - [CLEANUP] Upgrade ember-cli to 2.7.0
- [CLEANUP] Add more tests & clean up the helper's code