You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 KiB
11 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.5.0 (2020-11-15)
Bug Fixes
- typescript: fix react-native support #465 (#488) (d61e0cf)
- prevent removing the namespace by svgr ([#475](https://github.com/gregberge/svgr/issues/475) (#498) (00e84ea)
Features
5.4.0 (2020-04-27)
Bug Fixes
Features
5.3.1 (2020-04-05)
Note: Version bump only for package @svgr/core
5.3.0 (2020-03-22)
Features
5.2.0 (2020-02-23)
Note: Version bump only for package @svgr/core
5.0.1 (2019-12-29)
Bug Fixes
- fix engines in package.json (a45d6fc)
4.3.3 (2019-09-24)
Bug Fixes
- babel-plugin-svg-dynamic-title: dont render empty title (#341) (88b24c5), closes #333
- invalid characters in component name (#332) (4b4bd2c), closes #331
4.3.2 (2019-07-15)
Note: Version bump only for package @svgr/core
4.3.1 (2019-07-01)
Note: Version bump only for package @svgr/core
4.3.0 (2019-05-28)
Note: Version bump only for package @svgr/core
4.2.0 (2019-04-11)
Bug Fixes
Features
4.1.0 (2018-11-24)
Note: Version bump only for package @svgr/core
4.0.3 (2018-11-13)
Bug Fixes
- upgrade dependencies (7e2195f)
4.0.2 (2018-11-08)
Note: Version bump only for package @svgr/core
4.0.1 (2018-11-08)
Note: Version bump only for package @svgr/core
4.0.0 (2018-11-04)
Features
- svgo: prefix ids by default (06c338d), closes #210
- v4: new architecture (ac8b8ca)
- allow dynamic properties in replaceAttrValues option (15f55fe), closes #205
BREAKING CHANGES
- v4: -
template
option must now returns a Babel AST
@svgr/core
does not include svgo & prettier by default
3.1.0 (2018-10-05)
Bug Fixes
Features
3.0.0 (2018-10-01)
Bug Fixes
- fix --icon + --no-dimensions (7535693), closes #141
- fix expandProps when position is not allowed (45522fc)
Features
- config: improve runtime config (e52cdce), closes #192
- template: expose
getProps
util for template (5cb238e), closes #187 - add synchronous API (169eb2f), closes #185
- always prefix component name with "Svg" (f71aa7a), closes #190
- do not remove style tag (a4ce09a), closes #191
- new "expandProps" option (bb95828), closes #170
- remove "svgAttributes" option (4e46a5d), closes #173
- use forwardRef on React Native (4bdd989), closes #184
- use React.forwardRef (cbee51c), closes #184
BREAKING CHANGES
- "--no-expand-props" is now replaced by "--expand-props none". You can now specify a position "start" or "end" for "expandProps" property.
svgAttributes
has been removed, please usesvgProps
instead.- "ref" option now uses
React.forwardRef
. You don't have to use "svgRef" prop, just use "ref" and it will work.React.forwardRef
requires React
16.3.
- Style tag will no longer be automatically removed. SVGO should handle it correctly using "inlineStyles" plugin. If you want to remove them, enable "removeStyleElement" plugin in your SVGO config.
- config: - Runtime configuration is always loaded (even with Node API
convert
)
- In CLI, "--config" is now "--config-file"; this new option can be used everywhere
2.4.1 (2018-09-16)
Bug Fixes
2.4.0 (2018-09-16)
Bug Fixes
- use literal instead of litteral (7849fd4)
Features
- allow to spread props at the start (#166) (cd659dc)
- upgrade: h2x@1.1.0 (jsdom@12.0.0) & others (2d9b7bd)
- new option "svgProps" (#172) (9657110)