Skip to content

Commit

Permalink
v8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed May 9, 2023
1 parent 095f021 commit 52a1079
Show file tree
Hide file tree
Showing 41 changed files with 217 additions and 24 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)


### Bug Fixes

* parseObject error causes website broken ([05f2946](https://github.com/gregberge/svgr/commit/05f2946d90b194eac17d51ca0562d13e9ed0c995))


### Features

* add snake_case filename option ([#857](https://github.com/gregberge/svgr/issues/857)) ([428b0c7](https://github.com/gregberge/svgr/commit/428b0c7f4c5205bb67ae3e9e7c7e819ec3fc03ba))
* make index template more flexible ([#861](https://github.com/gregberge/svgr/issues/861)) ([003009c](https://github.com/gregberge/svgr/commit/003009c7b234cfe66686b629d3251edb8d46c759))
* **types:** change `SVGProps` from import to import type ([#853](https://github.com/gregberge/svgr/issues/853)) ([095f021](https://github.com/gregberge/svgr/commit/095f0216288ccb5b96a75f154fe3aead074bfa99))


### BREAKING CHANGES

* index template now receives an array of objects containing both the created
component path (`path`) and the original SVG path (`originalPath`)





# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24)


Expand Down
8 changes: 8 additions & 0 deletions examples/mocha-esm/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/mocha-esm-example





# [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
2 changes: 1 addition & 1 deletion examples/mocha-esm/package.json
Expand Up @@ -8,5 +8,5 @@
"devDependencies": {
"mocha": "^10.2.0"
},
"version": "7.0.0"
"version": "8.0.0"
}
8 changes: 8 additions & 0 deletions examples/webpack/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/webpack-example





# [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
8 changes: 4 additions & 4 deletions examples/webpack/package.json
Expand Up @@ -5,12 +5,12 @@
"start": "webpack serve"
},
"devDependencies": {
"@svgr/webpack": "^7.0.0",
"@svgr/webpack": "^8.0.0",
"html-webpack-plugin": "^5.5.0",
"url-loader": "^4.1.1",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.1",
"url-loader": "^4.1.1"
"webpack-dev-server": "^4.13.1"
},
"version": "7.0.0"
"version": "8.0.0"
}
2 changes: 1 addition & 1 deletion lerna.json
@@ -1,6 +1,6 @@
{
"lerna": "2.9.0",
"version": "7.0.0",
"version": "8.0.0",
"npmClient": "pnpm",
"useWorkspaces": true
}
8 changes: 8 additions & 0 deletions packages/babel-plugin-add-jsx-attribute/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute





# [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
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-add-jsx-attribute/package.json
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-add-jsx-attribute",
"description": "Add JSX attribute",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-attribute





# [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
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-remove-jsx-attribute/package.json
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-remove-jsx-attribute",
"description": "Remove JSX attribute",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-empty-expression





# [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
Expand Down
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-remove-jsx-empty-expression",
"description": "Remove JSX empty expression",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-replace-jsx-attribute-value





# [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
Expand Down
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-replace-jsx-attribute-value",
"description": "Replace JSX attribute value",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-svg-dynamic-title/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-svg-dynamic-title





# [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
Expand Down
2 changes: 1 addition & 1 deletion 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": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-svg-em-dimensions/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-svg-em-dimensions





# [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
Expand Down
2 changes: 1 addition & 1 deletion 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": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-transform-react-native-svg/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-plugin-transform-react-native-svg





# [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
Expand Down
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-transform-react-native-svg",
"description": "Transform DOM elements into react-native-svg components",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
11 changes: 11 additions & 0 deletions packages/babel-plugin-transform-svg-component/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)


### Features

* **types:** change `SVGProps` from import to import type ([#853](https://github.com/gregberge/svgr/issues/853)) ([095f021](https://github.com/gregberge/svgr/commit/095f0216288ccb5b96a75f154fe3aead074bfa99))





# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24)


Expand Down
2 changes: 1 addition & 1 deletion 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": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-preset/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/babel-preset





# [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
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-preset",
"description": "SVGR preset that apply transformations from config",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
19 changes: 19 additions & 0 deletions packages/cli/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)


### Features

* add snake_case filename option ([#857](https://github.com/gregberge/svgr/issues/857)) ([428b0c7](https://github.com/gregberge/svgr/commit/428b0c7f4c5205bb67ae3e9e7c7e819ec3fc03ba))
* make index template more flexible ([#861](https://github.com/gregberge/svgr/issues/861)) ([003009c](https://github.com/gregberge/svgr/commit/003009c7b234cfe66686b629d3251edb8d46c759))
* **types:** change `SVGProps` from import to import type ([#853](https://github.com/gregberge/svgr/issues/853)) ([095f021](https://github.com/gregberge/svgr/commit/095f0216288ccb5b96a75f154fe3aead074bfa99))


### BREAKING CHANGES

* index template now receives an array of objects containing both the created
component path (`path`) and the original SVG path (`originalPath`)





# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24)


Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
@@ -1,7 +1,7 @@
{
"name": "@svgr/cli",
"description": "SVGR command line.",
"version": "7.0.0",
"version": "8.0.0",
"repository": "https://github.com/gregberge/svgr/tree/main/packages/cli",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
11 changes: 11 additions & 0 deletions packages/core/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)


### Features

* add snake_case filename option ([#857](https://github.com/gregberge/svgr/issues/857)) ([428b0c7](https://github.com/gregberge/svgr/commit/428b0c7f4c5205bb67ae3e9e7c7e819ec3fc03ba))





# [7.0.0](https://github.com/gregberge/svgr/compare/v6.5.1...v7.0.0) (2023-03-24)


Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
@@ -1,7 +1,7 @@
{
"name": "@svgr/core",
"description": "Transform SVG into React Components.",
"version": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down
8 changes: 8 additions & 0 deletions packages/hast-util-to-babel-ast/CHANGELOG.md
Expand Up @@ -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.

# [8.0.0](https://github.com/gregberge/svgr/compare/v7.0.0...v8.0.0) (2023-05-09)

**Note:** Version bump only for package @svgr/hast-util-to-babel-ast





# [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
Expand Down
2 changes: 1 addition & 1 deletion 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": "7.0.0",
"version": "8.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand Down

1 comment on commit 52a1079

@vercel
Copy link

@vercel vercel bot commented on 52a1079 May 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svgr – ./

svgr-gregberge.vercel.app
api.react-svgr.com
svgr-git-main-gregberge.vercel.app

Please sign in to comment.