Skip to content

fix(0.81, ci): use mapped upstream version for Hermes version marker#2934

Merged
Saadnajmi merged 1 commit intomicrosoft:0.81-stablefrom
Saadnajmi:0.81/fix/hermes-version-marker
Apr 18, 2026
Merged

fix(0.81, ci): use mapped upstream version for Hermes version marker#2934
Saadnajmi merged 1 commit intomicrosoft:0.81-stablefrom
Saadnajmi:0.81/fix/hermes-version-marker

Conversation

@Saadnajmi
Copy link
Copy Markdown
Collaborator

Summary

Backport of the changes from branch fix/hermes-version-marker to 0.81-stable.

  • The Hermes version marker was using package.json version (e.g. 0.81.7) but prepareHermesArtifactsAsync resolves via peerDependencies (e.g. 0.81.6).
  • The mismatch caused the setup step to delete our prebuilt Hermes artifacts and re-download from Maven, which lacks macOS slices in the universal xcframework — breaking the macOS SPM build.
  • Now uses the same version resolution logic as prepareHermesArtifactsAsync.

Test plan

Same as the original PR.

🤖 Generated with Claude Code

@Saadnajmi Saadnajmi requested a review from a team as a code owner April 17, 2026 23:14
@Saadnajmi Saadnajmi force-pushed the 0.81/fix/hermes-version-marker branch 2 times, most recently from e55362f to 903c4a9 Compare April 17, 2026 23:20
The version marker was using package.json version (e.g. 0.81.7) but
prepareHermesArtifactsAsync resolves via peerDependencies (e.g. 0.81.6).
The mismatch caused the setup step to delete our prebuilt Hermes
artifacts and re-download from Maven, which lacks macOS slices in the
universal xcframework.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Saadnajmi Saadnajmi force-pushed the 0.81/fix/hermes-version-marker branch from 903c4a9 to 0857fc5 Compare April 17, 2026 23:27
@Saadnajmi Saadnajmi merged commit cf472a4 into microsoft:0.81-stable Apr 18, 2026
25 checks passed
@Saadnajmi Saadnajmi deleted the 0.81/fix/hermes-version-marker branch April 18, 2026 00:25
Saadnajmi added a commit that referenced this pull request Apr 23, 2026
## Summary
- Add an Nx version plan for a new 0.81 patch release
- Prepare the stable branch for `nx release` to bump
`react-native-macos` and `@react-native-macos/virtualized-lists` from
`0.81.7` to `0.81.8`

## Changes since v0.81.7
- feat(0.81, ci): prebuild React xcframework for macOS (#2921)
- chore(0.81, deps): Bump various packages to mitigate CVEs (#2931)
- fix(0.81, ci): use mapped upstream version for Hermes version marker
(#2934)

## Validation
- `yarn nx release --dry-run --verbose --skip-publish`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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