v2.0.0 (UNPUBLISHED)
[2.0.0] - 2018-08-22
Bump v2.0.0 🎉
Changed
- Code cleanup, minor enhancements.
Removed
- Removed the
FontSize
constants.
[2.0.0-beta.6] - 2018-08-21
Added
- New function
flatHeights
to 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
capHeight
andxHeight
from thefontFromSpecs
result. - 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
specsForTextStyles
function 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.fromList
does not exists in RN 0.52, replaced withArguments.fromArray
- iOS: Fixes to errors in the sample App that prevented if from running in iOS.