Releases: PhpGt/Build
August 2023 release
CI and QA improvements
Limit dependency version
In this minor patch release, the internal Gt/Cli dependency is bumped, and the WebMozart/Glob dependency is set to a lower version to avoid backwards breaking changes.
Efficiency improvement
Prior to this release, tasks would execute for every file that changed in the matched glob, but this lead to unnecessarily repeating the workload. Now, the behaviour is more expected: one task execution when any matched files change. This is much more efficient, and still allows the developer to choose individual task executions by providing more specific glob patterns.
Have fun!
CI, CLI and type safety improvements
No new functionality in this release, but plenty of minor improvements. Mainly:
- CI has moved to Github Actions now.
- CLI is now working with the latest PhpGt/Cli release.
- Type safety has been improved by introducing phpstan (more improvements planned)
Direct process execution
Since PHP 7.4, processes are no longer executed in a new subshell, which improves the mechanism of dealing with long-running processes. This release adopts this new change, through the use of PhpGt/Daemon.
Stable release
The humble build script has a simple responsibility: to execute commands when files change on disk. This functionality has not been altered for many weeks now, while test WebEngine applications have been built and run, so today marks the first stable release of PHP.Gt/Build.
The stable release is being made to unlock the ability of a full stable v3 release of PHP.Gt/WebEngine.
Build bin script exposed
To allow this project to be composed into other projects, the bin script is now exposed in composer.json.
Cross platform
Manually tested and amended for Linux, Mac and Windows builds.
Basics working
- Versions of required build software checked
- Build runner runs in the background forever
- Matching file changes detected
- Build software executed when needed