cliff/docs/source/history.rst

4.8 KiB

Release History

dev

  • Change the formatters attribute of display commands to reflect the fact that it is meant to be an implementation detail of the base class, and not used or modified by outsiders.

1.5.2

  • Fix the arguments passed to commands when they are instantiated to pull out help. See https://github.com/dreamhost/cliff/issues/52 for details.
  • Add bash command completion. (Contributed by Terry Howe)
  • Use stevedore to load formatter plugins.
  • Use pbr for packaging.

1.4.5

  • Update the pyparsing dependency to a version that supports both Python 2 and Python 3.
  • Add PyPy testing.

1.4.4

  • Provide better error handling for unknown commands run from the command line. (Contributed by Christophe Chauvet.)

1.4.3

  • More stdout encoding issues with Python 2.6.

1.4.2

1.4.1

  • Add dict2columns method to ShowOne. (Contributed by Dean Troyer)
  • Pin the requirement for cmd2 more tightly.

1.4

  • Store a reference to the InteractiveApp on the App while in interactive mode to allow commands to update the interactive state. (Contributed by Tomaz Muraus)
  • Remove reliance on distribute, now that it has merged with setuptools 0.7. Providing an explicit dependency on setuptools breaks updates in some cases, so just fail if it isn't there.

1.3.3

  • Restore compatibility with prettytable < 0.7.2 by forcing no output if there is no data (instead of printing an empty table). Contributed by Dirk Mueller.
  • Update to allow cmd2 version 0.6.5.1. Contributed by Dirk Mueller.

1.3.2

  • Add convert_underscores parameter to CommandManager __init__ method to allow underscores to be used in command names. This optional argument is defaulted to True to maintain current behavior. (contributed by Joe Server)
  • Use flake8 for style checking.
  • Relax version requirement for PrettyTable dependency to allow point releases of 0.7.

1.3.1

  • Sort list of commands in interactive help mode. (contributed by Ilya Shakhat)
  • Fix a dependency issue with PyParsing until the cmd2 package can release an update setting the version of its dependency based on the Python version.

1.3

  • Allow user to pass argparse_kwargs argument to the build_option_parser method. This argument can contain extra keyword arguments which are passed to the ArgumentParser constructor. (contributed by Tomaz Muraus)
  • Updated documentation to include dependency on distribute.

1.2.1

  • Fix problem with documentation packaging.
  • Fix problem with missing izip import in lister.py.

1.2

  • Fix problem with interactive mode help command.
  • Disable logging by default but add a --log-file option to re-enable it at runtime.
  • Add support for python 2.6. (contributed by Mark McClain for OpenStack Quantum)

1.1.2

  • Fix a packaging problem introduced in version 1.1.

1.1

1.0

  • Add trailing newlines after output from tablib-based formatters (JSON, YAML, and HTML). Contributed by Matt Joyce.
  • Some 8 fixes.
  • Refactor the API in Command to add take_action and make run a concrete method. Existing users should only need to rename run() to take_action() since the function signatures have not changed.
  • In Lister and ShowOne use take_action instead of get_data.

0.7

  • Clean up interactive mode flag settting.
  • Add support for Python 2.6, contributed by heavenshell.
  • Fix multi-word commands in interactive mode.

0.6

  • Pass the non-global argument list to initialize_app to be used in initialization work.

0.5.1

  • Remove pinned version requirement for PrettyTable until the OpenStack clients catch up to the API change.

0.5

  • Asking for help about a command by prefix lists all matching commands.
  • Add formatters for HTML, JSON, and YAML.

0.4

  • Add shell formatter for single objects.
  • Add interactive mode.
  • Expand documentation.

0.3

  • Add ShowOne base class for commands that show details about single objects.
  • Fix a problem with Lister when there is no data to be printed.

0.2

  • Incorporate changes from dtroyer to replace use of optparse in App with argparse.
  • Added "help" subcommand to replace --help option handling in subcommands.

0.1

  • Initial public release.
  • Included App, CommandManager, Lister, csv and table formatters, a demo application, and basic documentation.