Revision history for Perinci-CmdLine-Lite

0.55    2014-11-23 (PERLANCAR)

	- No functional changes.

	- Mention about zsh support.


0.54    2014-11-23 (PERLANCAR)

        - Add support for tcsh tab completion.


0.53    2014-11-21 (PERLANCAR)

        - Tweak --help output: show cmdline_src, positional arguments.


0.52    2014-11-21 (PERLANCAR)

        [REMOVED FEATURES]

        - Only provide --no-config instead of also --noconfig (to make --help
          message nicer).


0.51    2014-11-20 (PERLANCAR)

        - Tweak --help message (show default value, note about base64/json/yaml
          encoding).


0.50    2014-11-20 (PERLANCAR)

        - Use the new Perinci::Sub::To::CLIOptSpec for nicer display of options
          in --help.


0.49    2014-11-13 (PERLANCAR)

        - Handle arrayifying scalar parameter from config file to array
          arguments [GH#3].

        - A couple of bug fixes.


0.48    2014-11-12 (PERLANCAR)

	- Regard 304 as success aside from 2xx.


0.47    2014-11-12 (PERLANCAR)

	- Pass -cmdline_src_ARGNAME and -cmdline_srcfilename_ARGNAME
	  special hint arguments.


0.46    2014-11-09 (PERLANCAR)

	- Introduce request stash keys:
	  ignore_missing_config_profile_section & read_config_file.


0.45    2014-11-08 (PERLANCAR)

	- [ux] Prefix log messages with program name.


0.44    2014-11-07 (PERLANCAR)

	- No functional changes.

	- [Bugfix] Fix typo in help message.


0.43    2014-11-07 (PERLANCAR)

        [ENHANCEMENTS]

        - Add logging (currently simple using
          Log::Any::Adapter::ScreenColoredLevel, and defaults to off).

        - Show extra result in run_completion for debugging (can be seen in JSON
          format, for example).

        [BUG FIXES]

        - Forgot to use Mo's qw/default/ to make default work.


0.42    2014-10-31 (PERLANCAR)

	- Tweak help message: show --subcommands when program has
	  subcommands and doesn't specify one.


0.41    2014-10-30 (PERLANCAR)

        - Add support for streaming input and output.


0.40    2014-10-28 (PERLANCAR)

        [BUG FIXES]

        - Forgot to return response (when status is not 2xx and format is text).

        - Avoid perl undef warning.

        [ENHANCEMENTS]

        - Skip envelope if status is 2xx, not just 200.

        - [ux] Bail out if specified config profile is not found.

        - Set EOL to empty string when encoding base64, for smaller encoding
          result.


0.39    2014-10-25 (PERLANCAR)

	- Only do converting of ARG -> ARG:base64 when riap_version is 1.2.


0.38    2014-10-24 (PERLANCAR)

	- No functional changes.

	- Add example for dealing with binary data.


0.37    2014-10-24 (PERLANCAR)

	- No functional changes.

	- Avoid perl undef warning.


0.36    2014-10-24 (PERLANCAR)

        - Send as-is (no newline) if result is binary and format is text.

        - Automatically encode binary/buf arguments when sending to server.

        - Allow buf args to have cmdline_src set.


0.35    2014-10-24 (PERLANCAR)

	- Add attribute: riap_version.


0.34    2014-10-23 (PERLANCAR)

	- No functional changes.

	- Typo: unimplemented status is 501, not 502.


0.33    2014-10-16 (PERLANCAR)

        - Add hook: before_read_config_file.


0.32    2014-10-09 (PERLANCAR)

        - Better error message when metadata does not specify argument schema
          (now die with "BUG: Schema not defined for arg $arg").

        - Push the use of Perinci::Sub::Args::Argv 0.52 to test whether support
          for argument submetadata breaks other stuffs.


0.31    2014-09-17 (PERLANCAR)

	- [Bugfix] Didn't set default value of args (from default property
	  of arg spec or schema default).

	- Tweak die string.


0.30    2014-09-16 (PERLANCAR)

	- Handle output paging and streaming output (functionality moved from
          Perinci::CmdLine).


0.29    2014-09-11 (PERLANCAR)

	- Handle arguments with cmdline_src=stdin_line and is_password
	  (Rinci 1.1.53).


0.28     2014-09-05 (PERLANCAR)

         - Fix doc: function metadata is 'cmdline.default_format', not
           'x.perinci.cmdline.default_format'.

         - 'cmdline.default_format' property in result metadata takes precedence
           over function metadata's.


