Skip to content

Commit 18741a9

Browse files
committed
5.0.0
1 parent 2f0373b commit 18741a9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog of `react-from-svg`
22

3+
## 5.0.0 - 2021-05-04
4+
5+
### Breaking change for all users
6+
7+
Some alias have been replaced. Please check the README for more information.
8+
9+
### Breaking change for user of `--with-**-reason` options
10+
11+
ReasonML output has been replaced by ReScript. This means:
12+
13+
- `--with-native-for-reason` has been replaced by `--with-native-for-rescript`
14+
- `--with-web-for-reason` has been replaced by `--with-web-for-rescript`
15+
16+
Output is now ReScript code that works with `@rescript/react`, `rescript-react-native` and `@rescript-react-native/svg`.
17+
18+
See <https://rescript-react-native.github.io/blog/2021-05-04-hello-rescript-react-native> for more informations.
19+
320
## 4.0.6 - 2020-08-08
421

522
- `--with-native-for-reason`: Fixed unwanted props transformation (eg: opacity) [b69604f](https://github.com/MoOx/react-from-svg/commit/b69604f) by [@MoOx](https://github.com/MoOx)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-from-svg",
33
"description": "Transform SVG files into React components, Native and/or Web, JavaScript and ReScript. Without shitload of dependencies.",
4-
"version": "4.0.6",
4+
"version": "5.0.0",
55
"license": "MIT",
66
"repository": "https://github.com/MoOx/react-from-svg",
77
"keywords": [

0 commit comments

Comments
 (0)