Releases: palantirnet/the-build
4.0-alpha1
The goal of this release is to remove some of the templating functionality that makes planaitrnet/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.
The plan is to remove more templating/wrapping before releasing 4.0.
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
3.0.3
3.0.2
Changed
- The artifact process now runs
composer install
with the--ignore-platform-reqs
flag so that not all PHP extensions need to be installed when building the artifact on a CI environment
Fixed
- Updated default CI file to run
sudo apt-get update
before installing apt dependencies
3.0.1
3.0.0
This release introduces Drupal 9 compatibility by removing the dependency on the drupal/config_installer
package. You will need to update existing sites manually (see the "Updating" section below).
Added
- New example CircleCI configuration to deploy to Acquia or Pantheon in
defaults/install/.circleci
Changed
phing install
now usesdrush site-install --existing-config
instead of the config_installer profile (#145)
Deprecated
- The
drupal.site.profile
property is no longer used by the defaultinstall
target inbuild.xml
. It will be removed in the 3.0 release. (#145)
Updating
When you update to Drupal 9, you will need to update your project to remove the dependency on the drupal/config_installer
package. In Drupal 8, these steps are optional.
- Change your site's profile to
minimal
, because the--existing-config
install option only works with profiles that don't implementhook_install()
. There's a new phing command in the-build to do this:
phing drupal-change-profile -Dnew_profile=minimal
- Export your config:
drush cex
- Update the
install
target in yourbuild.xml
:
- Change
<param>${drupal.site.profile}</param>
to<option name="existing-config" />
- See the build.xml diff for details
- Remove the
drupal/config_installer
package from your project:
composer remove drupal/config_installer
2.3.2
2.3.1
Changed
- Allow using Drush 9 or Drush 10 (PR #150)
Fixed
Updating
- If you want to use Drush 10, you can now run
composer update palantirnet/the-build --with-dependencies
. - This release changes the default
.circleci/config.yml
to install drupal-check. If you want this change in your project, compare your CircleCI config file todefaults/install/.circleci/config.yml
.
2.3.0
Fixed
- Added Drupal 8.8's
$settings['file_temp_path']
configuration to settings.*.php (#144) - Updated phpcs usage to fix an issue where some Drupal code was no longer subject to review, because the latest release of Coder changed the default file extensions (#148)
Updating
-
This release has
settings.php
configuration specific to Drupal 8.8, but these changes will only be applied to new installations of Drupal. -
If your
build.xml
uses phpcs, make the following change:<!-- Run PHP Code Sniffer. --> - <property name="phpcs.command" value="vendor/bin/phpcs --standard=${phpcs.standard} --ignore=${phpcs.ignore} ${phpcs.directories}" /> + <property name="phpcs.command" value="vendor/bin/phpcs --standard=${phpcs.standard} --extensions=${phpcs.extensions} ${phpcs.directories}" />
2.2.1
2.2.0
Changed
- Updated from Drush 8 to Drush 9
- Changed how the
config_sync_directory
is handled for Drupal 8.8 - see drupal.org/node/3018145
Updating from 2.1
Your Drupal site must be running Drupal 8.8 to use the-build version 2.2 and newer.
The Drush update requires a lot of dependency math! The easiest way to resolve it is to remove the-build from the requirements, and then re-add it.
composer remove --dev palantirnet/the-build
composer require --dev palantirnet/the-build
Afterwards, you'll need to update the drush configuration in your project:
- Remove
drush/drushrc.php
- Optional: copy
vendor/palantirnet/the-build/defaults/install/drush/drush.yml
todrush/drush.yml
- Migrate your site aliases by running
drush site:alias-convert
from within your VM (otherwise you'll get any global drush aliases you have set up)