Skip to content

Releases: evoactivity/ember-svg-jar

v2.3.2

23 Feb 15:12
Compare
Choose a tag to compare

Do not use this release. Apologies for the hiccups as of late. It won't happen again.

v2.3.1

Breaking update

27 Jul 06:57
Compare
Choose a tag to compare

Step by step

11 Aug 19:53
Compare
Choose a tag to compare
  • [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

02 Aug 18:30
Compare
Choose a tag to compare

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 now true 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

31 Jul 12:18
Compare
Choose a tag to compare
  • [DOC] Add CHANGELOG.md
  • [BUGFIX] Custom helper attrs shouldn't affect the inline assets store

Improved helper

31 Jul 12:13
Compare
Choose a tag to compare
  • [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