ddev

Docker-based local PHP+Node.js web development environments

APACHE-2.0 License

Stars
2.4K
Committers
316

Bot releases are hidden (Show)

ddev - v1.22.3

Published by rfay about 1 year ago

Installation

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

  • macOS: brew install ddev/ddev/ddev or just brew upgrade ddev ).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Highlights:

Most of what you want to know is in the v1.22.0 release notes.

This is just a bugfix release to clean up a couple of mistakes in v1.22.2:

  1. The $DDEV_MAILHOG_PORT and $DDEV_MAILHOG_HTTPS_PORT environment variables have been reinstated. (They now point to the Mailpit process, but it's the same as it was). It was a mistake to remove those and they broke a few users with just a couple of DDEV add-ons.
  2. The host_webserver_port and host_https_port configurations were not functional in v1.22.2. This didn't affect many people but it made ddev launch fail on Gitpod and probably GitHub Codespaces.

What's Changed

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.2...v1.22.3

ddev - v1.22.2: Mailpit, PHP 8.3

Published by gilbertsoft about 1 year ago

Installation

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

  • macOS: brew install ddev/ddev/ddev or just brew upgrade ddev ).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Highlights:

Most of what you want to know is in the v1.22.0 release notes. This point release adds:

  • Mailpit is used for capturing emails instead of the abandoned Mailhog. Almost everything works the same as it did, including ddev launch -m. However, if you were using the mailpit add-on from @tyler36 please remove it to avoid conflicts, ddev get --remove mailpit.
  • PHP8.3 support (PHP8.3-beta3), but there are still a number of extensions missing: apcu, imagick, memcached, redis, uploadprogress, xdebug, xhprof, xmlrpc.
  • MySQL 8.0 upgraded to 8.0.34
  • DDEV_HOST_WEBSERVER_PORT finally works after years. This will allow custom commands like ddev share but with services other than ngrok.
  • Custom mysql configuration on traditional Windows now works thanks to @rokclimb15
  • Improvements in GitHub Codespaces support, thanks to @mandrasch

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.1...v1.22.2

ddev - v1.22.1

Published by rfay about 1 year ago

Installation

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

  • macOS: brew install ddev/ddev/ddev or just brew upgrade ddev ).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL <https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh> | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Highlights:

Most of what you want to know is in the v1.22.0 release notes but this tune-up release fixes a few frictions people encounted and adds explicit Silverstripe CMS support:

  • Silverstripe CMS support, thanks to @Firesphere
  • Move default Traefik monitoring port from 9999 to 10999 to avoid conflicts with other things that use 9999 (and make it configurable)

Minor

  • Fix upload_dirs default for Magento 2
  • Improve ddev debug test with ddev debug testcleanup
  • Fix broken use of hardened images with Drupal7
  • sendmail_path includes -t flag
  • Correct detection of xdebug port on (unsupported) Linux Colima
  • Fix serialize_precision value in ddev-webserver

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0...v1.22.1

ddev - v1.22.0: `ddev get` improvements, Mutagen/Traefik default

Published by rfay about 1 year ago

Installation

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

  • macOS: brew install ddev/ddev/ddev or just brew upgrade ddev ).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL <https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh> | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Highlights:

  • ddev get add-ons have many new improvements with tracking versions of add-ons, allowing removal, etc.
    • Warning: To see versions you have to update your add-on with ddev get after installing DDEV v1.22+
    • ddev get --installed shows installed add-ons with their versions
    • ddev get --version <someversion <some-add-on> will get a specific version of an add-on.
    • ddev get --installed shows installed add-ons and their versions.
    • ddev get --remove <add-on>
    • If you ddev get and add-on that has dependencies, you’ll be warned about the situation.
    • Note to Add-on maintainers: Check that the value of name is what you want it to be. In previous versions of DDEV this wasn’t actually used, and there are some odd values out there in some add-ons.
    • Note to Add-on maintainers: You now have the option of adding removal actions. If your add-on doesn’t just add listed files but also takes actions during installation, you can reverse those actions on removal.
  • Mutagen is now enabled by default on macOS and traditional Windows. It’s normally configured globally with performance_mode: mutagen , but can be overridden at the project level. performance_mode: nfs still works but is considered deprecated. (These used to be called mutagen_enabled and nfs_mount_enabled)
  • Traefik router is the default: The default router is now the traefik router, configured with ddev config global --router=traefik. The old router (now deprecated) can be enabled with ddev config global --router-nginx-proxy
  • Experimental Python/Django support: See docs.

