Skip to content

v0.1

Latest

Choose a tag to compare

@selcukgural selcukgural released this 29 Dec 19:10
· 5 commits to main since this release

Release Notes

[v0.0.1] - 12/29/2025

πŸŽ‰ Initial Release

First release of SGuard.ConfigValidation! This version provides a production-ready configuration validation library and CLI tool.

✨ New Features

Core Library

  • Multiple Validator Support

    • required - Required field validation
    • min_len / max_len - Minimum/maximum length validation
    • eq / ne - Equality/inequality validation
    • gt / gte / lt / lte - Comparison operators
    • in - Value list validation
  • Format Support

    • JSON configuration files (default)
    • YAML configuration files (.yaml, .yml)
    • JSON Schema validation support
  • Extensibility

    • Custom validator plugin system
    • Plugin discovery mechanism
    • Extension methods for easy integration
  • Dependency Injection Support

    • AddSGuardConfigValidation() extension method
    • AddSGuardConfigValidationCore() for core services
    • Automatic logging configuration
  • Performance Optimizations

    • Path resolution caching
    • Schema validation caching
    • Reflection operations caching
    • Streaming support for large files
    • Parallel environment validation
  • Security Features

    • DoS (Denial of Service) protection
    • Path traversal protection
    • Symlink attack protection
    • Configurable resource limits
    • Security guarantees with hard limits

CLI Tool

  • Command-Line Interface

    • validate command (default)
    • Environment-based validation
    • Validate all environments
    • Custom configuration file support
  • Output Formats

    • Console output (default, colored and formatted)
    • JSON output (machine-readable)
    • Text file output
    • JSON file output
  • Logging Support

    • Verbose mode
    • Namespace-based log level control
    • Structured logging
  • Environment Management

    • .NET standard environment detection
    • DOTNET_ENVIRONMENT and ASPNETCORE_ENVIRONMENT support
    • Environment-specific appsettings files

πŸ”§ Framework Support

  • .NET 8.0 (LTS) βœ…
  • .NET 9.0 βœ…
  • .NET 10.0 βœ