Skip to content

chore: bump rne to 0.9.0 and migrate to models.* accessor#19

Merged
msluszniak merged 3 commits into
mainfrom
@ms/rne-0.9.0-compat
May 25, 2026
Merged

chore: bump rne to 0.9.0 and migrate to models.* accessor#19
msluszniak merged 3 commits into
mainfrom
@ms/rne-0.9.0-compat

Conversation

@msluszniak

Copy link
Copy Markdown
Contributor

Summary

  • Bump peer/devDeps to react-native-executorch@^0.9.0 and react-native-rag@^0.9.0 across all three workspaces; package version 0.9.0.
  • Migrate the example app and both READMEs from named model constants (ALL_MINILM_L6_V2, QWEN3_0_6B_QUANTIZED, …) to the new typed models.* registry accessor introduced in rne 0.9.0.
  • Drop stale imports for symbols that were never exported by react-native-executorch (ALL_MINILM_L6_V2_TOKENIZER, LLAMA3_2_TOKENIZER, LLAMA3_2_1B_TOKENIZER, LLAMA3_2_TOKENIZER_CONFIG) — pre-existing README bugs.

Compatibility audit

Audited every executorch API the adapter actually uses against the 0.9.0 source. Nothing the wrappers consume was broken: TextEmbeddingsModule.fromCustomModel / forward / delete, LLMModule.fromCustomModel / configure / setTokenCallback / generate / interrupt / delete, and the ChatConfig / Message / ResourceSource types are all unchanged. Compatibility is structural; this PR is housekeeping.

Before merging

yarn.lock here pins react-native-executorch@0.9.0-nightly-7b452e6-20260522 because that's what I typechecked against — 0.9.0 isn't on npm yet. Regenerate the lockfile against the published 0.9.0 release before the corresponding npm publish.

…essor

- Bump peerDeps/devDeps to react-native-executorch ^0.9.0 and
  react-native-rag ^0.9.0 across workspaces; package version 0.9.0.
- Migrate example app and READMEs from named model constants
  (ALL_MINILM_L6_V2, QWEN3_0_6B_QUANTIZED, ...) to the new typed
  models.* registry accessor recommended in rne 0.9.0.
- Drop stale imports of symbols that were never exported by
  react-native-executorch (ALL_MINILM_L6_V2_TOKENIZER,
  LLAMA3_2_TOKENIZER, LLAMA3_2_1B_TOKENIZER,
  LLAMA3_2_TOKENIZER_CONFIG).
- yarn.lock pins to 0.9.0-nightly-7b452e6-20260522 for local
  typecheck; regenerate against the published 0.9.0 release before
  publishing.
react-native-executorch 0.9.0 is not on npm yet (only nightlies),
so ^0.9.0 has no resolution and `yarn install --immutable` fails in
CI. Pin to 0.9.0-nightly-7b452e6-20260522 in the workspace and example
package.json to unblock CI. Switch back to ^0.9.0 once the release is
published.
@msluszniak

Copy link
Copy Markdown
Contributor Author

TODO: Once RNE 0.9 lands, change pins from nightly to 0.9

react-native-executorch@0.9.0 and
react-native-executorch-expo-resource-fetcher@0.9.0 are now on npm, so
the temporary nightly pin can be reverted. Lockfile regenerated against
the release.
@msluszniak msluszniak merged commit 7f064b0 into main May 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants