Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Latest commit

 

History

History
331 lines (233 loc) · 17.1 KB

CHANGELOG.md

File metadata and controls

331 lines (233 loc) · 17.1 KB

Draft Environment (Unreleased)

Updates:

  • GH-53 - Allow Apache to 'see' system environment (including DRAFT_ENVIRONMENT)

Draft Environment 3.6.3 (2022-07-25)

  • Fix PHP deprecation: Deprecation Notice: Function ReflectionType::__toString() is deprecated
  • Updated Ansible roles:
    • t2l.php (1.6.1 => 1.6.2): fix broken PHP installation with message The task includes an option with an undefined variable. The error was: 'php_extenstions_names' is undefined

Draft Environment 3.6.2 (2022-07-07)

  • Avoid class loading issues as signature of App class has changed
  • Trigger config update after version 3.6.0 (for real)

Draft Environment 3.6.1 (2022-07-07)

  • Trigger config update after version 3.6.0

Draft Environment 3.6.0 (2022-07-07)

  • GH-259 - Drop PHP7.3 and Composer 1 support; add support for 8.1; default to 8.0
  • GH-262 - Vagrant plugins now configurable. Also vagrant-vbguest is no longer installed by default. After updating all project it can be safely removed by running
    vagrant plugin uninstall vagrant-vbguest
  • GH-261 - Updated Ansible roles:
    • oefenweb.swapfile (v2.0.34 => v2.0.35)
    • geerlingguy.mailhog (2.2.0 => 2.3.0)
    • geerlingguy.mysql (3.3.2 => 3.5.0)
    • t2l.php (1.5.0 => 1.6.1): allows to install certain php extensions (like sodium) and fixes issue when switching between PHP 7 & 8 required a full VM recreation

Draft Environment 3.5.0 (2021-11-16)

  • GH-232 - Improve detection whether VM is supposed to be provisioned or not (fixes mkcert certificate not being installed on vagrant up)
  • GH-232 - Improve new dependencies autoloading
  • GH-220 - Store last applied update in the vm-settings.yml file instead of composer.lock
  • GH-245 - Fix MySQL fail to install due to incorrect configuration of the SQL mode ('~' is not a valid configuration)

Draft Environment 3.4.0 (2021-08-05)

Updates:

  • Updated Ansible roles:
    • oefenweb.swapfile (v2.0.33 => v2.0.34)
    • geerlingguy.mysql (3.3.1 => 3.3.2)
    • t2l.composer (2.0.4 => 2.0.5)

Draft Environment 3.3.3 (2021-07-12)

Updates:

  • GH-235 - Drop Ubuntu 16.04 support. Make Ubuntu 20.04 the default guest OS. Side effect: updated all Ansible roles:
    • oefenweb.swapfile (v2.0.32 => v2.0.33)
    • geerlingguy.mysql (3.3.0 => 3.3.1)
    • t2l.php (1.4.0 => 1.5.0)
    • t2l.composer (2.0.3 => 2.0.4)
    • t2l.java (1.3.2 => 1.3.3)

Draft Environment 3.3.2 (2021-03-13)

Updates:

  • GH-240 - Make Travis CI green again. Side effect: updated all Ansible roles:
    • oefenweb.swapfile (v2.0.28 => v2.0.32)
    • t2l.php (1.3.1 => 1.4.0)
    • t2l.composer (2.0.2 => 2.0.3)
    • t2l.java (1.3.1 => 1.3.2)
    • t2l.solr (2.2.1 => 2.2.2)

Fixes:

  • GH-241 - Use correct url for the get-pip.py script

Draft Environment 3.3.1 (2021-02-03)

Updates:

  • GH-231 - Migrate to Xdebug 3

Draft Environment 3.3.0, 2021-01-29

Updates:

  • GH-184 - Drop support of PHP7.2 and bump minimum phpunit/phpunit version to ^9.3
  • GH-219 - Add support for Composer 2
  • GH-226 - Migrate from Travis to Github Actions
  • GH-228 - Add PHP 8 support

Fixes:

  • GH-233 - Fix invalid NFS exports file produced under certain circumstances
  • GH-234 - Fix broken PiP installation by updating Python within the VM to version 3.7
  • GH-223 - Ensure that Python 3 is default in the VM
  • GH-218 - Address newly introduced PHPCS errors/warnings

Draft Environment 3.2.0, 2020-08-21

Updates:

  • GH-53 - Expose draft environment via environment variable DRAFT_ENVIRONMENT

  • GH-216 - Update all Ansible roles:

    • oefenweb.swapfile (v2.0.26 => v2.0.28)
    • geerlingguy.mysql (3.1.0 => 3.3.0)
    • T2L.php (1.3.0 => 1.3.1)
    • T2L.java (1.3.0 => 1.3.1)
    • T2L.solr (2.2.0 => 2.2.1)

    Bump the following defaults:

    • PHP version: 7.4

Fixes:

Draft Environment 3.1.1, 2020-08-12

