Skip to content

Releases: palantirnet/the-build

4.0-alpha1

15 Oct 14:57
d38843d
Compare
Choose a tag to compare
4.0-alpha1 Pre-release
Pre-release

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

25 Nov 20:55
Compare
Choose a tag to compare

Fixed

  • Updated composer cache location in CircleCI config

Changed

  • Expanded Pantheon automated deployment example
  • Updated default .gitignore for artifacts to exclude node dependencies

3.0.2

17 Aug 18:12
Compare
Choose a tag to compare

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

09 Jul 22:46
Compare
Choose a tag to compare

Removed

  • Removed default installation of the "kint" Drupal module, which has been removed from the 4.0 release of devel (see discussion here).

Updating

This change does not affect existing projects.

3.0.0

08 Jul 21:35
Compare
Choose a tag to compare

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

Deprecated

  • The drupal.site.profile property is no longer used by the default install target in build.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.

  1. Change your site's profile to minimal, because the --existing-config install option only works with profiles that don't implement hook_install(). There's a new phing command in the-build to do this:
phing drupal-change-profile -Dnew_profile=minimal
  1. Export your config:
drush cex
  1. Update the install target in your build.xml:
  • Change <param>${drupal.site.profile}</param> to <option name="existing-config" />
  • See the build.xml diff for details
  1. Remove the drupal/config_installer package from your project:
composer remove drupal/config_installer

2.3.2

25 Jun 19:49
Compare
Choose a tag to compare

Fixed

  • Fix the-build installation for platformsh (PR #154)

2.3.1

18 May 22:12
Compare
Choose a tag to compare

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 to defaults/install/.circleci/config.yml.

2.3.0

30 Jan 23:56
Compare
Choose a tag to compare

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

04 Dec 23:22
Compare
Choose a tag to compare

Changed

  • Updated and loosened the version requirement for drupal/coder

2.2.0

02 Dec 23:42
03abf6b
Compare
Choose a tag to compare

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 to drush/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)