Releases: palantirnet/the-build
4.2.0
What's Changed
- Move Acquia DB backups to cloud v2. by @acidaniel in #218
New Contributors
- @acidaniel made their first contribution in #218
Full Changelog: 4.1.1...4.2.0
Updating to this release
If your project uses a custom version of acquia-get-backup
or acquia-load-backup
, it will continue to work as it did. However, if you want to use the version directly from the-build, make the following changes:
- Update
build.yml
to include the correct settings foracquia-get-backup
:
# Configuration for targets/acquia.xml
acquia:
# Local path to store downloaded database backups.
backups: 'artifacts/backups'
# Site name as it appears in the Acquia Cloud list of applications.
site: 'My Site'
# Database name as it appears in the list of databases for the application.
database: 'mysite'
# Environment to pull database backup from (prod, test, or dev).
env: prod
- Ensure the following settings are correct in the project
build.yml
:
drupal:
sites:
default:
# OPTIONAL: The Drupal database name defaults to the site's "dir" value.
database:
# DDEV's default first database name is "db".
database: "db"
# Defaults for all sites; these can be overridden for individual sites.
_defaults:
database:
username: "db"
password: "db"
host: "db"
- Add a
.env
file with the Acquia Cloud API key and secret. See https://github.com/palantirnet/the-build/blob/develop/defaults/install/.env.example - Remove any targets that override
acquia-get-backup
oracquia-load-backup
frombuild.xml
to allow the target that ships with the-build to be used.
4.1.1
What's Changed
- DEV-70: Update install node dependencies task in the build by @byrond in #238
- DEV-74: Remove standard profile after installing the-build by @byrond in #239
Note: phing drupal-first-install
(used in the the-build-installer
script) now requires Drupal core 10.3 or greater, but palantirnet/the-build
as a whole is still backwards compatible with other versions of Drupal 10.
Full Changelog: 4.1.0...4.1.1
Updating to this release
- If you're running eslint based on Drupal core:
- Update your project's package.json to specify the required packages explicitly: https://github.com/palantirnet/drupal-skeleton/pull/160/files
- Update your project's build.xml to update how the eslint command is run, and how NodeJS dependencies are installed: defaults/install/build.xml
- Optionally update build caching in your CircleCI config: defaults/install/.circleci/config.yml
4.1.0
What's Changed
- DEV-47: Update to Node 18 and PHP 8.2 on CircleCI by @byrond in #222
- DEV-30 - Move phpmd config to phpmd.xml. by @raylwalters in #234
- DEV-63: Update to PHP 8.3 by @byrond in #236
Full Changelog: 4.0.4...4.1.0
Updating to this release
- Manually update the PHP and Node versions in your project's
.circleci/config.yml
-- as of this release, the templates use:image: cimg/php:8.3-browsers
NODE_VERSION: 18
- See https://github.com/palantirnet/the-build/blob/4.1.0/defaults/install/.circleci/config.yml#L11-L23
- Move the phpmd configuration into your project per https://github.com/palantirnet/the-build/pull/234/files
- Copy the-build's template for
phpmd.xml
into your project:cp vendor/palantirnet/the-build/defaults/install/phpmd.xml .
- Update how phpmd is run in your
build.xml
file: https://github.com/palantirnet/the-build/pull/234/files#diff-95311ab2502812eaa859fffe6bf48d80be06038e2543b5f68f68078baf72baee
- Copy the-build's template for
4.0.4
What's Changed
- DEV-49: Add behat features directory to phpcs linting. by @jaymejohnson in #233
Full Changelog: 4.0.3...4.0.4
Updating to this release
- You'll need to add the Behat feature contexts directory to
phpcs.xml
in your project root. See https://github.com/palantirnet/the-build/pull/233/files#diff-b3e9164c8d287326e9224f77b9933bd5147df95d6a433e2f2e7aa96a45aac490
4.0.3
What's Changed
- DEV-42 - Drop database tables when running load-db. by @raylwalters in #228
- unpin phpmd version by @byrond in #232
- DEV-25: Error reporting on "dirty directory" failures by @jaymejohnson in #230
New Contributors
- @jaymejohnson made their first contribution in #230
Full Changelog: 4.0.2...4.0.3
Updating to this release
- You will need to edit the phpmd command in your project's
build.xml
file. See https://github.com/palantirnet/the-build/blob/develop/defaults/install/build.xml#L124
4.0.2
What's Changed
- Check the composer.lock file as part of code-review by @patrickfweston in #224
- Setup behat tests to use the drupal router by @agentrickard in #219
- delete unused settings.php and settings.acquia.php by @byrond in #215
- DEV-45: Prevent 404 in the-build-installer by updating acquia memcache install task by @jesconstantine in #226
- DEV-37: Lint custom javascript with eslint by @jesconstantine in #223
- DEV-41 - Pin circle php image to 8.1.18. by @raylwalters in #227
New Contributors
- @raylwalters made their first contribution in #227
Full Changelog: 4.0.1...4.0.2
Updating from 4.0.1
- Update your project's
.circleci/config.yml
to match the changes todefaults/install/.circleci/config.yml
in https://github.com/palantirnet/the-build/pull/219/files - Update your project's
build.xml
file to addcomposer.lock
validation to thecode-review
target per https://github.com/palantirnet/the-build/pull/224/files
4.0.1
What's Changed
- DEV-36: The Build removed phpcbf settings by @agentrickard in #221
Updating from 4.0.0
Make the changes in #221 to your project's build.xml
file.
Full Changelog: 4.0.0...4.0.1
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
4.0-beta6
Reverts a change that was inadvertently made to this repository.
Full Changelog: 4.0-beta5...4.0-beta6
4.0-beta5
What's Changed
- 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
New Contributors
Full Changelog: 4.0-beta4...4.0-beta5