diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d18079..0ca161a2 100644 --- a/CHANGELOG.md +++ b/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. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* allow specifying `jsxRuntimeImport` in config ([86bb86f](https://github.com/gregberge/svgr/commit/86bb86f47748618f729742e56199355d9c0bc518)), closes [#801](https://github.com/gregberge/svgr/issues/801) [#801](https://github.com/gregberge/svgr/issues/801) +* remove @svgr/plugin-jsx from core ([a0f078d](https://github.com/gregberge/svgr/commit/a0f078db13936800a32c14ade08b670a14b5a886)) +* upgrade to svgo v3 ([#798](https://github.com/gregberge/svgr/issues/798)) ([21b6209](https://github.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) + + +### BREAKING CHANGES + +* plugin-jsx is no longer included by default in core +* svgr now requires Node.js v14+ + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/examples/mocha-esm/CHANGELOG.md b/examples/mocha-esm/CHANGELOG.md new file mode 100644 index 00000000..33abb9b3 --- /dev/null +++ b/examples/mocha-esm/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/mocha-esm-example diff --git a/examples/mocha-esm/package.json b/examples/mocha-esm/package.json index 402e2713..a85d4baf 100644 --- a/examples/mocha-esm/package.json +++ b/examples/mocha-esm/package.json @@ -7,5 +7,6 @@ }, "devDependencies": { "mocha": "^10.2.0" - } + }, + "version": "7.0.0" } diff --git a/examples/webpack/CHANGELOG.md b/examples/webpack/CHANGELOG.md new file mode 100644 index 00000000..4eb23828 --- /dev/null +++ b/examples/webpack/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/webpack-example diff --git a/examples/webpack/package.json b/examples/webpack/package.json index d9712104..d21b08ed 100644 --- a/examples/webpack/package.json +++ b/examples/webpack/package.json @@ -5,10 +5,11 @@ "start": "webpack serve" }, "devDependencies": { - "@svgr/webpack": "*", + "@svgr/webpack": "^7.0.0", "html-webpack-plugin": "^5.5.0", "webpack": "^5.76.3", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.13.1" - } + }, + "version": "7.0.0" } diff --git a/lerna.json b/lerna.json index 093d1c8f..89be8313 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,9 @@ { "lerna": "2.9.0", - "packages": ["packages/*", "examples/*"], - "version": "6.5.1", + "packages": [ + "packages/*", + "examples/*" + ], + "version": "7.0.0", "useWorkspaces": true } diff --git a/package-lock.json b/package-lock.json index 4f53492a..31cedbb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,14 +34,16 @@ }, "examples/mocha-esm": { "name": "@svgr/mocha-esm-example", + "version": "7.0.0", "devDependencies": { "mocha": "^10.2.0" } }, "examples/webpack": { "name": "@svgr/webpack-example", + "version": "7.0.0", "devDependencies": { - "@svgr/webpack": "*", + "@svgr/webpack": "^7.0.0", "html-webpack-plugin": "^5.5.0", "webpack": "^5.76.3", "webpack-cli": "^5.0.1", @@ -23622,7 +23624,7 @@ }, "packages/babel-plugin-add-jsx-attribute": { "name": "@svgr/babel-plugin-add-jsx-attribute", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23637,7 +23639,7 @@ }, "packages/babel-plugin-remove-jsx-attribute": { "name": "@svgr/babel-plugin-remove-jsx-attribute", - "version": "6.5.0", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23652,7 +23654,7 @@ }, "packages/babel-plugin-remove-jsx-empty-expression": { "name": "@svgr/babel-plugin-remove-jsx-empty-expression", - "version": "6.5.0", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23667,7 +23669,7 @@ }, "packages/babel-plugin-replace-jsx-attribute-value": { "name": "@svgr/babel-plugin-replace-jsx-attribute-value", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23682,7 +23684,7 @@ }, "packages/babel-plugin-svg-dynamic-title": { "name": "@svgr/babel-plugin-svg-dynamic-title", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23697,7 +23699,7 @@ }, "packages/babel-plugin-svg-em-dimensions": { "name": "@svgr/babel-plugin-svg-em-dimensions", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23712,7 +23714,7 @@ }, "packages/babel-plugin-transform-react-native-svg": { "name": "@svgr/babel-plugin-transform-react-native-svg", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=14" @@ -23727,7 +23729,7 @@ }, "packages/babel-plugin-transform-svg-component": { "name": "@svgr/babel-plugin-transform-svg-component", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "engines": { "node": ">=12" @@ -23742,17 +23744,17 @@ }, "packages/babel-preset": { "name": "@svgr/babel-preset", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { - "@svgr/babel-plugin-add-jsx-attribute": "*", - "@svgr/babel-plugin-remove-jsx-attribute": "*", - "@svgr/babel-plugin-remove-jsx-empty-expression": "*", - "@svgr/babel-plugin-replace-jsx-attribute-value": "*", - "@svgr/babel-plugin-svg-dynamic-title": "*", - "@svgr/babel-plugin-svg-em-dimensions": "*", - "@svgr/babel-plugin-transform-react-native-svg": "*", - "@svgr/babel-plugin-transform-svg-component": "*" + "@svgr/babel-plugin-add-jsx-attribute": "^7.0.0", + "@svgr/babel-plugin-remove-jsx-attribute": "^7.0.0", + "@svgr/babel-plugin-remove-jsx-empty-expression": "^7.0.0", + "@svgr/babel-plugin-replace-jsx-attribute-value": "^7.0.0", + "@svgr/babel-plugin-svg-dynamic-title": "^7.0.0", + "@svgr/babel-plugin-svg-em-dimensions": "^7.0.0", + "@svgr/babel-plugin-transform-react-native-svg": "^7.0.0", + "@svgr/babel-plugin-transform-svg-component": "^7.0.0" }, "engines": { "node": ">=14" @@ -23767,13 +23769,13 @@ }, "packages/cli": { "name": "@svgr/cli", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-prettier": "*", - "@svgr/plugin-svgo": "*", + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-prettier": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0", "camelcase": "^6.2.0", "chalk": "^4.1.2", "commander": "^9.4.1", @@ -23861,11 +23863,11 @@ }, "packages/core": { "name": "@svgr/core", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "@babel/core": "^7.21.3", - "@svgr/babel-preset": "*", + "@svgr/babel-preset": "^7.0.0", "camelcase": "^6.2.0", "cosmiconfig": "^8.1.3" }, @@ -23912,7 +23914,7 @@ }, "packages/hast-util-to-babel-ast": { "name": "@svgr/hast-util-to-babel-ast", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "@babel/types": "^7.21.3", @@ -23931,12 +23933,12 @@ }, "packages/plugin-jsx": { "name": "@svgr/plugin-jsx", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "@babel/core": "^7.21.3", - "@svgr/babel-preset": "*", - "@svgr/hast-util-to-babel-ast": "*", + "@svgr/babel-preset": "^7.0.0", + "@svgr/hast-util-to-babel-ast": "^7.0.0", "svg-parser": "^2.0.4" }, "engines": { @@ -23949,7 +23951,7 @@ }, "packages/plugin-prettier": { "name": "@svgr/plugin-prettier", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "deepmerge": "^4.3.1", @@ -23968,7 +23970,7 @@ }, "packages/plugin-svgo": { "name": "@svgr/plugin-svgo", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "cosmiconfig": "^8.1.3", @@ -24021,7 +24023,7 @@ }, "packages/rollup": { "name": "@svgr/rollup", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "@babel/core": "^7.21.3", @@ -24030,9 +24032,9 @@ "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", "@rollup/pluginutils": "^5.0.2", - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-svgo": "*" + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0" }, "devDependencies": { "rollup": "^3.20.2", @@ -24049,7 +24051,7 @@ }, "packages/webpack": { "name": "@svgr/webpack", - "version": "6.5.1", + "version": "7.0.0", "license": "MIT", "dependencies": { "@babel/core": "^7.21.3", @@ -24057,9 +24059,9 @@ "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-svgo": "*" + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0" }, "devDependencies": { "babel-loader": "^9.1.2", @@ -28078,23 +28080,23 @@ "@svgr/babel-preset": { "version": "file:packages/babel-preset", "requires": { - "@svgr/babel-plugin-add-jsx-attribute": "*", - "@svgr/babel-plugin-remove-jsx-attribute": "*", - "@svgr/babel-plugin-remove-jsx-empty-expression": "*", - "@svgr/babel-plugin-replace-jsx-attribute-value": "*", - "@svgr/babel-plugin-svg-dynamic-title": "*", - "@svgr/babel-plugin-svg-em-dimensions": "*", - "@svgr/babel-plugin-transform-react-native-svg": "*", - "@svgr/babel-plugin-transform-svg-component": "*" + "@svgr/babel-plugin-add-jsx-attribute": "^7.0.0", + "@svgr/babel-plugin-remove-jsx-attribute": "^7.0.0", + "@svgr/babel-plugin-remove-jsx-empty-expression": "^7.0.0", + "@svgr/babel-plugin-replace-jsx-attribute-value": "^7.0.0", + "@svgr/babel-plugin-svg-dynamic-title": "^7.0.0", + "@svgr/babel-plugin-svg-em-dimensions": "^7.0.0", + "@svgr/babel-plugin-transform-react-native-svg": "^7.0.0", + "@svgr/babel-plugin-transform-svg-component": "^7.0.0" } }, "@svgr/cli": { "version": "file:packages/cli", "requires": { - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-prettier": "*", - "@svgr/plugin-svgo": "*", + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-prettier": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0", "@types/glob": "^8.1.0", "camelcase": "^6.2.0", "chalk": "^4.1.2", @@ -28153,7 +28155,7 @@ "version": "file:packages/core", "requires": { "@babel/core": "^7.21.3", - "@svgr/babel-preset": "*", + "@svgr/babel-preset": "^7.0.0", "camelcase": "^6.2.0", "cosmiconfig": "^8.1.3" }, @@ -28202,8 +28204,8 @@ "version": "file:packages/plugin-jsx", "requires": { "@babel/core": "^7.21.3", - "@svgr/babel-preset": "*", - "@svgr/hast-util-to-babel-ast": "*", + "@svgr/babel-preset": "^7.0.0", + "@svgr/hast-util-to-babel-ast": "^7.0.0", "svg-parser": "^2.0.4" } }, @@ -28257,9 +28259,9 @@ "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", "@rollup/pluginutils": "^5.0.2", - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-svgo": "*", + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0", "rollup": "^3.20.2", "rollup-plugin-image": "^1.0.2", "rollup-plugin-url": "^3.0.1" @@ -28273,9 +28275,9 @@ "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-svgo": "*", + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0", "babel-loader": "^9.1.2", "memory-fs": "^0.5.0", "url-loader": "^4.1.1", @@ -28285,7 +28287,7 @@ "@svgr/webpack-example": { "version": "file:examples/webpack", "requires": { - "@svgr/webpack": "*", + "@svgr/webpack": "^7.0.0", "html-webpack-plugin": "^5.5.0", "webpack": "^5.76.3", "webpack-cli": "^5.0.1", diff --git a/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md b/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md index 0603e4d9..b9c60248 100644 --- a/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md +++ b/packages/babel-plugin-add-jsx-attribute/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute diff --git a/packages/babel-plugin-add-jsx-attribute/package.json b/packages/babel-plugin-add-jsx-attribute/package.json index 81aa21e8..1ca46aeb 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md b/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md index f7d36d1c..96a9d502 100644 --- a/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md +++ b/packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-attribute + + + + + # [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14) **Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-attribute diff --git a/packages/babel-plugin-remove-jsx-attribute/package.json b/packages/babel-plugin-remove-jsx-attribute/package.json index 120b6147..752d7fff 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": "6.5.0", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md b/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md index 1fd01149..2ae134cc 100644 --- a/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md +++ b/packages/babel-plugin-remove-jsx-empty-expression/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-empty-expression + + + + + # [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14) **Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-empty-expression diff --git a/packages/babel-plugin-remove-jsx-empty-expression/package.json b/packages/babel-plugin-remove-jsx-empty-expression/package.json index 9760be01..d27ee923 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": "6.5.0", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md b/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md index 5daed1fd..0d95c5b2 100644 --- a/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md +++ b/packages/babel-plugin-replace-jsx-attribute-value/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-replace-jsx-attribute-value + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/babel-plugin-replace-jsx-attribute-value diff --git a/packages/babel-plugin-replace-jsx-attribute-value/package.json b/packages/babel-plugin-replace-jsx-attribute-value/package.json index 90a7c45f..b0715bb1 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md b/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md index 437319e5..2ddbdd76 100644 --- a/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md +++ b/packages/babel-plugin-svg-dynamic-title/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-svg-dynamic-title + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/babel-plugin-svg-dynamic-title diff --git a/packages/babel-plugin-svg-dynamic-title/package.json b/packages/babel-plugin-svg-dynamic-title/package.json index 1e1d4961..8630d6ee 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md b/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md index 7635f448..a6d2300b 100644 --- a/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md +++ b/packages/babel-plugin-svg-em-dimensions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-svg-em-dimensions + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/babel-plugin-svg-em-dimensions diff --git a/packages/babel-plugin-svg-em-dimensions/package.json b/packages/babel-plugin-svg-em-dimensions/package.json index 5c865681..a84902b0 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md b/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md index 448f53ce..2b4f783b 100644 --- a/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md +++ b/packages/babel-plugin-transform-react-native-svg/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-plugin-transform-react-native-svg + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/babel-plugin-transform-react-native-svg diff --git a/packages/babel-plugin-transform-react-native-svg/package.json b/packages/babel-plugin-transform-react-native-svg/package.json index d1e4a725..20ca23c8 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-plugin-transform-svg-component/CHANGELOG.md b/packages/babel-plugin-transform-svg-component/CHANGELOG.md index ecd3409a..4382742a 100644 --- a/packages/babel-plugin-transform-svg-component/CHANGELOG.md +++ b/packages/babel-plugin-transform-svg-component/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* allow specifying `jsxRuntimeImport` in config ([86bb86f](https://github.com/gregberge/svgr/commit/86bb86f47748618f729742e56199355d9c0bc518)), closes [#801](https://github.com/gregberge/svgr/issues/801) [#801](https://github.com/gregberge/svgr/issues/801) + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/babel-plugin-transform-svg-component diff --git a/packages/babel-plugin-transform-svg-component/package.json b/packages/babel-plugin-transform-svg-component/package.json index 624fe9a1..59268c4b 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/babel-preset/CHANGELOG.md b/packages/babel-preset/CHANGELOG.md index 1dc6ad9e..689b1649 100644 --- a/packages/babel-preset/CHANGELOG.md +++ b/packages/babel-preset/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/babel-preset + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/packages/babel-preset/package.json b/packages/babel-preset/package.json index e39da982..31b62d44 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { @@ -30,14 +30,14 @@ }, "license": "MIT", "dependencies": { - "@svgr/babel-plugin-add-jsx-attribute": "*", - "@svgr/babel-plugin-remove-jsx-attribute": "*", - "@svgr/babel-plugin-remove-jsx-empty-expression": "*", - "@svgr/babel-plugin-replace-jsx-attribute-value": "*", - "@svgr/babel-plugin-svg-dynamic-title": "*", - "@svgr/babel-plugin-svg-em-dimensions": "*", - "@svgr/babel-plugin-transform-react-native-svg": "*", - "@svgr/babel-plugin-transform-svg-component": "*" + "@svgr/babel-plugin-add-jsx-attribute": "^7.0.0", + "@svgr/babel-plugin-remove-jsx-attribute": "^7.0.0", + "@svgr/babel-plugin-remove-jsx-empty-expression": "^7.0.0", + "@svgr/babel-plugin-replace-jsx-attribute-value": "^7.0.0", + "@svgr/babel-plugin-svg-dynamic-title": "^7.0.0", + "@svgr/babel-plugin-svg-em-dimensions": "^7.0.0", + "@svgr/babel-plugin-transform-react-native-svg": "^7.0.0", + "@svgr/babel-plugin-transform-svg-component": "^7.0.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 47b695f8..7311bec4 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* upgrade to svgo v3 ([#798](https://github.com/gregberge/svgr/issues/798)) ([21b6209](https://github.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) + + +### BREAKING CHANGES + +* svgr now requires Node.js v14+ + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/packages/cli/package.json b/packages/cli/package.json index 6370a42d..6afdd729 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/cli", "description": "SVGR command line.", - "version": "6.5.1", + "version": "7.0.0", "repository": "https://github.com/gregberge/svgr/tree/main/packages/cli", "author": "Greg Bergé ", "publishConfig": { @@ -31,10 +31,10 @@ "prepublishOnly": "npm run reset && npm run build" }, "dependencies": { - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-prettier": "*", - "@svgr/plugin-svgo": "*", + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-prettier": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0", "camelcase": "^6.2.0", "chalk": "^4.1.2", "commander": "^9.4.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 23ec61e1..2f6080a7 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. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* allow specifying `jsxRuntimeImport` in config ([86bb86f](https://github.com/gregberge/svgr/commit/86bb86f47748618f729742e56199355d9c0bc518)), closes [#801](https://github.com/gregberge/svgr/issues/801) [#801](https://github.com/gregberge/svgr/issues/801) +* remove @svgr/plugin-jsx from core ([a0f078d](https://github.com/gregberge/svgr/commit/a0f078db13936800a32c14ade08b670a14b5a886)) +* upgrade to svgo v3 ([#798](https://github.com/gregberge/svgr/issues/798)) ([21b6209](https://github.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) + + +### BREAKING CHANGES + +* plugin-jsx is no longer included by default in core +* svgr now requires Node.js v14+ + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/packages/core/package.json b/packages/core/package.json index c994e7ea..b5453d7b 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { @@ -39,7 +39,7 @@ }, "dependencies": { "@babel/core": "^7.21.3", - "@svgr/babel-preset": "*", + "@svgr/babel-preset": "^7.0.0", "camelcase": "^6.2.0", "cosmiconfig": "^8.1.3" } diff --git a/packages/hast-util-to-babel-ast/CHANGELOG.md b/packages/hast-util-to-babel-ast/CHANGELOG.md index fcb152fe..ebc693e7 100644 --- a/packages/hast-util-to-babel-ast/CHANGELOG.md +++ b/packages/hast-util-to-babel-ast/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/hast-util-to-babel-ast + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/hast-util-to-babel-ast diff --git a/packages/hast-util-to-babel-ast/package.json b/packages/hast-util-to-babel-ast/package.json index 5d06fb66..13646db6 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/plugin-jsx/CHANGELOG.md b/packages/plugin-jsx/CHANGELOG.md index d0796813..de85a424 100644 --- a/packages/plugin-jsx/CHANGELOG.md +++ b/packages/plugin-jsx/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* allow specifying `jsxRuntimeImport` in config ([86bb86f](https://github.com/gregberge/svgr/commit/86bb86f47748618f729742e56199355d9c0bc518)), closes [#801](https://github.com/gregberge/svgr/issues/801) [#801](https://github.com/gregberge/svgr/issues/801) + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/packages/plugin-jsx/package.json b/packages/plugin-jsx/package.json index aa710258..242f2f8a 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { @@ -35,8 +35,8 @@ }, "dependencies": { "@babel/core": "^7.21.3", - "@svgr/babel-preset": "*", - "@svgr/hast-util-to-babel-ast": "*", + "@svgr/babel-preset": "^7.0.0", + "@svgr/hast-util-to-babel-ast": "^7.0.0", "svg-parser": "^2.0.4" } } diff --git a/packages/plugin-prettier/CHANGELOG.md b/packages/plugin-prettier/CHANGELOG.md index 40e4cedc..543650c6 100644 --- a/packages/plugin-prettier/CHANGELOG.md +++ b/packages/plugin-prettier/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + +**Note:** Version bump only for package @svgr/plugin-prettier + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/plugin-prettier diff --git a/packages/plugin-prettier/package.json b/packages/plugin-prettier/package.json index 715d5f0d..9b9d29a9 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/plugin-svgo/CHANGELOG.md b/packages/plugin-svgo/CHANGELOG.md index 1fa3b125..203d8477 100644 --- a/packages/plugin-svgo/CHANGELOG.md +++ b/packages/plugin-svgo/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* upgrade to svgo v3 ([#798](https://github.com/gregberge/svgr/issues/798)) ([21b6209](https://github.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) + + +### BREAKING CHANGES + +* svgr now requires Node.js v14+ + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) **Note:** Version bump only for package @svgr/plugin-svgo diff --git a/packages/plugin-svgo/package.json b/packages/plugin-svgo/package.json index 7fbdb2e1..2a7ef958 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": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/packages/rollup/CHANGELOG.md b/packages/rollup/CHANGELOG.md index 005e52d2..32b73376 100644 --- a/packages/rollup/CHANGELOG.md +++ b/packages/rollup/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* upgrade to svgo v3 ([#798](https://github.com/gregberge/svgr/issues/798)) ([21b6209](https://github.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) + + +### BREAKING CHANGES + +* svgr now requires Node.js v14+ + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/packages/rollup/package.json b/packages/rollup/package.json index d6c681c7..047906e0 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/rollup", "description": "SVGR Rollup plugin.", - "version": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { @@ -44,9 +44,9 @@ "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", "@rollup/pluginutils": "^5.0.2", - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-svgo": "*" + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0" }, "devDependencies": { "rollup": "^3.20.2", diff --git a/packages/webpack/CHANGELOG.md b/packages/webpack/CHANGELOG.md index 06e3bc9d..fcaa0823 100644 --- a/packages/webpack/CHANGELOG.md +++ b/packages/webpack/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24) + + +### Features + +* upgrade to svgo v3 ([#798](https://github.com/gregberge/svgr/issues/798)) ([21b6209](https://github.com/gregberge/svgr/commit/21b6209ef34c51cc0313901f31061afe587ab29b)) + + +### BREAKING CHANGES + +* svgr now requires Node.js v14+ + + + + + ## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) ### Reverts diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 39f248f3..11d29233 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -1,7 +1,7 @@ { "name": "@svgr/webpack", "description": "SVGR webpack loader.", - "version": "6.5.1", + "version": "7.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { @@ -43,9 +43,9 @@ "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", - "@svgr/core": "*", - "@svgr/plugin-jsx": "*", - "@svgr/plugin-svgo": "*" + "@svgr/core": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0" }, "devDependencies": { "babel-loader": "^9.1.2",