Updates:

  • GH-204 - Revise PHP settings:
    • max_execution_time is set to 300 seconds for a web server, and unlimited (0) for the CLI
    • PHP CLI now able to send emails via the Mailhog
    • Disabled output_buffering for the CLI
  • GH-203 - Allow connecting to the MySQL instance from any host, i.e. allow direct connection from the host OS to the MySQL instance in the guest OS (no SSH tunnel anymore). Side effect - tests can be run from the host OS, which speeds them up to 3-5x.

Fixes:

  • GH-205 - Fix PHP fatal error upon package removal (i.e. when running composer remove lemberg/draft-environment
  • GH-208 - Fix broken provisioning by adding /vagrant mount

Draft Environment 3.1.0, 2020-08-06

Updates:

  • GH-206 - Allow overriding source/destination directory. Configuration setting vagrant.base_directory has been replaced with vagrant.destination_directory. Added new configuration setting vagrant.source_directory (defaults to .).

Draft Environment 3.0.1, 2020-06-05

Fixes:

  • GH-200 - Fix newly introduced PHPStan checks
  • GH-198 - Fix package settings gets deleted from the composer.lock when running any arbitrary composer command

Draft Environment 3.0.0, 2020-04-27

Updates:

  • GH-149 - Use forked version of consolidation/comments: t2l/comments

  • GH-193 - Update all Ansible roles:

    • oefenweb.swapfile (v2.0.24 => v2.0.26)
    • geerlingguy.mysql (3.0.0 => 3.1.0)
    • T2L.php (1.2.1 => 1.3.0)
    • T2L.java (1.2.0 => 1.3.0)
    • T2L.solr (2.1.1 => 2.2.0)

    Bump the following defaults:

    • Solr version: 7.7.3
  • GH-190 - Add Ubuntu 20.04 to the test package on Travis

  • GH-175 - Add GrumPHP support

  • GH-161 - Updated Ansible MySQL role to 3.0.0

  • GH-159 - Upgraded Molecule framework (2 => 3)

  • GH-157 - Switched to unofficial PPA for Vagrant on Travis; Vagrant 2.2.7 supports VirtualBox 6.1.x

Fixes:

  • GH-178 - Fix issue with slow VM boot using newer versions of VirtualBox (issue is related to the ttys0)
  • GH-177 - Add .gitattributes file and configure git to export production code only
  • GH-176 - Make this project less dependent on other packages:
    • Support Symfony 5
    • Bump Symfony 4 version constraint to ^4.4
    • Remove composer.lock from the repository (as it's does make sense to have it only for projects)
    • Run composer update on Travis with --prefer-lowest, so minimum versions can be tested (on PHP 7.2)
  • GH-172 - Ensure that composer.json is not broken after running updates; remove Configurer:setUp listener from all events
  • GH-168 - Ansible role geerlingguy.mysql @ 3.0.0 was failing to install due to incorrect python configuration in certain cases (fixed by setting ansible_python_interpreter to /usr/bin/python3

Draft Environment 3.0.0-rc2, 2020-02-12

New features:

  • GH-142 - Added trusted dev SSL certificates support (requires mkcert)

Updates:

  • GH-152 - Updated Ansible Solr role to 2.1.1

Fixes:

  • GH-145 - Downgrading the package causes PHP fatal error
  • GH-144 - Export all configuration update step does not preserve all overridden values
  • GH-147 - Settings are not being saved in extra section of the package in composer.lock
  • GH-143 - Remove composer scripts update step does not reset script indexes

Draft Environment 3.0.0-rc1, 2020-01-18

  • GH-90 - Replaced internal MySQL role with geerlingguy.mysql @ 2.9.5 Ansible role

  • GH-83 - Added configuration update manager

  • GH-119 - Updated all project dependencies, including supported Ansible version (2.9), Composer packages and Ansible Roles:

    • oefenweb.swapfile (v2.0.7 => v2.0.24)
    • geerlingguy.mailhog (2.1.4 => 2.2.0)
    • T2L.php (1.1.2 => 1.2.1)
    • T2L.java (1.1.0 => 1.2.0)
    • T2L.solr (2.0.1 => 2.1.0)

    Bump minimum supported PHP version to 7.2

    Bump the following defaults:

    • PHP version: 7.3
    • Solr version: 7.7.2
  • GH-84 - Exported all available Ansible role variables to the default.vm-settings.yml

  • GH-92 - Added mod_expires and mod_headers for Apache2

  • GH-117 - Replaced Configurer with Composer event handler

  • GH-94 - Converted project to a composer-plugin. Clean up Draft Environment configuration files upon package uninstall

  • GH-96 - Added vagrant-disksize plugin, which allows to alter VirtualBox disk size. By default VirtualBox disk size is capped at 10GB, which is fine for most of the projects, unless project has huge database. Introduced new variable virtualbox.disk_size (defaults to 10GB)

  • GH-104 - Bump minimum supported Vagrant version to 2.2.6

  • GH-106 - Converted tests to support Molecule 2

    Side effect: locked Ansible at 2.6.* (compared to 2.6.6 before): actually, locking to the specific patch version does not make a lot of sense due to deprecations being introduced in major/minor versions only. Locking a patch version does not allow Ansible to update causing more harm than stability

  • GH-102 - Tune the guest additions time synchronization parameters (force virtual machine to sync time with host)

  • GH-98 - Follow-up: lock Travis to Ansible 2.6.6

Draft Environment 3.0.0-beta4, 2019-05-13

  • GH-98 - Fix broken Travis CI; update Vagrant to version 2.2.4 on Travis CI

  • GH-82 - Ensure that PasswordAuthentication and ChallengeResponseAuthentication are enabled. See https://serverfault.com/questions/98289/ssh-doesnt-ask-for-password-gives-permission-denied-immediately

  • GH-81 - Fixed Ansible warning:

     [WARNING]: The input password appears not to have been hashed. The 'password'
    argument must be encrypted for this module to work properly.
    
  • GH-80 - Fixed Ansible warning:

    [DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
    squash_actions is deprecated. Instead of using a loop to supply multiple items
    and specifying `name: "{{ item }}"`, please use `name: ['package-name']` and
    remove the loop. This feature will be removed in version 2.11. Deprecation
    warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
    
  • GH-86 - Amended post vagrant up message in order to make it more readable

Draft Environment 3.0.0-beta3, 2018-10-26

  • Updated roles:

    • Apache Solr (T2L.solr: 2.0.1)
  • Fixed Ansible warning:

     [WARNING]: Module remote_tmp /root/.ansible/tmp did not exist and was created
    with a mode of 0700, this may cause issues when running as another user. To
    avoid this, create the remote_tmp dir with the correct permissions manually
    

Draft Environment 3.0.0-beta1/3.0.0-beta2, 2018-10-24

  • Use Ubuntu 16.04 LTS (Xenial Xerus) as default OS
  • Add option to disable automatic Vagrant box update checking: vagrant.box_check_update (disabled by default)
  • Updated roles:
    • Java (T2L.java: 1.1.0)
    • Apache Solr (T2L.solr: 2.0.0)
    • Mailhog (T2L.mailhog: 2.1.4)
  • Switch to Ansible Local provisioner and lock Ansible version
  • Introduced new variable ansible.version that controls Ansible version
  • Replaced kamaln7.swapfile role with oefenweb.swapfile@v2.0.7

Draft Environment 2.5.0, 2018-03-15

  • Set dependency on symfony/yaml to ^2.8|^3.2 so Drupal 8.5.x can be installed

Draft Environment 2.4.0, 2018-01-23

  • Drop setting a timezone
  • Draft virtual host now support SSL (with self-signed certificate)

Draft Environment 2.3.0, 2017-12-27

  • Set SSH default directory via ssh_default_directory variable (defaults to value of vagrant.base_directory variable, which is /var/www/draft by default). Yeah too many defaults here
  • Move pre_tasks from Ansible playbooks (main and test) to internal draft role

Draft Environment 2.2.0, 2017-12-08

  • Added roles:
    • MailHog (geerlingguy.mailhog: 2.1.3)
  • Add MailHog - email testing tool and configured it. See the docs

Draft Environment 2.1.1, 2017-11-20

  • Move logs to /var/log/draft so Apache can start on machine boot

Draft Environment 2.1.0, 2017-11-14

  • Removed roles:
    • Composer global packages (T2L.composer-global-packages)
  • Drop support of global Composer packages. Project must list all of its dependencies in composer.json file. Composer bin directory will be added to the system $PATH variable
  • Allow creation of symbolic links in shared folders
  • Allow setting of synced folder options via vagrant.synced_folder_options variable
  • Add domain aliases via vagrant.host_aliases variable (defaults to empty array)
  • Write error logs into <vagrant.base_directory>/logs

Draft Environment 2.0.2, 2017-10-12

  • Look for default.vm-settings.yml in package directory, not in project one

Draft Environment 2.0.1, 2017-10-11

  • Set dependency on symfony/yaml to ~3.2.8 so stable Drupal core can be used

Draft Environment 2.0.0, 2017-10-11

  • Default project location is changed from /var/www/defalt.localhost to /var/www/draft
  • Ability to specify base directory (in guest OS) and web server document root. See the docs
  • Add support of Drupal 8.4 (updated dependency on symfony/yaml to ~3.2)
  • Added creation of default MySQL database and user (db: drupal, user: drupal, pass: drupal)
  • Ability to specify what features will be installed
  • Install recommended Vagrant plugins automatically
  • Validate project name (must be a valid domain name)
  • Updated roles:
    • PHP (T2L.php: 1.1.1)
    • Composer (T2L.composer: 2.0.2)
    • Composer Global Packages (T2L.composer-global-packages: 2.0.2)
  • Added roles:
    • Java (T2L.java: 1.0.1)
    • Apache Solr (T2L.solr: 1.2.0)
  • Updated PHP role allows configuration of PHP extensions which uses own ini files. Say hello to xdebug!