Skip to content

[MOO-2364] Update to hermes-compiler v1 (19.x.x)#1269

Open
MxKevinBeqo wants to merge 8 commits into
release/19.x.xfrom
moo/MOO-2364-hermes-v1-19.x.x
Open

[MOO-2364] Update to hermes-compiler v1 (19.x.x)#1269
MxKevinBeqo wants to merge 8 commits into
release/19.x.xfrom
moo/MOO-2364-hermes-v1-19.x.x

Conversation

@MxKevinBeqo

Copy link
Copy Markdown
Contributor

Description

This MR updates the used native hermes-compliler to v1, following the react-native upgrade to 0.84.1.

Checklist

To ensure this pull request meets the requirements for merging, please complete the checklist below:

  • Release Note: As a part of the release process, an automated PR will be created for the Mendix Docs repository relevant to the changes introduced in this PR. Post release, please ensure that the release note accurately reflects the changes and impacts of this PR.

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe): Dependency upgrade

@MxKevinBeqo MxKevinBeqo self-assigned this Jul 15, 2026
@MxKevinBeqo MxKevinBeqo added enhancement New feature or request dependencies Pull requests that update a dependency file labels Jul 15, 2026
Comment thread ios/Podfile.lock
- hermes-engine (0.15.1):
- hermes-engine/Pre-built (= 0.15.1)
- hermes-engine/Pre-built (0.15.1)
- hermes-engine (250829098.0.9):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is still using the old version

Comment thread android/app/build.gradle
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
// hermesFlags = ["-O", "-output-source-map"]

def hermescDir = file("${rootDir}/../node_modules/react-native/node_modules/hermes-compiler/hermesc")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why do we need this override - hermes compilation is done by Studio Pro, not NT

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is basically only for the CI pipeline because it runs the bundle generation task createBundleDevDebugJsAndAssets.
From what I saw, the variant we build in the pipeline is not in the debuggableVariants, so it does the js compilation - bundling as well.

I did a quick search on removing the bundling as a task from the command in the CI file, and in theory it could be done e.g.
run: ./gradlew assembleDevDebug -x :app:createBundleDevDebugJsAndAssets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants