- [FIX] Simplify inline strategy so multiple versions of ember-svg-jar do not overwrite index.js
- [FEATURE] Speed up requiring index.js file
- [FIX] Fix file missing error on embroider when using custom rootURL
- [FIX] first embroider fixes
- [FIX] fix asset viewer integration
Note that this release likely does not work with Ember v4+. The released version of ember-cli-fastboot has an unaddressed problems with modern Ember (see ember-fastboot/ember-cli-fastboot#829). If you find this not to be the case for you, please open an issue with this project so that I can remove this notice. My assurance that these versions don't work is entirely based upon the ember-try-scenario matrix failing for these versions.
- [FIX] Resolve Ember.assign deprecation
- [ENHANCEMENT] Improve FastBoot compatibilitiy
- [INTERNAL] Improve npmignore
Do not use
- [ENHANCEMENT] Extract references from symbol to svg-level
<defs/>
tag - [ENHANCEMENT] Add
validations.throwOnFailure
option - [ENHANCEMENT] Add a11y options
- [INTERNAL] Fix
htmlSafe
import - [INTERNAL] CI uses Github Actions
- [INTERNAL] Numerous dependency updates
- [INTERNAL] Add Embroider tests
Bad release. Hiccups on my first publish of this package. Sorry :( @jherdman
- [ENHANCEMENT] Improved Assets Viewer. It got faster for big SVG collections and has better UI.
- [INTERNAL] Cleanup some code.
- [ENHANCEMENT] Disable
removeTitle
,removeViewBox
, andremoveDesc
SVGO plugins by default to preserve the original behaviour and stay a zero-configuration addon. - [INTERNAL] Get rid of
viewer.embed
option. - [INTERNAL] Improve SVGJar options validation.
- [BREAKING ENHANCEMENT] Upgrade SVGO from
0.6.6
to1.3.0
. It's a breaking change to fix security issues of SVGO 0.6.6. In SVGO1.3.0
most plugins are now active by default (e.g.removeTitle
,removeViewBox
). This can cause undesired changes in optimized SVG images. Inember-svg-jar
v2.1.0
it's not the case anymore forremoveTitle
,removeViewBox
, andremoveDesc
plugins. Read this document to know what exactly changed. To see changes of default SVGO plugins check out this diff. - [CLEANUP] Upgrade ember-cli to
3.11.0
, including related packages
- [INTERNAL] Switch from copy to assign @buschtoens
- [INTERNAL] Switch to ember-copy @wagenet
- [INTERNAL] Upgrade to ember-cli 3.3.0
- [internal] Ability to specify which version of
svgo
to use for optimizer - [INTERNAL] Drop Node 4 support
- [INTERNAL] Update dependencies & cleanup code
- [FEATURE] Add
containerAttrs
option for symbol strategy - [CLEANUP] Use console.warn instead of Ember.Logger @rwwagner90
- [FEATURE] ember-svg-jar can now be used by addons as a
dependency
@ef4 - [FEATURE] Ability to suppress asset validation warnings
- [CLEANUP] The addon is now fully consumable as a Git dependency, without any build step
- [CLEANUP] Upgrade to ember-cli 3.0.0 @Dhaulagiri
- [CLEANUP] Making addon compatible with the latest Ember CLI
ember-cli@3.2
- [FIX] Workaround for broccoli-asset-rev bug (fixes #54)
- [ENHANCEMENT] Adding
tests/dummy/public
tosourceDirs
for addons #29 + Ember-CLI 2.17.1 @rwwagner90 - [CLEANUP] Fix deprecations @ryanpatrickcook
- [CLEANUP] Latest Ember CLI v2.14.1, Chrome Testing, yarn.lock @alexdiliberto
- [FEATURE] Add basic Windows support
- [FEATURE] Add rootURL option
- [CLEANUP] Upgrade to ember-cli 2.13.1 @john-griffin
- [CLEANUP] Fix treeForAddon deprecation warning #27 @ef4
- [BUGFIX] Fix a problem with .DS_Store #20 @mupkoo
- [CLEANUP] Upgrade ember-cli to 2.12.1 and related packages
- [CLEANUP] Refactor node.js related modules
- [INTERNAL] The viewer builder skips emtpy SVG
- [INTERNAL] Upgrade broccoli-svg-optimizer
- [ENHANCEMENT] Ability to import
svgJar
helper to use outside of templates @djsegal - [CLEANUP] Refactor helper's code and tests
- [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
- [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, just add the code below to the ember-cli-build.js
:
let app = new EmberApp(defaults, {
svgJar: {
stripPath: false,
},
});
- [BUGFIX] Custom helper attrs shouldn't affect the inline assets store
- [DOC] Add CHANGELOG.md
- [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
- [BUGFIX] The viewer correctly shows SVGs with undefined height & width
- [FEATURE] Add support for old Ember versions
- [ENHANCEMENT] Add sidebar links to the viewer
- [ENHANCEMENT] Apply stripPath before idGen
- [CLEANUP] Unify access to strategy specific options
- [DOC] Add documentation for all configuration options
- [CLEANUP] Add acceptance tests
- [DOC] Improve readme
- [CLEANUP] Improve assets validation
- [CLEANUP] Switch to ES6 for broccoli modules
- [CLEANUP] Add ESLint and cleanup the code
- [CLEANUP] Remove compiled files of the viewer from the repo
- [INTERNAL] Upgrade broccoli-symbolizer
- [FEATURE] Add stripPath option
- [FEATURE] Add assets validation to ensure unique asset IDs
- [FEATURE] Make the
optimizer
a strategy specific option - [ENHANCEMENT] Strip
.svg
extension by default - [ENHANCEMENT] Allow the dot character
.
in inline strategy IDs