Skip to content

0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Sep 01:03

Behavior changes

  • The bare command no longer writes. It compares the native files with package.json and exits 1 when a platform is outdated. Pass --write to update, and change npm version hooks to rn-version-sync --write.
  • The output is one table showing what each file says, with a js row for package.json. A missing native file gets a not found row instead of a warning on stderr.
  • --dry-run and --verbose are removed.
  • --write now fails when the app id cannot be resolved (Android flavors with their own applicationId, variable bundle identifiers), since both modes read it for the table.
  • Project settings can be stored under an "rn-version-sync" key in package.json: reserveBuilds, gradlePath, pbxprojPath, configuration, skipAndroid, skipIos. Command line options take precedence.
  • Library: checkVersions is new. syncVersions returns per-platform status with an updated flag plus packageName, packageVersion, overridden and missing, instead of file paths. The updaters lose their verbose parameter. All functions apply the package.json configuration, and loadConfig and ProjectConfig are exported.

What's Changed

Full Changelog: v0.7.0...v0.8.0