Releases: pantheon-systems/terminus
Releases · pantheon-systems/terminus
2.4.1
2.4.0
Added
- New option
--no-dbadded tomultidev:createwhich will skip the duplication of the database from the source environment. (#2050) - New option
--no-filesadded tomultidev:createwhich will skip the duplication of files from the source environment. (#2050) - New option
no-dbadded toEnvironments::createwhich will skip the duplication of the database from the source environment. (#2050) - New option
no-filesadded toEnvironments::createwhich 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$targetparameter. (#2053)- The
backup:getcommand's--tooption now accepts directories in addition to files. (#2053) - Return type of
Redis::disable()has changed to aWorkflowmodel. (#2055) - Return type of
Redis::enable()has changed to aWorkflowmodel. (#2055) - Return type of
Solr::disable()has changed to aWorkflowmodel. (#2055) - Return type of
Solr::enable()has changed to aWorkflowmodel. (#2055) - Return type of
Environment::disableHttpsCertificate()has changed to aWorkflowmodel. (#2055)
Removed
- Removed now-redundant
Backup::serializeWithURL()function. UseBackup::serialize()instead. (#2042) - Removed obsolete
Environment::convergeBindings()method. (#2055) - Removed obsolete
Site::converge()method. (#2055)
Fixed
2.3.0
Added
- New const
TERMINUS_HOST_CERTadded to permit use of SSL certificates while making requests. (#2024)
Changed
- Terminus will now load plugin files ending in
Hook.phpin addition to those ending withCommand.php(#2025) - The role parameter in
org:people:addis now being validated before sending the request. (#2033) - The role parameter in
org:people:roleis now being validated before attempting the change. (#2033) - The role parameter in
site:team:addis now being validated before attempting the change. (#2033) - The role parameter in
site:team:roleis now being validated before attempting the change. (#2033)
Deprecated
- Deprecated the
--ccoption onenv:deploy. Please useenv:clear-cacheinstead. (#2022)
Fixed
- PHP Deprecated warnings seen in PHP ≥ 7.4.0 (#2043)
2.2.0
2.1.0
Added
- Added
--filteroption tobackup:listcommand (#1992) - Added
--filteroption tobranch:listcommand (#1992) - Added
--filteroption todomain:listcommand (#1992) - Added
--filteroption toenv:listcommand (#1992) - Added
--filteroption tomultidev:listcommand (#1992) - Added
--filteroption toorg:listcommand (#1992) - Added
--filteroption toorg:people:listcommand (#1992) - Added
--filteroption toorg:site:listcommand (#1992) - Added
--filteroption toorg:upstream:listcommand (#1992) - Added
--filteroption topayment-method:listcommand (#1992) - Added
--filteroption toplan:listcommand (#1992) - Added
--filteroption tosite:listcommand (#1992) - Added
--filteroption tosite:org:listcommand (#1992) - Added
--filteroption tosite:team:listcommand (#1992) - Added
--filteroption tossh-key:listcommand (#1992) - Added
--filteroption toupstream:listcommand (#1992) - Added
--filteroption toupstream:updates:listcommand (#1992)
Deprecated
backup:list--element=VALUEoption is deprecated. Use--filter="type=VALUE"instead. (#1992)site:list--framework=VALUEoption is deprecated. Use--filter="framework=VALUE"instead. (#1992)site:list--name=VALUEoption is deprecated. Use--filter="name=VALUE"instead. (#1992)site:list--plan=VALUEoption is deprecated. Use--filter="plan_name=VALUE"instead. (#1992)org:site:list--plan=VALUEoption is deprecated. Use--filter="plan_name=VALUE"instead. (#1992)org:site:list--tags=VALUEoption is deprecated. Use--filter="tags=VALUE"instead. (#1992)org:upstream:list--framework=VALUEoption is deprecated. Use--filter="framework=VALUE"instead. (#1992)org:upstream:list--name=VALUEoption is deprecated. Use--filter="label=VALUE"instead. (#1992)upstream:list--framework=VALUEoption is deprecated. Use--filter="framework=VALUE"instead. (#1992)upstream:list--name=VALUEoption 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:aliasesnow 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 theregionfield has been changed to use human-readable region names. (#1985)site:list's value of theregionfield has been changed to use human-readable region names. (#1985)- Owner parameter displayed in the success notice of
owner:setinstead of the user's first and last names. (#2007)
Removed
2.0.1
Fixed
- Fixed
site:org:listso that it no longer ends without returning anything. (#1964) - Fixed
env:deployso the--noteoption is used when initializing the test or live environments. (#1965) - "Deploy from Terminus" is the default message used by
env:deploywhen 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
Added
- New
plan:listcommand lists the plans available to a site. (#1901) - New
plan:setcommand sets a site's plan. (#1901) - New
Planscollection interacts with plans available to a Site. (#1901) - New
Planmodel 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:listnow emits a warning when its list is empty. (#1906)branch:listnow emits a warning when its list is empty. (#1906)domain:listnow emits a warning when its list is empty. (#1906)env:listnow emits a warning when its list is empty. (#1906)plan:listnow emits a warning when its list is empty. (#1906)site:team:listnow emits a warning when its list is empty. (#1906)upstream:listnow 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_TIMEOUTadded 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::cloneDatabaseacceptingclear_cacheandupdatedb. (#1940) - Added options to
env:clone-contentacceptingccandupdatedbboth defaulting to false. (#1940) - Added
--planoption tosite:listto filter the site list by plan name. (#1944) - Added
--planoption toorg:site:listto filter the organizational site list by plan name. (#1944) - Added
Sites::filterByPlanName(string)function to filter the site models by theirplan_nameattribute. (#1944) - Added
Environment::hasUncommittedChanges()to determine whether SFTP-mode environments have changes which have not been committed. (#1948) - Added
--upstreamoption tosite:listto filter the site list by their upstream UUID. (#1946) - Added
--upstreamoption toorg:site:listto filter the organizational site list by their upstream UUID. (#1946) - Added
Sites::filterByUpstream(string)function to filter the site models by theirproduct_idattribute. (#1946) - Added
is_ownerfield to the output ofsite:team:listin order to indicate which user is the site owner. (#1949) - Added boolean
is_ownerfield to the output ofSiteUserMemberships::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
--progressoption has been added toremote:drushandremote:wpto enable progress for remote commands. (#1947)
Changed
org:site:listnow displays aPlan/plan_namefield to replaceService Level/service_level. (#1901)site:infonow displays aPlan/plan_namefield to replaceService Level/service_level. (#1901)site:listnow displays aPlan/plan_namefield to replaceService Level/service_level. (#1901)- Collections' and Models'
$pretty_namestatic property has become constPRETTY_NAME. (#1906) - The empty-list notice on
org:people:listhas become a warning. (#1906) - The empty-list notice on
org:site:listhas become a warning. (#1906) - The empty-list notice on
payment-method:listhas become a warning. (#1906) - The empty-list notice on
site:listhas become a warning. (#1906) - The empty-list notice on
site:org:listhas become a warning. (#1906) - Slashes are no longer escaped when converting the body of requests to JSON before cURL. (#1909)
- Moved the
sendCommandViaSshfunction fromEnvironmenttoSSHBaseCommand. (#1910) - Moved the
useTtyfunction fromSSHBaseCommandtoLocalMachineHelper. (#1910) site:deletenow uses a workflow. (#1922)Site::delete()now returns a Workflow object. (#1922)upstream:updates:listnow orders the pending updates in chronological order. (#1852)- TerminusConfig::setSource() changed from public to now protected. (#1923)
- The
started_atdata returned byworkflow:listis now formatted using TERMINUS_DATE_FORMAT. (#1923) - The
finished_atdata returned byworkflow:listis 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\RowsOfFieldsTraithas becomePantheon\Terminus\Commands\StructuredDataTrait. (#1923)Backup::getUrl()has been changed toBackup::getArchiveURL(). (#1923)- Changed Environment::cloneDatabase() to accept an Environment object. (#1930)
- Changed Environment::cloneFiles() to accept an Environment ...
1.9.0
Added
- Added a
hide_git_mode_warningoption 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
devcomponents 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)