UNPKG

9.71 kBMarkdownView Raw
1## SVGJar Change Log
2
3### v2.2.1
4
5- [[FIX]](https://github.com/ivanvotti/ember-svg-jar/pull/137) Move development dependencies into `devDependencies` [@Turbo87](https://github.com/Turbo87)
6
7[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v2.2.0...v2.2.1)
8
9### v2.2.0
10- [ENHANCEMENT] Improved Assets Viewer. It got faster for big SVG collections and has better UI.
11- [INTERNAL] Cleanup some code.
12
13[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v2.1.0...v2.2.0)
14
15### v2.1.0
16- [ENHANCEMENT] Disable `removeTitle`, `removeViewBox`, and `removeDesc` SVGO plugins by default to preserve the original behaviour and stay a zero-configuration addon.
17- [INTERNAL] Get rid of `viewer.embed` option.
18- [INTERNAL] Improve SVGJar options validation.
19
20[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v2.0.0...v2.1.0)
21
22### v2.0.0
23- [BREAKING ENHANCEMENT] Upgrade SVGO from `0.6.6` to `1.3.0`. It's a breaking change to fix [security issues of SVGO 0.6.6][reason]. In SVGO `1.3.0` most plugins are now active by default (e.g. `removeTitle`, `removeViewBox`). This can cause undesired changes in optimized SVG images. In `ember-svg-jar` `v2.1.0` it's not the case anymore for `removeTitle`, `removeViewBox`, and `removeDesc` plugins. [Read this document][info] to know what exactly changed. To see changes of default SVGO plugins [check out this diff][diff].
24- [CLEANUP] Upgrade ember-cli to `3.11.0`, including related packages
25
26[info]: https://github.com/ivanvotti/broccoli-svg-optimizer/blob/master/docs/0.6.6-to-1.3.0.md
27[diff]: https://github.com/ivanvotti/broccoli-svg-optimizer/commit/58057a2cd521160b1eaba058303774f427cdd1f0#diff-e5d4ccd3cd14c513eca40fc7a5f48182
28[reason]: https://github.com/ivanvotti/broccoli-svg-optimizer/issues/14
29
30[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v1.2.2...v2.0.0)
31
32### v1.2.2
33- [[INTERNAL]](https://github.com/ivanvotti/ember-svg-jar/pull/92) Switch from copy to assign [@buschtoens](https://github.com/buschtoens)
34
35[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v1.2.1...v1.2.2)
36
37### v1.2.1
38- [[INTERNAL]](https://github.com/ivanvotti/ember-svg-jar/pull/77) Switch to ember-copy [@wagenet](https://github.com/wagenet)
39- [INTERNAL] Upgrade to ember-cli 3.3.0
40
41[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v1.2.0...v1.2.1)
42
43### v1.2.0
44- [[internal]](https://github.com/ivanvotti/ember-svg-jar/pull/72) Ability to specify which version of `svgo` to use for optimizer
45- [INTERNAL] Drop Node 4 support
46- [INTERNAL] Update dependencies & cleanup code
47
48[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v1.1.0...v1.2.0)
49
50### v1.1.0
51- [[FEATURE]](https://github.com/ivanvotti/ember-svg-jar/pull/64) Add `containerAttrs` option for symbol strategy
52- [[CLEANUP]](https://github.com/ivanvotti/ember-svg-jar/pull/63) Use console.warn instead of Ember.Logger [@rwwagner90](https://github.com/rwwagner90)
53
54[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v1.0.0...v1.1.0)
55
56### v1.0.0
57- [[FEATURE]](https://github.com/ivanvotti/ember-svg-jar/pull/52) ember-svg-jar can now be used by addons as a `dependency` [@ef4](https://github.com/ef4)
58- [[FEATURE]](https://github.com/ivanvotti/ember-svg-jar/pull/62) Ability to suppress asset validation warnings
59- [CLEANUP] The addon is now fully consumable as a Git dependency, without any build step
60- [[CLEANUP]](https://github.com/ivanvotti/ember-svg-jar/pull/53) Upgrade to ember-cli 3.0.0 [@Dhaulagiri](https://github.com/Dhaulagiri)
61- [CLEANUP] Making addon compatible with the latest Ember CLI `ember-cli@3.2`
62- [[FIX]](https://github.com/ivanvotti/ember-svg-jar/pull/61) Workaround for broccoli-asset-rev bug (fixes [#54](https://github.com/ivanvotti/ember-svg-jar/issues/54))
63
64[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.12.0...v1.0.0)
65
66### v0.12.0
67- [[ENHANCEMENT]](https://github.com/ivanvotti/ember-svg-jar/pull/50) Adding `tests/dummy/public` to `sourceDirs` for addons [#29](https://github.com/ivanvotti/ember-svg-jar/issues/29) + Ember-CLI 2.17.1 [@rwwagner90](https://github.com/rwwagner90)
68- [[CLEANUP]](https://github.com/ivanvotti/ember-svg-jar/pull/48) Fix deprecations [@ryanpatrickcook](https://github.com/ryanpatrickcook)
69- [[CLEANUP]](https://github.com/ivanvotti/ember-svg-jar/pull/42) Latest Ember CLI v2.14.1, Chrome Testing, yarn.lock [@alexdiliberto](https://github.com/alexdiliberto)
70
71[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.11.0...v0.12.0)
72
73### v0.11.0
74- [[FEATURE]](https://github.com/ivanvotti/ember-svg-jar/pull/40) Add basic Windows support
75
76[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.10.3...v0.11.0)
77
78### v0.10.3
79- [[FEATURE]](https://github.com/ivanvotti/ember-svg-jar/pull/37) Add rootURL option
80- [[CLEANUP]](https://github.com/ivanvotti/ember-svg-jar/pull/36) Upgrade to ember-cli 2.13.1 [@john-griffin](https://github.com/john-griffin)
81
82[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.10.1...v0.10.3)
83
84### v0.10.1
85- [[BUGFIX]](https://github.com/ivanvotti/ember-svg-jar/pull/35) Fix calculating optimizedSvg file size [#32](https://github.com/ivanvotti/ember-svg-jar/issues/32) [@ilucin](https://github.com/ilucin)
86
87[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.10.0...v0.10.1)
88
89### v0.10.0
90- [[CLEANUP]](https://github.com/ivanvotti/ember-svg-jar/pull/30) Fix treeForAddon deprecation warning #27 [@ef4](https://github.com/ef4)
91- [[BUGFIX]](https://github.com/ivanvotti/ember-svg-jar/pull/21) Fix a problem with .DS_Store #20 [@mupkoo](https://github.com/mupkoo)
92- [CLEANUP] Upgrade ember-cli to 2.12.1 and related packages
93- [CLEANUP] Refactor node.js related modules
94
95[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.9.3...v0.10.0)
96
97### v0.9.3
98- [INTERNAL] The viewer builder skips emtpy SVG
99- [INTERNAL] Upgrade broccoli-svg-optimizer
100
101[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.9.2...v0.9.3)
102
103### v0.9.2
104- [[ENHANCEMENT]](https://github.com/ivanvotti/ember-svg-jar/pull/16) Ability to import `svgJar` helper to use outside of templates [@djsegal](https://github.com/djsegal)
105- [CLEANUP] Refactor helper's code and tests
106
107[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.9.1...v0.9.2)
108
109### v0.9.1
110- [[FEATURE]](https://github.com/ivanvotti/ember-svg-jar/pull/13) Helper supports `size` attribute `{{svg-jar "asset-name" size=2}}`
111- [ENHANCEMENT] The viewer now shows asset base size as `24x20px` in details
112- [ENHANCEMENT] The viewer allows to copy optimized asset code to clipboard
113- [CLEANUP] Add node tests to cover all broccoli stuff & improve code
114
115[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.9.0...v0.9.1)
116
117### v0.9.0
118- [FEATURE] The viewer allows downloading selected assets
119- [FEATURE] The viewer allows copying selected assets' code to the clipboard
120- [FEATURE] The viewer now shows original and optimized file sizes
121- [BREAKING ENHANCEMENT] `stripPath` is now `true` by default
122
123This 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"}}`.
124
125If you prefer the old behavior, just add the code below to the `ember-cli-build.js`:
126
127```javascript
128let app = new EmberApp(defaults, {
129 svgJar: {
130 stripPath: false
131 }
132});
133```
134
135[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.3...v0.9.0)
136
137### v0.8.3
138- [BUGFIX] Custom helper attrs shouldn't affect the inline assets store
139- [DOC] Add CHANGELOG.md
140
141[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.2...v0.8.3)
142
143### v0.8.2
144- [FEATURE] `svg-jar` helper can now bind any passed attributes to created SVG elements
145- [CLEANUP] Upgrade ember-cli to 2.7.0
146- [CLEANUP] Add more tests & clean up the helper's code
147
148[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.1...v0.8.2)
149
150### v0.8.1
151- [BUGFIX] The viewer correctly shows SVGs with undefined height & width
152
153[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.8.0...v0.8.1)
154
155### v0.8.0
156- [FEATURE] Add support for old Ember versions
157- [ENHANCEMENT] Add sidebar links to the viewer
158
159[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.7.0...v0.8.0)
160
161### v0.7.0
162- [ENHANCEMENT] Apply stripPath before idGen
163- [CLEANUP] Unify access to strategy specific options
164- [DOC] Add documentation for all configuration options
165
166[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.6.1...v0.7.0)
167
168### v0.6.1
169- [CLEANUP] Add acceptance tests
170- [DOC] Improve readme
171
172[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.6.0...v0.6.1)
173
174### v0.6.0
175- [CLEANUP] Improve assets validation
176- [CLEANUP] Switch to ES6 for broccoli modules
177- [CLEANUP] Add ESLint and cleanup the code
178- [CLEANUP] Remove compiled files of the viewer from the repo
179- [INTERNAL] Upgrade broccoli-symbolizer
180
181[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.5.0...v0.6.0)
182
183### v0.5.0
184- [FEATURE] Add stripPath option
185- [FEATURE] Add assets validation to ensure unique asset IDs
186- [FEATURE] Make the `optimizer` a strategy specific option
187- [ENHANCEMENT] Strip `.svg` extension by default
188- [ENHANCEMENT] Allow the dot character `.` in inline strategy IDs
189
190[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.4.2...v0.5.0)
191
192### v0.4.2 - v0.1.0
193
194[Full changelog](https://github.com/ivanvotti/ember-svg-jar/compare/v0.1.0...v0.4.2)