Skip to content

v1.0.0-alpha.1

Choose a tag to compare

@ammarahm-ed ammarahm-ed released this 05 Sep 05:38
· 126 commits to main since this release

What's new

  • Android native modules are folded into the engine's single .so. react-native-quickjs-text-encoding and react-native-quickjs-intl no longer ship their own JNI libraries; the autolinker whole-archives their core and platform JNI into libquickjsinstancejni.so, so an app loads one .so instead of three. Same on the iOS side, which compiles the generated module registry into the app target.
  • New: @react-native-quickjs/intl. Full ECMA-402 Intl backed by the OS's own CLDR (Foundation on Apple, android.icu on Android) — no locale data ships in the bundle. Opt-in and lazy: an app that never touches Intl pays one property access. DateTimeFormat, NumberFormat, Collator, PluralRules, RelativeTimeFormat, ListFormat, DisplayNames, Segmenter, Locale, DurationFormat, plus the toLocale*/localeCompare ECMAScript methods.
  • CI workflows for the native modules (intl, text-encoding), running their host test suites only when the module's files change.
  • A release script (npm run release:module) that guards, tests, bumps and publishes any module under modules/.
  • Engine fix: a stripped-bytecode function now stringifies as [stripped source] instead of masquerading as native code.
  • Engine patch count is 8 (up from 6) — listed in engine/patches/README.md.