Releases: pantheon-systems/terminus
Releases · pantheon-systems/terminus
2.4.1
2.4.0
Added
- New option
--no-db
added tomultidev:create
which will skip the duplication of the database from the source environment. (#2050) - New option
--no-files
added tomultidev:create
which will skip the duplication of files from the source environment. (#2050) - New option
no-db
added toEnvironments::create
which will skip the duplication of the database from the source environment. (#2050) - New option
no-files
added toEnvironments::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 aWorkflow
model. (#2055) - Return type of
Redis::enable()
has changed to aWorkflow
model. (#2055) - Return type of
Solr::disable()
has changed to aWorkflow
model. (#2055) - Return type of
Solr::enable()
has changed to aWorkflow
model. (#2055) - Return type of
Environment::disableHttpsCertificate()
has changed to aWorkflow
model. (#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_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 withCommand.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 onenv:deploy
. Please useenv:clear-cache
instead. (#2022)
Fixed
- PHP Deprecated warnings seen in PHP ≥ 7.4.0 (#2043)
2.2.0
2.1.0
Added
- Added
--filter
option tobackup:list
command (#1992) - Added
--filter
option tobranch:list
command (#1992) - Added
--filter
option todomain:list
command (#1992) - Added
--filter
option toenv:list
command (#1992) - Added
--filter
option tomultidev:list
command (#1992) - Added
--filter
option toorg:list
command (#1992) - Added
--filter
option toorg:people:list
command (#1992) - Added
--filter
option toorg:site:list
command (#1992) - Added
--filter
option toorg:upstream:list
command (#1992) - Added
--filter
option topayment-method:list
command (#1992) - Added
--filter
option toplan:list
command (#1992) - Added
--filter
option tosite:list
command (#1992) - Added
--filter
option tosite:org:list
command (#1992) - Added
--filter
option tosite:team:list
command (#1992) - Added
--filter
option tossh-key:list
command (#1992) - Added
--filter
option toupstream:list
command (#1992) - Added
--filter
option toupstream: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 theregion
field has been changed to use human-readable region names. (#1985)site:list
's value of theregion
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
2.0.1
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
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
acceptingclear_cache
andupdatedb
. (#1940) - Added options to
env:clone-content
acceptingcc
andupdatedb
both defaulting to false. (#1940) - Added
--plan
option tosite:list
to filter the site list by plan name. (#1944) - Added
--plan
option toorg:site:list
to filter the organizational site list by plan name. (#1944) - Added
Sites::filterByPlanName(string)
function to filter the site models by theirplan_name
attribute. (#1944) - Added
Environment::hasUncommittedChanges()
to determine whether SFTP-mode environments have changes which have not been committed. (#1948) - Added
--upstream
option tosite:list
to filter the site list by their upstream UUID. (#1946) - Added
--upstream
option toorg:site:list
to filter the organizational site list by their upstream UUID. (#1946) - Added
Sites::filterByUpstream(string)
function to filter the site models by theirproduct_id
attribute. (#1946) - Added
is_owner
field to the output ofsite:team:list
in order to indicate which user is the site owner. (#1949) - Added boolean
is_owner
field 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
--progress
option has been added toremote:drush
andremote:wp
to enable progress for remote commands. (#1947)
Changed
org:site:list
now displays aPlan
/plan_name
field to replaceService Level
/service_level
. (#1901)site:info
now displays aPlan
/plan_name
field to replaceService Level
/service_level
. (#1901)site:list
now displays aPlan
/plan_name
field to replaceService Level
/service_level
. (#1901)- Collections' and Models'
$pretty_name
static property has become constPRETTY_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 fromEnvironment
toSSHBaseCommand
. (#1910) - Moved the
useTty
function fromSSHBaseCommand
toLocalMachineHelper
. (#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 byworkflow:list
is now formatted using TERMINUS_DATE_FORMAT. (#1923) - The
finished_at
data returned byworkflow: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 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_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)