Skip to content

Releases: arceuzvx/SlimStack

SlimStack v0.2.0

07 Mar 20:33

Choose a tag to compare

SlimStack v0.2.0

Bug Fixes

  • Fixed ImportError crash in slim docker (missing is_already_optimized)
  • Fixed hardened image detection never matching Chainguard/distroless registries

New Features

  • Configuration file (.slimrc.toml) — exclusions, default flags, per-ecosystem settings
  • slim clean — scan and remove cache directories (__pycache__, .pytest_cache, .mypy_cache, etc.)
  • --fail-on-unused — non-zero exit code for CI pipelines
  • Declared dependency parsing — reads requirements.txt / pyproject.toml, warns on mismatches
  • Transitive dependency analysis — classifies packages as direct, transitive, or unused
  • --verbose / --quiet global flags, --exclude for scan and prune
  • Pre-commit hooks and GitHub Actions workflow template

Performance

  • Replaced pip freeze subprocess with importlib.metadata (instant)
  • Node.js scanner line lookup optimized from O(n*m) to O(m log n)
  • Import-to-package mappings expanded from 15 to 55+ entries

Tests

205 unit tests, all passing.

Full Changelog: v0.1.0...v0.2.0

SlimStack v0.1.0

22 Jan 20:17

Choose a tag to compare

Initial release - Dependency hygiene CLI tool.

Features

  • Python dependency analysis (AST-based import detection)
  • Node.js dependency analysis (require/import detection)
  • Disk usage visualization (ASCII charts)
  • Safe pruning with dry-run default
  • JSON output for CI/CD integration

Refer to slim man for a detailed list of commands

Safety

  • Read-only by default
  • Virtual environment protection for Python
  • Confirmation prompts for destructive actions