Releases: geerlingguy/drupal-vm
3.3.0 "1990's Theme"
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 todrupal_db_*. - Update the default
mysql_databasesandmysql_usersvariables to use the new variable names.
New/changed variables in default.config.yml
vagrant_cpusset to1instead of2(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_databasevariable (defaults tomysql) to control database engine (see #146) - Changed
drupal_mysql_*variables todrupal_db_*for better compatibility:drupal_mysql_useris nowdrupal_db_userdrupal_mysql_passwordis nowdrupal_db_passworddrupal_mysql_nameis nowdrupal_db_name
- Updated
mysql_databasesandmysql_usersto use the new variable names listed above - Added
postgresql_databasesandpostgresql_users(same kind of structure as themysql_*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
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
3.2.1
Breaking changes
N/A
New/changed variables in default.config.yml
- Default database defined in
mysql_databasesnow usesutf8mb4encoding andutf8mb4_general_cicollation. selenium_versionnow defaults to2.53.0
Improvements
- #866: Use latest Selenium release.
- #859: Only set
mysql_enablerepowhen 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_VERSIONis set twice. - (No issue): Bump required role versions to latest point releases.
Bugfixes
- #853: Add
/webto directory in Drupal Console instructions.
3.2.0 "Tronaction"
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 thedrush makecommand.elasticsearchis now an optionalinstalled_extra- port
9200is now included in the list offirewall_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_localprovisioner. - #807: Add ability to override
drush makeCLI 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
Breaking changes
php_sendmail_pathnow 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
3.1.3
Breaking changes
N/A
New variables in default.config.yml
N/A
Improvements
- #762: Support including extra_parameters for nginx vhosts.
Bugfixes
3.1.2
3.1.1
Breaking changes
N/A
New variables in default.config.yml
#ssh_home: "{{ drupal_core_path }}"- TheSSH_HOMEthe 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
3.1.0 "Love Theme"
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-cachieris supported for faster VM rebuildsconfig.ymlis now optional, and you can just include the variables you need to override, instead of having to maintain an entire copy ofdefault.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 folderlocal_pathis 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 thistrueand set all thebuild_composer*variables tofalse.build_composer,drupal_composer_*,build_composer_project,drupal_composer_project_*- New variables to supportcomposer.jsonorcomposer create-projectsite builds.extra_parametersadded to the default Apache vhost definition for the Drupal VM dashboard (to support displaying PHP information on the dashboard).hirak/prestissimoadded tocomposer_global_packages(to speed up Composer operations inside the VM).solr_version: "5.5.1"- New default version of Apache Solr, ifsolris ininstalled_extras.configure_local_drush_aliaseshas been changed toconfigure_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-bindfsto help those with NFS permissions issues. - #703: Include default
vagrant-cachierconfiguration, 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.