v1.11.0-rc2: omit db container, php7.4, composer create improvements
Pre-releaseInstallation/Upgrade
See the installation instructions for details, but it's easy:
- Please stop all projects first, this does no harm:
ddev poweroff
orddev stop --all --stop-ssh-agent
- If you have custom configuration, especially pinned image specifications in your .ddev/config.yaml, please remove it for now.
- macOS Homebrew and Linux Linuxbrew (ddev-edge channel only):
brew install drud/ddev-edge/ddev
or justbrew upgrade drud/ddev-edge/ddev
). - Windows: Use
choco upgrade -y --pre ddev
to get this one, or download the ddev_windows_installer below. - And anywhere, you can just download the tarball or zipball, untar or unzip it, and place the executable in your path where it belongs.
- You'll want to do a
ddev config && ddev start
for each project just to update the config file so it has the current APIVersion in it. Otherwise ddev will keep pestering you to do that.
Key changes since v1.10.2:
- PHP7.4 beta is now included and can be used (in config.yaml:
php_version: 7.4
) omit_containers[db]
is now possible at the project level. If you don't use mysql/mariadb in your project, you can prevent the creation of the db container withomit_containers["db"]
Since the dba/PHPMyAdmin container is irrelevant in this case, it is innately omitted, but you can doomit_containers["db","dba"]
and no harm is done.- During upgrades, all necessary docker images will be pre-pulled so that you can see what's going on during
ddev start
after an upgrrade. - In config.yaml,
webimage_extra_packages
now uses —no-install-recommends when building the container. ddev powerdown
is now an alias forddev poweroff
, which is the same asddev stop --all --stop-ssh-agent
- mkcert is now updated inside the web container and can be used with macOS Catalina beta if you are wanting to move on to macOS Catalina.
- TYPO3 v10
ddev share
should work better - Improved
ddev start
andddev list
timing/performance. composer create
now accepts any flags or args, and runs interactively, so if it asks a question you can answer it.- It's once again possible to bind ddev to all network interfaces on the host computer. This is an option in ~/.ddev/global_config.yaml,
router_bind_all_interfaces: true
. With this people can allow access on their local network for various reasons. - Many docs improvements; improvements in solr service examples.
Caveats
- If you're on macOS Catalina, please upgrade mkcert:
brew update && brew upgrade mkcert
. Make sure youddev poweroff
as you should before any ddev upgrade. - If you use
router_bind_all_interfaces: true
in ~/.ddev/global_config.yaml, be aware that it is a major security issue; people on your network not only have access to all your projects, but also to all of your PHPMyAdmin and MailHog screens. You should consider not running PHPMyAdmin at all by usingomit_containers: [dba]
in ~/.ddev/global_config.yaml.
Community Contributions
There were oh-so-many community contributions in this release (and even more in ddev-contrib and awesome-ddev).
- @ctorgalson and @shaal added important solr add-on service documentation and technique
- @AMartinNo1 and @arafalov and others added great docs issues and PRs
- @spoonerWeb, @jonaseberle, and @rmcveigh fixed various .gitconfig problems
- @wizonesolutions improved the command examples
- @briezler fixed a problem with TYPO3 v10 Trusted Hosts.
- @AronNovak improved the version mismatch errors when .ddev/config.yaml hasn't been updated
- @gilbertsoft improved the composer create instructions for TYPO3
We love your contributions, as issues, PRs, comments and support in Slack or Gitter, contributions to ddev-contrib, and external articles. Thanks!
Commits Since v1.10.2
bbedaaa Allow users to bind router on all network interfaces, fixes #1798 (#1834)
d7f3003 Improve docs, add FAQ and support options (docs only), fixes #1797 [skip ci][ci skip] (#1832)
6e7dd34 Better version suggestion on composer.yaml mismatch (#1707)
fc5fe96 Escape composer versions in docs so they work in Windows cmd (#1823)
bcc8ec9 Adds "Updating Apache Solr configuration" section, fixes #1644 (#1645)
8d4142f Documenting Solr version + instructions how to change it (#1833) [skip ci][ci skip]
d07e310 Revert temporary makensis workaround since upstream is fixed now (#1828)
e59d710 Update to latest build-tools and golang (#1829)
cb0d34f Don't let sentry call home if instrumentation not configured (#1815)
22625e2 Allow omit_containers["db"] for projects (#1819)
a144c42 Make composer create accept any flags or args, and run interactively, fixes #1737 (#1816)
26b9256 [BUGFIX] Add closing tag on troubleshooting page (#1824)
5084b14 Stop building image tarballs by default (#1817)
5d85211 Simplify NO_V_VERSION, should work with real tags (#1814)
344e1f4 [BUGFIX] Remove doubled entries of .webimageBuild and .dbimageBuild, fixes #1788 (#1789)
614a842 Improve warning when mkcert not installed or certs not installed (#1808)
53bc10c Stop building chocolatey on routine builds (#1809)
f48aed9 Update mkcert for catalina compatibility (#1804)
71e771e Update wp-cli and drush to current, improve ddev testbot logic, fixes #1800 (#1803)
d6244c4 Make shebang lines more portable in host example. (#1799)
aba042f Improve ddev start and ddev list performance (#1796)
95ab553 Temporarily use a custom-built mkcert that works on Ubuntu 16.04 for CircleCI (#1805)
e483ec5 Fix example name and Github links for all examples (#1793)
84b6e3e Add ngrok.io domain to trustedHostsPattern in TYPO3 config (#1761)
06f1299 Add powerdown alias for poweroff, because I keep trying to use it (#1791)
f6d349b Pull all important images during start if needed, friendlier to users (#1785)
868c05d PHP7.4 (beta) for ddev (missing apcu, memcached, redis, xdebug) (#1781)
0b6816e Use --no-install-recommends and --no-install-suggests for apt-get install of *image_extra_packages (#1776)
61afbb5 Revert to older makensis for homebrew, fixes #1773 (#1783)