Releases: leorsousa05/PHPWind
Releases · leorsousa05/PHPWind
Release list
PHPWind v1.6.0
What's new in v1.6.0
Framework-agnostic config loading
- Added
PHPWind\Config\Envhelper to read environment variables without Laravel helpers. - Added
PHPWind\Config\ConfigLoaderto load and validatePHPWindConfigfrom any PHP config file. - Rewrote the shipped
config/phpwind.phpwith relative paths andEnv::get(), so it works in vanilla PHP and Symfony as well as Laravel. - Laravel
PHPWindServiceProvidernow resolves shipped relative defaults back to Laravel absolute paths.
Change-aware dev middleware
- Added
PHPWind\ChangeDetection\FileChangeDetector. OnDemandCompilerMiddlewarenow recompiles only when the input CSS changes (mtime|sizefingerprint). Unchanged dev requests skip the process spawn entirely.- Opt-out with
checkForChanges=falseto keep the previous always-compile behavior.
Captured process output
- Added
PHPWind\Binary\ProcessResult. Runner::runResult()captures stdout/stderr concurrently whileRunner::run()stays backward-compatible.CompilationResultnow exposesstdoutandstderrfor easier debugging of CLI failures.- Watch mode still streams directly to parent stdio.
Configurable asset public directory
AssetHelper::css(), the globalphpwind_css()helper, and the Twigphpwind_css()function now accept an optionalpublicDirparameter.
Cleanup
- Removed duplicated v3/v4 branches in
PlatformResolver::getBinaryName().
Verification
- Full PHPUnit suite passes: 82 tests, 132 assertions.