diff --git a/CHANGELOG.md b/CHANGELOG.md index e5d48ec5..69b0c2c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,31 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Bug Fixes + +* prevent babel read babel.config.js ([#206](https://github.com/smooth-code/svgr/issues/206)) ([514d43d](https://github.com/smooth-code/svgr/commit/514d43d)) +* **cli:** fix --out-dir usage with absolute path ([#208](https://github.com/smooth-code/svgr/issues/208)) ([c922e2e](https://github.com/smooth-code/svgr/commit/c922e2e)) + + +### Features + +* **svgo:** prefix ids by default ([06c338d](https://github.com/smooth-code/svgr/commit/06c338d)), closes [#210](https://github.com/smooth-code/svgr/issues/210) +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) +* allow dynamic properties in replaceAttrValues option ([15f55fe](https://github.com/smooth-code/svgr/commit/15f55fe)), closes [#205](https://github.com/smooth-code/svgr/issues/205) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default + + + + + # [3.1.0](https://github.com/smooth-code/svgr/compare/v3.0.0...v3.1.0) (2018-10-05) diff --git a/lerna.json b/lerna.json index 6bf09e39..ba5069e0 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages": [ "packages/*" ], - "version": "3.1.0", + "version": "4.0.0", "npmClient": "yarn", "useWorkspaces": true } diff --git a/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md b/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-add-jsx-attribute/package.json b/packages/babel-plugin-add-jsx-attribute/package.json index 3e18ebae..f87b18d1 100644 --- a/packages/babel-plugin-add-jsx-attribute/package.json +++ b/packages/babel-plugin-add-jsx-attribute/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-add-jsx-attribute", "description": "Add JSX attribute", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md b/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-remove-jsx-attribute/package.json b/packages/babel-plugin-remove-jsx-attribute/package.json index 99564613..09d41eae 100644 --- a/packages/babel-plugin-remove-jsx-attribute/package.json +++ b/packages/babel-plugin-remove-jsx-attribute/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-remove-jsx-attribute", "description": "Remove JSX attribute", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md b/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-remove-jsx-empty-expression/package.json b/packages/babel-plugin-remove-jsx-empty-expression/package.json index 8b516dac..1ef05184 100644 --- a/packages/babel-plugin-remove-jsx-empty-expression/package.json +++ b/packages/babel-plugin-remove-jsx-empty-expression/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-remove-jsx-empty-expression", "description": "Remove JSX empty expression", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md b/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md new file mode 100644 index 00000000..d5c52ce3 --- /dev/null +++ b/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md @@ -0,0 +1,18 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) +* allow dynamic properties in replaceAttrValues option ([15f55fe](https://github.com/smooth-code/svgr/commit/15f55fe)), closes [#205](https://github.com/smooth-code/svgr/issues/205) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-replace-jsx-attribute-value/package.json b/packages/babel-plugin-replace-jsx-attribute-value/package.json index f3f44c60..abe32951 100644 --- a/packages/babel-plugin-replace-jsx-attribute-value/package.json +++ b/packages/babel-plugin-replace-jsx-attribute-value/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-replace-jsx-attribute-value", "description": "Replace JSX attribute value", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md b/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-svg-dynamic-title/package.json b/packages/babel-plugin-svg-dynamic-title/package.json index 6c451e44..1189fb7d 100644 --- a/packages/babel-plugin-svg-dynamic-title/package.json +++ b/packages/babel-plugin-svg-dynamic-title/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-svg-dynamic-title", "description": "Transform SVG by adding a dynamic title element", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md b/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-svg-em-dimensions/package.json b/packages/babel-plugin-svg-em-dimensions/package.json index 26f8feb3..cc343dd1 100644 --- a/packages/babel-plugin-svg-em-dimensions/package.json +++ b/packages/babel-plugin-svg-em-dimensions/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-svg-em-dimensions", "description": "Transform SVG to use em-based dimensions", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md b/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-transform-react-native-svg/package.json b/packages/babel-plugin-transform-react-native-svg/package.json index bd970451..5803cd66 100644 --- a/packages/babel-plugin-transform-react-native-svg/package.json +++ b/packages/babel-plugin-transform-react-native-svg/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-transform-react-native-svg", "description": "Transform DOM elements into react-native-svg components", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-plugin-transform-svg-component/CHANGELOG.md b/packages/babel-plugin-transform-svg-component/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/babel-plugin-transform-svg-component/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-plugin-transform-svg-component/package.json b/packages/babel-plugin-transform-svg-component/package.json index 8228ea4d..c3b9c575 100644 --- a/packages/babel-plugin-transform-svg-component/package.json +++ b/packages/babel-plugin-transform-svg-component/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-plugin-transform-svg-component", "description": "Transform SVG into component", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/babel-preset/CHANGELOG.md b/packages/babel-preset/CHANGELOG.md new file mode 100644 index 00000000..d5c52ce3 --- /dev/null +++ b/packages/babel-preset/CHANGELOG.md @@ -0,0 +1,18 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) +* allow dynamic properties in replaceAttrValues option ([15f55fe](https://github.com/smooth-code/svgr/commit/15f55fe)), closes [#205](https://github.com/smooth-code/svgr/issues/205) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/babel-preset/package.json b/packages/babel-preset/package.json index 5d00e725..62d72dc3 100644 --- a/packages/babel-preset/package.json +++ b/packages/babel-preset/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/babel-preset", "description": "SVGR preset that apply transformations from config", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", @@ -22,13 +22,13 @@ "prepublishOnly": "yarn run build" }, "dependencies": { - "@svgr/babel-plugin-add-jsx-attribute": "^3.1.0", - "@svgr/babel-plugin-remove-jsx-attribute": "^3.1.0", - "@svgr/babel-plugin-remove-jsx-empty-expression": "^3.1.0", - "@svgr/babel-plugin-replace-jsx-attribute-value": "^3.1.0", - "@svgr/babel-plugin-svg-dynamic-title": "^3.1.0", - "@svgr/babel-plugin-svg-em-dimensions": "^3.1.0", - "@svgr/babel-plugin-transform-react-native-svg": "^3.1.0", - "@svgr/babel-plugin-transform-svg-component": "^3.1.0" + "@svgr/babel-plugin-add-jsx-attribute": "^4.0.0", + "@svgr/babel-plugin-remove-jsx-attribute": "^4.0.0", + "@svgr/babel-plugin-remove-jsx-empty-expression": "^4.0.0", + "@svgr/babel-plugin-replace-jsx-attribute-value": "^4.0.0", + "@svgr/babel-plugin-svg-dynamic-title": "^4.0.0", + "@svgr/babel-plugin-svg-em-dimensions": "^4.0.0", + "@svgr/babel-plugin-transform-react-native-svg": "^4.0.0", + "@svgr/babel-plugin-transform-svg-component": "^4.0.0" } } diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 97eb67cf..6c24f8e6 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Bug Fixes + +* **cli:** fix --out-dir usage with absolute path ([#208](https://github.com/smooth-code/svgr/issues/208)) ([c922e2e](https://github.com/smooth-code/svgr/commit/c922e2e)) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default + + + + + # [3.1.0](https://github.com/smooth-code/svgr/compare/v3.0.0...v3.1.0) (2018-10-05) diff --git a/packages/cli/package.json b/packages/cli/package.json index 48e26ecc..bee7efce 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/cli", "description": "SVGR command line.", - "version": "3.1.0", + "version": "4.0.0", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", "publishConfig": { @@ -26,10 +26,10 @@ "prepublishOnly": "yarn run build" }, "dependencies": { - "@svgr/core": "^3.1.0", - "@svgr/plugin-jsx": "^3.1.0", - "@svgr/plugin-prettier": "^3.1.0", - "@svgr/plugin-svgo": "^3.1.0", + "@svgr/core": "^4.0.0", + "@svgr/plugin-jsx": "^4.0.0", + "@svgr/plugin-prettier": "^4.0.0", + "@svgr/plugin-svgo": "^4.0.0", "camelcase": "^5.0.0", "chalk": "^2.4.1", "commander": "^2.19.0", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 1b81ef74..8e968a1a 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **svgo:** prefix ids by default ([06c338d](https://github.com/smooth-code/svgr/commit/06c338d)), closes [#210](https://github.com/smooth-code/svgr/issues/210) +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) +* allow dynamic properties in replaceAttrValues option ([15f55fe](https://github.com/smooth-code/svgr/commit/15f55fe)), closes [#205](https://github.com/smooth-code/svgr/issues/205) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default + + + + + # [3.1.0](https://github.com/smooth-code/svgr/compare/v3.0.0...v3.1.0) (2018-10-05) diff --git a/packages/core/package.json b/packages/core/package.json index ea998495..ee6eaf1a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/core", "description": "Transform SVG into React Components.", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", @@ -25,7 +25,7 @@ "prepublishOnly": "yarn run build" }, "dependencies": { - "@svgr/plugin-jsx": "^3.1.0", + "@svgr/plugin-jsx": "^4.0.0", "camelcase": "^5.0.0", "cosmiconfig": "^5.0.6" } diff --git a/packages/hast-util-to-babel-ast/CHANGELOG.md b/packages/hast-util-to-babel-ast/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/hast-util-to-babel-ast/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/hast-util-to-babel-ast/package.json b/packages/hast-util-to-babel-ast/package.json index 230ccf04..ec63b7c8 100644 --- a/packages/hast-util-to-babel-ast/package.json +++ b/packages/hast-util-to-babel-ast/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/hast-util-to-babel-ast", "description": "Transform HAST to Babel AST (JSX)", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/plugin-jsx/CHANGELOG.md b/packages/plugin-jsx/CHANGELOG.md new file mode 100644 index 00000000..7b2b3d6a --- /dev/null +++ b/packages/plugin-jsx/CHANGELOG.md @@ -0,0 +1,18 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **svgo:** prefix ids by default ([06c338d](https://github.com/smooth-code/svgr/commit/06c338d)), closes [#210](https://github.com/smooth-code/svgr/issues/210) +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/plugin-jsx/package.json b/packages/plugin-jsx/package.json index 012ed836..fd86fafb 100644 --- a/packages/plugin-jsx/package.json +++ b/packages/plugin-jsx/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/plugin-jsx", "description": "Transform SVG into JSX", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", @@ -22,8 +22,8 @@ }, "dependencies": { "@babel/core": "^7.1.2", - "@svgr/babel-preset": "^3.1.0", - "@svgr/hast-util-to-babel-ast": "^3.1.0", + "@svgr/babel-preset": "^4.0.0", + "@svgr/hast-util-to-babel-ast": "^4.0.0", "rehype-parse": "^5.0.0", "unified": "^7.0.1", "vfile": "^3.0.1" diff --git a/packages/plugin-prettier/CHANGELOG.md b/packages/plugin-prettier/CHANGELOG.md new file mode 100644 index 00000000..dc913889 --- /dev/null +++ b/packages/plugin-prettier/CHANGELOG.md @@ -0,0 +1,17 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/plugin-prettier/package.json b/packages/plugin-prettier/package.json index 7e95c0a3..b16252fd 100644 --- a/packages/plugin-prettier/package.json +++ b/packages/plugin-prettier/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/plugin-prettier", "description": "Format code using Prettier", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/plugin-svgo/CHANGELOG.md b/packages/plugin-svgo/CHANGELOG.md new file mode 100644 index 00000000..7b2b3d6a --- /dev/null +++ b/packages/plugin-svgo/CHANGELOG.md @@ -0,0 +1,18 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **svgo:** prefix ids by default ([06c338d](https://github.com/smooth-code/svgr/commit/06c338d)), closes [#210](https://github.com/smooth-code/svgr/issues/210) +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default diff --git a/packages/plugin-svgo/package.json b/packages/plugin-svgo/package.json index 7a4087c3..3bc54516 100644 --- a/packages/plugin-svgo/package.json +++ b/packages/plugin-svgo/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/plugin-svgo", "description": "Optimize SVG", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", diff --git a/packages/rollup/CHANGELOG.md b/packages/rollup/CHANGELOG.md index d68faf4c..437d9fc9 100644 --- a/packages/rollup/CHANGELOG.md +++ b/packages/rollup/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Features + +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default + + + + + # [3.1.0](https://github.com/smooth-code/svgr/compare/v3.0.0...v3.1.0) (2018-10-05) diff --git a/packages/rollup/package.json b/packages/rollup/package.json index b5906d49..c7d3289b 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/rollup", "description": "SVGR Rollup plugin.", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", @@ -29,9 +29,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.0.0", "@babel/preset-env": "^7.1.0", "@babel/preset-react": "^7.0.0", - "@svgr/core": "^3.1.0", - "@svgr/plugin-jsx": "^3.1.0", - "@svgr/plugin-svgo": "^3.1.0", + "@svgr/core": "^4.0.0", + "@svgr/plugin-jsx": "^4.0.0", + "@svgr/plugin-svgo": "^4.0.0", "rollup-pluginutils": "^2.3.3" }, "devDependencies": { diff --git a/packages/webpack/CHANGELOG.md b/packages/webpack/CHANGELOG.md index 882d5fee..05c1efdd 100644 --- a/packages/webpack/CHANGELOG.md +++ b/packages/webpack/CHANGELOG.md @@ -3,6 +3,29 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) + + +### Bug Fixes + +* prevent babel read babel.config.js ([#206](https://github.com/smooth-code/svgr/issues/206)) ([514d43d](https://github.com/smooth-code/svgr/commit/514d43d)) + + +### Features + +* **svgo:** prefix ids by default ([06c338d](https://github.com/smooth-code/svgr/commit/06c338d)), closes [#210](https://github.com/smooth-code/svgr/issues/210) +* **v4:** new architecture ([ac8b8ca](https://github.com/smooth-code/svgr/commit/ac8b8ca)) + + +### BREAKING CHANGES + +* **v4:** - `template` option must now returns a Babel AST +- `@svgr/core` does not include svgo & prettier by default + + + + + # [3.1.0](https://github.com/smooth-code/svgr/compare/v3.0.0...v3.1.0) (2018-10-05) **Note:** Version bump only for package @svgr/webpack diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 3d5407a4..ea9c08b0 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/webpack", "description": "SVGR webpack loader.", - "version": "3.1.0", + "version": "4.0.0", "main": "lib/index.js", "repository": "git@github.com:smooth-code/svgr.git", "author": "Greg Bergé ", @@ -29,9 +29,9 @@ "@babel/plugin-transform-react-constant-elements": "^7.0.0", "@babel/preset-env": "^7.1.0", "@babel/preset-react": "^7.0.0", - "@svgr/core": "^3.1.0", - "@svgr/plugin-jsx": "^3.1.0", - "@svgr/plugin-svgo": "^3.1.0", + "@svgr/core": "^4.0.0", + "@svgr/plugin-jsx": "^4.0.0", + "@svgr/plugin-svgo": "^4.0.0", "loader-utils": "^1.1.0" }, "devDependencies": {