yarn react-native-localize 3.0.0

latest releases: 3.2.0, 3.1.0, 3.0.6...
14 months ago

3.0.0: New architecture support 🎉

This release come with a huge change underneath: Instead of constants, the library now perform synchronous methods calls (on both old and new architecture), which means the returned informations will always be up-to-date (fixes #186).

This also means that remote debugging (e.g. with Chrome) is no longer possible and that you should switch to Flipper 🐬 (an acceptable trade-off since remote debugging isn't possible with the new architecture anyway)

Other changes:

  • Drop support for:
    • react-native-windows (temporarily)
    • react-native, react-native-macos < 0.70
    • react-native-web < 0.18
    • Android < 5
    • iOS and tvOS < 12.4
  • Remove addEventListener as you can now safely rely on AppState and get the possible new value when app become active (fixes #91)
  • getCalendar can now return all supported macOS calendars (buddhist, coptic, ethiopic, hebrew…)
  • findBestAvailableLanguage has been renamed findBestLanguageTag
  • Package default export has been removed. If you really want to import everything, use import * as Localize from "react-native-localize" instead

Don't miss a new react-native-localize release

NewReleases is sending notifications on new releases.