You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,23 @@
2
2
3
3
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
5
-
## \[2.1.0] - 2019-01-10
5
+
## \[3.0.0] - 2019-01-10
6
+
7
+
### Added
8
+
9
+
- Support `textTransform:uppercase` for specsForTextStyles in Android.
10
+
11
+
### Changed
12
+
13
+
- peerDependency on react-native to >=57.0
14
+
- Update gradle files to be consistent with RN 0.57
Change the `compile` directive to `implementation` in the dependencies block of the android/app/build.gradle file.
47
+
46
48
**Requirements:**
47
49
48
-
- React Native v0.52 to v0.56.
50
+
- React Native v0.57 or later.
49
51
- Android API 16 or iOS 9.0 and above.
50
52
51
-
If you are using Gradle 4 or later, don't forget to change the `compile` directive to `implementation` in the dependencies block of the android/app/build.gradle file.
53
+
For versions prior to 0.56 of React Native, please use react-native-text-size v2.1.0
52
54
53
55
See [Manual Installation][2] on the Wiki as an alternative if you have problems with automatic installation.
54
56
@@ -95,7 +97,7 @@ fontSize | number | 14 | The default font size comes from RN.
95
97
fontStyle | string | 'normal' | One of "normal" or "italic".
96
98
fontVariant | array | (none) | _iOS only_
97
99
allowFontScaling | boolean | true | To respect the user' setting of large fonts (i.e. use SP units).
98
-
letterSpacing | number | (none) | Additional spacing between characters (aka `tracking`).<br>**Note:** In iOS a zero cancels automatic kerning.<br>_All iOS, Android with API 21+ and RN 0.55+_
100
+
letterSpacing | number | (none) | Additional spacing between characters (aka `tracking`).<br>**Note:** In iOS a zero cancels automatic kerning.<br>_All iOS, Android with API 21+_
99
101
includeFontPadding | boolean | true | Include additional top and bottom padding, to avoid clipping certain characters.<br>_Android only_
100
102
textBreakStrategy | string | 'highQuality' | One of 'simple', 'balanced', or 'highQuality'.<br>_Android only, with API 23+_
101
103
width | number | MAX_INT | Restrict the width. The resulting height will vary depending on the automatic flow of the text.
0 commit comments