Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Changelog

Travis Carden edited this page Feb 16, 2015 · 22 revisions
  • Converted to Drupal 8.
  • Converted persistent variables to state system.
  • Converted shunts to configuration entities CRUD-able via the web UI.
  • Replaced drush shunt-get-enabled and drush shunt-get-disabled with drush shunt-list (filterable by --status=<tripped|not tripped>).
  • Replaced drush shunt-is-enabled with drush shunt-info.
  • Changed all Drush commands except shunt-list to accept a list of one or more shunts (space-or-comma separated) or the option --all.
  • Replaced Drush shunt name prompts with command completion. (Try drush shunt-enable <TAB>.)
  • Added Drush shunt name wildcard expansion. (Try drush shunt-enable sh\*.)
  • Added support for awesome new Drush command output formats.
  • Prefixed all Drush command aliases with "sh" instead of just "s" for better namespace collision prevention.
  • Replaced hook_shunt_enable() and hook_shunt_disable() with hook_shunt_status_change().
  • Updated Drush prompts and confirmation messages to reflect the pattern set by Drush pm commands. e.g.:
$ drush shunt-trip --all
Shunt "shunt_example" is already tripped.                        [ok]
The following shunts will be tripped: shunt
Do you want to continue? (y/n): y
Shunt "shunt" has been tripped.                                  [status]
  • Added a working example page to the Shunt Example module that responds to the "shuntexample" shunt with a fail whale.
  • Added comprehensive Unish tests and some Simpletest covererage.
  • Replaced shunt_is_enabled() with \Drupal\shunt\Entity\Shunt::load('shunt')->isTripped();.
  • Added shunt status change logging to watchdog.
Clone this wiki locally