Skip to content

Warden 0.6.0

Compare
Choose a tag to compare
@davidalger davidalger released this 02 Jul 22:23

Upgrade Notes:

  • Warden now requires docker-compose 1.25.0 or later; see issue #165
  • Warden now requires mutagen 0.11.4 or later for environments leveraging sync sessions on Mac OS (currently Magento 2 and Shopware 6 use Mutagen).

Enhancements:

  • Added warden svc command to control global services replacing warden start, warden stop, warden up, warden down, and warden restart and offering further flexibility as this works similar to warden env in that any verb known to docker-compose may be used in orchestrating global services such as traefik, dnsmasq and portainer; for example, warden svc up does what warden up did previously.
  • Updated warden env to report an error if Docker does not appear to be running.
  • Updated warden env up to imply -d (--detach) to work in like manner to warden svc up (formerly warden up)
  • The warden sync command now allows use of mutagen sub-commands flush and reset
  • The following version defaults were updated (these defaults apply when versions remain unspecified in a project's .env file; new project .env files may differ by environment type)
    • PHP-FPM default updated from 7.3 to 7.4
    • Elasticsearch default updated from 6.8 to 7.7
    • RabbitMQ default updated from 3.7 to 3.8
    • MariaDB default updated from 10.3 to 10.4
  • Updated warden env-init command to prompt user before overwriting an existing .env file in a project directory (#166 by @Lunaetic)
  • Updated warden env-init command to prompt user for required arguments when missing (#170 by @Lunaetic)
  • Added support for Magepack advanced JS bundling (#138 by @vbuck)
  • Added a new shopware environment type including Mutagen configuration for file sync on macOS (issue #169)
  • Added support for implementing custom commands in ~/.warden/commands or <project>/.warden/commands (#172 by @davidalger)
  • Added new feature flag WARDEN_NGINX to enable/disable service on per-project basis. This will allow (for example) using a local env type for a static site by adding WARDEN_NGINX=1 to the project's .env file.
  • Added ability to pass arguments to and override the database name db connect and db import operate on (issue #22)

Bug Fixes:

  • Fixed issue where specifying -v flag would short circuit argument parsing (this flag was removed; previously was only used with warden sync list where warden sync list -l now accomplishes the same thing by passing the -l flag to mutagen to list in detail)
  • Fixed bug where quoted arguments like "foo bar" would be passed into sub-route as two arguments, foo and bar (technical detail of argument parsing; no known cases where this caused an issue)
  • Fixed incorrect var name in output of warden env-init for Laravel env type

Deprecated Functionality:

  • The warden start command has been deprecated and will be removed in the 0.7.0 release; please use warden svc start instead.
  • The warden stop command has been deprecated and will be removed in the 0.7.0 release; please use warden svc stop instead.
  • The warden up command has been deprecated and will be removed in the 0.7.0 release; please use warden svc up instead.
  • The warden down command has been deprecated and will be removed in the 0.7.0 release; please use warden svc down instead.
  • The warden restart command has been deprecated and will be removed in the 0.7.0 release; please use warden svc restart instead.