Warden 0.6.0
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 replacingwarden start
,warden stop
,warden up
,warden down
, andwarden restart
and offering further flexibility as this works similar towarden env
in that any verb known todocker-compose
may be used in orchestrating global services such astraefik
,dnsmasq
andportainer
; for example,warden svc up
does whatwarden 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 towarden svc up
(formerlywarden up
) - The
warden sync
command now allows use of mutagen sub-commandsflush
andreset
- 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 alocal
env type for a static site by addingWARDEN_NGINX=1
to the project's.env
file. - Added ability to pass arguments to and override the database name
db connect
anddb 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 withwarden sync list
wherewarden 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
andbar
(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 usewarden svc start
instead. - The
warden stop
command has been deprecated and will be removed in the 0.7.0 release; please usewarden svc stop
instead. - The
warden up
command has been deprecated and will be removed in the 0.7.0 release; please usewarden svc up
instead. - The
warden down
command has been deprecated and will be removed in the 0.7.0 release; please usewarden svc down
instead. - The
warden restart
command has been deprecated and will be removed in the 0.7.0 release; please usewarden svc restart
instead.