Skip to content

v1.18.2, Gitpod, Less breakable by docker, PHP8.1.0

Compare
Choose a tag to compare
@rfay rfay released this 08 Dec 19:00
· 1826 commits to master since this release
0ee9cfb

Installation/Upgrade

See the installation instructions for details, but it's easy:

  • macOS Homebrew and Linux Linuxbrew: brew install drud/ddev/ddev or brew upgrade drud/ddev/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux and macOS with the install_ddev.sh script: Download the script, make it executable, and run it: ./install_ddev.sh or curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh
  • And anywhere, you can just download the tarball or zipball, untar or unzip it, and place the executable in your path where it belongs.
  • Consider ddev delete images after upgrading to free up disk space used by previous docker image versions. This does no harm.

🚛 Key changes for v1.18.2

  • Gitpod.io: Gitpod DDEV usage is now supported lots of ways, see the docs.
  • PHP8.1.0 released version, with all the usual extensions working, including blackfire.io
  • Less susceptible to Docker breakage: Now uses its own private, known-good docker-compose, so you don't have to worry that the next version of docker-compose will break ddev. This is globally configurable, and can be configured for any docker-compose v1 or v2. But it no longer uses the docker-compose in your path unless you tell it to do so. ddev config global --required-docker-compose-version=v1.29.2 for example, to use docker-compose v1.29.2, or ddev config global --use-docker-compose-from-path to use the docker-compose in your $PATH (fragile, not recommended).
  • ddev import-files with project type PHP: if the upload_dir is set, project-type php can use ddev import-files.
  • The provider interface (ddev pull) now has more powerful features - you can script the import of the database or files yourself if you know what you want to do with them.
  • ddev pull git: git provider added, so you can ddev pull git to get files and database from a public or private git repository.

≏ Minor changes

  • ngrok.com now requires a free or paid account, and a token, so that's now a requirement to use ddev share. Sadly.
  • Little scripts can now be added to global or project homeadditions in ~/.ddev/homeadditions/.bashrc.d to get run on ddev ssh.
  • Fix a bug where xdebug didn't work in WSL2 when docker is installed directly inside WSL2.
  • Support more crazy Windows usernames, including usernames with parentheses, spaces, etc.

Caveats

  • See the v1.18.0 and v1.18.1 release notes
  • If you need to use docker-compose v1 (perhaps for PhpStorm integration) you can ddev config global --required-docker-compose-version=v1.29.2 to install it. See PhpStorm setup docs.

🙏🏼🙏🏼🙏🏼 Thanks!

Thanks to the many contributors and upstream projects who added to this release (and see the NEW contributors below!).

What's Changed

  • Make ddev-router build despite upstream changes, for #2980 by @rfay in #3378
  • [docs] Update templates.go with current list of PHP versions [skip ci] by @ayacoo in #3380
  • Add apt-get dist-upgrade -y to webimage_extra_packages by @rfay in #3385
  • Use an explicit hostname ddev-<project>-db in ddev-webserver .my.cnf, for #3369 by @rfay in #3376
  • [docs] Minor typo in performance.md [skip ci] by @lolli42 in #3381
  • Fixed a spelling mistake by @shaal in #3386
  • Fixed typos in command line and comments by @stasadev in #3387
  • Set correct permission for bash completion in AUR by @stasadev in #3389
  • Fixed typos in docs (unclosed braces and spelling errors) by @stasadev in #3388
  • Buildkite script - added closure for if statement by @ivanhladkykh in #3390
  • Allow project type PHP to import-files if upload_dir is set, fixes #2880 by @rfay in #3374
  • AUR: Add zsh and fish completions by @stasadev in #3392
  • Allow custom import of db and files in provider interface (ddev pull) by @rfay in #3373
  • Security upgrades for dependencies: containerd, etc. by @rfay in #3393
  • Add a git provider for ddev pull git by @rfay in #3372
  • Remove HTTPS_EXPOSE from solr recipe by @rfay in #3394
  • Fixed typos in comments by @stasadev in #3399
  • Bump upstream web container to get php8.1.0 by @rfay in #3408
  • Truncate existing file when ddev export-db --file=, fixes #3402 by @longwave in #3407
  • Add .bashrc.d option when starting shell by @rfay in #3397
  • Fix error in home .bashrc.d in .profile by @rfay in #3420
  • .git needs to be synced for Composer self.version by @deviantintegral in #3398
  • Fix WSL2 docker-native host.docker.internal, use experimentalNetwork in .gitpod.yml by @rfay in #3415
  • Revert "Add apt-get dist-upgrade -y to webimage_extra_packages (#3385)" by @rfay in #3425
  • Remove parens from usernames, fixes #3421 by @rfay in #3423
  • Use "ddev delete --omit-snapshot" instead of "ddev stop --remove-data" by @douggreen in #3426
  • Download and use a private docker-compose, fixes #3405 by @rfay in #3409
  • Gitpod integration for website projects, for #3283 by @rfay in #3371
  • ngrok requires account: Update tests and docs, fixes #3430 by @rfay in #3431
  • Bump images and get upstream for v1.18.2 release by @rfay in #3428
  • Docs and test details for release of v1.18.2, fixes #3401, for #3283, fixes #3406 by @rfay in #3434

New Contributors

Full Changelog: v1.18.1...v1.18.2