Releases: shipt/segmented-arc-for-react-native
Releases · shipt/segmented-arc-for-react-native
v2.0.0
-
BREAKING CHANGES
- 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- Display new warning component in production, it can be overridden with new
dataErrorComponent
prop - Display warnings in dev mode
- Return errors with new
onDataError
prop that accepts a callback function
- Display new warning component in production, it can be overridden with new
- Handle crashes when not a finite number (i.e.,
-
Fixes component height when
arcDegree
prop is higher than 180 degrees -
Update example project to latest React Native version 0.78
What's Changed
- Remove .isRequired from emptyColor prop by @crosenfrisk in #101
- Restored .isRequired by @crosenfrisk in #102
- Bump fast-xml-parser from 4.3.6 to 4.4.1 in /example by @dependabot in #100
- Bump rexml from 3.2.8 to 3.3.6 in /example by @dependabot in #105
- Bump micromatch from 4.0.4 to 4.0.8 by @dependabot in #106
- Bump serve-static from 1.14.1 to 1.16.0 by @dependabot in #107
- Bump micromatch from 4.0.5 to 4.0.8 in /example by @dependabot in #108
- Bump rexml from 3.3.6 to 3.3.9 in /example by @dependabot in #110
- Bump fast-xml-parser from 4.3.6 to 4.5.0 by @dependabot in #109
- Bump serve-static from 1.15.0 to 1.16.2 in /example by @dependabot in #111
- Bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #112
- Bump cross-spawn from 7.0.3 to 7.0.6 in /example by @dependabot in #113
- Handle Invalid scale and arcDegreeScale values in segments to avoid crash by @roni-castro-shipt in #114
- fix(arcDegree) - Convert offsetAngle to radians to increase height correctly by @ikedadenis in #116
- Handle invalid numeric props that can cause a crash by @roni-castro-shipt in #117
- Upgrade RN version to 0.78 by @jkhusanov in #118
- Release 2.0.0 by @jkhusanov in #119
New Contributors
- @crosenfrisk made their first contribution in #101
- @ikedadenis made their first contribution in #116
Full Changelog: v1.2.2...v2.0.0
v1.2.2
What's Changed
- Bump rexml from 3.2.6 to 3.2.8 in /example by @dependabot in #92
- Bump ws from 6.2.2 to 6.2.3 by @dependabot in #94
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #93
- Bump ws from 6.2.2 to 6.2.3 in /example by @dependabot in #95
- Bump braces from 3.0.2 to 3.0.3 in /example by @dependabot in #96
- Remove deploy config by @jkhusanov in #97
- Increment package version by @jkhusanov in #98
- Release 1.2.2 by @jkhusanov in #99
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- Sync with main by @jkhusanov in #80
- draw segments in two strokes by @rkyle35242 in #87
- readme update by @rkyle35242 in #85
- use arc calculations to render range values by @rkyle35242 in #86
- Version update to 1.2.1 by @jkhusanov in #90
- Release 1.2.1 by @jkhusanov in #91
Full Changelog: v1.1.1...v1.2.1