--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2016-e40b78a5ca
2016-12-01 14:01:50.115411
--------------------------------------------------------------------------------

Name        : php-consolidation-annotated-command
Product     : Fedora 23
Version     : 2.0.1
Release     : 2.fc23
URL         : https://github.com/consolidation-org/annotated-command
Summary     : Initialize Symfony Console commands from annotated command class 
methods
Description :
Initialize Symfony Console commands from annotated command class methods.

Autoloader: /usr/share/php/Consolidation/AnnotatedCommand/autoload.php

--------------------------------------------------------------------------------
Update Information:

## drush  ### 8.1.7  - Boring but useful bug fixes. - [Changes since
8.1.6](https://github.com/drush-ops/drush/compare/8.1.6...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](https://github.com
/drush-ops/drush/compare/8.1.5...8.1.6).  ### 8.1.5  Much improved Windows
support. Improved support for Annotation commands. Various important bug fixes.
[Changes since 8.1.3](https://github.com/drush-ops/drush/compare/8.1.3...8.1.5).
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](https://github.com/drush-
ops/drush/compare/8.1.3...8.1.4).  ---  ## 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.
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1388273 - drush-8.1.7 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1388273
  [ 2 ] Bug #1370772 - php-consolidation-annotated-command-2.0.1 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1370772
  [ 3 ] Bug #1376274 - php-consolidation-output-formatters-2.0.1 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1376274
--------------------------------------------------------------------------------

This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade php-consolidation-annotated-command' at the command line.
For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label

All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------
_______________________________________________
package-announce mailing list -- package-announce@lists.fedoraproject.org
To unsubscribe send an email to package-announce-le...@lists.fedoraproject.org

Reply via email to