Skip to content

Releases: pixelvide/code-analyzer

v1.1.0

24 Dec 08:56
fe62791

Choose a tag to compare

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 to linux/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-analyzer image stream remains reserved for semantic version releases (e.g., v1.0.0) and is free of branch artifacts.

🛠️ Improvements & Fixes

  • CI/CD: Upgraded golangci-lint to v6 to resolve compatibility issues.
  • Workflow: Fixed logic to ensure the latest tag 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

24 Dec 07:43
842f7f5

Choose a tag to compare

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 .tsx files.
  • 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, min thresholds, and exclude paths per analyzer.
  • Simplified CLI: Run everything with a simple ./code-analyzer command.

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-lint to ensure code standard adherence.

🛠️ Installation & Usage

Build:

go build -o code-analyzer

Run:

./code-analyzer -config=analysis-config.yaml

Run with Docker:

docker run --rm -v $(pwd):/app/data ghcr.io/pixelvide/code-analyzer:main

Full Changelog: https://github.com/pixelvide/code-analyzer/commits/v1.0.0