• v0.6.0 13afb2292e

    v0.6.0
    Some checks failed
    Build and Release / Build All Platforms (push) Successful in 2m1s
    Release Docker Image / Push Docker image to Registry (push) Failing after 8s
    Stable

    danielvici123 released this 2026-06-09 18:18:24 +00:00 | 4 commits to master since this release

    🚀 Changelog v0.6.0

    New Features

    • Colorized Logging: Terminal logs are now color-coded! HTTP status codes are highlighted based on their category:
      • 🟢 2xx (Success): Green
      • 🟡 4xx (Client Error): Yellow
      • 🔴 5xx (Server Error): Red
    • Enhanced Startup Banner: A fresh, colorized ASCII banner at startup now displays key configuration details for better visibility.
    • Auto-Config Generation: DHL now automatically generates a default config.json and response.json if they are missing from the working directory.
    • Docker Compose Support: Added a docker-compose.yml for effortless "one-command" deployment.

    🐳 Docker & CI/CD Optimizations

    • Lightweight Multi-Stage Build: Switched to a multi-stage Docker build based on Alpine, significantly reducing the final image size.
    • Build Context Optimization: Added .dockerignore to exclude the target/ directory, reducing build context size from gigabytes to megabytes.
    • Docker-Smart Binding: The application now detects the Docker environment and forces binding to 0.0.0.0, resolving connectivity issues ("Socket Hang Up").
    • Persistent Volumes Fix: Moved the binary to /usr/local/bin within the image to prevent it from being hidden when mounting volumes to /app.
    • Workflow Improvements: Fixed Gitea Action workflows (renamed to build-image.yml) and ensured Docker tags are correctly lowercased for registry compatibility.

    🛠 Bugfixes & Improvements

    • Config Serialization: Added missing Serialize traits to configuration structs to enable saving default settings to disk.
    • Dependency Caching: Optimized Dockerfile to use layer caching for Rust dependencies, making subsequent builds lightning fast.
    • Documentation: Completely updated README.md with detailed Docker instructions, mounting examples, and feature descriptions.
    Downloads