Perinci-Sub-Wrapper
view release on metacpan or search on metacpan
0.853 2023-07-09 Released-By: PERLANCAR; Urgency: medium
- No functional changes.
- Remove usage of smartmatch.
0.852 2021-08-01 Released-By: PERLANCAR; Urgency: medium
- Update test to newer Data::Sah::Normalize (0.051, via Data::Sah
0.909) (RT#138250).
0.851 2019-07-04 Released-By: PERLANCAR; Urgency: medium
- Observe function feature 'validate_args' in Rinci metadata, and
disable validate_args by default if function states that it can
validate args on its own.
0.850 2019-04-15 Released-By: PERLANCAR
- Update to Rinci 1.1.88 (slurpy).
0.84 2017-07-10 Released-By: PERLANCAR
- No functional changes.
- Replace Log::Any with Log::ger.
0.83 2016-06-02 Released-By: PERLANCAR
- No functional changes.
- Adjust to Data::Sah 0.79 (introduced v in compilation data, modules
become array of records).
0.82 2016-02-04 Released-By: PERLANCAR
- [Bugfix] When arg/result is stream, check that schema must be
str/buf/array and when schema is array use the schema specified
in its 'of' clause.
0.81 2016-01-22 Released-By: PERLANCAR
- No functional changes.
- Show streaming record (input this time) that fails validation, to
aid debugging.
0.80 2016-01-20 Released-By: PERLANCAR
- No functional changes.
- Show streaming record/sub result that fails validation, to aid
debugging.
- Bump prereq version Log::Any::IfLOG to 0.07.
0.79 2015-09-04 Released-By: PERLANCAR
- No functional changes.
- [dist] Move spec prereqs from RuntimeRequires to
DevelopRecommends to reduce deps but still allow indicating spec
requirement.
0.78 2015-05-23 Released-By: PERLANCAR
- Add wrap options: core, core_or_pp, pp (like in Data::Sah).
0.77 2015-05-13 Released-By: PERLANCAR
- Check args_rels property.
0.76 2015-04-25 Released-By: PERLANCAR
- Make sure we also use ## as trailing comment when debug=1 [RT#103932].
- Add a couple of benchmark devscripts.
0.75 2015-02-26 Released-By: PERLANCAR
- No functional changes.
- Switch from Log::Any to Log::Any::IfLOG.
0.74 2015-02-19 Released-By: PERLANCAR
- Ignore entity_date property (produced by Perinci::Access::Perl, for
example).
- Properly handle use/no statements from Data::Sah compilation result,
instead of converting them to require statements.
0.73 2015-02-18 Released-By: PERLANCAR
- Make sure we always use ## as trailing comment, to make it easier
for others (like Dist::Zilla::Plugin::Rinci::Wrap) to strip the
comments.
0.72 2015-02-10 Released-By: PERLANCAR
- No functional changes.
- Fix typo in deps [GH#1].
0.71 2015-01-21 Released-By: PERLANCAR
- No functional changes.
- Remove debugging diag().
0.70 2015-01-17 Released-By: PERLANCAR
- Support Rinci 1.1.71: streaming input & output now uses coderef only
(not filehandle or tied array or IO::Handle-like object). We also
support per-record validation of streaming input & output.
0.69 2015-01-16 Released-By: PERLANCAR
- Handle argument validation when stream=1.
0.68 2015-01-11 Released-By: PERLANCAR
- Handle 'result/stream' property, add validation for streaming
result.
0.67 2014-12-10 Released-By: PERLANCAR
- No functional changes.
- Use new name of renamed/split module SHARYANTO::String::Util ->
String::LineNumber.
0.66 2014-10-29 Released-By: PERLANCAR
[BUG FIXES]
- Argument specification property 'default' was not used when there is
no schema.
- Typo: unimplemented status is 501, not 502.
0.65 2014-10-23 Released-By: PERLANCAR
[REMOVED FEATURES]
- Remove support for 'encoding' (removed in Rinci 1.1.62).
Handling/encoding binary data will be handled at the Riap level.
0.64 2014-10-22 Released-By: PERLANCAR
- Support result specification property 'encoding' by automatic
encoding of result when property is set (Rinci 1.1.61).
- Support argument specification property 'encoding' by automatic
decoding of function arguments when property is set (Rinci 1.1.59).
0.63 2014-10-15 Released-By: PERLANCAR
- Add support for arg submetadata & arg element submetadata (Rinci
1.1.56).
- [Bugfix] schema_is_normalized arg in Sah schema compilation was
incorrectly reversed.
0.62 2014-09-06 Released-By: PERLANCAR
- Tweak/fix logic of setting default value for validate_{args,result}.
First set default to 0 if the function metadata attribute
'x.perinci.sub.wrapper.disable_validate_{args,result}' is defined
(this was not done before; it's useful if e.g. args is validated
using code inserted by Dist::Zilla::Plugin::Rinci::Validate). If that
attribute is not defined, set default to 0 if there is previous log
of validate args/result ('x.perinci.sub.wrapper.logs'). Of course,
all of this is only if validate_{args,result} argument for wrap_sub()
is not defined.
( run in 1.644 second using v1.01-cache-2.11-cpan-39bf76dae61 )