Skip to content

Releases

v0.9.0 - Config File Support

Choose a tag to compare

@twinedo twinedo released this 13 Jul 01:16

React Native Auditor v0.9.0

React Native Auditor v0.9.0 adds optional project-level configuration support.

Highlights

  • Added support for rn-auditor.config.json

  • Added configurable default fail threshold through failOn

  • Added rule suppression through ignoreRules

  • CLI flags continue to override project configuration

  • Missing configuration files preserve the existing default behavior

  • Invalid configuration now produces a clear non-zero error

  • Ignored rules are excluded consistently from:

    • Terminal reports
    • JSON reports
    • HTML reports
    • Quality-gate evaluation
    • Fix previews
    • Interactive fix prompts

Example configuration

{
  "failOn": "warning",
  "ignoreRules": ["RNA_ENV_001"]
}

The configuration file is optional and should be placed at the project root:

rn-auditor.config.json

Configuration precedence

CLI flags
> rn-auditor.config.json
> built-in defaults

Install or run

npx react-native-auditor@0.9.0 audit

Or install globally:

npm install -g react-native-auditor@0.9.0
rn-auditor audit

This release preserves the existing CLI commands and JSON report schema.

v0.8.1 - Fixes Release Binaries

Choose a tag to compare

@twinedo twinedo released this 08 Jul 06:26

Full Changelog: v0.8.0...v0.8.1

v0.8.0 - Guided CLI UI

Choose a tag to compare

@twinedo twinedo released this 08 Jul 03:37

React Native Auditor v0.8.0

What's new:

  • Added guided menu when running rn-auditor without a subcommand
  • Added first-run onboarding UX for discovering common actions
  • Added menu options for audit, safe fix preview, interactive safe fixes, HTML report, and JSON report
  • Existing direct CLI commands remain unchanged
  • Non-interactive environments are handled safely without hanging

Install:
npm install -g react-native-auditor

Or run directly:
npx react-native-auditor

This release keeps React Native Auditor local-first, rule-based, and CLI-native. The guided menu is an onboarding layer only and does not replace the existing command interface."

v0.7.0 - Safe Fix Interactive

Choose a tag to compare

@twinedo twinedo released this 06 Jul 00:09

React Native Auditor v0.7.0

v0.7.0 introduces interactive safe fix application.

This release builds on the v0.6.0 safe fix preview foundation by allowing users to review and apply supported low-risk fixes interactively.

Highlights

  • Added interactive fix application with --fix --interactive
  • Kept --fix as preview-only mode by default
  • Added confirmation flow before applying safe fixes
  • Added support for applying safe .env.example creation
  • Skips manual-review and unsafe fixes automatically
  • Avoids deleting files, removing dependencies, or upgrading dependencies
  • Preserves existing audit, scan, report, JSON, HTML, and CI behavior

Usage

Preview safe fixes without writing files:

rn-auditor audit --fix

Review and apply supported safe fixes interactively:

rn-auditor audit --fix --interactive

The scan alias also supports the same flow:

rn-auditor scan --fix --interactive

Safety model

Interactive fixes are intentionally conservative.

React Native Auditor v0.7.0 only applies safe, low-risk fixes with explicit user confirmation. It does not auto-delete files, remove dependencies, upgrade dependencies, or apply manual-review fixes.

Install

npx react-native-auditor audit

Or install globally:

npm install -g react-native-auditor
rn-auditor audit

Full changelog

  • Added --interactive support for safe fix application
  • Added validation for interactive fix mode
  • Added interactive confirmation prompt
  • Added safe fix apply summary
  • Added .env.example creation support where available
  • Preserved JSON report schema compatibility
  • Updated documentation for preview vs interactive fix behavior

v0.6.0 - Safe Fix Foundation

Choose a tag to compare

@twinedo twinedo released this 03 Jul 09:32

v0.6.0 - Safe Fix Foundation

React Native Auditor now includes the first safe fix foundation.

Added

  • Added --fix preview mode for rn-auditor audit and rn-auditor scan
  • Added internal fix suggestion model and fix planning foundation
  • Added safe .env.example preview suggestion without copying secret values
  • Added manual-review fix suggestions for selected release-readiness issues
  • Added terminal fix preview output

