Debian Codegraph @

Changes

raw
1 0.19 2023-07-22
2 * Various test suite fixes
3
4 0.18 2023-07-21
5 * Support //= in signatures, like 5.38 does
6 * Various test suite fixes
7
8 0.17 2020-10-03
9 * Make some capture groups atomic to speed up matching
10 * Documentation updates to mention more common code pitfalls that trip up
11 Filter::Simple and Filter::signatures
12
13 0.16 2020-08-23
14 + Fix signature parsing when there are more than 40 placeholder strings
15 This was an interesting bug to chase down. Filter::Simple replaces all
16 strings with placeholders, but if you have enough of them, one of them
17 becomes "\0\0\0(", which the signature parsing did not cope with.
18 + "use feature 'signatures';" and "no warnings 'experimental::signatures';"
19 are now allowed to have leading whitespace but still must be on a line
20 of their own.
21
22 0.15 2018-08-19
23 + Add mention of App::sigfix and Babble
24 + Document that only a reduced set of regular expression matches is
25 correctly parsed in default expressions
26 + Correctly parse do {} blocks in default expressions
27 + Correctly parse function parameters in case of nested functions and blocks
28
29 0.14 2018-07-26
30 + Add code and documentation on how to load this module from the command
31 line. This is mostly intended to give you a way to do a quick fix for
32 using Perl code that requires signatures on a version of Perl that doesn't
33 support them out of the box.
34
35 0.13 2018-05-11
36 + Support (well, ignore) comments in signatures
37 This comes at the cost of erasing those comments from the source code.
38 If you stack source filters and a source filters expects to extract value
39 from the comments, this won't work anymore.
40 ! More robustness when parsing the formal signature argument list. Too many
41 strings in your source code could make the module behave erratically
42
43 0.12 2018-05-10
44 ! Make subroutines with empty body return C<undef>
45 Pointed out in discussion at
46 https://www.nntp.perl.org/group/perl.perl5.porters/2014/02/msg212580.html
47 . Documentation fix by MANWAR, many thanks!
48
49 0.11 2018-02-28
50 + Support parentheses in default assignments on Perl 5.10 onwards
51 sub foo( $now = time() ) {
52
53 0.10 2017-06-28
54 + Support multiline signatures
55 . We also attempt to keep the line numbers correct
56
57 0.09 2017-01-16
58 + Support single-line functions
59 In fact, we simply don't require the subroutine declaration to be on a
60 separate line from other code.
61 This adresses RT #119843
62
63 0.08 2016-12-19
64 ! Make signature-less subroutines work again instead of warning
65
66 0.07 2016-12-18
67 + Actually allow for empty parameter lists
68 + Allow for unnamed/ignored parameters sub ($foo,$,$bar) { ... }
69 . Adresses Github issue #1
70
71 0.06 2016-11-07
72 + Don't crash on empty function parameter lists.
73 + Make module internals more testable
74 . Add a test that verifies function default parameters actually parse
75 as we expect. Thanks to Rolf Langsdorf for the discussion.
76
77 0.05 2016-09-29
78 . Bump Filter::Simple prerequisite to 0.91
79 Earlier versions gave problems with some of my modules
80 If it works for you, no need to upgrade
81
82 0.04 2016-09-06
83 + Add support for defaults, and our own, very, _very_
84 simplicistic "expression parser" (which blindly splits on comma.
85 This means that the following is now supported:
86 sub foo( $bar, $baz='default' ) {
87 return $baz
88 };
89 print foo("two","parameters"); # parameters
90 print foo("one"); # default
91
92 The following will still fail horribly, because we don't parse expressions:
93 sub foo( $bar, $baz=bar(1,2) ) {
94 print $baz # "default"
95 };
96
97 0.03 2016-05-19
98 + Add our own fake 'experimental::signatures' warning category
99 if we install our filter so that "no warnings 'experimental::signatures'"
100 doesn't raise an error on Perl versions where we install our filter
101
102 0.02 2016-04-23
103 + Check does now not use the version of Perl but checks
104 `use feature 'signatures'`
105 + You can force the use of the module using an environment variable
106 (not that you should)
107
108 0.01 2016-04-14
109 . Released on an unsuspecting world
110 . Spun out of App::StarTraders (unreleased)