UNPKG

12.2 kBMarkdownView Raw
1## SVGJar Change Log
2
3### v2.4.4
4
5- [[FIX]](https://github.com/ghedamat/ember-svg-jar/pull/254) Simplify inline strategy so multiple versions of ember-svg-jar do not overwrite index.js
6- [[FEATURE]](https://github.com/ghedamat/ember-svg-jar/pull/249) Speed up requiring index.js file
7- [[FIX]](https://github.com/ghedamat/ember-svg-jar/pull/247) Fix file missing error on embroider when using custom rootURL
8
9### v2.4.3
10
11- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/252) Proper fixes for embroider
12- [[FIX]](https://github.com/voltidev/ember-svg-jar/244) Use `uniqueId` for recurring `title` and `desc`
13
14### v2.4.2
15
16- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/238) first embroider fixes
17
18### v2.4.1
19
20- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/234) fix asset viewer integration
21
22### v2.4.0
23
24- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/226) types for Glint
25- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/224) guidFor for unique IDs
26- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/228) resolve Cheero vulnerability
27
28### v2.3.4
29
30Note that this release likely does not work with Ember v4+. The released version of
31ember-cli-fastboot has an unaddressed problems with modern Ember
32(see https://github.com/ember-fastboot/ember-cli-fastboot/issues/829). If you find this
33_not_ to be the case for you, please open an issue with this project so that I can remove
34this notice. My assurance that these versions don't work is entirely based upon the
35ember-try-scenario matrix failing for these versions.
36
37- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/206) Resolve Ember.assign deprecation
38
39### v2.3.3
40
41- [[ENHANCEMENT]](https://github.com/voltidev/ember-svg-jar/pull/184) Improve FastBoot compatibilitiy
42- [[INTERNAL]](https://github.com/voltidev/ember-svg-jar/pull/177) Improve npmignore
43
44### v2.3.2
45
46Do not use
47
48### v2.3.1
49
50- [[ENHANCEMENT]](https://github.com/voltidev/ember-svg-jar/pull/142) Extract references from symbol to svg-level `<defs/>` tag
51- [[ENHANCEMENT]](https://github.com/voltidev/ember-svg-jar/pull/167) Add `validations.throwOnFailure` option
52- [[ENHANCEMENT]](https://github.com/voltidev/ember-svg-jar/pull/161) Add a11y options
53- [[INTERNAL]](https://github.com/voltidev/ember-svg-jar/pull/172) Fix `htmlSafe` import
54- [INTERNAL] CI uses Github Actions
55- [INTERNAL] Numerous dependency updates
56- [INTERNAL] Add Embroider tests
57
58### v2.3.0
59
60Bad release. Hiccups on my first publish of this package. Sorry :( @jherdman
61
62### v2.2.1
63
64- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/137) Move development dependencies into `devDependencies` [@Turbo87](https://github.com/Turbo87)
65
66[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v2.2.0...v2.2.1)
67
68### v2.2.0
69
70- [ENHANCEMENT] Improved Assets Viewer. It got faster for big SVG collections and has better UI.
71- [INTERNAL] Cleanup some code.
72
73[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v2.1.0...v2.2.0)
74
75### v2.1.0
76
77- [ENHANCEMENT] Disable `removeTitle`, `removeViewBox`, and `removeDesc` SVGO plugins by default to preserve the original behaviour and stay a zero-configuration addon.
78- [INTERNAL] Get rid of `viewer.embed` option.
79- [INTERNAL] Improve SVGJar options validation.
80
81[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v2.0.0...v2.1.0)
82
83### v2.0.0
84
85- [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].
86- [CLEANUP] Upgrade ember-cli to `3.11.0`, including related packages
87
88[info]: https://github.com/voltidev/broccoli-svg-optimizer/blob/master/docs/0.6.6-to-1.3.0.md
89[diff]: https://github.com/voltidev/broccoli-svg-optimizer/commit/58057a2cd521160b1eaba058303774f427cdd1f0#diff-e5d4ccd3cd14c513eca40fc7a5f48182
90[reason]: https://github.com/voltidev/broccoli-svg-optimizer/issues/14
91
92[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v1.2.2...v2.0.0)
93
94### v1.2.2
95
96- [[INTERNAL]](https://github.com/voltidev/ember-svg-jar/pull/92) Switch from copy to assign [@buschtoens](https://github.com/buschtoens)
97
98[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v1.2.1...v1.2.2)
99
100### v1.2.1
101
102- [[INTERNAL]](https://github.com/voltidev/ember-svg-jar/pull/77) Switch to ember-copy [@wagenet](https://github.com/wagenet)
103- [INTERNAL] Upgrade to ember-cli 3.3.0
104
105[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v1.2.0...v1.2.1)
106
107### v1.2.0
108
109- [[internal]](https://github.com/voltidev/ember-svg-jar/pull/72) Ability to specify which version of `svgo` to use for optimizer
110- [INTERNAL] Drop Node 4 support
111- [INTERNAL] Update dependencies & cleanup code
112
113[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v1.1.0...v1.2.0)
114
115### v1.1.0
116
117- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/64) Add `containerAttrs` option for symbol strategy
118- [[CLEANUP]](https://github.com/voltidev/ember-svg-jar/pull/63) Use console.warn instead of Ember.Logger [@rwwagner90](https://github.com/rwwagner90)
119
120[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v1.0.0...v1.1.0)
121
122### v1.0.0
123
124- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/52) ember-svg-jar can now be used by addons as a `dependency` [@ef4](https://github.com/ef4)
125- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/62) Ability to suppress asset validation warnings
126- [CLEANUP] The addon is now fully consumable as a Git dependency, without any build step
127- [[CLEANUP]](https://github.com/voltidev/ember-svg-jar/pull/53) Upgrade to ember-cli 3.0.0 [@Dhaulagiri](https://github.com/Dhaulagiri)
128- [CLEANUP] Making addon compatible with the latest Ember CLI `ember-cli@3.2`
129- [[FIX]](https://github.com/voltidev/ember-svg-jar/pull/61) Workaround for broccoli-asset-rev bug (fixes [#54](https://github.com/voltidev/ember-svg-jar/issues/54))
130
131[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.12.0...v1.0.0)
132
133### v0.12.0
134
135- [[ENHANCEMENT]](https://github.com/voltidev/ember-svg-jar/pull/50) Adding `tests/dummy/public` to `sourceDirs` for addons [#29](https://github.com/voltidev/ember-svg-jar/issues/29) + Ember-CLI 2.17.1 [@rwwagner90](https://github.com/rwwagner90)
136- [[CLEANUP]](https://github.com/voltidev/ember-svg-jar/pull/48) Fix deprecations [@ryanpatrickcook](https://github.com/ryanpatrickcook)
137- [[CLEANUP]](https://github.com/voltidev/ember-svg-jar/pull/42) Latest Ember CLI v2.14.1, Chrome Testing, yarn.lock [@alexdiliberto](https://github.com/alexdiliberto)
138
139[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.11.0...v0.12.0)
140
141### v0.11.0
142
143- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/40) Add basic Windows support
144
145[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.10.3...v0.11.0)
146
147### v0.10.3
148
149- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/37) Add rootURL option
150- [[CLEANUP]](https://github.com/voltidev/ember-svg-jar/pull/36) Upgrade to ember-cli 2.13.1 [@john-griffin](https://github.com/john-griffin)
151
152[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.10.1...v0.10.3)
153
154### v0.10.1
155
156- [[BUGFIX]](https://github.com/voltidev/ember-svg-jar/pull/35) Fix calculating optimizedSvg file size [#32](https://github.com/voltidev/ember-svg-jar/issues/32) [@ilucin](https://github.com/ilucin)
157
158[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.10.0...v0.10.1)
159
160### v0.10.0
161
162- [[CLEANUP]](https://github.com/voltidev/ember-svg-jar/pull/30) Fix treeForAddon deprecation warning #27 [@ef4](https://github.com/ef4)
163- [[BUGFIX]](https://github.com/voltidev/ember-svg-jar/pull/21) Fix a problem with .DS_Store #20 [@mupkoo](https://github.com/mupkoo)
164- [CLEANUP] Upgrade ember-cli to 2.12.1 and related packages
165- [CLEANUP] Refactor node.js related modules
166
167[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.9.3...v0.10.0)
168
169### v0.9.3
170
171- [INTERNAL] The viewer builder skips emtpy SVG
172- [INTERNAL] Upgrade broccoli-svg-optimizer
173
174[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.9.2...v0.9.3)
175
176### v0.9.2
177
178- [[ENHANCEMENT]](https://github.com/voltidev/ember-svg-jar/pull/16) Ability to import `svgJar` helper to use outside of templates [@djsegal](https://github.com/djsegal)
179- [CLEANUP] Refactor helper's code and tests
180
181[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.9.1...v0.9.2)
182
183### v0.9.1
184
185- [[FEATURE]](https://github.com/voltidev/ember-svg-jar/pull/13) Helper supports `size` attribute `{{svg-jar "asset-name" size=2}}`
186- [ENHANCEMENT] The viewer now shows asset base size as `24x20px` in details
187- [ENHANCEMENT] The viewer allows to copy optimized asset code to clipboard
188- [CLEANUP] Add node tests to cover all broccoli stuff & improve code
189
190[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.9.0...v0.9.1)
191
192### v0.9.0
193
194- [FEATURE] The viewer allows downloading selected assets
195- [FEATURE] The viewer allows copying selected assets' code to the clipboard
196- [FEATURE] The viewer now shows original and optimized file sizes
197- [BREAKING ENHANCEMENT] `stripPath` is now `true` by default
198
199This 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"}}`.
200
201If you prefer the old behavior, just add the code below to the `ember-cli-build.js`:
202
203```javascript
204let app = new EmberApp(defaults, {
205 svgJar: {
206 stripPath: false,
207 },
208});
209```
210
211[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.8.3...v0.9.0)
212
213### v0.8.3
214
215- [BUGFIX] Custom helper attrs shouldn't affect the inline assets store
216- [DOC] Add CHANGELOG.md
217
218[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.8.2...v0.8.3)
219
220### v0.8.2
221
222- [FEATURE] `svg-jar` helper can now bind any passed attributes to created SVG elements
223- [CLEANUP] Upgrade ember-cli to 2.7.0
224- [CLEANUP] Add more tests & clean up the helper's code
225
226[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.8.1...v0.8.2)
227
228### v0.8.1
229
230- [BUGFIX] The viewer correctly shows SVGs with undefined height & width
231
232[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.8.0...v0.8.1)
233
234### v0.8.0
235
236- [FEATURE] Add support for old Ember versions
237- [ENHANCEMENT] Add sidebar links to the viewer
238
239[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.7.0...v0.8.0)
240
241### v0.7.0
242
243- [ENHANCEMENT] Apply stripPath before idGen
244- [CLEANUP] Unify access to strategy specific options
245- [DOC] Add documentation for all configuration options
246
247[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.6.1...v0.7.0)
248
249### v0.6.1
250
251- [CLEANUP] Add acceptance tests
252- [DOC] Improve readme
253
254[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.6.0...v0.6.1)
255
256### v0.6.0
257
258- [CLEANUP] Improve assets validation
259- [CLEANUP] Switch to ES6 for broccoli modules
260- [CLEANUP] Add ESLint and cleanup the code
261- [CLEANUP] Remove compiled files of the viewer from the repo
262- [INTERNAL] Upgrade broccoli-symbolizer
263
264[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.5.0...v0.6.0)
265
266### v0.5.0
267
268- [FEATURE] Add stripPath option
269- [FEATURE] Add assets validation to ensure unique asset IDs
270- [FEATURE] Make the `optimizer` a strategy specific option
271- [ENHANCEMENT] Strip `.svg` extension by default
272- [ENHANCEMENT] Allow the dot character `.` in inline strategy IDs
273
274[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.4.2...v0.5.0)
275
276### v0.4.2 - v0.1.0
277
278[Full changelog](https://github.com/voltidev/ember-svg-jar/compare/v0.1.0...v0.4.2)