Skip to content

Releases: fbluemle/rn-version-sync

0.8.0

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

0.7.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 07:09

Behavior changes

  • Missing native files warn instead of being skipped silently; the sync fails when nothing was written. Use --skip-android / --skip-ios for single-platform projects.
  • --version-code and --reserve-builds must be integers; the version code must be positive.
  • Relative --gradle-path / --pbxproj-path resolve against --project-dir.
  • iOS values are read from the application target's build configuration (--configuration, default Release), no longer from the first match in the file.
  • syncVersions returns the synced file paths.

What's Changed

Full Changelog: v0.6.0...v0.7.0

0.6.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 20:25

What's Changed

Full Changelog: v0.5.0...v0.6.0

0.5.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 09:16

What's Changed

Full Changelog: v0.4.1...v0.5.0

0.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Sep 07:24

What's Changed

Full Changelog: v0.4.0...v0.4.1

0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 07:07

What's Changed

Full Changelog: v0.3.0...v0.4.0

0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 May 08:43

What's Changed

Full Changelog: v0.2.0...v0.3.0

0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Mar 07:13

What's Changed

Full Changelog: v0.1.3...v0.2.0

0.1.3

Choose a tag to compare

@github-actions github-actions released this 21 Nov 06:30

What's Changed

Full Changelog: v0.1.2...v0.1.3

0.1.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 08:27

What's Changed

Full Changelog: v0.1.1...v0.1.2