Releases: pantheon-systems/terminus
Releases · pantheon-systems/terminus
0.10.6
0.10.5
Added
- Added
site set-php-versioncommand to set the PHP version on both sites and their environments. (#937)
Changed
- Data returned from
site code brancheshas changed to use hash keys. (#940) workflows showparameter has changed from--worklow_idto--workflow-id. (#947)- Added workflow times to
workflows watchoutput. (#951) - Added workflow times to
workflows watchoutput. (#952) site set-https-certificateparameter has changed from--private_keyto--private-key. (#954)site set-https-certificateparameter has changed from--intermediate_certificateto--intermediate-certificate. (#954)- Changed
InputHelper#string()so that entries may be required to not be blank. (#954)
Fixed
0.10.4
Added
- Added new
roledata to the information returned bysite team list. (#924) - Added
site hostnames get-recommendationsto retrieve DNS recommendations. (#933)
Changed
- The
--setargument insite set-ownerhas been renamed to--memberfor 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\Finderversions 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
Hostnamescollection andHostnamemodel. (#860) - Added 3rd Party plugin support (#857)
- Output destinations can now be set via
Terminus#setOutputteror an element of the options fed into theTerminusconstructor. (#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
roledata 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-instrumentno longer does client-side checking for personal instrument access. (#872)- The
--point=<int>argument incli completionsis now optional. (#873) Outputter#line()now outputs to the set writer output destination rather than STDERR. (#873)Terminus\Authnow re-designated asTerminus\Helpers\AuthHelper. (#881)- Helpers are now added to the
TerminusCommand'shelpersproperty. (#881) - Extracted launching functions from
Terminus(base class) and moved them into newLaunchHelperclass. (#882) - Extracted template function from
Utilsand moved it into newTemplateHelperclass. (#884) - Changed the site-DNE message to instruct the user to run
sites list. (#895) site set-service-levelnow also accepts levels of "professional", "sandbox", and "personal". (#894)organizations teamhas been changed toorganizations team list. (#904)- Changed log message on
site deployto 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 deploynow correctly counts queued commits and will not report there is nothing to deploy erroneously. (#879)site set-service-levelnow uses a workflow which will also generate an email upon level change. (#897)- Commands making use of
InputHelper#stringno longer experience an inaccessable-property error. (#900) - Fixed
site delete-envenvironment selection when there are one or fewer multidev environments present on as site. (#909) site delete-branchnow lists all branches, not just those associated with multidev environments. (#911)site connection-infono 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 enableto enable Redis caching. (#813) - New command
site redis disableto disable Redis caching. (#813) - New command
site solr enableto enable Solr indexing. (#814) - New command
site solr disableto disable Solr indexing. (#814) - Added
Environment#getParentEnvironment(). (#831) - Added
Commitscollection andCommitmodel. (#831) - Added
machine-token listandmachine-token deletecommands. (#798)
Changed
drushandwpcommands 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 clearno longer complains of an inability to find hosts. (#813)- Machine tokens are now saved in a
~/.terminus/tokensdirectory, 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_USERwill be used to locate a matching saved machine token before user/password login is attempted. (#825)- If only one saved token is present,
auth loginwill use it when it has no other arguments. (#825) - If a
drushorwpcommand 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 listandworkflows shownow read "running", "succeeded", or "failed". (#850) - Renamed Environment#log() to Environment#getCodeLog(). (#831)
site deploywill 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 listwhen 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-]formattag listing inhelp, replacing it with current--format=<json|bash|silent>option. (#854)
Removed
0.10.1
Added
config/constants.ymlfile 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 whoaminow 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=databaseno longer errs upon calling the renamed function "backup". (#767)site backups get --latestbug wherein it was returning the oldest backup, rather than the most recent. (#770)sites aliaseswill no longer tell you you have no sites when none of your domains include 'pantheon.io'. (#782)site tags addnow searches for existing tags before adding another. (#771)site redis clearundefined-variable error has been fixed. (#799)
0.10.0
Added
- New command
workflows showdisplays 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 watchto stream workflow updates (#722) - New command
site backups get-scheduleshows the scheduled weekly backup day and daily backup time. (#723) - New command
site backups set-scheduleschedules the daily backup and weekly day. (#724) - New command
site backups cancel-schedulecancels the regular backup schedule. (#725) - New command
organizations teamdisplays 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
--recursiveonhelpcommand to show the full details of all subcommands. (#730) - Environment variable
TERMINUS_SSH_HOSTtargets a specific host fordrushandwpcommands. (#737) - Documentation and examples for the use of Terminus as a library. (#738)
Fixed
site backups getno longer errs when there are no backups. (#690)- Interactive commands' environment menus now consistently include multidev environments, where applicable. (#701)
site wake(#710)sites createandsites importno longer give warnings about missing $org_id variable. (#733)site backups listnow responds to the--latestflag. (#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 environmentsnow 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 workflowscommand moved toworkflows list. (#676)- Moved command files from
php/commandstophp/Terminus/Commandsand standardized file names. (#682) - Added an assets directory, moved ASCII art out of ArtCommand and into assets. (#685)
Fixed
0.9.2
Fixed
sites listno longer capitalizes membership UUIDs. (#642)
Added
sites listnow has an optional--cachedflag which makes the command return the cached sites data rather than retrieving it anew. (#637)sites mass-updatenow can be filtered by--tag=<tag>. (Note:--org=<name|id>is necessary to use the filter.) (#640)sites mass-updatenow has an optional--cachedtag to optionally prevent retrieving a new sites cache. (#640)- Environment variables
TERMINUS_PORTandTERMINUS_PROTOCOLnow enabled. (#643)