This repository has been archived by the owner on May 9, 2024. It is now read-only.
2.8.0
Added
- Adds
clone
command to clone git repositories and create new environments for it. - Adds
completion <shell>
command to display instructions how to activate autocomplete for a specific shell. Supported shells :bash
andzsh
. - Adds the ability to use project specific configuration files. It is read during clonning process and allows to define a configuration required for the project and allows to omit setup questions. If the configuration is not sufficient (for example, it misses php version), then appropriate questions will be asked fill gaps.
- Adds
init
command to generate project configuration files. - Adds the ability to update a docker-compose config for an environment if the configuration file contains
dockerCompose
callback function. - Adds global
--env=<environment>
option to specify an environment to use and to skip environment selection prompt. - Adds global
--verbose
option to switch between quite and verbose output modes. - Adds
--tail=<number>
argument to thelogs
command to limit the number of lines to show from the end of the logs for each container. It works the same way as it works fordocker-compose logs
itself and hasall
as default. - Adds
--pull
option to thestart
command to automatically pull latest images before an environment starts. - Adds
--remove-built-images
flag to theimage update
command to force removal of built images. - Adds
--yes
flag to theimage update
command to suppress questions. - Adds
<cmd>
positional argument to theshell
command to override command to run in the container. By default it is stillbash
but now it is possible to run different single commands without launching bash first. - Adds
list
andls
commands to list all the environments and meta information. - Adds engines information to the package.json to strictly denote that Node v12+ is required.
- Adds
cert install
command to install a new local CA in the system trust store. - Adds
cert generate <domains..>
command to generate self-signed SSL certificates for certain domains. - Auto-completion script for
10updocker
and10updocker-hosts
commands (props eugene-manuilov via #105) - Adds
SYS_PTRACE
capability to the php service to supportstrace
command.
Changed
- Reworks all commands to use
yargs
cli framework. - Updates the way how
wp
andwpsnapshots
commands determine subcommand arguments that needs to be passed into containers. Previously, wp-local-docker passed all arguments to the underlying command even if some arguments weren't intended for it. Now it passes everything that comes after the command keyword only, for example:10updocker --env=my-site-test wp plugin install hello-dolly --version=1.7.2
runswp plugin install hello-dolly --version=1.7.2
command in the container of themy-site-test
environment and doesn't pass--env=my-site-test
argument itself. - Removes https question and updates
create
command to create sites with HTTPS only. - Updates bash completion script to support new commands and aliases.
ini
comments to use semi-colon for compatibility (props @aaemnnosttv via #113)- Documentation updates (props @jeffpaul via #58)
- Updates
ENABLE_XDEBUG
environment variable in the docker-compose config to be'true'
by default. - Updates the
10up/wpsnapshots
image to use the2
tag.
Fixed
- Fixes issues with hosts manipulations during environment creations and deletions when node.js executable is not in the root's PATH.
- Fixes issues in the development version caused by memcacheadmin section in the development config for nginx.
- Issue with project directory recognition (props @eugene-manuilov, @jamesmorrison via #110)
Security
- Bump
acorn
from 7.1.0 to 7.2.0 (props @dependabot via #119) - Bump
lodash
from 4.17.15 to 4.17.19 (props @dependabot via #127)
Closed tickets
See the full list of tickets closed in the milestone 2.8.0