#Change Log All notable changes to this project starting with the 0.6.0 release will be documented in this file. This project adheres to Semantic Versioning
- New
Hostnames
collection andHostname
model. (#860) - Added 3rd Party plugin support (#857)
- When an object cannot be found by
TerminusModel#get
, it now throws an exception rather than issuing a notice. (#861)
addHostnames
,deleteHostnames()
, andgetHostnames()
has been removed fromEnvironment
. Use new hostnames property (contains Hostnames collection) instead. (#860)
- 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)
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 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)
--session=<session_id>
argument has been removed fromauth login
. (#826)logInViaSessionToken()
has been removed fromAuth
. (#826)log()
has been removed fromEnvironment
. Use new commits property (contains Commits collection) instead. (#831)
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)
- Fixed missing-variable error on site selection prompt. (#809)
- 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)
- 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)
- 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)
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)
- 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] - 2015-11-17
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)
- 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)
- Automatic version check disabled for testing. (#643)
- Bad Github API returns for version check now does not cause error. (#643)
- Composer installation does not return stability errors. (#661)
##[0.9.2] - 2015-10-29
sites list
no longer capitalizes membership UUIDs. (#642)
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)
##[0.9.1] - 2015-10-27
site backups get
will now find and retrieve backups properly. (#632)sites mass-update
now differentiates between an updated site and one in SFTP mode and warns user appropriately. (#633)
##[0.9.0] - 2015-10-22
site environment-info --site=<site> --env=<env> [--field=<field>]
(#582)site backups get
now has an optional--file=<filename>
parameter for selection. (#604)
site connection-info
Git, MySQL and Redis info now correct (#573)- Password no longer shows when logging in with some Windows terminal clients (#574)
- No more errors when running Terminus in Windows from directories with spaces in the path. (#575)
- User-type workflows, as used while waiting on
sites create
, now retrieve UUID properly. (#588) site create-env
no longer fails to clone from an environment. (#602)site backups list
filtering by element fixed. (#602)- Four SSH-based commands now return with unavailable errors:
wp import
,wp db
,drush sql-connect
, anddrush sql-sync
. (#607) - Failure of the API to return a connection mode no longer inhibits its setting. (#616)
- When trying to access an invalid collection member, Terminus now exits instead of having a fatal error. (#615)
- Logged errors now exit with -1. (#576)
--bash
,--json
, and--silent
have been replaced with--format=<bash|json|silent
(#577)site connection-mode
no longer checks the connection mode. Connection-mode checks are now done usingsite environment-info --field=connection_mode
(#583)site connection-mode
is nowsite set-connection-mode
and uses the--mode
flag instead of--set
. (#583)site import
is nowsite import-content
and the --element parameter only accepts "files" and "database" (#516)- Command failures now have an exit code of "1". (#605)
- Removed
site attributes
. Usesite info
for the same effect. (#584)
##[0.8.1] - 2015-09-28
- Packagist now indexes this project as
[pantheon-systems/cli](https://packagist.org/packages/pantheon-systems/cli)
(wasterminus/terminus
) site owner
now just returns the owner ID. The --set flag has been removed. Setting is now done bysite set-owner
. (#469)site backup get
flag--to-directory
is now--to
and accepts either a directory or a file name (#493)site clear-caches
is nowsite clear-cache
(#353)site upstream-updates
is nowsite upstream-updates <list|apply>
. The --update flag was removed. The --accept-upstream flag was added (#473)sites create-from-import
is nowsites import
(#465)sites create
no longer accepts the --import flag. Usesites import
instead (#465)site service-level
is nowsite set-service-level
and uses the --level flag instead of --set to indicate new level. Service level checks now done by usingsite info --field=service_level
(#507)- Makes API calls to host 'dashboard.pantheon.io' instead of 'dashboard.getpantheon.com' (#508)
site deploy
limited to test or live environment. --from removed. --clone-live-content changed to --sync-content (#463)- Changed parameter
--env
onsite create-env
to--to-env
(#514)
###Added
site set owner --site=<site> --set=<owner>
sets the site owner to the given user ID. (#499)site tags list --site=<site> --org=<org>
will list tags associated between that organizaiton and site (#517)- Terminus now checks for software updates once per week and will log to info if one is available. (#512)
###Fixed
site organizations add|remove
no longer crashes when given an invalid organization. (#515)- Filename for aliases as shown in
sites aliases
help text (#522) - Element selection on
sites backups
(#532) - Fixed regression on backups (#525)
- Fixed PHP 5.3.x compatibility (#541)
##[0.8.0] - 2015-09-15 ###Added
- Environment variable TERMINUS_LOG_DIR will save all logs to file in the given directory. (#487)
###Fixed
- Undefined property "framework" error when running SitesCache functions (#433)
- Split Terminus logger between KLogger and Outputter, fixed JSON and bash outputs
##[0.7.1] - 2015-08-21 ###Fixed
- PHP 5.3 incompatibility
##[0.7.0] - 2015-08-20
site delete
command will delete a site (moved fromsites delete
, which has been deprecated) (#370)organizations sites --tag=<name>
filters list of sites by tagsite team change-role
Changes an existing member's role (For sites with the proper access level) (#388)site team add-member
now has a required --role flag (For sites with the proper access level) (#388)site delete-branch
will delete a multidev environment's branch (For sites with multidev access) (#395)site delete-env
now has an optional --remove-branch flag (#395)- Environment variables for --site (TERMINUS_SITE), --org (TERMINUS_ORG), --env (TERMINUS_ENV), and user (TERMINUS_USER). User may import these themselves, or add them to the .env file in the user's current directory. (#407)
site tags <add|remove> --site=<site> --org=<org> --tag=<tag>
command will add tags to an organization site (#417)site workflows
commmand will show all workflows run on the site and their statuses (replacessite jobs
andsite notifications
) (#412)
organizations sites
shows all the organization's sites, not just the first 100 (#371)
site wipe
asks for confirmation (#382)backup get
will not offer in-progress/incomplete backups for download (#386)backup list
identifies 0-byte backups as "Incomplete" (#386)site clone-env
is nowsite clone-content
. Flags have changed from inclusive --db and --files to exclusive --db-only and --files-only and defaults to cloning both. (#403)products
is nowupstreams
(#404)- The
--product
flag onsites create
is now--upstream
(#404) site backup
is nowsite backups
(#416)- The
--nocache
flag has been removed (#415)
sites delete
will be removed in v1.0.0 (#370)site jobs
will be removed in v0.7.0 (#412)site notifications
will be removed in v0.7.0 (#412)
###Removed
- Removed --branch-create flag from
sites code
(#505)
##[0.6.1] - 2015-08-11
site deploy
will not overwrite the Live environment's content (#373)
site deploy
has a--clone-live-environment
flag for copying Live content into Test (#373)
site deploy
--from
flag has been deprecated and is non-functional
##[0.6.0] - 2015-08-10
cli console
(Instantiates a console within Terminus)site init-env
(Initializes new test or live environments on Pantheon)site merge-from-dev
(Merges master/dev environment into a multidev environment)site merge-to-dev
(Merges a multidev environment into master/dev)sites cache
(Lists sites in cache)sites mass-update
(Runs upstream updates on all dev sites)- Element flag to
site import
(Select specific element[s] to import) - Behavior tests
- QA report tests
- Linter tools
- CHANGELOG.txt
site import
site team list
- Password display on login failure
- 100x loop on workflow failure
- Dashboard URL given by
site dashboard
from https://dashboard.getpantheon.com/… to https://dashboard.pantheon.io/… sites create
to make org parameter optional- Dependencies
- README
- Flag --nocache