v1.24.7: Windows Installer, MariaDB 11.8
Installation
See the installation instructions for details, but it's easy:
- macOS:
brew install ddev/ddev/ddevor justbrew upgrade ddev. - Linux: Use
apt install ddevorapt upgrade ddevsee apt/yum installation - Windows and WSL2: Download the ddev_windows_amd64_installer.v1.24.7.exe; you can run it for install or upgrade.
- Consider
ddev delete imagesorddev delete images --allafter upgrading to free up disk space used by previous Docker image versions. This does no harm. - Consider
ddev config --autoto update your projects to current configuration.
Highlights
- Windows Installer handling Traditional Windows, WSL2/Docker CE, and Docker/Rancher Desktop. Read more, with video
- Support added for MariaDB 11.8 LTS,
ddev config --database=mariadb:11.8 - New
ddev-hostnamebinary for hosts editing (with improved elevation/escalation technique) (gsudois no longer required on Windows, andddev.exeinstallation is no longer required on Windows WSL2. Read more - New Linux
ddev-wsl2package is built specifically for WSL2 and includes Windows-side binaries, so separate upgrading of Windows-side binaries is not needed - WSL2 Mirrored Mode now has automated testing
- New minimally supported Docker providers:
- Docker Desktop for Linux - has had limited manual testing only; prefer the documented
docker-ceinstallation - Rancher Desktop for Windows - has had limited manual testing only; currently the only open-source provider on traditional Windows
- Docker Desktop for Linux - has had limited manual testing only; prefer the documented
- It's recommended to run
ddev delete imagesafter the upgrade
Breaking Changes
- If you rely on
## Flagsannotation in custom commands, there is a change: unknown flags will no longer be parsed and will causeError: unknown flagorError: unknown shorthand flag. Either define all possible flags explicitly or remove the## Flagsannotation.
Features
- Enhanced Docker images cleanup in
ddev delete images,ddev delete,ddev clean - Shell completion support for flags in
ddev configandddev config global - New
DDEV_USERenvironment variable for use in custom.ddev/docker-compose.*.yamlfiles ddev launchin WSL2 works without installingxdg-utils(which can be safely removed on existing installations after update)- Support for
NO_COLORvariable, see UsingNO_COLORInside Containers - Return real exit code from
ddev execand add quiet-qflag to it, thanks to @andreashager
Bug Fixes
- Fix
ddev composer create-projectto acceptstdin - Remove unused Node.js version cache in
ddev-global-cacheDocker volume, thanks to @lozcalver - Add overrides from all
.ddev/config.*.yamlfiles to.DdevProjectConfig(used in Go templates, see example) - Make
--json-output/-jwork as expected for debug/verbose output. - Fix issue where the
dbcontainer couldn't restart alone when extra config was present in.ddev/mysql/*.cnf, thanks to @das-peter
Minor Updates
- PHP 8.3.23 and 8.4.10
- Xdebug 3.4.4
docker-composev2.38.2- Update
debian-archive-keyringfor EOL database images (mysql:5.5,mysql:5.6,postgres:9,postgres:10,postgres:11) - Display user defined
router-compose.*.yamlandssh-auth-compose.*.yamlduringddev start - Align Craft CMS quickstart with official docs, thanks to @AugustMiller
- Normalize default values in
ddev help configandddev help config global
What's Changed
- build: apply more staticcheck rules from golangci-lint, fixes #7155 by @stasadev in #7317
- docs: trailing whitespace on template by @hanoii in #7321
- build: update debian-archive-keyring for archived debian repos, fixes #7320 by @stasadev in #7324
- docs: use latest markdownlint, update "here" links by @stasadev in #7327
- feat: prune orphaned Node.js versions after install, fixes #7325 by @lozcalver in #7326
- docs: add tip on initial PhpStorm plugin setup by @stasadev in #7331
- refactor: improve message about missing docroot on
ddev startby @stasadev in #7332 - docs: clarify instructions for using PhpStorm inside WSL2 by @pbowyer in #7333
- fix: make
ddev composer create-projectwork with stdin by @stasadev in #7336 - docs: update
vendor/bin/composerexamples, for #6772 by @stasadev in #7344 - docs: align Craft CMS quickstart with official documentation by @AugustMiller in #7323
- docs: update ngrok link by @tyler36 in #7359
- feat: display user-defined
router-compose.*.yamlonddev startby @stasadev in #7355 - test: update check for starter page in Silverstripe CMS by @stasadev in #7368
- fix: Allow Docker Desktop for Linux (DDFL) but warn about it, fixes #7307 by @rfay in #7363
- build: Update google/go-github to v72, remove obsolete dependencies, replaces #7369 by @rfay in #7370
- feat: add
DDEV_USERenv var forwebcontainer user, sync env tests with docs by @stasadev in #7365 - feat: Support new LTS MariaDB 11.8 by @rfay in #6983
- refactor: clarify comment on legacy PostgreSQL, for #7324 by @stasadev in #7382
- build: use yaml/go-yaml instead of unmaintained yaml.v3, fixes #7280 by @rfay in #7381
- feat: add shell completion for
ddev configandddev config globalby @stasadev in #7356 - docs: improve xhgui documention, fixes #7376 by @michaellenahan in #7377
- fix: Remove COMPOSE_CONVERT_WINDOWS_PATHS to make Rancher Desktop (Windows) work by @rfay in #7375
- build: bump ddev-webserver and ddev-traefik-router, for #7282 by @stasadev in #7378
- test: Add testing for wsl2 mirrored networking, fixes #7379 by @rfay in #7380
- test: remove
TestCmdAddonleftovers in~/.ddevby @stasadev in #7387 - feat: display user-defined
ssh-auth-compose.*.yamlonddev startby @stasadev in #7388 - feat: improve images cleanup in
ddev delete images,ddev delete,ddev clean, fixes #5073, fixes #7201 by @stasadev in #7151 - refactor: normalize defaults in
ddev help configandddev help config global, update docs by @stasadev in #7386 - build: remove go-homedir, fixes #7366 by @rfay in #7390
- test: use
mainfor setup-homebrew action instead ofmasterby @chenrui333 in #7395 - build: upgrade mapstructure to v2 by @dolmen in #7396
- test: use bats-core/bats-core homebrew tap instead of kaos by @rfay in #7405
- fix: treat argument as literal in
ddevcddespite leading dash by @stasadev in #7401 - fix: make DdevProjectConfig include overrides, fixes #7154 by @stasadev in #7397
- feat: Improve elevation/escalation for hosts editing, including WSL2, fixes #6440, fixes #5324 by @rfay in #7392
- test: Pin umbrelladocs/[email protected] temporarily to sort out failures [skip buildkite] by @rfay in #7411
- docs: Improve windows install docs by @rfay in #7410
- fix: make xdg-utils optional, use explorer.exe on WSL2 [skip buildkite] by @rfay in #7402
- test: Ignore existing golangci-lint/revive package complaints by @rfay in #7415
- ci: use
skip-package-name-checks, pingolangci-lintto v2.2.1, removeonly-new-issues, for #7415 by @stasadev in #7416 - build: bump umbrelladocs/action-linkspector from 1.2.5 to 1.3.5 by @dependabot[bot] in #7417
- fix: route all logging through
outputto respect--json-outputby @stasadev in #7403 - docs: add blog and add-on registry to navigation by @stasadev in #7427
- build: Use new cooldown to slow dependabot updates [skip ci] by @rfay in #7425
- feat: add
NO_COLORvariable support, fixes #7058 by @stasadev in #7419 - refactor: centralize table style configuration by @stasadev in #7434
- fix: use
output.UserOutfor JSON output, retry on invalid input in interactiveddev config, for #7403 by @stasadev in #7433 - build: drop direct dependency on
github.com/pkg/errorsby @stasadev in #7432 - feat: add JSON output to
ddev -vby @stasadev in #7431 - refactor: move
ddevapp.RenderHomeRootedDirtofileutil.ShortHomeJoinby @stasadev in #7430 - docs: add Terminus downgrade tips, fixes #7352 by @bserem in #7353
- feat: return real exit code from
ddev execand add quiet flag to it, fixes #3518 by @andreashager in #7385 - fix: Include ddev-hostname in main build zipballs, fixes #7420 by @rfay in #7443
- feat: Windows Native and WSL2 GUI installer by @rfay in #7404
- build: bump github.com/spf13/cobra to latest commit, fixes #7361 by @stasadev in #7445
- fix: avoid mutating input slice in
cmd.prettyCmd()by @stasadev in #7448 - fix: remove unneeded
ddev-hostnamedependencies to reduce size, fixes #7408, fixes #7444 by @stasadev in #7446 - fix: Improve Windows installer behavior (actually exit on errors) by @rfay in #7452
- docs: add info about proxy for Docker client, fixes #7412 by @stasadev in #7454
- docs: How to use Xdebug with Composer for plugin development by @obriat in #7423
- fix: show errors for custom commands when flags are parsed, fixes #7409 by @stasadev in #7451
- build: Add a ddev-wsl2 package especially for ddev-hostname.exe, fixes #7428 by @rfay in #7449
- fix: temporarily allow write to
/etc/mysql/conf.d/*fordbcontainer restart, fixes #7457 by @das-peter in #7458 - test: do tests of windows installer, fixes #7440 by @rfay in #7459
- fix: Windows installer shouldn't be so aggressive in removing CAROOT by @rfay in #7461
- build: bump images to v1.24.7 for release, docker-compose v2.38.2 (
COMPOSE_BAKE=false), fixes #7383 by @stasadev in #7456 - docs: add
.wslconfigexample for mirrored networking mode in WSL2 by @stasadev in #7463 - docs: minor update to manual ddev instructions and use apt-get by @rfay in #7465
New Contributors
- @lozcalver made their first contribution in #7326
- @chenrui333 made their first contribution in #7395
- @dolmen made their first contribution in #7396
- @obriat made their first contribution in #7423
- @das-peter made their first contribution in #7458
Full Changelog: v1.24.6...v1.24.7