Releases: pixelvide/code-analyzer
Releases · pixelvide/code-analyzer
v1.1.0
Release Notes - v1.1.0
This release focuses on improving the build pipeline, adding multi-architecture support, and introducing specific debug image streams.
🚀 New Features
1. Multi-Architecture Docker Builds
- ARM64 Support: Official images now support
linux/arm64(Apple Silicon, Raspberry Pi) in addition tolinux/amd64. - Native Performance: No more emulation needed on ARM devices.
2. Debug Image Stream
- Dedicated Debug Image:
ghcr.io/pixelvide/code-analyzer/debug - Branch Publishing: All branches are now published to the debug stream.
- Detailed Tags: Debug images are tagged with the full commit hash (e.g.,
debug:d2fcf14...) for precise tracking. - Prod Safety: The clean
code-analyzerimage stream remains reserved for semantic version releases (e.g.,v1.0.0) and is free of branch artifacts.
🛠️ Improvements & Fixes
- CI/CD: Upgraded
golangci-lintto v6 to resolve compatibility issues. - Workflow: Fixed logic to ensure the
latesttag is only applied to stable releases, not branch builds. - Stability: Standardized on Go 1.24 for the official build.
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Release Notes - v1.0.0
We are excited to announce the first major release of the Code Analyzer tool (formerly code-analysis). This release brings a complete architectural overhaul, new analyzers, and robust CI/CD integration.
🚀 Key Features
1. New Project Identity
- Renamed: The project is now officially
code-analyzer. - Refactored: Codebase has been modularized for easier extension and maintenance.
2. Expanded Analysis Capabilities
- New JavaScript Analyzer: Detects commented-out code in
.js,.ts,.jsx, and.tsxfiles. - Enhanced Detection: Improved heuristics for HTML and PHP comment detection to reduce false positives.
- Conflicts Analyzer: robust detection of Git merge conflict markers.
3. Unified Configuration
- Config-First Approach: All settings are now managed via
analysis-config.yaml. - Granular Control: Configure
top,minthresholds, andexcludepaths per analyzer. - Simplified CLI: Run everything with a simple
./code-analyzercommand.
4. CI/CD & Docker Integration
- GitLab Code Quality: Native support for generating GitLab-compatible Code Quality reports (
gl-code-quality-report.json). - Docker: Official images are now built and published to GHCR.
- Automated Workflow: Unified GitHub Actions pipeline for Linting, Testing, and Publishing.
5. Quality Assurance
- Unit Tests: Comprehensive test suite covering all analyzers.
- Linting: Integrated
golangci-lintto ensure code standard adherence.
🛠️ Installation & Usage
Build:
go build -o code-analyzerRun:
./code-analyzer -config=analysis-config.yamlRun with Docker:
docker run --rm -v $(pwd):/app/data ghcr.io/pixelvide/code-analyzer:mainFull Changelog: https://github.com/pixelvide/code-analyzer/commits/v1.0.0