Repository navigation
Releases
v0.9.0 - Config File Support
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 auditOr install globally:
npm install -g react-native-auditor@0.9.0
rn-auditor auditThis release preserves the existing CLI commands and JSON report schema.
v0.8.1 - Fixes Release Binaries
Full Changelog: v0.8.0...v0.8.1
v0.8.0 - Guided CLI UI
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
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
--fixas preview-only mode by default - Added confirmation flow before applying safe fixes
- Added support for applying safe
.env.examplecreation - 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 --fixReview and apply supported safe fixes interactively:
rn-auditor audit --fix --interactiveThe scan alias also supports the same flow:
rn-auditor scan --fix --interactiveSafety 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 auditOr install globally:
npm install -g react-native-auditor
rn-auditor auditFull changelog
- Added
--interactivesupport for safe fix application - Added validation for interactive fix mode
- Added interactive confirmation prompt
- Added safe fix apply summary
- Added
.env.examplecreation support where available - Preserved JSON report schema compatibility
- Updated documentation for preview vs interactive fix behavior
v0.6.0 - Safe Fix Foundation
v0.6.0 - Safe Fix Foundation
React Native Auditor now includes the first safe fix foundation.
Added
- Added
--fixpreview mode forrn-auditor auditandrn-auditor scan - Added internal fix suggestion model and fix planning foundation
- Added safe
.env.examplepreview suggestion without copying secret values - Added manual-review fix suggestions for selected release-readiness issues
- Added terminal fix preview output
Safety
--fixdoes 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
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
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
- Missing
-
Added EAS production profile quality check:
- Flags empty
build.productionprofiles as weak release configuration
- Flags empty
Improved
- Expanded static
app.jsonparsing for release metadata - Expanded
eas.jsonrelease-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-onCI quality gate behavior remains unchanged
Verification
Validated with:
cargo fmt --check
cargo check
cargo clippy
cargo testv0.3.0 - Add CI fail-on option
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 auditrn-auditor scanrn-auditor report --jsonrn-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 errorv0.2.1 - CI Docs and Sample Reports
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
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