Skip to content

v2.0.0

Compare
Choose a tag to compare
@gaambo gaambo released this 20 Mar 15:49
· 14 commits to master since this release
  • Updated from Deployer 6.x to 7.x
    See docs for more information.
    Most notable changes:
    • New format for yml-files which can now also include configuration.
    • The local is not available any more. Instead once and runLocally should be used. For theme assets the example uses a function callback and the on helper to optionally run those build tasks on the local host.
    • When deploying you can't select a host by name or stage anymore. Instead you have to use labels (eg a stage label). If you've used dep deploy production you now have to use dep deploy stage=production and set the stage label in your yml file.
  • Switched to a single base recipe which can be included and built upon. See examples/deploy.php.
  • The new recipe and examples uses yml-files for project-specific configuration so the deploy.php is a dropin file and has no configuration in it.
  • PHP 8 compatibility.
  • Fixes issues with rsync flags/options and '.

Upgrading:
If you've used the default recipe it's probably easiest to copy the new example deploy.php and update your yml-file with project-specific configuration. If you have added any other tasks/features to your deploy.php make sure you upgrade them too.
If you've used most of the core functions of this library or just the examples, the upgrade should only take a few minutes.