|
3 | 3 | All notable changes to this project will be documented in this file.
|
4 | 4 | See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 | 5 |
|
6 |
| -# [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14) |
7 |
| - |
8 |
| - |
9 |
| -### Features |
| 6 | +## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) |
10 | 7 |
|
11 |
| -* **babel-preset:** fix 'role' attribute on svg element for react native ([#787](https://github.com/gregberge/svgr/issues/787)) ([35d85e0](https://github.com/gregberge/svgr/commit/35d85e069ebfef1b26ba181f443d9377a7bc003e)) |
| 8 | +### Reverts |
12 | 9 |
|
| 10 | +- Revert "feat(a11y): add attribute role="img" to the svg element (#750)" ([1382232](https://github.com/gregberge/svgr/commit/138223284ad9aebc5bbf94ed3ae7174a66dbc7f5)), closes [#750](https://github.com/gregberge/svgr/issues/750) |
13 | 11 |
|
| 12 | +# [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14) |
14 | 13 |
|
| 14 | +### Features |
15 | 15 |
|
| 16 | +- **babel-preset:** fix 'role' attribute on svg element for react native ([#787](https://github.com/gregberge/svgr/issues/787)) ([35d85e0](https://github.com/gregberge/svgr/commit/35d85e069ebfef1b26ba181f443d9377a7bc003e)) |
16 | 17 |
|
17 | 18 | # [6.4.0](https://github.com/gregberge/svgr/compare/v6.3.1...v6.4.0) (2022-10-01)
|
18 | 19 |
|
19 |
| - |
20 | 20 | ### Features
|
21 | 21 |
|
22 |
| -* **a11y:** add attribute role="img" to the svg element ([#750](https://github.com/gregberge/svgr/issues/750)) ([8b9edc4](https://github.com/gregberge/svgr/commit/8b9edc4e712f3adbd9f9c503dfc5e4d627f763cd)) |
23 |
| - |
24 |
| - |
25 |
| - |
26 |
| - |
| 22 | +- **a11y:** add attribute role="img" to the svg element ([#750](https://github.com/gregberge/svgr/issues/750)) ([8b9edc4](https://github.com/gregberge/svgr/commit/8b9edc4e712f3adbd9f9c503dfc5e4d627f763cd)) |
27 | 23 |
|
28 | 24 | ## [6.3.1](https://github.com/gregberge/svgr/compare/v6.3.0...v6.3.1) (2022-07-22)
|
29 | 25 |
|
30 |
| - |
31 | 26 | ### Bug Fixes
|
32 | 27 |
|
33 |
| -* fix duplicate plugin/preset detected error ([#747](https://github.com/gregberge/svgr/issues/747)) ([3c6a54c](https://github.com/gregberge/svgr/commit/3c6a54c494bb8ff15f332ff2d44e9f6465a6c19a)), closes [#746](https://github.com/gregberge/svgr/issues/746) |
34 |
| -* fix exports compat with ESM ([#749](https://github.com/gregberge/svgr/issues/749)) ([f3e304c](https://github.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490)) |
35 |
| - |
36 |
| - |
37 |
| - |
38 |
| - |
| 28 | +- fix duplicate plugin/preset detected error ([#747](https://github.com/gregberge/svgr/issues/747)) ([3c6a54c](https://github.com/gregberge/svgr/commit/3c6a54c494bb8ff15f332ff2d44e9f6465a6c19a)), closes [#746](https://github.com/gregberge/svgr/issues/746) |
| 29 | +- fix exports compat with ESM ([#749](https://github.com/gregberge/svgr/issues/749)) ([f3e304c](https://github.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490)) |
39 | 30 |
|
40 | 31 | # [6.3.0](https://github.com/gregberge/svgr/compare/v6.2.1...v6.3.0) (2022-07-18)
|
41 | 32 |
|
42 |
| - |
43 | 33 | ### Bug Fixes
|
44 | 34 |
|
45 |
| -* **package.json:** fix exports ([#745](https://github.com/gregberge/svgr/issues/745)) ([2a368d1](https://github.com/gregberge/svgr/commit/2a368d1305949ec6426c7c7312c04224071ec2bd)) |
46 |
| - |
| 35 | +- **package.json:** fix exports ([#745](https://github.com/gregberge/svgr/issues/745)) ([2a368d1](https://github.com/gregberge/svgr/commit/2a368d1305949ec6426c7c7312c04224071ec2bd)) |
47 | 36 |
|
48 | 37 | ### Features
|
49 | 38 |
|
50 |
| -* add descProp option ([#729](https://github.com/gregberge/svgr/issues/729)) ([a0637d4](https://github.com/gregberge/svgr/commit/a0637d49b60243bbae461f7b96dab9b47cd82d8f)) |
51 |
| - |
52 |
| - |
53 |
| - |
54 |
| - |
| 39 | +- add descProp option ([#729](https://github.com/gregberge/svgr/issues/729)) ([a0637d4](https://github.com/gregberge/svgr/commit/a0637d49b60243bbae461f7b96dab9b47cd82d8f)) |
55 | 40 |
|
56 | 41 | # [6.2.0](https://github.com/gregberge/svgr/compare/v6.1.2...v6.2.0) (2022-01-10)
|
57 | 42 |
|
58 | 43 | **Note:** Version bump only for package @svgr/babel-preset
|
59 | 44 |
|
60 |
| - |
61 |
| - |
62 |
| - |
63 |
| - |
64 | 45 | # [6.1.0](https://github.com/gregberge/svgr/compare/v6.0.0...v6.1.0) (2021-12-01)
|
65 | 46 |
|
66 | 47 | **Note:** Version bump only for package @svgr/babel-preset
|
67 | 48 |
|
68 |
| - |
69 |
| - |
70 |
| - |
71 |
| - |
72 | 49 | # [5.5.0](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v5.4.0...v5.5.0) (2020-11-15)
|
73 | 50 |
|
74 |
| - |
75 | 51 | ### Bug Fixes
|
76 | 52 |
|
77 |
| -* prevent removing the namespace by svgr ([[#475](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/475)](https://github.com/gregberge/svgr/issues/475) ([#498](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/498)) ([00e84ea](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/00e84ead96d89bcbd072b9585b4db1365e392d33)) |
78 |
| - |
79 |
| - |
80 |
| - |
81 |
| - |
| 53 | +- prevent removing the namespace by svgr ([[#475](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/475)](https://github.com/gregberge/svgr/issues/475) ([#498](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/498)) ([00e84ea](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/00e84ead96d89bcbd072b9585b4db1365e392d33)) |
82 | 54 |
|
83 | 55 | # [5.4.0](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v5.3.1...v5.4.0) (2020-04-27)
|
84 | 56 |
|
85 | 57 | **Note:** Version bump only for package @svgr/babel-preset
|
86 | 58 |
|
87 |
| - |
88 |
| - |
89 |
| - |
90 |
| - |
91 | 59 | ## [5.3.1](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v5.3.0...v5.3.1) (2020-04-05)
|
92 | 60 |
|
93 | 61 | **Note:** Version bump only for package @svgr/babel-preset
|
94 | 62 |
|
95 |
| - |
96 |
| - |
97 |
| - |
98 |
| - |
99 | 63 | # [5.3.0](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v5.2.0...v5.3.0) (2020-03-22)
|
100 | 64 |
|
101 | 65 | **Note:** Version bump only for package @svgr/babel-preset
|
102 | 66 |
|
103 |
| - |
104 |
| - |
105 |
| - |
106 |
| - |
107 | 67 | # [5.2.0](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v5.1.0...v5.2.0) (2020-02-23)
|
108 | 68 |
|
109 | 69 | **Note:** Version bump only for package @svgr/babel-preset
|
110 | 70 |
|
111 |
| - |
112 |
| - |
113 |
| - |
114 |
| - |
115 | 71 | ## [5.0.1](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v5.0.0...v5.0.1) (2019-12-29)
|
116 | 72 |
|
117 |
| - |
118 | 73 | ### Bug Fixes
|
119 | 74 |
|
120 |
| -* fix engines in package.json ([a45d6fc](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/a45d6fc8b43402bec60ed4e9273f90fdc65a23a7)) |
121 |
| - |
122 |
| - |
123 |
| - |
124 |
| - |
| 75 | +- fix engines in package.json ([a45d6fc](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/a45d6fc8b43402bec60ed4e9273f90fdc65a23a7)) |
125 | 76 |
|
126 | 77 | ## [4.3.3](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v4.3.2...v4.3.3) (2019-09-24)
|
127 | 78 |
|
128 |
| - |
129 | 79 | ### Bug Fixes
|
130 | 80 |
|
131 |
| -* **babel-plugin-svg-dynamic-title:** dont render empty title ([#341](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/341)) ([88b24c5](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/88b24c5)), closes [#333](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/333) |
132 |
| - |
133 |
| - |
134 |
| - |
135 |
| - |
| 81 | +- **babel-plugin-svg-dynamic-title:** dont render empty title ([#341](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/341)) ([88b24c5](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/88b24c5)), closes [#333](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/333) |
136 | 82 |
|
137 | 83 | ## [4.3.1](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v4.3.0...v4.3.1) (2019-07-01)
|
138 | 84 |
|
139 |
| - |
140 | 85 | ### Bug Fixes
|
141 | 86 |
|
142 |
| -* **titleProp:** handle the existing title case by using element instead of value (children) ([#315](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/315)) ([065e7a9](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/065e7a9)) |
143 |
| - |
144 |
| - |
145 |
| - |
146 |
| - |
| 87 | +- **titleProp:** handle the existing title case by using element instead of value (children) ([#315](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/315)) ([065e7a9](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/065e7a9)) |
147 | 88 |
|
148 | 89 | # [4.3.0](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v4.2.0...v4.3.0) (2019-05-28)
|
149 | 90 |
|
150 |
| - |
151 | 91 | ### Features
|
152 | 92 |
|
153 |
| -* titleProps fallbacks to svg's title ([#311](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/311)) ([8f92366](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/8f92366)) |
154 |
| - |
155 |
| - |
156 |
| - |
157 |
| - |
| 93 | +- titleProps fallbacks to svg's title ([#311](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/311)) ([8f92366](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/8f92366)) |
158 | 94 |
|
159 | 95 | # [4.2.0](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/compare/v4.1.0...v4.2.0) (2019-04-11)
|
160 | 96 |
|
161 |
| - |
162 | 97 | ### Bug Fixes
|
163 | 98 |
|
164 |
| -* **babel-preset:** expandProps + icon option ([ddfae22](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/ddfae22)), closes [#277](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/277) |
165 |
| - |
| 99 | +- **babel-preset:** expandProps + icon option ([ddfae22](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/ddfae22)), closes [#277](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/277) |
166 | 100 |
|
167 | 101 | ### Features
|
168 | 102 |
|
169 |
| -* add expo option ([#289](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/289)) ([978db3e](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/978db3e)) |
170 |
| - |
171 |
| - |
172 |
| - |
173 |
| - |
| 103 | +- add expo option ([#289](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/issues/289)) ([978db3e](https://github.com/gregberge/svgr/tree/master/packages/babel-preset/commit/978db3e)) |
174 | 104 |
|
175 | 105 | # [4.1.0](https://github.com/gregberge/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)
|
176 | 106 |
|
177 | 107 | **Note:** Version bump only for package @svgr/babel-preset
|
178 | 108 |
|
179 |
| - |
180 |
| - |
181 |
| - |
182 |
| - |
183 | 109 | ## [4.0.3](https://github.com/gregberge/svgr/compare/v4.0.2...v4.0.3) (2018-11-13)
|
184 | 110 |
|
185 | 111 | **Note:** Version bump only for package @svgr/babel-preset
|
186 | 112 |
|
187 |
| - |
188 |
| - |
189 |
| - |
190 |
| - |
191 | 113 | ## [4.0.1](https://github.com/gregberge/svgr/compare/v4.0.0...v4.0.1) (2018-11-08)
|
192 | 114 |
|
193 | 115 | **Note:** Version bump only for package @svgr/babel-preset
|
194 | 116 |
|
195 |
| - |
196 |
| - |
197 |
| - |
198 |
| - |
199 | 117 | # [4.0.0](https://github.com/gregberge/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)
|
200 | 118 |
|
201 |
| - |
202 | 119 | ### Features
|
203 | 120 |
|
204 |
| -* **v4:** new architecture ([ac8b8ca](https://github.com/gregberge/svgr/commit/ac8b8ca)) |
205 |
| -* allow dynamic properties in replaceAttrValues option ([15f55fe](https://github.com/gregberge/svgr/commit/15f55fe)), closes [#205](https://github.com/gregberge/svgr/issues/205) |
206 |
| - |
| 121 | +- **v4:** new architecture ([ac8b8ca](https://github.com/gregberge/svgr/commit/ac8b8ca)) |
| 122 | +- allow dynamic properties in replaceAttrValues option ([15f55fe](https://github.com/gregberge/svgr/commit/15f55fe)), closes [#205](https://github.com/gregberge/svgr/issues/205) |
207 | 123 |
|
208 | 124 | ### BREAKING CHANGES
|
209 | 125 |
|
210 |
| -* **v4:** - `template` option must now returns a Babel AST |
211 |
| -- `@svgr/core` does not include svgo & prettier by default |
| 126 | +- **v4:** - `template` option must now returns a Babel AST |
| 127 | + |
| 128 | +* `@svgr/core` does not include svgo & prettier by default |
1 commit comments
vercel[bot] commentedon Oct 27, 2022
Successfully deployed to the following URLs:
svgr – ./
api.react-svgr.com
svgr-gregberge.vercel.app
svgr-git-main-gregberge.vercel.app