# Changelog
## 3.0.3
- Ignore babel config files during transformation [#264](https://github.com/boopathi/react-svg-loader/pull/264)
## 3.0.1
- Fix `package.json` version updates ([27bce4a](https://github.com/boopathi/react-svg-loader/commit/27bce4a34c1d9e184619a34c2e3f7ce5bfa019a6))
## 3.0.0
- Drop Node 6. Run tests on Node 8, 10, and 12
- Upgrade dependencies
Fixes:
- Close svgo object instead of mutating it ([#250](https://github.com/boopathi/react-svg-loader/pull/250))
- Compatibility between babel 6 and 7 for `t.restElement` and `t.restProperty` ([#244](https://github.com/boopathi/react-svg-loader/pull/244))
- Update to use fully resolved paths for babel plugins ([#209](https://github.com/boopathi/react-svg-loader/pull/209))
## 2.1.0
### Rollup plugin
Two new packages -
- [react-svg-core](/packages/react-svg-core) - shared between webpack loader and rollup plugin
- [rollup-plugin-react-svg](/packages/rollup-plugin-react-svg) - rollup plugin to load `.svg` files as react components
## 2.0.0
### Drops Node 0.12 support & webpack 1 support
Tests are run on Node 4, 6, and 8
### Output change from component class to arrow function
Previously, the output of the react-svg-loader was -
```js
import React from "react";
export default class SVG extends React.Component {
render() {
return ;
}
}
```
and now it is -
```js
import React from "react";
export default props => ;
```
### Overridable classnames (to use with css-modules)
Previously, class values are NOT transformed. Now they are transformed such that the output component can be used with css-modules
```js