Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Releases: geerlingguy/drupal-vm

3.3.0 "1990's Theme"

01 Oct 15:17
Compare
Choose a tag to compare

At long last, Drupal VM is the easiest way to compare Drupal running on MySQL/MariaDB vs. PostgreSQL! In the works for over a year (and thanks in large part to the efforts of @oxyc, and the egging-on @gitoutthere, @JorisVanEijden, @kevinquillen, @DougDavenport, @laceysanderson, and @fubarhouse), this is one of the biggest changes in the past few releases.

All you need to do to switch from MySQL (or MariaDB on CentOS 7) is set the new drupalvm_database variable to pgsql, and reprovision or build a new instance of Drupal VM:

drupalvm_database: pgsql

Be sure to read through the 'Breaking changes' section to see which variables you should update (if you've overridden them in a config.yml or local.config.yml).

Breaking changes

(Note: If you haven't overridden any of the database-related variables, no changes are required.)

  • Update the three drupal_mysql_* variables to drupal_db_*.
  • Update the default mysql_databases and mysql_users variables to use the new variable names.

New/changed variables in default.config.yml

  • vagrant_cpus set to 1 instead of 2 (see #855)
  • Added two variables to control minimum required dependency versions:
    • drupalvm_vagrant_version_min: '1.8.5'
    • drupalvm_ansible_version_min: '2.1'
  • Added drupalvm_database variable (defaults to mysql) to control database engine (see #146)
  • Changed drupal_mysql_* variables to drupal_db_* for better compatibility:
    • drupal_mysql_user is now drupal_db_user
    • drupal_mysql_password is now drupal_db_password
    • drupal_mysql_name is now drupal_db_name
  • Updated mysql_databases and mysql_users to use the new variable names listed above
  • Added postgresql_databases and postgresql_users (same kind of structure as the mysql_* variables)

Improvements

  • #146: Add PostgreSQL support.
  • #908: Require minimum version of Ansible 2.1.0, Vagrant 1.8.5.
  • #855: Default to 1 vCPU core for better VirtualBox performance.
  • Update PHP-MySQL Ansible role.
  • #421, #367: Add to Behat/Selenium documentation.

Bugfixes

  • Ensure Debian apt caches are updated when running tests on Travis.

3.2.3

27 Sep 22:11
Compare
Choose a tag to compare

Breaking changes

N/A

New/changed variables in default.config.yml

N/A

Improvements

  • Updated all Ansible roles to latest releases (stability fixes).
  • Updated Travis CI tests to use more efficient Docker setup.

Bugfixes

  • Nothing substantial, just a few typo corrections in comments.

3.2.2

09 Sep 23:26
Compare
Choose a tag to compare

Breaking changes

N/A

New/changed variables in default.config.yml

N/A

Improvements

  • #870: Use more compact and legible object syntax for cron example.
  • #886: Allow forcing use of ansible_local even if ansible is present on host.

Bugfixes

  • #889: Document Parallels requires paid version.
  • #845: Fix missing config.yml file in newrelic role.
  • #896: Update Node.js role to fix Nodesource SSL issues on older OSes. Update other roles too.

3.2.1

16 Aug 21:15
Compare
Choose a tag to compare

Breaking changes

N/A

New/changed variables in default.config.yml

  • Default database defined in mysql_databases now uses utf8mb4 encoding and utf8mb4_general_ci collation.
  • selenium_version now defaults to 2.53.0

Improvements

  • #866: Use latest Selenium release.
  • #859: Only set mysql_enablerepo when not defined.
  • #856: Link Nginx CGI timeout time to PHP timeout time.
  • #846: Default to Drupal 8.1.8.
  • #839: Don't throw warning if VAGRANTFILE_API_VERSION is set twice.
  • (No issue): Bump required role versions to latest point releases.

Bugfixes

  • #853: Add /web to directory in Drupal Console instructions.

3.2.0 "Tronaction"

27 Jul 14:27
Compare
Choose a tag to compare

This release is focused primarily on two additions: all roles are now included in the repository (meaning faster setup times and less chance of Ansible Galaxy installation problems!), and you can now easily use Elasticsearch instead of, or in addition to, Apache Solr!

Read on for all the changes...

Breaking changes

Drupal VM now uses Vagrant's ansible_local provisioner if you don't have Ansible installed on your host. Make sure you're running Vagrant 1.8.2 or later (1.8.5+ recommended!).

New variables in default.config.yml

  • drush_make_options: "--no-gitinfofile" added to allow overriding of the default options passed into the drush make command.
  • elasticsearch is now an optional installed_extra
  • port 9200 is now included in the list of firewall_allowed_tcp_ports (to support optional Elasticsearch installation)
  • solr_version: "5.5.2" – the default Solr version was bumped from 5.5.1 to 5.5.2.

Improvements

  • #814 / #815: Include roles in Drupal VM codebase (for faster/more stable install).
  • #803: Add optional Elasticsearch installation.
  • #450: Switch to Vagrant 1.8.2+'s ansible_local provisioner.
  • #807: Add ability to override drush make CLI options.
  • #775: Recommend manual VirtualBox installation as part of Quick Start guide.
  • #777: Document how to switch Java versions for newer Apache Solr versions.

Bugfixes

  • #800: Add php5-apcu to default Acquia Cloud package list.
  • #798: Update selenium role so it doesn't cause build failure.
  • #821: Bump upstream Solr role version to fix some Solr install bugs.
  • #825: Fix typo in dashboard.
  • #799: Quote the Drupal core version in the example makefile to avoid duck typing problems.

3.1.4

12 Jul 02:10
Compare
Choose a tag to compare

Breaking changes

  • php_sendmail_path now defaults to "/opt/mailhog/mhsendmail" (see 2d83582)

New variables in default.config.yml

N/A

Improvements

  • #776: Switch from ssmtp to mhsendmail.
  • #782: Favicon for Drupal VM dashboard page.
  • #791: Update URLs to https (yay Let's Encrypt!).
  • #794: Bump PHP role version so FPM user is configurable.
  • (No issue): Bump MySQL role version so large innodb prefixes are configurable.

Bugfixes

  • #795: Fix Your Site links on dashboard for certain Nginx configs.
  • #793: Document composer.json devel module dependency for default config.

3.1.3

29 Jun 16:38
Compare
Choose a tag to compare

Breaking changes

N/A

New variables in default.config.yml

N/A

Improvements

  • #762: Support including extra_parameters for nginx vhosts.

Bugfixes

  • #744: Fix npm_config_prefix directory created under root instead of vagrant.
  • #766: Document requirement of vagrant_box: ubuntu1404 for PHP 5.6.
  • #726: Fix permissions on the synced folder for composer project build.

3.1.2

16 Jun 22:01
Compare
Choose a tag to compare

Breaking changes

N/A

New variables in default.config.yml

N/A

Improvements

  • #730: Improve dashboard for users who have ip set to 0.0.0.0.
  • #733: Update example composer.json to work with Drupal.org packagist.

Bugfixes

  • #736: Fix hardcoded NFS reference that broke on Windows with vagrant-cachier plugin.
  • #734: Fix a setting that caused Vagrant 1.8.3/1.8.4 to fail to mount shared folders.
  • #733 and #741: Adjust composer and timeout values to be more robust with slower filesystems.
  • Bumped composer role version.

3.1.1

13 Jun 04:09
Compare
Choose a tag to compare

Breaking changes

N/A

New variables in default.config.yml

  • #ssh_home: "{{ drupal_core_path }}" - The SSH_HOME the default Drupal VM user would be redirected to upon SSH login (e.g. vagrant ssh). This new variable is entirely optional and commented by default.

Improvements

  • #709: Add strict vagrant version requirement for easier debugging.
  • #707: Use official packages.drupal.org for Composer drupal package repository.
  • #724: Add default www.drupalvm.dev alias to Apache and Nginx vhosts.
  • #725: Better ordering and description of Drupal-related variables in default.config.yml.
  • #665: Add ssh_home var as default pwd for SSH.

Bugfixes

  • #715: Set node global install directory to a location writable by the vagrant user.
  • #726: Ensure correct permissions when using Composer create-project.
  • #650: Bump MySQL role version to fix root user account password.

3.1.0 "Love Theme"

06 Jun 16:29
Compare
Choose a tag to compare

Drupal VM 3.0.0 focused on team-based Drupal VM usage, as well as the modernization of infrastructure components (e.g. defaulting to PHP 7, MySQL 5.7, and Ubuntu 16.04)—Drupal VM 3.1.0 continues the trend, with some of the following major features:

  • Composer-based workflow is the default (though Drush make is still supported)
  • Apache Solr 5 is the default version (6 works as well, and 3.5 and 4 are also still supported!)
  • vagrant-cachier is supported for faster VM rebuilds
  • config.yml is now optional, and you can just include the variables you need to override, instead of having to maintain an entire copy of default.config.yml

Read on for full details of the best Drupal VM release yet!

Breaking changes

N/A

New variables in default.config.yml

  • local_path: . - the default Vagrant synced folder local_path is set to the Drupal VM directory. This way multiple copies of Drupal VM can have independent Drupal codebases by default.
  • build_makefile: false - Drupal VM now defaults to a composer-based workflow. To keep using a makefile, set this true and set all the build_composer* variables to false.
  • build_composer, drupal_composer_*, build_composer_project, drupal_composer_project_* - New variables to support composer.json or composer create-project site builds.
  • extra_parameters added to the default Apache vhost definition for the Drupal VM dashboard (to support displaying PHP information on the dashboard).
  • hirak/prestissimo added to composer_global_packages (to speed up Composer operations inside the VM).
  • solr_version: "5.5.1" - New default version of Apache Solr, if solr is in installed_extras.
  • configure_local_drush_aliases has been changed to configure_drush_aliases (there is a shim to allow the use of the old variable name).

Improvements

  • #648: Make config.yml optional (always load default configuration).
  • #693: Default to Apache Solr 5.x.
  • #687: Default the synced folder to the Drupal VM directory.
  • #688: Add docs on how to run custom Ansible playbooks using a local Vagrantfile.
  • #694, #701: Add support for, and default to, Composer-based Drupal 8 site builds.
  • #698: Add docs about vagrant-bindfs to help those with NFS permissions issues.
  • #703: Include default vagrant-cachier configuration, with an :apt bucket and a :generic bucket for Composer.
  • #705: Add Packagist project badge.
  • #706: Updated docs for 3.1.0 and default Composer workflow.

Bugfixes

  • #654: Remove ansible.cfg because role install is handled by Vagrant.
  • #653: Update docs for PHP 5.6 and apcu.
  • #663: Change configure_local_drush_aliases to configure_drush_aliases so it's purpose is clearer.
  • #678: Clarify requirement of Ansible on host for host Drush alias setup.