Skip to content

Releases: pantheon-systems/terminus

2.4.1

08 Sep 18:30
89763c4
Compare
Choose a tag to compare

Changed

  • The DrushRCEditor class has been renamed to DrushRcClass. (#2083)
  • Upstreams can be ID'd by labels, product_ids, and machine_names in addition to ids. (#2086)

Fixed

  • The DrushRCEditor class no longer emits deprecation warnings. (#2083)
  • tag:add now rejects empty tags. (#2085)

2.4.0

19 Jun 19:54
3278abb
Compare
Choose a tag to compare

Added

  • New option --no-db added to multidev:create which will skip the duplication of the database from the source environment. (#2050)
  • New option --no-files added to multidev:create which will skip the duplication of files from the source environment. (#2050)
  • New option no-db added to Environments::create which will skip the duplication of the database from the source environment. (#2050)
  • New option no-files added to Environments::create which will skip the duplication of files from the source environment. (#2050)
  • New method Upstream::hasCode() returns a bool indicating whether the environment has code or not. (#2056)

Changed

  • Request::download($url, $target) now accepts directories in addition to files as its $target parameter. (#2053)
  • The backup:get command's --to option now accepts directories in addition to files. (#2053)
  • Return type of Redis::disable() has changed to a Workflow model. (#2055)
  • Return type of Redis::enable() has changed to a Workflow model. (#2055)
  • Return type of Solr::disable() has changed to a Workflow model. (#2055)
  • Return type of Solr::enable() has changed to a Workflow model. (#2055)
  • Return type of Environment::disableHttpsCertificate() has changed to a Workflow model. (#2055)

Removed

  • Removed now-redundant Backup::serializeWithURL() function. Use Backup::serialize() instead. (#2042)
  • Removed obsolete Environment::convergeBindings() method. (#2055)
  • Removed obsolete Site::converge() method. (#2055)

Fixed

  • Drush script is no longer included when generating Drush aliases. (#2076)
  • PHP notice is not emitted when using upstream:updates:status on an environment without code. (#2056)
  • PHP notice is not emitted when using UpstreamStatus::hasUpdates() on an environment without code. (#2056)

2.3.0

10 Jan 19:38
b7971c9
Compare
Choose a tag to compare

Added

  • New const TERMINUS_HOST_CERT added to permit use of SSL certificates while making requests. (#2024)

Changed

  • Terminus will now load plugin files ending in Hook.php in addition to those ending with Command.php (#2025)
  • The role parameter in org:people:add is now being validated before sending the request. (#2033)
  • The role parameter in org:people:role is now being validated before attempting the change. (#2033)
  • The role parameter in site:team:add is now being validated before attempting the change. (#2033)
  • The role parameter in site:team:role is now being validated before attempting the change. (#2033)

Deprecated

  • Deprecated the --cc option on env:deploy. Please use env:clear-cache instead. (#2022)

Fixed

  • PHP Deprecated warnings seen in PHP ≥ 7.4.0 (#2043)

2.2.0

26 Sep 22:41
350713c
Compare
Choose a tag to compare

Added

  • Added primary field to the output of domain:list. (#2011)
  • Added domain:primary:add command to set a domain as primary, causing traffic to redirect to it. (#2011)
  • Added domain:primary:remove command to remove a domain's primary designation. (#2011)

2.1.0

03 Sep 21:19
345a302
Compare
Choose a tag to compare

Added

  • Added --filter option to backup:list command (#1992)
  • Added --filter option to branch:list command (#1992)
  • Added --filter option to domain:list command (#1992)
  • Added --filter option to env:list command (#1992)
  • Added --filter option to multidev:list command (#1992)
  • Added --filter option to org:list command (#1992)
  • Added --filter option to org:people:list command (#1992)
  • Added --filter option to org:site:list command (#1992)
  • Added --filter option to org:upstream:list command (#1992)
  • Added --filter option to payment-method:list command (#1992)
  • Added --filter option to plan:list command (#1992)
  • Added --filter option to site:list command (#1992)
  • Added --filter option to site:org:list command (#1992)
  • Added --filter option to site:team:list command (#1992)
  • Added --filter option to ssh-key:list command (#1992)
  • Added --filter option to upstream:list command (#1992)
  • Added --filter option to upstream:updates:list command (#1992)

Deprecated

  • backup:list --element=VALUE option is deprecated. Use --filter="type=VALUE" instead. (#1992)
  • site:list --framework=VALUE option is deprecated. Use --filter="framework=VALUE" instead. (#1992)
  • site:list --name=VALUE option is deprecated. Use --filter="name=VALUE" instead. (#1992)
  • site:list --plan=VALUE option is deprecated. Use --filter="plan_name=VALUE" instead. (#1992)
  • org:site:list --plan=VALUE option is deprecated. Use --filter="plan_name=VALUE" instead. (#1992)
  • org:site:list --tags=VALUE option is deprecated. Use --filter="tags=VALUE" instead. (#1992)
  • org:upstream:list --framework=VALUE option is deprecated. Use --filter="framework=VALUE" instead. (#1992)
  • org:upstream:list --name=VALUE option is deprecated. Use --filter="label=VALUE" instead. (#1992)
  • upstream:list --framework=VALUE option is deprecated. Use --filter="framework=VALUE" instead. (#1992)
  • upstream:list --name=VALUE option is deprecated. Use --filter="label=VALUE" instead. (#1992)

Obsolete

  • 'pantheon-systems/terminus-aliases-plugin' ignored as load time, as its functionality is now provided in Terminus core. (#1994)
  • PHP 5.5 no longer actively supported, as it is EOL, and no longer testable on Travis.

Changed

  • drush:aliases now produces both Drush 8 and Drush 9 aliases. Wildcard alias records always used (requires Drush 8.3.0 or later). (#1994)
  • site:info's value of the region field has been changed to use human-readable region names. (#1985)
  • site:list's value of the region field has been changed to use human-readable region names. (#1985)
  • Owner parameter displayed in the success notice of owner:set instead of the user's first and last names. (#2007)

Removed

  • Users' first and last names removed from the list provided by site:team:list. (#2007)
  • Users' first and last names removed from the list provided by org:people:list. (#2007)

2.0.1

29 Apr 02:20
123e99e
Compare
Choose a tag to compare

Fixed

  • Fixed site:org:list so that it no longer ends without returning anything. (#1964)
  • Fixed env:deploy so the --note option is used when initializing the test or live environments. (#1965)
  • "Deploy from Terminus" is the default message used by env:deploy when initializing the test or live environments. (#1965)
  • Fixed issue wherein any list command using datetime filters' first item was a formatted Unix datetime 0. (#1970)
  • Fixed update message when running Terminus PHAR. (#1972)

2.0.0

20 Feb 19:32
4469aba
Compare
Choose a tag to compare

Added

  • New plan:list command lists the plans available to a site. (#1901)
  • New plan:set command sets a site's plan. (#1901)
  • New Plans collection interacts with plans available to a Site. (#1901)
  • New Plan model represents a plan available to a Site or set on a site. (#1901)
  • New Site::getPlan() function to retrieve a model representing the Site's present plan. (#1901)
  • New Site::getPlans() function to retrieve a collection representing all available plans for the Site. (#1901)
  • backup:list now emits a warning when its list is empty. (#1906)
  • branch:list now emits a warning when its list is empty. (#1906)
  • domain:list now emits a warning when its list is empty. (#1906)
  • env:list now emits a warning when its list is empty. (#1906)
  • plan:list now emits a warning when its list is empty. (#1906)
  • site:team:list now emits a warning when its list is empty. (#1906)
  • upstream:list now emits a warning when its list is empty. (#1906)
  • A progress bar has been added to the workflow processing portion of backup:restore. (#1907)
  • A progress bar has been added to the workflow processing portion of connection:set. (#1907)
  • A progress bar has been added to the workflow processing portion of env:clear-cache. (#1907)
  • A progress bar has been added to the workflow processing portion of env:clone-content. (#1907)
  • A progress bar has been added to the workflow processing portion of env:commit. (#1907)
  • A progress bar has been added to the workflow processing portion of env:deploy. (#1907)
  • A progress bar has been added to the workflow processing portion of env:wipe. (#1907)
  • A progress bar has been added to the workflow processing portion of https:remove. (#1907)
  • A progress bar has been added to the workflow processing portion of https:set. (#1907)
  • A progress bar has been added to the workflow processing portion of import:complete. (#1907)
  • A progress bar has been added to the workflow processing portion of import:database. (#1907)
  • A progress bar has been added to the workflow processing portion of import:files. (#1907)
  • A progress bar has been added to the workflow processing portion of import:site. (#1907)
  • A progress bar has been added to the workflow processing portion of lock:disable. (#1907)
  • A progress bar has been added to the workflow processing portion of lock:enable. (#1907)
  • A progress bar has been added to the workflow processing portion of multidev:create. (#1907)
  • A progress bar has been added to the workflow processing portion of multidev:delete. (#1907)
  • A progress bar has been added to the workflow processing portion of multidev:merge-from-dev. (#1907)
  • A progress bar has been added to the workflow processing portion of multidev:merge-to-dev. (#1907)
  • A progress bar has been added to the workflow processing portion of new-relic:disable. (#1907)
  • A progress bar has been added to the workflow processing portion of new-relic:enable. (#1907)
  • A progress bar has been added to the workflow processing portion of org:people:add. (#1907)
  • A progress bar has been added to the workflow processing portion of org:people:remove. (#1907)
  • A progress bar has been added to the workflow processing portion of org:people:role. (#1907)
  • A progress bar has been added to the workflow processing portion of org:site:remove. (#1907)
  • A progress bar has been added to the workflow processing portion of owner:set. (#1907)
  • A progress bar has been added to the workflow processing portion of payment-method:add. (#1907)
  • A progress bar has been added to the workflow processing portion of payment-method:remove. (#1907)
  • A progress bar has been added to the workflow processing portion of plan:set. (#1907)
  • A progress bar has been added to the workflow processing portion of redis:disable. (#1907)
  • A progress bar has been added to the workflow processing portion of redis:enable. (#1907)
  • A progress bar has been added to the workflow processing portion of service-level:set. (#1907)
  • A progress bar has been added to the workflow processing portion of site:create. (#1907)
  • A progress bar has been added to the workflow processing portion of site:org:add. (#1907)
  • A progress bar has been added to the workflow processing portion of site:org:remove. (#1907)
  • A progress bar has been added to the workflow processing portion of site:team:add. (#1907)
  • A progress bar has been added to the workflow processing portion of site:team:remove. (#1907)
  • A progress bar has been added to the workflow processing portion of site:team:role. (#1907)
  • A progress bar has been added to the workflow processing portion of site:upstream:clear-cache. (#1907)
  • A progress bar has been added to the workflow processing portion of site:upstream:set. (#1907)
  • A progress bar has been added to the workflow processing portion of solr:disable. (#1907)
  • A progress bar has been added to the workflow processing portion of solr:enable. (#1907)
  • A progress bar has been added to the workflow processing portion of upstream:updates:apply. (#1907)
  • New const TERMINUS_TIMEOUT added to extend the timeout maximum for remote commands. (#1908)
  • A progress bar has been added to the process portion of remote:drush. (#1910)
  • A progress bar has been added to the process portion of remote:wp. (#1910)
  • A progress bar has been added to the workflow processing portion of site:delete. (#1922)
  • Added the TerminusConfig::formatDatetime() function in order to use the configuration to format datetimes. (#1923)
  • Added the --region flag to site:create. (#1932)
  • Add site region to site:info and site:list (#1933)
  • Added options array parameter to Environment::cloneDatabase accepting clear_cache and updatedb. (#1940)
  • Added options to env:clone-content accepting cc and updatedb both defaulting to false. (#1940)
  • Added --plan option to site:list to filter the site list by plan name. (#1944)
  • Added --plan option to org:site:list to filter the organizational site list by plan name. (#1944)
  • Added Sites::filterByPlanName(string) function to filter the site models by their plan_name attribute. (#1944)
  • Added Environment::hasUncommittedChanges() to determine whether SFTP-mode environments have changes which have not been committed. (#1948)
  • Added --upstream option to site:list to filter the site list by their upstream UUID. (#1946)
  • Added --upstream option to org:site:list to filter the organizational site list by their upstream UUID. (#1946)
  • Added Sites::filterByUpstream(string) function to filter the site models by their product_id attribute. (#1946)
  • Added is_owner field to the output of site:team:list in order to indicate which user is the site owner. (#1949)
  • Added boolean is_owner field to the output of SiteUserMemberships::serialize() in order to indicate which user is the site owner. (#1949)
  • Added SiteUserMemberships::isOwner() function in order to ascertain whether the user is the site's owner. (#1949)
  • A --progress option has been added to remote:drush and remote:wp to enable progress for remote commands. (#1947)

Changed

  • org:site:list now displays a Plan/plan_name field to replace Service Level/service_level. (#1901)
  • site:info now displays a Plan/plan_name field to replace Service Level/service_level. (#1901)
  • site:list now displays a Plan/plan_name field to replace Service Level/service_level. (#1901)
  • Collections' and Models' $pretty_name static property has become const PRETTY_NAME. (#1906)
  • The empty-list notice on org:people:list has become a warning. (#1906)
  • The empty-list notice on org:site:list has become a warning. (#1906)
  • The empty-list notice on payment-method:list has become a warning. (#1906)
  • The empty-list notice on site:list has become a warning. (#1906)
  • The empty-list notice on site:org:list has become a warning. (#1906)
  • Slashes are no longer escaped when converting the body of requests to JSON before cURL. (#1909)
  • Moved the sendCommandViaSsh function from Environment to SSHBaseCommand. (#1910)
  • Moved the useTty function from SSHBaseCommand to LocalMachineHelper. (#1910)
  • site:delete now uses a workflow. (#1922)
  • Site::delete() now returns a Workflow object. (#1922)
  • upstream:updates:list now orders the pending updates in chronological order. (#1852)
  • TerminusConfig::setSource() changed from public to now protected. (#1923)
  • The started_at data returned by workflow:list is now formatted using TERMINUS_DATE_FORMAT. (#1923)
  • The finished_at data returned by workflow:list is now formatted using TERMINUS_DATE_FORMAT. (#1923)
  • Site::serialize() 'frozen' attribute has changed from string to boolean. (#1923)
  • Site::serialize() 'created' attribute has changed to a Unix timestamp. (#1923)
  • Site::serialize() 'last_frozen_at' attribute has changed to a Unix timestamp. (#1923)
  • Environment::serialize() 'environment_created' attribute has changed to a Unix timestamp. (#1923)
  • Environment::serialize() 'initialized' attribute has changed from string to boolean. (#1923)
  • Environment::serialize() 'locked' attribute has changed from string to boolean. (#1923)
  • Environment::serialize() 'onseverdev' attribute has changed from string to boolean. (#1923)
  • Domain::serialize() 'deletable' attribute has changed from string to boolean. (#1923)
  • Lock::serialize() 'locked' attribute has changed from string to boolean. (#1923)
  • Pantheon\Terminus\Friends\RowsOfFieldsTrait has become Pantheon\Terminus\Commands\StructuredDataTrait. (#1923)
  • Backup::getUrl() has been changed to Backup::getArchiveURL(). (#1923)
  • Changed Environment::cloneDatabase() to accept an Environment object. (#1930)
  • Changed Environment::cloneFiles() to accept an Environment ...
Read more

1.9.0

12 Sep 00:39
9d06097
Compare
Choose a tag to compare

Added

  • Added a hide_git_mode_warning option to disable the warning presented when users run Drush or WP-CLI commands on Pantheon sites that are in git mode. (#1882)

Fixed

  • Prevent spurious dependency validation failures with Terminus plugins that have dev components named in their composer.lock file that have not been installed. (#1880)
  • Removed the prompt displayed when running Drush or WP-CLI commands on a Pantheon server to avoid locking up auotmation scripts. (#1881)
  • Set minimum PHP version to 5.5.38; some earlier versions of PHP 5.5 do not work with Terminus. (#1875)
  • Fixed php warning when ssh key is missing its comment field. (#1843)

1.8.1

08 Jun 23:40
875e6a7
Compare
Choose a tag to compare

Fixed

  • Fixed bug wherein messages that are passed in as arrays to TerminusException cause failure. (#1863)

1.8.0

30 Mar 07:57
5cdab29
Compare
Choose a tag to compare

Added

  • alpha:env:metrics command has been added. (#1835)

Fixed

  • Prevented missing data about a site's upstream from preventing functioning of the SiteUpstream model. (#1833)