Skip to content

v2.0.0-beta.4 - iOS is here.

Pre-release
Pre-release
Compare
Choose a tag to compare
@aMarCruz aMarCruz released this 18 Aug 01:44
· 62 commits to master since this release
9f42b88

WARNING

The package id has changed, you must uninstall the previous version before using this one.

Added

  • Note on the README of the sample App, to test it with a different version of RN.
  • Adds flow typings (almost) working with Flow 0.61.x
  • Enhancements to the sample App with RN 0.56 and Flow
  • New functions specsForTextStyles, fontFromSpecs, and fontFamilyNames

Changed

  • Complete rewrite of the sample app.
  • Simplify anroid/build.gradle and adjust the configuration.
  • allowFontScaling is handled in the native side, index.js was simplified a lot.
  • Migration of example to RN 0.52 and Typescript, enhanced features.
  • Minimum supported versions: RN 0.52.x, Android SDK 16, iOS 9.0
  • New fformat of the CHANGELOG to follow the Keep a Changelog recommendations.
  • Package ID now is com.github.amarcruz.rntextsize for Android, and RNTextSize for iOS.
  • Fixes to typings.

Removed

  • Drop support for iOS 8 and RN below 0.52

Fixes

  • Tested on iOS 9 & 11 simulators, Android devices 5.1 & 7, simulator 4.4 & 11, all with RN 0.52.0 and 0.56.0
  • Improved measurement on both platforms, accuracy is more than 5 decimals.
  • The iOS API and behavior of measure now is the same as Android.
  • Makes the example works.