Safety

  • --fix does not modify files in v0.6.0
  • No dependencies or lockfiles are deleted
  • No configuration files are changed automatically
  • Interactive apply is reserved for a future milestone

v0.5.0 - Dependency Health Rules

Choose a tag to compare

@twinedo twinedo released this 02 Jul 09:16

React Native Auditor v0.5.0 adds local-first dependency health checks based on package.json.

Highlights:

  • Detects risky dependency versions such as latest, *, and empty versions
  • Detects git-based and local file/link dependency sources
  • Detects packages duplicated in dependencies and devDependencies
  • Detects likely Expo projects missing expo
  • Detects likely bare React Native projects missing react-native
  • Keeps all checks local with no npm registry or network calls
  • Preserves existing terminal, HTML, JSON, and CI quality gate behavior

v0.4.0 — Release-readiness rules

Choose a tag to compare

@twinedo twinedo released this 30 Jun 16:48

React Native Auditor v0.4.0

This release improves React Native Auditor’s release-readiness checks for Expo and EAS projects.

Added

  • Added Expo release metadata checks:

    • Missing expo.name
    • Missing expo.slug
    • Missing expo.version
    • Missing expo.ios.buildNumber
    • Missing expo.android.versionCode
  • Added EAS production profile quality check:

    • Flags empty build.production profiles as weak release configuration

Improved

  • Expanded static app.json parsing for release metadata
  • Expanded eas.json release-readiness analysis
  • Added tests for the new Expo and EAS rule logic

Stability

  • Existing terminal reporter behavior remains unchanged
  • Existing HTML reporter behavior remains unchanged
  • Existing JSON reporter schema remains unchanged
  • Existing --fail-on CI quality gate behavior remains unchanged

Verification

Validated with:

cargo fmt --check
cargo check
cargo clippy
cargo test

v0.3.0 - Add CI fail-on option

Choose a tag to compare

@twinedo twinedo released this 29 Jun 14:36

React Native Auditor v0.3.0

v0.3.0 adds CI Quality Gates with the new --fail-on option.

Added

  • Added --fail-on <info|warning|error|none>
  • Supported quality gates for:
    • rn-auditor audit
    • rn-auditor scan
    • rn-auditor report --json
    • rn-auditor report --html
  • Added threshold-based CI exit codes
  • Added tests for quality gate behavior
  • Added README examples for CI usage

Examples

rn-auditor audit --fail-on error
rn-auditor audit --fail-on warning
rn-auditor scan --fail-on error
rn-auditor report --json --fail-on error
rn-auditor report --html --fail-on error

v0.2.1 - CI Docs and Sample Reports

Choose a tag to compare

@twinedo twinedo released this 23 Jun 04:46

React Native Auditor v0.2.1

This patch release improves CI documentation and sample report assets for React Native Auditor.

Added

  • Added GitHub Actions usage documentation for JSON reports
  • Added JSON report artifact upload example
  • Added optional HTML report artifact example
  • Added sample JSON report under examples/reports/sample-report.json

Unchanged

  • Scanner behavior remains unchanged
  • Rule behavior and issue codes remain unchanged
  • Terminal report output remains unchanged
  • HTML report output remains unchanged
  • JSON report structure remains unchanged

v0.2.0 - CI-ready JSON Reports

Choose a tag to compare

@twinedo twinedo released this 23 Jun 04:42

React Native Auditor v0.2.0

This release adds CI-ready JSON report output for React Native Auditor.

Added

  • Added rn-auditor report --json
  • Added pretty-printed JSON report output
  • Added issue counts by severity
  • Added detected files and lockfiles to report data
  • Added full issue list to JSON reports
  • Documented JSON report usage in the README

Unchanged

  • Terminal audit output remains stable
  • HTML report output remains stable
  • Scanner behavior remains unchanged
  • Existing rule behavior and issue codes remain unchanged

Usage

rn-auditor report --json
rn-auditor report --json --output rn-auditor-report.json
rn-auditor report --json /path/to/project