Skip to content

Releases: pantheon-systems/terminus

0.13.3

07 Oct 23:37

Choose a tag to compare

Added

  • Environment::serialize() (#1251)

Removed

  • Environment::info() has been removed. Please use Environment::serialize() instead. (#1251)

Fixed

  • Fixed SiteCommand::getSiteCreateOptions() to prevent the failure of the creation of sites. (#1278)

0.13.2

26 Sep 17:55

Choose a tag to compare

Fixed

  • Fixed apply upstream updates. (#1233)
  • Fixed site upstream-info. (#1224)
  • Fixed the notices emitting from sites list. (#1231)
  • Fixed the memberships column in sites list to accurately reflect when your user is a both a team and organizational member of a site. (#1231)
  • Fixed wp and drush commands. (#1237)

Added

  • Site::serialize() (#1224)
  • Upstream::getUpdates() (#1224)
  • Upstream::hasUpdates() (#1224)
  • Upstream::serialize() (#1224)
  • Upstream::fetch() (#1224)
  • The Upstream model now accepts an optional site object so as to conduct API operations. (#1224)
  • Environment::cacheserverConnectionInfo() (#1237)
  • Environment::databaseConnectionInfo() (#1237)
  • Environment::gitConnectionInfo() (#1237)
  • Environment::sftpConnectionInfo() (#1237)

Removed

  • Site::info() has been removed. Please use Site::serialize() instead. (#1224)
  • Site::getUpstreamUpdates() has been removed. Please use Upstream::getUpdates() via the Site model's upstream property. (#1224)

Changed

  • Environment::connectionInfo() now compiles the returns from four newly added connection-info functions. Use these if only a subset of the connection info is required in order to avoid extraneous API calls. (#1237)

0.13.1

19 Sep 21:05

Choose a tag to compare

Changed

  • Fixed ability to use composer require pantheon-systems/terminus:VERSION (#1209)

0.13.0

15 Sep 18:07

Choose a tag to compare

Added

  • New rocket art available using art rocket. (#1148)

Changed

  • All Terminus\Models\Collections namespaces have been changed to Terminus\Collections. (#1162)
  • Makes API calls to host 'terminus.pantheon.io' instead of 'dashboard.pantheon.io' (#1180)

Removed

0.12.0

25 Aug 19:44

Choose a tag to compare

Added

  • Added choices property to InputHelper::siteName parameter object. (#1152)
  • Added TerminusCollection::listing to create a list of models therein. (#1152)
  • Added UserSiteMemberships collection and UserSiteMembership model. (#1152)
  • Added UserOrganizationMemberships collection and UserOrganizationMembership model. (#1152)

Changed

  • Renamed Sites::addSite to Sites::create. (#1152)
  • Renamed OrganizationUserMemberships::addMember to OrganizationUserMemberships::create. (#1152)
  • Renamed OrganizationSiteMemberships::addMember to OrganizationSiteMemberships::create. (#1152)
  • When using the sites collection to gather all sites, you now must use Sites::fetch() to retrieve the relevant objects. (#1152)
  • Renamed OrganizationSiteMembership::removeMember to OrganizationSiteMembership::delete. (#1152)
  • Renamed OrganizationUserMembership::removeMember to OrganizationUserMembership::delete. (#1152)
  • Remamed Sites::filterAllByTag to Sites::filterByTag. (#1152)
  • Renamed UserOrganizationMemberships::get to UserOrganizationMemberships::getOrganization. (#1152)
  • Sites::get no longer fetches all sites to find the named site. (#1152)

Removed

  • cli cache-clear command. (#1152)
  • The SitesCache class and all site cache-relevant functions have been removed. (#1152)
  • The command site set-php-version has been removed. Please set your PHP version by your pantheon.yml file. (See: https://pantheon.io/docs/php-versions) (#1121)

0.11.4

11 Aug 00:03

Choose a tag to compare

Added

  • Added new-relic enable command. (#1141)
  • Added new-relic disable command. (#1141)

Changed

  • Added a confirmation to site import. To bypass, add --yes to your commands. (#1132)
  • The command which was new-relic command has become new-relic status. (#1141)

Fixed

  • site import-content has been fixed such that either 'db' or 'database' can be used as an element. (#1138)
  • Fixed type error in site hostnames lookup which appears when there are no results. (#1139)
  • Fixed branch selection in site delete-branch. (#1143)

0.11.3

04 Aug 00:21

Choose a tag to compare

[0.11.3] - 2016-08-03

Added

  • Added 5.6 and 7.0 as version options in site set-php-version. (#1109)
  • New command site import to import site archives. (#1099)

0.11.2

03 Jun 23:55

Choose a tag to compare

Added

  • New field frozen appears in sites list when a site belonging to your user has been frozen. (#1015)
  • New command site lookup to look up sites by name. (#1027)
  • New command site complete-migration. (#1077)
  • site clear-cache now automatically clears the framework cache as well as the Varnish cache. (#1083)

Changed

  • Removed the port number from the create-a-machine token URL seen when using auth login except for when the host is localhost. (#1034)
  • Changed the SynopsisValidator so that any unnamed command argument between < and > may be given any name. (#1041)
  • When running site deploy and there are no changes to deploy, Terminus will now exit with status 0 rather than 1. (#1054)
  • Moved log-out function out of AuthCommand and into the Auth model. (#1058)
  • A site's frozen status will appear now in both the site info output and when running organizations sites list. (#1091)

Fixed

  • wp and drush commands both now use the object buffer and output the result of the operation without formatting. (#1023)
  • Runner::getLogger() will no longer return null. (#1049)
  • Fixed undefined-variable bug when attempting to access list of upstreams in InputHelper::upstream(). (#1050)
  • Fixed undefined-variable bug which appears when a user has one machine token saved but is logged out. (#1053)
  • Multiline option details will now fully appear in help output. (#1055)
  • TERMINUS_PLUGINS_DIR now overrides the plugin directory appropriately. (#1062)
  • Undefined method error while running sites mass-update has been fixed. (#1064)
  • Eliminated superfluous exception catching in TerminusRequest so that Github API rate limit overages will not disrupt scripts. (#1082)
  • Fixed bug in delete-env which prevented the --remove-branch option from working. (#1084)
  • Fixed bug in site set-https-certificate. (#1085)
  • Updated dependencies to fix blank-menus-in-Windows bug. (#1086)
  • The created field returned by site info now is in the format specified by TERMINUS_DATE_FORMAT. (#1093)
  • The created field returned by organizations sites list now is in the format specified by TERMINUS_DATE_FORMAT. (#1093)
  • The created field returned by sites list now is in the format specified by TERMINUS_DATE_FORMAT. (#1093)
  • Switched all remaining date-formatted fields to use the format specified by TERMINUS_DATE_FORMAT. (#1093)
  • Handling of directories in Windows has been fixed. (#1094)

0.11.1

30 Mar 23:18

Choose a tag to compare

Added

  • New command site drupal-version to check the Drush version number of any or all environments. (#1001)
  • New command site set-drupal-version to set the Drush version number of any or all environments. (#1001)
  • New parameter --owner added to sites list to filter the list just for the sites the current user owns. (#1003)
  • New option to filter for organization sites via sites list --org=all. (#1003)

Changed

  • InputHelper#upstream() now returns the UUID of the chosen upstream rather than an upstream object. (#1013)
  • InputHelper#upstream() will not check upstream data if it has been given a UUID in the $args[$key]. (#1013)
  • InputHelper#orgId() will not check organizational data if it has been given a UUID in the $args[$key]. (#1013)
  • Running Sites#addSiteToCache while the cache is empty will no longer trigger a full cache sync. (#1013)

Fixed

  • Alternate command suggestion for drush "sql-connect" corrected to site connection-info --field=mysql_command. (#1005)
  • Fixed output in JSON format for site hostnames list. (#1011)

0.11.0

17 Mar 00:17

Choose a tag to compare

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 to site 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 to SiteCommand#importContent. (#994)
  • Site#importDatabase has been moved to Environment#importDatabase. (#994)
  • Site#importFiles has been moved to Environment#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)