drush

8.1.7

8.1.6

  • Fixes for Annotation commands.
  • Backport make-convert to Drush 8. Convert your make files to composer.json format.
  • Changes since 8.1.5.

8.1.5

Much improved Windows support. Improved support for Annotation commands. Various important bug fixes. Changes since 8.1.3.

Note: Released right after 8.1.4 due to a bug in Phar support.

8.1.4

Much improved Windows support. Improved support for Annotation commands. Various important bug fixes. Changes since 8.1.3.


php-consolidation-annotated-command

2.0.1 - 4 October 2016

  • Fix version requirement for output-formatters in composer.json

2.0.0 - 30 September 2016

  • Breaking Hooks with no command name now apply to all commands defined in the same class. This is a change of behavior from the 1.x branch, where hooks with no command name applied to a command with the same method name in a different class.
  • Breaking The interfaces ValidatorInterface, ProcessResultInterface and AlterResultInterface have been updated to be passed a CommandData object, which contains an Input and Output object, plus the AnnotationData.
  • Breaking The Symfony Command Event hook has been renamed to COMMAND_EVENT. There is a new COMMAND hook that behaves like the existing Drush command hook (i.e. the post-command event is called after the primary command method runs).
  • Add an accessor function AnnotatedCommandFactory::setIncludeAllPublicMethods() to control whether all public methods of a command class, or only those with a @command annotation will be treated as commands. Default remains to treat all public methods as commands. The parameters to AnnotatedCommandFactory::createCommandsFromClass() and AnnotatedCommandFactory::createCommandsFromClassInfo() still behave the same way, but are deprecated. If omitted, the value set by the accessor will be used.
  • @option and @usage annotations provided with @hook methods will be added to the help text of the command they hook. This should be done if a hook needs to add a new option, e.g. to control the behavior of the hook.
  • @option annotations can now be either @option type $name description, or just @option name description.
  • @hook option can be used to programatically add options to a command.
  • A CommandInfoAltererInterface can be added via AnnotatedCommandFactory::addCommandInfoAlterer(); it will be given the opportunity to adjust every CommandInfo object parsed from a command file prior to the creation of commands.
  • AnnotatedCommandFactory::setIncludeAllPublicMethods(false) may be used to require methods to be annotated with @commnad in order to be considered commands. This is in preference to the existing parameters of various command-creation methods of AnnotatedCommandFactory, which are now all deprecated in favor of this setter function.
  • If a --field option is given, it will also force the output format to 'string'.
  • Setter methods more consistently return $this.
  • Removed PassThroughArgsInput. This class was unnecessary.

1.4.0 - 13 September 2016

  • Add basic annotation hook capability, to allow hook functions to be attached to commands with arbitrary annotations.

1.3.0 - 8 September 2016

  • Add ComandFileDiscovery::setSearchDepth(). The search depth applies to each search location, unless there are no search locations, in which case it applies to the base directory.

php-consolidation-output-formatters

2.0.1 - 4 October 2016

  • Throw an exception if the client requests a field that does not exist.
  • Remove unwanted extra layer of nesting when formatting an AssociativeList with an array formatter (json, yaml, etc.).

2.0.0 - 30 September 2016

  • Breaking The default string format now converts non-string results into a tab-separated-value table if possible. Commands may select a single field to emit in this instance with an annotation: @default-string-field email. By this means, a given command may by default emit a single value, but also provide more rich output that may be shown by selecting --format=table, --format=yaml or the like. This change might cause some commands to produce output in situations that previously were not documented as producing output.
  • Breaking FormatterManager::addFormatter() now takes the format identifier and a FormatterInterface, rather than an identifier and a Formatter classname (string).
  • --field is a synonym for --fields with a single field.
  • Wildcards and regular expressions can now be used in --fields expressions.

1.1.0 - 14 September 2016

  • Add tab-separated-value (tsv) formatter.

How to install

sudo dnf upgrade --advisory=FEDORA-2016-e40b78a5ca

This update has been submitted for testing by siwinski.

5 years ago

drush-8.1.7-1.fc23 php-consolidation-annotated-command-2.0.1-2.fc23 php-consolidation-output-formatters-2.0.1-1.fc23 ejected from the push because u"Cannot find relevant tag for drush-8.1.7-1.fc23. None of ['f23-updates-testing', 'f23-updates-testing-pending'] are in [u'f22-updates-candidate', u'dist-6E-epel-testing-candidate', u'dist-5E-epel-testing-candidate', u'f21-updates-candidate', u'f24-updates-candidate', u'f25-updates-candidate', u'f23-updates-candidate', u'epel7-testing-candidate']."

5 years ago

This update has been submitted for testing by siwinski.

5 years ago

drush-8.1.7-1.fc23 php-consolidation-annotated-command-2.0.1-2.fc23 php-consolidation-output-formatters-2.0.1-1.fc23 ejected from the push because u"Cannot find relevant tag for php-consolidation-annotated-command-2.0.1-2.fc23. None of ['f23-updates-testing', 'f23-updates-testing-pending'] are in [u'f22-updates-candidate', u'dist-6E-epel-testing-candidate', u'dist-5E-epel-testing-candidate', u'f21-updates-candidate', u'f24-updates-candidate', u'f25-updates-candidate', u'f23-updates-candidate', u'epel7-testing-candidate']."

5 years ago
User Icon siwinski commented & provided feedback 5 years ago

php-consolidation-annotated-command-2.0.1-2.fc23 build exists in koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=814408

siwinski edited this update.

Removed build(s):

  • php-consolidation-annotated-command-2.0.1-2.fc23
5 years ago

This update has been submitted for testing by siwinski.

5 years ago

siwinski edited this update.

New build(s):

  • php-consolidation-annotated-command-2.0.1-2.fc23
5 years ago

drush-8.1.7-1.fc23 php-consolidation-annotated-command-2.0.1-2.fc23 php-consolidation-output-formatters-2.0.1-1.fc23 ejected from the push because u"Cannot find relevant tag for php-consolidation-output-formatters-2.0.1-1.fc23. None of ['f23-updates-testing', 'f23-updates-testing-pending'] are in [u'f22-updates-candidate', u'dist-6E-epel-testing-candidate', u'dist-5E-epel-testing-candidate', u'f21-updates-candidate', u'f24-updates-candidate', u'f25-updates-candidate', u'f23-updates-candidate', u'epel7-testing-candidate']."

5 years ago
User Icon siwinski commented & provided feedback 5 years ago

php-consolidation-output-formatters-2.0.1-1.fc23 build exists in koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=814352

siwinski edited this update.

Removed build(s):

  • php-consolidation-output-formatters-2.0.1-1.fc23
5 years ago

This update has been submitted for testing by siwinski.

5 years ago

siwinski edited this update.

New build(s):

  • php-consolidation-output-formatters-2.0.1-1.fc23
5 years ago

This update has been pushed to testing.

5 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

5 years ago

This update has been submitted for stable by siwinski.

5 years ago

This update has been pushed to stable.

5 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
in stable
5 years ago
modified
5 years ago
BZ#1370772 php-consolidation-annotated-command-2.0.1 is available
0
0
BZ#1376274 php-consolidation-output-formatters-2.0.1 is available
0
0
BZ#1388273 drush-8.1.7 is available
0
0

Automated Test Results