2023-11-22 21:31:26 +00:00
# Changelog
2023-12-15 13:28:55 +00:00
## 2023-12-15
### Fixed
* Make `TTY` configurable in `run` files for Drupal projects.
2023-11-25 08:25:24 +00:00
## 2023-11-24
### Changed
* Simplified constraints on properties within the `Config` DTO class.
2023-11-23 01:19:33 +00:00
## 2023-11-23
### Added
* Test assertions for the expected violation messages.
2023-11-23 06:38:35 +00:00
### Fixed
* The `pre-push` Git hook should use `./run test:commit` instead of `just test-commit` since `just` is no longer used.
2023-11-23 06:51:23 +00:00
* Recursively merge `build.defaults.yaml` into the given configuration.
2023-11-23 08:25:55 +00:00
* Set `TTY` in the `pre-push` Git hook so it can run if using Docker.
2023-11-23 06:38:35 +00:00
2023-11-23 07:04:58 +00:00
### Changed
* Replace `set -ueo` in Git hook templates to use the long names and be consistent with `run` scripts.
2023-11-23 08:24:34 +00:00
* Add `isDocker` and `isFlake` to the Configuration DTO and remove duplicate variables within templates.
2023-11-23 07:04:58 +00:00
2023-11-22 23:50:20 +00:00
## 2023-11-22
2023-11-22 21:31:26 +00:00
### Added
* Add CHANGELOG.md.
* Add missing validation rules to the `Configuration` DTO object.
2023-11-22 23:50:20 +00:00
* Add `dockerfile.stages.*.extra_directories` as an optional list of strings (used in the Drupal Commerce Kickstart example).
* Allow `php.phpstan` and `php.phpcs` to be `false` or a Collection so their configuration files can not be generated (used in the Drupal Commerce Kickstart example).
* Add `php.phpunit` and allow it to be set to `false` so its configuration files can not be generated (used in the Drupal Commerce Kickstart example).
* No further PHPUnit configuration is supported.
* Add `database.extra_databases`
* Add `php.phpstan.baseline` as an optional boolean.
* Add `node.version` as a string.
2023-11-23 00:59:27 +00:00
* Add a test to ensure extra databases is an optional array of non-blank strings.
2023-11-22 21:43:07 +00:00
* Add a test to ensure the project type is a valid type.
2023-11-22 21:31:26 +00:00
* Add a test to ensure the web server is a valid type.
2023-11-22 21:46:26 +00:00
* Add a `test` task to `run` script.
2023-11-22 21:31:26 +00:00
### Changed
2023-11-22 21:43:07 +00:00
* `App\Enum\ProjectType` now returns a string.
2023-11-22 21:31:26 +00:00
* `App\Enum\Webserver` now returns a string.
* `ConfigurationValidatorTest` no longer performs serialisation.
2023-11-22 21:53:50 +00:00
* Use `set -o errexit` and `set -o pipefail` in `run` scripts instead of `set -eu` .
2023-11-22 23:34:44 +00:00
* Use new database credentials by default.