The V8 update forces module developers to recompile their modules, which can be quite a pain when having many modules to maintain. I would propose a small module-build hook inside the _buildModule.js that takes care of this by detecting the currently selected SDK and then migrates the module automatically, by:
- bumping the apiversion to 4
- setting the minimum-sdk to 7.0.0
- adding the arm64-v8a architecture
- optionally (recommended): bumping the version to the next major to indicate a new major version
We may want to ask the developer to confirm the changes, e.g. by printing the new file. It would greatly improve the dev-experience during module recompiling and could be the subject of our planned post about migrating to SDK 7.