0.27     2014-09-03 (PERLANCAR)

         - Handle the case when we must send ARGV instead of args hash (when
           parse_args_from_argv returns 501).


0.26     2014-09-03 (PERLANCAR)

         - [Bugfix] Ordering.


0.25     2014-09-03 (PERLANCAR)

         - No functional change.

         - Extract some functionality to Perinci-Access-Lite, to make it easier
           to add http support.


0.24     2014-08-29 (PERLANCAR)

         - Avoid failure in 00-compile.t [CT].


0.23     2014-08-27 (PERLANCAR)

         - Handle cmdline_src argument spec property (functionality moved from
           Perinci::CmdLine).


0.22     2014-08-26 (SHARYANTO)

         [INCOMPATIBLE CHANGES]

         - Change configuration profile syntax from '[PROFILENAME]' to
           '[profile=PROFILENAME]' (for use with subcommand: '[SUBCMDNAME
           profile=PROFILENAME]'.


0.21     2014-08-25 (SHARYANTO)

         - No functional changes.

         - Workaround for default for config_filename not being set properly if
           used by Moo subclass (in Perinci::CmdLine).


0.20     2014-08-25 (SHARYANTO)

         [ENHANCEMENTS]

         - Add support for configuration file.


0.19     2014-08-24 (SHARYANTO)

         - Base: Use Mo if used by Perinci::CmdLine::Lite, otherwise use Moo
           when used by Perinci::CmdLine use Moo. This is because there is a
           problem with role attributes not being applied when Moo subclass
           extends Mo class.


0.18     2014-08-24 (SHARYANTO)

         - Fix logic errors.


0.17     2014-08-23 (SHARYANTO)

         - Handle result metadata: cmdline.default_format, cmdline.skip_format,
           cmdline.result.


0.16     2014-08-22 (SHARYANTO)

         - Fixes, mainly to make Perinci::CmdLine work again.


0.15     2014-08-21 (SHARYANTO)

         - Fix passing $r to common option's handler in parse_argv().


0.14     2014-08-16 (SHARYANTO) - Happy 19th CPAN Day!

         - Configure Getopt::Long no_ignore_case.


0.13     2014-08-16 (SHARYANTO) - Happy 19th CPAN Day!

         - A few minor bug fixes.


0.12     2014-08-07 (SHARYANTO)

         - Complete --cmd value.

         - [Bugfix] Fix completion of subcommands ('gu ^').


0.11     2014-07-31 (SHARYANTO)

         - Add usage and argument position information in help.

         - Handle args_as array/arrayref/hashref.

         [INTERNAL]

         - Add more tests.


0.10     2014-07-29 (SHARYANTO)

         - Adjust to Perinci::Sub::Complete 0.60.

         [INCOMPATIBLE CHANGES]

         - Rename attributes 'custom_completer' to 'completion', remove
           'custom_arg_completer'.


0.09     2014-07-25 (SHARYANTO)

         - No functional changes.

         - Adjust to Complete::Bash 0.09 (no more break_cmdline_into_words(),
           parse_cmdline() no longer strips command name).


0.08     2014-07-24 (SHARYANTO)

         - Adjust to Getopt::Long::Util 0.46 (required by
           Perinci::Sub::GetArgs::Argv 0.46) which already sorts options.

         [BUG FIXES]

         - Don't add newline if result is an empty string.

         - Hasn't retrieved meta yet for version action.

         [INTERNAL]

         - Add some tests.


0.07     2014-07-23 (SHARYANTO)

         - [Bugfix] A couple of bug fixes.

         [ENHANCEMENTS]

         - Show previous error in error message.

         - Handle result_naked=1.

         [INTERNAL]

         - Adjust to Perinci::Sub::GetArgs::Argv 0.46.


0.06     2014-07-18 (SHARYANTO)

         - No new features.

         - Organize dist, merge Perinci::CmdLine::Base from Perinci-CmdLine-Base
           (now will be removed) and Perinci::CmdLine::Manual::* from
           Perinci-CmdLine.

         - Add minimal tests.


0.02     2014-07-18 (SHARYANTO)

         - Require Perinci::CmdLine::Base 0.04 (which contains fixes, especially
           completion).

         - Fix and tweak 'subcommands' action.

         - Implement run_help() to display decent help message.


0.01     2014-07-16 (SHARYANTO)

         - First release, early release, completion not yet implemented.
