v2.0.0 (UNPUBLISHED)
[2.0.0] - 2018-08-22
Bump v2.0.0 🎉
Changed
- Code cleanup, minor enhancements.
Removed
- Removed the
FontSizeconstants.
[2.0.0-beta.6] - 2018-08-21
Added
- New function
flatHeightsto calculate the height of multiple strings at once, much faster thanmeasure. - Revised REAME. Now it's clearer, part of its content moved to the Wiki.
- Docummented the iOS only properties
capHeightandxHeightfrom thefontFromSpecsresult. - New flag
usePreciseWidth(defaultfalse) request the most accurate calculation of the width (Android) and the value oflastWidth(both), but its is a bit slower.
Changed
- iOS: The
specsForTextStylesfunction returns fontSize amd letterSpacing with unscaled values, to allow the use withallowFontScaling.
Removed
- To avoid interfering with the change tracking of rnTextSize, this application was moved to its own repository.
Fixed
- Android:
Arguments.fromListdoes not exists in RN 0.52, replaced withArguments.fromArray - iOS: Fixes to errors in the sample App that prevented if from running in iOS.