Skip to content

v2.0.0 (UNPUBLISHED)

Compare
Choose a tag to compare
@aMarCruz aMarCruz released this 22 Aug 20:43
· 29 commits to master since this release

[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 than measure.
  • Revised REAME. Now it's clearer, part of its content moved to the Wiki.
  • Docummented the iOS only properties capHeight and xHeight from the fontFromSpecs result.
  • New flag usePreciseWidth (default false) request the most accurate calculation of the width (Android) and the value of lastWidth (both), but its is a bit slower.

Changed

  • iOS: The specsForTextStyles function returns fontSize amd letterSpacing with unscaled values, to allow the use with allowFontScaling.

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 with Arguments.fromArray
  • iOS: Fixes to errors in the sample App that prevented if from running in iOS.