Revision history for Perl extension MOP4Import::Declare 0.070 2025-09-21 * GH-99 - Inspector - Add support for `$class->meta->get_attribute_list` for better interop with Moose, Moo, Mouse... * GH-98 - Fix non-HASH TO_JSON result handling of cli_encode_json 0.062 2025-02-15 * GH-96 - Fix info_code_attributes_of to detect builtin attributes like `:method` too. 0.061 2025-02-02 * GH-95 - new pragma `[code_attributes => @names]` * GH-93 - MOP4Import::Declare now respects `@EXPORT` * GH-90 - zsh_completer field spec and ZshCompleter code attribute * GH-89 - MOP4Import::Util::Inspector is now Modulino 0.060 2024-08-16 * GH-86 - MOP4Import::Types [extends => 'Type'] * MOP4Import::Util::maybe_fields_hash and maybe_globref 0.053 2020-12-02 * GH-84 - Adapt FETCH_CODE_ATTRIBUTES 0.052 2020-10-14 * GH-83 - Fix cpanfile for configure dependency of `rlib` 0.051 2020-06-28 * GH-81 - Reintroduce `--flatten` * GH-80 - Allow opts in ->cli_encode_as([$fmt,\%opts], @records) * GH-79 - change Data::Dumper options for --output=dump * GH-78 - make --output=ndjson as default format * GH-77 - cli_read_file - pass %opts to each format readers * GH-75 - Change NamedCodeAttributes to Exporter * GH-74 - Prepare MOP4Import::Util::Inspector to implement zsh completer * GH-73 - Rename run() to cli_run(). (run() was too generic as an API entry name.) * GH-72 - Fix tsv output and add cli_encode_as($outputFmt, @records) * GH-57 - separate cli_array (returns `\@args`) and cli_list (returns `@args`) 0.050 2019-09-11 * MOP4Import::Base::CLI_JSON is introduced with many cli_xxx APIs. * Other important changes follows: * [GH #70] - Add json_type field property support via Cpanel::JSON::XS::Type * [GH #66] Fix - configure should accept options like `api.token` * [GH #64] - `[constant => $name, $value]` pragma is exported by default. * [GH #63] - import by regexp * [GH #62] - M4I::Pairs - Add special fallback to dispatch_declare protocol. * [GH #61] - New named code attribute API. * [GH #58] - MOP4Import::Types now set `@EXPORT`. * [GH #52] - Add cli_create_from_file and cli_read_file * [GH #50] - Move --quiet option to CLI_JSON * [GH #49][GH #61] - rewrite cli_info_command_doc with `cli_CODE_ATTR_get(Doc => $sub)` * [GH #48] - Add `[defaults => fieldName => defaultValue,...] pragma * [GH #47] - add `cli_unknown_subcommand` * [GH #46] - drop CLI_JSON::run (to inherit CLI::run) - rewrite CLI::run (as a template method) - Change parse_json_opts to use parse_opts as function * [GH #45] - Add `[import => @import_specs]` pragma * [GH #44] - Rename impl of pragma `base` to `fileless_base` * [GH #41] - Use mro::get_linear_isa to reorder options * [GH #40] - Decode json arguments as utf8 [GH #39] - Change STDIN/OUT/ERR utf8 by default. * [GH #14] - Add new hooks before_configure_default, after_configure_default 0.049_002 2017-10-21 * [GH #23] - API change. `declare_PRAGMA` arguments are simplified. * And many changes... 0.004 2015-12-16 * [GH #19] - Add rlib to configure_requires. * [GH #18] - Fix Base::CLI->run exit code handling. 0.002 2015-11-25 * [GH #17] Split Types and Types::Extend - Types are now based on Pairs protocol. * Fix dist_name/module_name * Split dist into namespace and real implementation. 0.000_002 2015-10-21 * Mainly for CPAN, travis-ci and coveralls. * Changes - [GH #15] CLI should not eat options for subcommand - s/take_hash_opts_maybe/take_hash_maybe/ - [GH #13] Fields declaration order was shuffled for subclass bug 0.000_001 2015-09-23 - Alpha release.