4.0.0
The goal of this release is to remove some of the templating functionality that makes palantirnet/the-build
and palantirnet/drupal-skeleton
harder to use and maintain.
- Removed gitignore template
- Removed settings.php templating
- Changed how host-specific settings files are managed
palantirnet/drupal-skeleton
now contains the settings.php
scaffolding for Drupal.
Deprecated phpcs config in the-build
Configuration for phpcs
in The Build config has been deprecated and will be removed in version 4.2. The phpcs
configuration items can be replaced by adding phpcs.xml
to your project root. the-build-installer
will take care of this for you, but you can manually copy it from https://github.com/palantirnet/the-build/blob/develop/defaults/install/phpcs.xml. You will also need to modify build.xml
to remove the usage of the deprecated arguments from the code-review
target as shown here:
Updating from 3.x
This requires a change to the code-fix
target in build.xml
. You can either run vendor/bin/the-build-installer
from your project root, or make the change manually. See the following diff for an example:
https://github.com/palantirnet/the-build/pull/168/files
Since settings.php
templating has been removed, the latest version of these files should be copied into your project from the skeleton:
https://github.com/palantirnet/drupal-skeleton/tree/develop/docroot/sites/default
Any modifications of the previous settings files should be copied to the appropriate new file (customizations for host environments, local overrides, etc.). See the documentation in each new file for examples.
In order for Phing 2 to be patched properly to support relative symlinks, add cweagans/composer-patches
as a project dependency (if it isn't already in use), and add the following line to composer.json:
"extra": {
"enable-patching": true
}
Changes since 4.0-beta6:
All changes since 3.0.3
- use --extensions instead of --ignore in "code-fix" target by @byrond in #168
- Pull out settings.php templating by @becw in #170
- Fix tests for the 4.x / "lite" changes by @becw in #172
- Try updating to Phing 3. by @becw in #171
- Update devel module to 4.1.x for D9 support. by @eric-schmidt in #176
- Remove profiles/custom/ directory from code checks by @becw in #178
- Patch Phing to fix relative symlinks by @byrond in #179
- Automatically run drush inside of ddev by @becw in #174
- Change the behat command to use depending on whether ddev is available. by @becw in #180
- Use new CircleCI convenience image for PHP by @byrond in #177
- Add drupal check dependency by @becw in #181
- Fix shell script installer by @becw in #184
- Fix php docker image name in installed circleci config by @byrond in #188
- Support drush 11 by @agentrickard in #192
- Fix the installer when using "other" by @byrond in #190
- Move phpcs configuration from the-build into a phpcs.xml file by @becw in #185
- Remove check for Composer files in styleguide by @byrond in #187
- Fail build when there are errors by @byrond in #182
- Update to PHP 8 by @becw in #194
- explicitly disable Pantheon build step by @byrond in #199
- Update coding standards in the-build. by @becw in #197
- Update code standards and run checks on Circle by @agentrickard in #205
- Make the_build_utility module compatible with Drupal 10 by @byrond in #201
- Add config ignore module. by @emmacorn in #208
- Tech 35 pantheon install by @agentrickard in #210
- Update the-build to use headless chrome by @byrond in #212
- TECH-33 Copy phpcs.xml to different path depending on host by @iajon in #211
New Contributors
- @eric-schmidt made their first contribution in #176
- @agentrickard made their first contribution in #192
- @emmacorn made their first contribution in #208
- @iajon made their first contribution in #211
Full Changelog: 3.0.3...4.0.0