Rinci
view release on metacpan or search on metacpan
1.1.78 2015-09-03 Released-By: PERLANCAR
- No spec changes.
- [dist] Move spec prereqs from RuntimeRequires to
DevelopRecommends to reduce deps but still allow indicating spec
requirement.
1.1.77 2015-05-01 Released-By: PERLANCAR
- No spec changes.
- Typos (args_rels, not args_schema) & wording.
1.1.76 2015-04-30 Released-By: PERLANCAR
- Replace function property 'args_groups' with 'args_rels'. This
allows us to reuse the Sah 0.9.34+ specification, since the hash type
now also contains clauses that specifies relationships between keys
(arguments), e.g. choose_one, choose_all, req_one, req_all, dep_one,
dep_all, req_dep_one, req_dep_all.
1.1.75 2015-03-28 Released-By: PERLANCAR
- Add (experimental) argument specification: filters.
1.1.74 2015-03-18 Released-By: PERLANCAR
- [Incompatible change] Use DefHash's 'caption' property for link title,
instead of using another ('title').
- Introduce another value for 'cmdline_src' argument spec property:
'stdin_or_file' (in addition to 'stdin_or_files').
1.1.73 2015-02-07 Released-By: PERLANCAR
- No spec changes.
- Forgot to update schema.
1.1.72 2015-02-07 Released-By: PERLANCAR
- Introduce function property 'args_groups' to allow things like
requiring {only one,all} members of a group of args must be specified
(and possibly others in the future). UPDATE: Now replaced with
'args_rels'.
- Specify argument specification property 'deps', to allow an argument
to depend on others.
1.1.71 2015-01-17 Released-By: PERLANCAR
- Specify that streaming input and output now uses coderef instead of
filehandle/etc. This is simpler and has the side-effects of easier to
do wrapping for (see Perinci::Sub::Wrapper) where one can just wrap
the coderef to do per-record validation of streaming input/output.
1.1.70 2014-11-19 Released-By: PERLANCAR
- Add 'links' property to arg spec.
1.1.69 2014-10-30 Released-By: PERLANCAR
- No spec changes.
- [Bugfix] forgot to update Sah schema.
1.1.68 2014-10-30 Released-By: PERLANCAR
- Forgot to mention 'stream' argument spec property.
1.1.67 2014-10-30 Released-By: PERLANCAR
[INCOMPATIBLE CHANGES]
- Tweaks/changes to sending of partial argument value: feature
'partial_arg' is removed as it is redundant (argument property
'partial' already hints this capability). When sending partial value,
aside from '-arg_part_start' and '-arg_part_len', client now must also
send '-arg_len' which is the total size. This is to follow more
closely with HTTP Content-Range semantic.
- Tweaks/changes to returning partial result: feature 'partial_res' is
removed, function can now instead hint using the 'partial' property in
its 'result' property. Result metadata properties 'res_part_start' and
'res_part_len' are now renamed to 'part_start' and 'part_len'. 'len'
is now also added to return information on total size (to follow HTTP
Content-Range semantic more closely).
[ENHANCEMENTS]
- Introduce argument property 'stream' to signify accepting input
stream. Input stream (like stdin) is a basic feature in most
programming environment so it should be supported. Implementation of
command-line framework will provide a filehandle for the argument,
where the function can read data from.
- Introduce result metadata property 'stream' to signify output is a
stream. Output stream (like stdout) is a basic feature in most
programming environment so it should be supported. This feature is
actually already in Unixish for some time.
1.1.66 2014-10-29 Released-By: PERLANCAR
- Currently limit that there should at most be one argument with
partial=1. The special arguments become just '-arg_part_start' and
'-arg_part_len'.
1.1.65 2014-10-29 Released-By: PERLANCAR
( run in 0.821 second using v1.01-cache-2.11-cpan-5a3173703d6 )