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 validationmin_len/max_len- Minimum/maximum length validationeq/ne- Equality/inequality validationgt/gte/lt/lte- Comparison operatorsin- 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 methodAddSGuardConfigValidationCore()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
validatecommand (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_ENVIRONMENTandASPNETCORE_ENVIRONMENTsupport- Environment-specific appsettings files
π§ Framework Support
- .NET 8.0 (LTS) β
- .NET 9.0 β
- .NET 10.0 β