Releases: pantheon-systems/terminus
Releases · pantheon-systems/terminus
0.11.0
Added
- New command
ssh-keys list
added. (#990) - New command
ssh-keys add
added. (#990) - New command
ssh-keys delete
added. (#990) - New parameter
--env=<env>
has been added tosite import-content
. (#994)
Changed
- WP-CLI function
import
has been removed from the command blacklist. See the documentation for more information. (#979) - When running
terminus auth login
and more than one machine token is present, Terminus will now tell you how to use them instead of giving the same error message received when no tokens are present. (#987) SiteCommand#import
has been renamed toSiteCommand#importContent
. (#994)Site#importDatabase
has been moved toEnvironment#importDatabase
. (#994)Site#importFiles
has been moved toEnvironment#importFiles
. (#994)
Fixed
- Fixed unidentified index email warning which appeared when logging in via saved machine token by email. (#983)
- Prevented long loop of configurator loadings. (#988)
- Fixed auth status check before running
CommandWithSSH
descendant commands (drush
,wp
). (#986) - Ensured that API and server errors exit with non-zero status. (#996)
- Fixed error in
site import-content
documentation regarding what is importable. (#994)
0.10.6
0.10.5
Added
- Added
site set-php-version
command to set the PHP version on both sites and their environments. (#937)
Changed
- Data returned from
site code branches
has changed to use hash keys. (#940) workflows show
parameter has changed from--worklow_id
to--workflow-id
. (#947)- Added workflow times to
workflows watch
output. (#951) - Added workflow times to
workflows watch
output. (#952) site set-https-certificate
parameter has changed from--private_key
to--private-key
. (#954)site set-https-certificate
parameter has changed from--intermediate_certificate
to--intermediate-certificate
. (#954)- Changed
InputHelper#string()
so that entries may be required to not be blank. (#954)
Fixed
0.10.4
Added
- Added new
role
data to the information returned bysite team list
. (#924) - Added
site hostnames get-recommendations
to retrieve DNS recommendations. (#933)
Changed
- The
--set
argument insite set-owner
has been renamed to--member
for consistency. (#924) - Site and environment PHP versions are now reported with the '.' (e.g. 5.3, 5.5). (#931)
Fixed
- Help text when inputting an incomplete command has been repaired. (#919)
- Automatic checking for the current version will no longer err unless GitHub is down. (#925)
- Fixed strict standards issue occurring in
Environment#wake()
. (#928) Utils\checkForUpdate()
now appropriately interpolates error messages. (#929)- Changed
Symfony\Finder
versions so as to not conflict with Drupal Console. (#932) - Ensured that PHP version numbers appear when the API returns no value. (#931)
0.10.3
Added
- New
Hostnames
collection andHostname
model. (#860) - Added 3rd Party plugin support (#857)
- Output destinations can now be set via
Terminus#setOutputter
or an element of the options fed into theTerminus
constructor. (#873) - HTTPS Certificates on Site Environments can be added/updated using
site set-https-certificate
(#792) - New command
organizations team add-member
. (#904) - New command
organizations team remove-member
. (#904) - New command
organizations team change-role
. (#904) - Added new
role
data to the information returned byorganizations team list
. (#904)
Changed
- When an object cannot be found by
TerminusModel#get
, it now throws an exception rather than issuing a notice. (#861) - Input helper functions are no longer static. (#864)
site set-instrument
no longer does client-side checking for personal instrument access. (#872)- The
--point=<int>
argument incli completions
is now optional. (#873) Outputter#line()
now outputs to the set writer output destination rather than STDERR. (#873)Terminus\Auth
now re-designated asTerminus\Helpers\AuthHelper
. (#881)- Helpers are now added to the
TerminusCommand
'shelpers
property. (#881) - Extracted launching functions from
Terminus
(base class) and moved them into newLaunchHelper
class. (#882) - Extracted template function from
Utils
and moved it into newTemplateHelper
class. (#884) - Changed the site-DNE message to instruct the user to run
sites list
. (#895) site set-service-level
now also accepts levels of "professional", "sandbox", and "personal". (#894)organizations team
has been changed toorganizations team list
. (#904)- Changed log message on
site deploy
to not give the workflow's status but a failure message upon failure. (#896)
Removed
addHostnames
,deleteHostnames()
, andgetHostnames()
has been removed fromEnvironment
. Use new hostnames property (contains Hostnames collection) instead. (#860)
Fixed
auth login <email> --password=<password>
will not automatically attempt to log in via machine token if a token with the given email is present. (#865)site deploy
now correctly counts queued commits and will not report there is nothing to deploy erroneously. (#879)site set-service-level
now uses a workflow which will also generate an email upon level change. (#897)- Commands making use of
InputHelper#string
no longer experience an inaccessable-property error. (#900) - Fixed
site delete-env
environment selection when there are one or fewer multidev environments present on as site. (#909) site delete-branch
now lists all branches, not just those associated with multidev environments. (#911)site connection-info
no longer errors on some sites which have Redis cache servers. (#912)
0.10.2
Added
- Added a Drush alias-generating script to the Terminus-as-a-library docmentation examples. (#808)
- New command
site redis enable
to enable Redis caching. (#813) - New command
site redis disable
to disable Redis caching. (#813) - New command
site solr enable
to enable Solr indexing. (#814) - New command
site solr disable
to disable Solr indexing. (#814) - Added
Environment#getParentEnvironment()
. (#831) - Added
Commits
collection andCommit
model. (#831) - Added
machine-token list
andmachine-token delete
commands. (#798)
Changed
drush
andwp
commands now issue a warning to change your connection mode to SFTP if it is in Git mode. (#807)- Removed field name in reply of
site info --field=<field_name>
. (#811) site redis clear
no longer complains of an inability to find hosts. (#813)- Machine tokens are now saved in a
~/.terminus/tokens
directory, a sibling to the Terminus cache directory. (#825) - The
<email>
inauth login <email>
will now reuse a saved machine token for the account associated with that email address, if present. (#825) TERMINUS_USER
will be used to locate a matching saved machine token before user/password login is attempted. (#825)- If only one saved token is present,
auth login
will use it when it has no other arguments. (#825) - If a
drush
orwp
command exits with any status except for 0, Terminus now exits with that status. (#827) - Removed "Backup URL:" label from the single-record output of
site backups get
. (#828) - Added machine_token to the error output blacklist. (#840)
- Status on
workflows list
andworkflows show
now read "running", "succeeded", or "failed". (#850) - Renamed Environment#log() to Environment#getCodeLog(). (#831)
site deploy
will exit with status 1 and the message "There is nothing to deploy." if there are no changes to deploy. (#831)- When not logged in, the message given now refers the user to create a machine token in order to log in. (#790)
Fixed
- Fixed bug in Input#orgId. (#812)
- Fixed error appearing in
organizations sites list
when there are no results. (#812) - Fixed missing-variable error in Request#request which appeared when attempting to sanitize error messages. (#835)
- Fixed log-in admonition if a machine token, TERMINUS_USER, or TEMRINUS_MACHINE_TOKEN are present. (#849)
- Fixed erroneous, old
--[no-]format
tag listing inhelp
, replacing it with current--format=<json|bash|silent>
option. (#854)
Removed
0.10.1
Added
config/constants.yml
file to contain the default constants for Terminus. (#791)- Added a
--name=<regex>
filter tosites list
. Use regex to filter the sites by name. (#802)
Changed
- Moved Terminus::prompt(), Terminus::promptSecret() to Terminus\Helpers\Input. (#768)
- Removed duplicative Terminus::menu() in favor of Terminus\Helpers\Input::menu. (#768)
- Moved Terminus::line() to Terminus\Outputters\Outputter. (#768)
- Removed dev packages from PHAR file. (#774)
- Updated Symfony to version 3.0.0. Minimum PHP version required to run Terminus is now 5.5.9. (#772)
auth whoami
now returns a user profile rather than their UUID. (#763)
Fixed
- Missing creation dates in site data while using organizations site list command will no longer cause errors. (#766)
- Fixed headers in session token-based login. (#764)
site backups load --element=database
no longer errs upon calling the renamed function "backup". (#767)site backups get --latest
bug wherein it was returning the oldest backup, rather than the most recent. (#770)sites aliases
will no longer tell you you have no sites when none of your domains include 'pantheon.io'. (#782)site tags add
now searches for existing tags before adding another. (#771)site redis clear
undefined-variable error has been fixed. (#799)
0.10.0
Added
- New command
workflows show
displays details about a workflow (#687) - Added back session token-based login. (#693)
- Added initiator data (manual or automated) to
site backups list
. (#716) - New command
workflows watch
to stream workflow updates (#722) - New command
site backups get-schedule
shows the scheduled weekly backup day and daily backup time. (#723) - New command
site backups set-schedule
schedules the daily backup and weekly day. (#724) - New command
site backups cancel-schedule
cancels the regular backup schedule. (#725) - New command
organizations team
displays a member list of organizational members. (#726) - Added an owners file per the Owners Policy on the Chromium Project. (#727)
- New subcommand
site hostnames lookup --hostname=<hostname>
to look up a site and environment by hostname. WARNING: May take a long time to run. (#729) - New flag
--recursive
onhelp
command to show the full details of all subcommands. (#730) - Environment variable
TERMINUS_SSH_HOST
targets a specific host fordrush
andwp
commands. (#737) - Documentation and examples for the use of Terminus as a library. (#738)
Fixed
site backups get
no longer errs when there are no backups. (#690)- Interactive commands' environment menus now consistently include multidev environments, where applicable. (#701)
site wake
(#710)sites create
andsites import
no longer give warnings about missing $org_id variable. (#733)site backups list
now responds to the--latest
flag. (#734)- Changed Backups#isBackupFinished to falsify if backup size is "0". (#734)
- Fixed fatal error which appeared when using
sites aliases
. (#743) - Fixed missing-variable error when user has no sites while using
sites aliases
. (#743)
Changed
- Extricated the request logic from TerminusCommand class and moved it to the Request class. (#704)
- Replaced Mustache templates with Twig. (#730)
- Resolved Terminus base class' and Runner's interfunctionality. Terminus can now be used as a library. (#738)
- Drush and WP-CLI commands routed through Terminus must now make use of quotes to pass the command and arguments. (#702)
0.9.3
Please note that 0.9.3 is _NOT_ compatible with PHP 5.3 or 5.4.
Added
site environments
now includes data on whether environment is initialized yet. (#654)- Login with Auth0 via
auth login --machine-token=<Auth0 token>
is now available. (#665) - You can set a machine token via the environment variable TERMINUS_MACHINE_TOKEN. (#665)
Changed
- Cached sites lists are now keyed to UUID, preventing a previously logged-in user's list from interfering with the currently logged-in user. (#652)
- Terminus now requires PHP version 5.5.0 or greater. (#661)
- Upgraded behavioral testing to Behat 3.0.x. (#670)
site workflows
command moved toworkflows list
. (#676)- Moved command files from
php/commands
tophp/Terminus/Commands
and standardized file names. (#682) - Added an assets directory, moved ASCII art out of ArtCommand and into assets. (#685)
Fixed
0.9.2
Fixed
sites list
no longer capitalizes membership UUIDs. (#642)
Added
sites list
now has an optional--cached
flag which makes the command return the cached sites data rather than retrieving it anew. (#637)sites mass-update
now can be filtered by--tag=<tag>
. (Note:--org=<name|id>
is necessary to use the filter.) (#640)sites mass-update
now has an optional--cached
tag to optionally prevent retrieving a new sites cache. (#640)- Environment variables
TERMINUS_PORT
andTERMINUS_PROTOCOL
now enabled. (#643)