Behavior Changes:

  • Changes to defaults on new projects:
    • nodejs_version defaults to 18
    • php_version defaults to 8.1
  • config.*.yaml no longer gitignored: .ddev/.gitignore no longer gitignores all config.*.yaml, now it just ignores config.local.yaml. Portions of people’s add-ons were inadvertently being gitignored and could be lost by teams.
  • PhpMyAdmin has been removed from DDEV core, so ddev launch -p no longer works, etc. If you’d like to use PHPMyAdmin, ddev get ddev/ddev-phpmyadmin and use ddev phpmyadmin.
  • Traefik is now the default router. If you want the traditional router, ddev config global --router=nginx-proxy
  • Traefik incompatible with disable_http2: If you need to disable_http2 in the global configuration, use the traditional router, ddev config global --router=nginx-proxy
  • Traefik router uses port 9999: If you have a custom service using port 9999, you'll have to either change the port used by the service or use the legacy nginix-proxy router, ddev config global --router=nginx-proxy
  • Mutagen is enabled by default on macOS and traditional Windows. Use ddev config global --performance-mode=none or ddev config global --performance-mode=nfs to change, and this can also be overridden on the project level.

Minor Notes:

  • ddev pantheon pull no longer requires an SSH key to be configured.
  • ddev pause has been removed
  • Multiple upload dirs: A project can now have multiple upload dirs are now supported, so a Drupal project, for example, could have upload_dirs: ["sites/default/files", "../private"] . ddev import-files has the new --target flag to specify which should be targeted on upload.
  • Craft CMS .env file creation improved; Craft 3 detected and folks are warned to use project type php.
  • post-stop hooks are no longer called if project is already stopped.
  • ddev list can now be filtered with ddev list --type=<projecttype>, thanks @cmuench
  • Tip of the Day: On ddev start there’s a tip of the day once a day. These come from [ddev/remote-config](https://github.com/ddev/remote-config/blob/main/remote-config.jsonc) and your suggestions and PRs are welcome. This can be turned off with ticker_interval: -1 in the messages section of ~/.ddev/global_config.yaml.
  • Global configuration for router_http_port and router_https_port. Note that project-level configuration still overrides the global configuration, and projects which were created prior to v1.22.0 will likely have project defaults, so you’ll need to remove the project defaults to use the global values.
  • MySQL updated to 8.0.33 and 5.7.42

Caveats:

  • Casual Webhosting: If you’re using the Casual Webhosting feature with Lets Encrypt, be aware that although router: traefik is the new default, the Traefik router does not yet have preconfigured Lets Encrypt capability. You’ll need to ddev config global --router=nginx-proxy
    • Default Traefik router uses port 9999: If you have a custom service using port 9999, you'll have to either change the port used by the service or use the legacy nginix-proxy router, ddev config global --router=nginx-proxy

What's Changed (WOW!)

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.21.6...v1.22.0

ddev - v1.22.0-rc1

Published by rfay about 1 year ago

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh <version> - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

Highlights:

  • ddev get add-ons have many new improvements with tracking versions of add-ons, allowing removal, etc.
    • Warning: To see versions you have to update your add-on with ddev get after installing DDEV v1.22+
    • ddev get --installed shows installed add-ons with their versions
    • ddev get —version <someversion <some-add-on> will get a specific version of an add-on.
    • ddev get —installed shows installed add-ons and their versions.
    • ddev get —remove <add-on>
    • If you ddev get and add-on that has dependencies, you’ll be warned about the situation.
    • Note to Add-on maintainers: Check that the value of name is what you want it to be. In previous versions of DDEV this wasn’t actually used, and there are some odd values out there in some add-ons.
    • Note to Add-on maintainers: You now have the option of adding removal actions. If your add-on doesn’t just add listed files but also takes actions during installation, you can reverse those actions on removal.
  • Mutagen is now enabled by default on macOS and traditional Windows. It’s normally configured globally with performance_mode: mutagen , but can be overridden at the project level. performance_mode: nfs still works but is considered deprecated. (These used to be called mutagen_enabled and nfs_mount_enabled)
  • Traefik router is the default: The default router is now the traefik router, configured with ddev config global --router=traefik. The old router (now deprecated) can be enabled with ddev config global --router-nginx-proxy
  • Experimental Python/Django support: See docs.

Behavior Changes:

  • Changes to defaults on new projects:
    • nodejs_version defaults to 18
    • php_version defaults to 8.1
  • config.*.yaml no longer gitignored: .ddev/.gitignore no longer gitignores all config.*.yaml, now it just ignores config.local.yaml. Portions of people’s add-ons were inadvertently being gitignored and could be lost by teams.
  • PhpMyAdmin has been removed from DDEV core, so ddev launch -p no longer works, etc. If you’d like to use PHPMyAdmin, ddev get ddev/ddev-phpmyadmin and use ddev phpmyadmin.
  • Traefik is now the default router. If you want the traditional router, ddev config global --router=nginx-proxy
  • Traefik incompatible with disable_http2: If you need to disable_http2 in the global configuration, use the traditional router, ddev config global --router=nginx-proxy
  • Mutagen is enabled by default on macOS and traditional Windows. Use ddev config global --performance-mode=none or ddev config global --performance-mode=nfs to change, and this can also be overridden on the project level.

Minor Notes:

  • ddev pantheon pull no longer requires an SSH key to be configured.
  • ddev pause has been removed
  • Multiple upload dirs: A project can now have multiple upload dirs are now supported, so a Drupal project, for example, could have upload_dirs: ["sites/default/files", "../private"] . ddev import-files has the new --target flag to specify which should be targeted on upload.
  • Craft CMS .env file creation improved; Craft 3 detected and folks are warned to use project type php.
  • post-stop hooks are no longer called if project is already stopped.
  • ddev list can now be filtered with ddev list --type=<projecttype>, thanks @cmuench
  • Tip of the Day: On ddev start there’s a tip of the day once a day. These come from [ddev/remote-config](https://github.com/ddev/remote-config/blob/main/remote-config.jsonc) and your suggestions and PRs are welcome. This can be turned off with ticker_interval: -1 in the messages section of ~/.ddev/global_config.yaml.
  • Global configuration for router_http_port and router_https_port. Note that project-level configuration still overrides the global configuration, and projects which were created prior to v1.22.0 will likely have project defaults, so you’ll need to remove the project defaults to use the global values.
  • MySQL updated to 8.0.33 and 5.7.42

Caveats:

  • Casual Webhosting: If you’re using the Casual Webhosting feature with Lets Encrypt, be aware that although router: traefik is the new default, the Traefik router does not yet have preconfigured Lets Encrypt capability. You’ll need to ddev config global --router=nginx-proxy

What's Changed

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0-beta4...v1.22.0-rc1

ddev - v1.22.0-beta4

Published by rfay over 1 year ago

Highlights of this release

  • MySQL updated to 8.0.33 and 5.7.42
  • Better handling on detection of Craft CMS 3, better Craft CMS .env variable creation and management
  • Bugfixes, especially a mutagen sync failure in some situations
  • post-stop hooks aren't called if project is already stopped
  • If project type is php but another project type is detected, it doesn't automatically switch to the other project type. #1919
  • Mutagen is enabled by default on macOS and traditional Windows. Uses new performance-mode configuration flag
  • Multiple upload_dirs can be configured, `ddev config --upload-dirs=dir1,dir2,...
  • Removed ddev pause
  • PhpMyAdmin is removed from DDEV core, use ddev get ddev/ddev-phpmyadmin if you like it.
  • Traefik is now the default router, ddev config --router=...
  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Support for multiple upload dirs
  • Show a tip of the day on start once a day
  • Plenty of bugfixes and docs fixes

Caveats

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh <version> - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0-beta3...v1.22.0-beta4

ddev - v1.22.0-beta3

Published by rfay over 1 year ago

Highlights of this release

  • Bugfixes, especially a mutagen sync failure in some situations
  • post-stop hooks aren't called if project is already stopped
  • If project type is php but another project type is detected, it doesn't automatically switch to the other project type. #1919
  • Mutagen is enabled by default on macOS and traditional Windows. Uses new performance-mode configuration flag
  • Multiple upload_dirs can be configured, `ddev config --upload-dirs=dir1,dir2,...
  • Removed ddev pause
  • PhpMyAdmin is removed from DDEV core, use ddev get ddev/ddev-phpmyadmin if you like it.
  • Traefik is now the default router, ddev config --router=...
  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Support for multiple upload dirs
  • Show a tip of the day on start once a day
  • Plenty of bugfixes and docs fixes

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh <version> - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0-beta2...v1.22.0-beta3

ddev - v1.22.0-beta2

Published by rfay over 1 year ago

Highlights of this release

  • Bugfixes, including a panic
  • If project type is php but another project type is detected, it doesn't automatically switch to the other project type. #1919
  • Mutagen is enabled by default on macOS and traditional Windows. Uses new performance-mode configuration flag
  • Multiple upload_dirs can be configured, `ddev config --upload-dirs=dir1,dir2,...
  • Removed ddev pause
  • PhpMyAdmin is removed from DDEV core, use ddev get ddev/ddev-phpmyadmin if you like it.
  • Traefik is now the default router, ddev config --router=...
  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Support for multiple upload dirs
  • Show a tip of the day on start once a day
  • Plenty of bugfixes and docs fixes

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh <version> - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0-beta1...v1.22.0-beta2

ddev - v1.22.0-beta1

Published by gilbertsoft over 1 year ago

Highlights of this release

  • Mutagen is enabled by default on macOS and traditional Windows. Uses new performance-mode configuration flag
  • Multiple upload_dirs can be configured, `ddev config --upload-dirs=dir1,dir2,...
  • Removed ddev pause
  • PhpMyAdmin is removed from DDEV core, use ddev get ddev/ddev-phpmyadmin if you like it.
  • Traefik is now the default router, ddev config --router=...
  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Support for multiple upload dirs
  • Show a tip of the day on start once a day
  • Plenty of bugfixes and docs fixes

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh <version> - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0-alpha3...v1.22.0-beta1

ddev - v1.22.0-alpha3

Published by gilbertsoft over 1 year ago

Highlights of this release

  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Plenty of bugfixes and docs fixes

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh <version> - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.22.0-alpha2...v1.22.0-alpha3

ddev - v1.22.0-alpha2: Python and Django support

Published by rfay over 1 year ago

Highlights of this release

  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Plenty of bugfixes and docs fixes

Installation/Upgrade

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

  • macOS: brew install ddev/ddev-edge/ddev or just brew upgrade ddev/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh v1.22.0-alpha2 - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.21.6...v1.22.0-alpha1

ddev - v1.22.0-alpha1: Python and Django support

Published by rfay over 1 year ago

Highlights of this release

  • Python and Django support
  • Filtering ddev list with ddev list --type=<projecttype>, thanks @cmuench
  • drush8 is updated to 8.4.12 (only useful for Drupal 7 users)
  • Verbose logging by default for Drupal 7+ users, thanks @RobLoach
  • Add basic-auth flag to ngrok by @stasadev
  • Plenty of bugfixes and docs fixes

Installation/Upgrade

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

  • macOS: brew install drud/ddev-edge/ddev or just brew upgrade drud/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too) use the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version> or or curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh v1.22.0-alpha1 - If you already had ddev installed otherwise, uninstall or unlink first. If you prefer to use a package, download the deb file from this release and install it.
  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.21.6...v1.22.0-alpha1

ddev - v1.21.6: Bugfix release (revert change to custom Dockerfile)

Published by rfay over 1 year ago

Highlights

This is a bugfix release. There were two problems in v1.21.5 that needed some work.

  1. Reverted: The unfortunate breaking change that changed the context in .ddev/web-build/Dockerfile to the full project has been reverted here. I apologize for the breaking change, and now apologize to all of you who already had to change your .ddev/web-build/Dockerfile due to the breaking change.
  2. ddev pull platform and ddev pull pantheon when using mutagen didn't work; it's fixed.

Otherwise, same features as in v1.21.5:

  • DDEV has moved to github.com/ddev/ddev. You do not have to change anything on your system. But if you are using homebrew, you can now use the ddev/ddev tap if you want to, although the old drud/ddev tap still works fine. So brew untap drud/ddev && brew install ddev/ddev/ddev.
  • WSL2 hosts management is improved. Hosts management is only required when using a non *.ddev.site URL, but now when it is needed, the Windows hosts file is edited (using DDEV installed on Windows side, activated from inside WSL2). This allows apps like browsers to properly look up hostnames in this situation. Please upgrade DDEV on Windows with choco upgrade -y ddev or by running the installer in this release.
  • Container start hooks (.ddev/web-entrypoint.d/*.sh) are introduced so that actions can be taken earlier in the web container lifecycle. For example, environment variables can be set that will be known in php-fpm.
  • GitHub Codespaces is supported.

Installation

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

  • macOS: brew install ddev/ddev/ddev or just brew upgrade ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL <https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh> | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Caveats

  • If you already updated your custom Dockerfile with the v1.21.5 instructions (quoted below) then you need to revert what you did. Here the Dockerfile context is back to what it always was, the web-build directory:

If you have a custom Dockerfile that does an ADD or similar activity, the context of ADD has changed, and it’s now the full project. So instead of the old ADD somefile.conf /etc/somefile.conf you’ll do ADD .ddev/web-build/somefile.conf /etc/somefile.conf
So if you changed in v1.21.5 to use ADD .ddev/web-build/somefile.conf... you need to now change it back to what it originally was, ADD somefile.conf /etc/somefile.conf

  • If you are upgrading from v1.21.5 and you use mutagen and you're having trouble with a ddev pull command, try ddev mutagen reset.

What's Changed

Full Changelog: https://github.com/ddev/ddev/compare/v1.21.5...v1.21.6

ddev - v1.21.5: DDEV is on ddev/ddev, Github Codespaces

Published by gilbertsoft over 1 year ago

Highlights

Major features of this release:

  • DDEV has moved to github.com/ddev/ddev. You do not have to change anything on your system. But if you are using homebrew, you can now use the ddev/ddev tap if you want to, although the old drud/ddev tap still works fine. So brew untap drud/ddev && brew install ddev/ddev/ddev.
  • WSL2 hosts management is improved. Hosts management is only required when using a non *.ddev.site URL, but now when it is needed, the Windows hosts file is edited (using DDEV installed on Windows side, activated from inside WSL2). This allows apps like browsers to properly look up hostnames in this situation. Please upgrade DDEV on Windows with choco upgrade -y ddev or by running the installer in this release.
  • Container start hooks (.ddev/web-entrypoint.d/*.sh) are introduced so that actions can be taken earlier in the web container lifecycle. For example, environment variables can be set that will be known in php-fpm.
  • GitHub Codespaces is supported.

Installation

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

  • macOS: brew install ddev/ddev/ddev or just brew upgrade ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL <https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev.sh> | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Minor Changes

  • MySQL 8.0 is updated to 8.0.31, with full snapshot support.
  • composer_root is respected for .env creation and also for ddev composer create
  • nodejs_version: 18 works again after a regression in the upstream nodejs installer.
  • The Traefik router is improved to respect $VIRTUAL_HOST; note that the Traefik router will become the default in DDEV v1.22.0.
  • $DDEV_PHP_VERSION is provided in .ddev/web-build/Dockerfile.* so that custom Dockerfiles don’t have to hard-code the PHP version.
  • ddev nvm works properly after a regression in v1.21.4.
  • Many other bugfixes and docs improvements. Thanks DDEV community!

Caveats

  • If you have a custom Dockerfile that does an ADD or similar activity, the context of ADD has changed, and it’s now the full project. So instead of the old ADD somefile.conf /etc/somefile.conf you’ll do ADD .ddev/web-build/somefile.conf /etc/somefile.conf
  • Is you use WSL2, please install/upgrade the Windows version of DDEV, choco upgrade -y ddev - it’s used as a proxy in cases where the hosts file has to be manipulated (when not using *.ddev.site URLs). This isn’t needed for anything else, and it doesn’t require Docker Desktop to do this work, so Docker Desktop is not required if you use “Docker inside WSL2”, docker-ce.

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.21.4...v1.21.5

ddev - v1.21.5-rc1

Published by rfay over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ddev/ddev/compare/v1.21.5-alpha1...v1.21.5-rc1

ddev - v1.21.5-alpha1: nodejs_version: 18 fix

Published by gilbertsoft over 1 year ago

Highlights of this prerelease

  • Fixes the ddev get --list command which wasn't showing the official add-ons anymore (#4608).
  • Fixes the issue that projects using Node.JS 18 can not start (#4614).
  • Fixes a regression on ddev nvm so it works as expected (#4620)
  • Other more minor bugfixes see bellow.

Caveats

If you have a custom Dockerfile that does an ADD or similar activity, the context of ADD has changed, and it’s now the full codebase. So instead of the old ADD somefile.conf /etc/somefile.conf you’ll do ADD .ddev/web-build/somefile.conf /etc/somefile.conf

Installation/Upgrade

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

  • macOS: brew install drud/ddev-edge/ddev or just brew upgrade drud/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux or WSL2: apt update && apt install ddev will get you the latest version.
  • 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.

What's Changed

New Contributors

Full Changelog: https://github.com/drud/ddev/compare/v1.21.4...v1.21.5-alpha1

Highlights

Major features of this significant release:

  • Improved WSL2 support, see install docs and PhpStorm docs.
    • Correct Xdebug behavior when docker-ce is installed inside WSL2
    • Use the hosts file on the Windows side by default.
    • Provide complete install scripts for both docker-ce and Docker Desktop.
    • For best results on existing projects, please install the traditional Windows DDEV, choco install -y ddev.
  • PHP 8.2.0 is now supported with all the normal extensions. Note that php8.1-xhprof and php8.2-xhprof have a [bug](https://github.com/longxinH/xhprof/issues/76) that may affect using ddev xhprof with those versions. You can fix this with webimage_extra_packages: [php8.2-xhprof] or webimage_extra_packages: [php8.1-xhprof].
  • Drupal 10 is fully supported, including support for specific MariaDB/MySQL/PostgreSQL requirements.
  • Traefik optional new ddev-router. This will become the default router in the future. See docs
  • .ddev/.env files for setting environment variables inside the web container, see docs.
  • ddev pull now supports the --environment option so you can provide environment variables to the pull recipe on the command line.
  • Command flags for wrapper commands now can use the flags on the wrapped command. For example, ddev composer --help will now return the composer help instead of ddev’s help for ddev composer. ddev php --help will show php’s help, etc. Thanks to @hanoii for sorting this out!
  • Friendlier ddev get output.
  • ddev self-upgrade command helps you remember how to upgrade your DDEV version.
  • ddev pull platform can now pull multiple databases from your Platform.sh project.
  • Attention ddev add-on maintainers: Each action in an add-on can now have a #ddev-description:<description> annotation that helps explain what’s happening as the add-on runs.
  • Ongoing major documentation improvements by @mattstein, thanks!

Installation

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

  • macOS: brew install drud/ddev/ddev or just brew upgrade ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2: Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh script: curl -fsSL https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Minor Changes

  • postgres:9, postgres:10, and postgres:11 were broken due to upstream changes, but are fixed here
  • ddev launch and postgres database now work on Gitpod.
  • DDEV is ready for Drupal 9.5 and 10 with setting the “MySQL transaction isolation level” and adding the pg_trgm extension on postgres.
  • NFS works again on macOS Ventura after a Ventura/Docker regression
  • Shopware 6 and Laravel .env files are now managed by DDEV where necessary. This can be turned off, as always, with disable_settings_management: true.
  • New ddev querious command supports the Querious database browser on macOS if it’s installed, thanks to @brianjhanson.
  • Docker 20.10+ is now required no matter what your Docker provider; most people on Colima, Docker Desktop or Linux already have this.
  • New ddev config --xdebug-ide-location allows configuring many IDE setups, see docs.
  • ddev launch works on gitpod, thanks to @bajuku-daniel
  • PostgreSQL databases work on gitpod, thanks to @bajuku-daniel

Caveats

  • If using Windows WSL2, please install the current version of DDEV on the WIndows side, choco upgrade -y ddev; ddev.exe is used as a helper to add or remove hosts from the Windows hosts file when needed.
  • If using Windows WSL2 and you often add or remove hostnames, you will be annoyed by gsudo escalation all the time, consider turning on the gsudo cache with gsudo.exe cache on and gsudo.exe config CacheMode auto; that way it won't escalate for every single addition or removal from the hosts file.

What's Changed

New Contributors

Full Changelog: https://github.com/drud/ddev/compare/v1.21.3...v1.21.4

ddev - v1.21.3: bugfixes

Published by rfay almost 2 years ago

Highlights

Almost everything you want to know is in v1.21.2.

This release is mostly to fix a couple of bugs that affected just a few people:

Installation/Upgrade

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

  • macOS: brew install drud/ddev/ddev or just brew upgrade drud/ddev/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

What's Changed

New Contributors

Full Changelog: https://github.com/drud/ddev/compare/v1.21.2...v1.21.3

ddev - v1.21.2

Published by rfay about 2 years ago

Highlights

  • PHP8.2 support although not all extensions are ready yet. (php8.2-xdebug is not yet supported)
  • Craft CMS: Explicit support of Craft CMS and the ddev craft command, thanks to @khalwat and @bencroker!
  • TYPO3 v12 support: The settings files have changed in TYPO3 v12; thanks to @gilbertsoft this release works with TYPO3 v12.
  • Mutagen update: leave mutagen sync paused instead of deleting it; better support of in-container permissions on traditional Windows, new ddev mutagen logs command. Mutagen sync time on traditional Windows seems to be significantly improved over previous versions.
  • DDEV Fig spec generation, thanks to @khalwat!
  • Global project_tld: You can now set the default top-level domain for all projects with the global project_tld in ~/.ddev/global_config.yaml or with ddev config global --project-tld=somedomain.org. Thanks @bbrala!
  • Under the hood: Significant mutagen changes, with a new version and an isolated mutagen daemon that is only used by DDEV. You can remove your ~/.mutagen directory if you only use mutagen for DDEV, but if you do use mutagen for other things, you no longer have to worry about version conflicts or anything else.

Installation/Upgrade

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

  • macOS: brew install drud/ddev/ddev or just brew upgrade drud/ddev/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Minor Changes

  • Improve yarn and npm project cache management.
  • ddev mutagen logs command for debugging.
  • You no longer need to put version: 3.6 (or any version:) in docker-compose.*.yaml files or ddev-get add-ons.
  • Improved detection of existing database type, solves problems with upgrading older versions of DDEV, and fixes postgres:9 detection.
  • If composer_root is set, the vendor/bin is added to the $PATH so things like ddev drush will work even in places where the composer_root is not in the project root.
  • Testing to see if the internet is reachable is done far less often, so you probably won’t ever see a timeout complaint from it again. This should make the DDEV Integration Plugin for PhpStorm have less timeouts.
  • ddev debug migrate-database added, for example ddev debug migrate-database mysql:5.7 to migrate to mysql:5.7. It exports the database and then reimports with the new type. Works only with MariaDB and MySQL and normally won’t work with mysql:8.0 as the source type.
  • ddev debug get-volume-db-version will inspect the database type that is currently in use. You don’t even have to start the project to run it.

THANKS

As always there have been so very many wonderful contributions from the community, but I wanted to call out just a couple here:

  • Jacob Howard, @xenoscopic, took a whole morning to chat in person and talk about a variety of things, including DDEV’s mutagen integration and how it could be improved. Those suggestions resulted in sigificant under-the-hood mutagen work in this release.
  • @hanoii took the time to thoroughly research yarn and npm caching issues with various versions, recreated problems, suggested solutions, and then did a thorough test.
  • @rpkoller installed the HEAD version every time a new commit went in, and carefully studied and tested the Mutagen (and other) changes. It made a huge difference.
  • @mattstein gave his very lifeblood (or brain blood?) to do a massive update to the docs, with consistency and purpose.
  • The new Craft CMS explicit project type is thanks to @khalwat and @bencroker who took it on out of the blue and pushed it through. Thanks!
  • @gilbertsoft noticed that newly minted TYPO3 v12 wasn’t working with DDEV and rolled a PR right away.

What's Changed

New Contributors

Full Changelog: https://github.com/drud/ddev/compare/v1.21.1...v1.21.2

ddev - v1.21.1: Bug and minor fixes

Published by rfay about 2 years ago

I apologize that I typoed the version number of this point release. It was supposed to be v1.20.1, and I put in v1.21.1, but it's too hard to call it back from all the places it went without jeopardizing version comparisons in all the places in the future, so I guess we'll leave it alone.

Can't start project: "the configured database type does not match the current actual database"

If you see

Failed to start : Unable to start project because the configured database type does not match the current actual database. Please change your database type back to “” and start again

(note the 'change your database type back to “”')

It most likely means you had a database from pre-v1.19.0, that didn't ever get upgraded. You can solve this problem by either: ddev delete and re-import:

  1. Have a backup or snapshot.
  2. ddev delete -Oy
  3. ddev start and import-db or restore snapshot.

or by using this tiny script. See #4129: 1.21.1 - Can't start project: "the configured database type does not match the current actual database"

or by using DDEV HEAD, with homebrew this would be brew unlink ddev && brew install --HEAD --fetch-head ddev

Failed to start project: "name' does not match any of the regexes: '^x-'"

DDEV v1.21.1 no longer supports docker-compose v1, so you are using docker-compose v1 somehow. To fix this, ddev config global --required-docker-compose-version="" --use-docker-compose-from-path=false

Highlights

  • A few yarn 3+ users had trouble with ddev start on particular projects due to a change in the cache configuration. That's fixed here.
  • In v1.20.0+, the default behavior ofconfig.*.yaml is to merge instead of just overwriting other values. However, there were those of you counting on the ability to override, or to clear values, and that is now possible using the override_config: true in the config.*.yaml that needs to override instead of merging. See docs.
  • New commands ddev debug check-db-match, ddev debug get-volume-db-version, and ddev debug migrate-database. ddev debug migrate-database can actually attempt a migration of MariaDB or MySQL databased between various versions, but it won't normally work with MySQL 8.0 as the source type.
  • Special thanks to @mikesnoeren for super-important work on the docs, including navigation, accessibility, and overall presentation.

Installation/Upgrade

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

  • macOS: brew install drud/ddev/ddev or just brew upgrade drud/ddev/ddev ). (You may need a brew update for homebrew to find the new release.).
  • Traditional Windows: Use choco upgrade -y ddev, or download the ddev_windows_installer below.
  • Linux or WSL2 (macOS works too): Use apt install ddev or apt upgrade ddev see apt/yum installation or use the install_ddev.sh: curl -fsSL https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh | bash
  • 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 or ddev delete images --all after upgrading to free up disk space used by previous docker image versions. This does no harm.

Minor changes

  • Support for docker-compose v1 is removed, as it's not compatible with a number of current features. Remember that DDEV doesn't actually care what version of docker-compose you have on your system, or even if you have it there, because it downloads its own version and puts it in ~/.ddev/bin/docker-compose.
  • Mutagen bumps to v0.15.1. Again, you don't need to download it, install it, or care what version it is, because DDEV downloads the required version to ~/.ddev/bin.
  • ddev start now checks on startup to see if the existing database binary information is compatible with the configured database version and fails if it is not the same.
  • In v1.20.0, ddev get auto-started the project, and it doesn't do that for now.
  • Improved windows_ddev_nfs_setup.sh
  • Fixed a bug where the ddev-dbserver never timed out when being started with the wrong database type.
  • Added the environment variable DDEV_VERSION inside the container.

Caveats

  • The new behavior of merging config.yaml and config.*.yaml may affect some projects, but it also opens many new possibilities and resolves a number of workaround issues. Use overwrite_config: true in the config.*.yaml that you want to have overwrite instead of merge features, see docs.

What's Changed

New Contributors

Full Changelog: https://github.com/drud/ddev/compare/v1.20.0...v1.21.1

Package Rankings
Top 4.91% on Proxy.golang.org
Badges
Extracted from project README
Gitpod Ready-to-Code