What's Changed
Version management refactor
- GitHub release tag is now the single source of truth for app version
- Deleted
.versionfile andscripts/sync-version.sh— no more manual version bumping - App reads version from
APP_VERSIONenv var (injected at Docker build time from release tag) package.jsonis auto-synced from the release tag during CI- Local/dev runs show
"dev"as the version
CI improvements (from v3.5.1)
- Added Codacy Security Scan workflow with SARIF integration
- Added PMD ruleset and
.codacy.ymlrepo configuration - Added least-privilege permissions to Docker build workflow jobs (CodeQL fix)
- Added ESLint 8 legacy config for Codacy CLI compatibility
- Excluded binary files from Codacy analysis to prevent CLI crashes
- Upgraded
codeql-action/upload-sarifto v4
Code quality fixes (from v3.5.1)
- Removed unused imports and variables
- Replaced bare
except/passwith debug logging - Fixed object injection sink in
api.jsformatSize()
Full Changelog: v3.5.1...v3.5.3