Skip to content

Commit 4eb3068

Browse files
committed
Prep for release and update readme
1 parent fd46e25 commit 4eb3068

File tree

9 files changed

+52
-28
lines changed

9 files changed

+52
-28
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ src/**/__tests__/
1414

1515
example/
1616
example.gif
17+
demoAssets/

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
# Change Log
22

3-
## v1.1.0
3+
## 2.0.0
4+
5+
- **BREAKING CHANGES**
6+
7+
- Handle crashes when not a finite number (i.e., `NaN`, `Infinity`, or `-Infinity`) numeric props were passed to the component by overriding them with default values
8+
- Display new warning component in production, it can be overridden with new `dataErrorComponent` prop
9+
- Display warnings in dev mode
10+
- Return errors with new `onDataError` prop that accepts a callback function
11+
12+
- Fixes component height when `arcDegree` prop is more than 180 degrees
13+
- Update example project to latest React Native version 0.78
14+
15+
## 1.2.2
16+
17+
- Dependency updates
18+
- Maintenance
19+
20+
## v1.2.1
421

522
- Use arc calculations to render range values https://github.com/shipt/segmented-arc-for-react-native/pull/86
623
- Arc drawing fix https://github.com/shipt/segmented-arc-for-react-native/pull/87
724
- Readme updates
825

9-
## v1.1.0
26+
## v1.1.1
1027

1128
- Add a support for scaling the display scale of arc segments https://github.com/shipt/segmented-arc-for-react-native/pull/70
1229
- Dependency updates

README.md

Lines changed: 30 additions & 24 deletions
Large diffs are not rendered by default.
File renamed without changes.

demoAssets/example180deg.png

104 KB
Loading

demoAssets/example240deg.png

109 KB
Loading

demoAssets/example360deg.png

116 KB
Loading

example/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@
17461746
nullthrows "^1.1.1"
17471747

17481748
"@shipt/segmented-arc-for-react-native@file:..":
1749-
version "1.2.2"
1749+
version "2.0.0"
17501750
dependencies:
17511751
prop-types "^15.8.1"
17521752

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shipt/segmented-arc-for-react-native",
3-
"version": "1.2.2",
3+
"version": "2.0.0",
44
"type": "module",
55
"description": "Segmented arc component for React Native ",
66
"main": "src/index.js",

0 commit comments

Comments
 (0)