Skip to content

Releases: zoontek/react-native-localize

3.0.2

03 Jul 08:47
d42ef39
Compare
Choose a tag to compare
  • Use gradle namespace conditionally in order to improve old react native version compatibility.
    ⚠️ Note that this library officially now follows the React Native releases support policy. If you have been impacted by this bug, that means you are using an unsupported react native version and should upgrade to the latest.

3.0.1

25 Jun 10:54
bfcd91a
Compare
Choose a tag to compare
  • Add gradle namespace for react native 0.73 compatibility

3.0.0

29 Apr 10:47
02b0993
Compare
Choose a tag to compare

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 as 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

2.2.6

10 Mar 14:05
Compare
Choose a tag to compare
  • Add missing usesAutoDateAndTime and usesAutoTimeZone mocks (#213 by @ethanneff)

2.2.5

28 Feb 21:00
Compare
Choose a tag to compare
  • Use Windows NLS APIs for number formats (#201 by @aironefr)
  • Update example app to use @formatjs/intl instead of i18n-js

2.2.4

27 Sep 10:10
Compare
Choose a tag to compare
  • Switch Jest mock to TypeScript (fix #198)

2.2.3

14 Aug 13:34
Compare
Choose a tag to compare
  • Avoid Git hooks setup on postinstall (ba8907f)

2.2.2

02 Jun 12:29
Compare
Choose a tag to compare
  • Change WindowsTargetPlatformVersion to 10.0 (#195 by @namrog84)

2.2.1

24 Mar 14:43
3e57dd5
Compare
Choose a tag to compare
  • Fix findBestAvailableLanguage not respecting script code (#189 by @jimmyltsinn)

2.2.0

18 Feb 12:16
Compare
Choose a tag to compare