Debian Codegraph @

Changes

raw
1 Revision history for Perl module Perl::MinimumVersion
2
3 1.44 2025-05-04
4 - Update LICENSE text (for real this time)
5
6 1.43 2025-05-04
7 - Update LICENSE text
8 - Promoting trial changes to stable release
9
10 1.42 2023-09-30 (TRIAL RELEASE)
11 - Restore detection for Perl version 5.008, which means that 5.006 is now the minimum
12 required version that will be reported.
13 - Recognize the minimum required Perl versions for:
14 - the "use re '/flags'" pragma (GH#29)
15 - postfix dereferences (GH#30)
16 - the <<>> operator (GH#31)
17
18 1.41 2023-05-17 (TRIAL RELEASE)
19 - Remove detection for Perl versions 5.008 and older. This means that 5.008 is now the
20 minimum required version that will be reported. (GH#7)
21 - Fix formatting of the summary printed by the perlver script (GH#14)
22 - Recognize the minimum required version for the tr///r flag (GH#25)
23 and indented heredocs (GH#27)
24
25 1.40 2021-04-21
26 - No changes from 1.39
27
28 1.39 2021-04-11 (TRIAL RELEASE)
29 - Features enabled via the 'experimental' pragma are now recognized (GH#5)
30 - Depend on PPIx::Utils instead of Perl::Critic::Utils (GH#6)
31 - Recognize several new features and their minimum required Perl versions (GH#10, GH#20)
32 - 'say', 'smartmatch', 'postderef', 'postderef_qq', 'signatures',
33 'refaliasing', 'bitwise', 'declared_refs', 'isa', 'indirect'
34
35 1.38 2014-08-22
36 - The doc for Perl::MinimumVersion now mentions perlver in both
37 the DESCRIPTION and SEE ALSO sections. RT#98262 from pagenyon++.
38 - Added mention of Perl::MinimumVersion::Fast to SEE ALSO.
39
40 1.37 2014-05-11
41 - Removed the check for "stacked labels" that I added in 1.36, as it appears
42 that I misinterpreted what the 5.14 change was, and broke at least one dist.
43 Commented out the check in MinimumVersion.pm, and the specific subtests.
44 Apologies to HMBRAND and all others affected
45 - The way I was comparing versions in one of the new tests in 1.36 wasn't portable
46 across old versions of Perl. Thanks to Paul Howarth for RT#95528.
47
48 1.36 2014-05-09
49 - CHECK block requires 5.6.2
50 - UNITCHECK block requires 5.10.0
51 - Stacked labels on the same statement requires 5.14.0
52
53 1.35 2014-05-02
54 - 'state' requires perl 5.10.0, even if you don't also see
55 "use feature 'state'", because you can also write "use 5.010" to
56 enable 'state'. RT#67626
57 - Dropped the rule that said "use base 'Exporter'" should make a
58 dependency on Perl 5.008+ RT#89173
59 - Improved the fix for RT#95023. Thanks again to Paul Howarth.
60
61 1.34 2014-04-24
62 - The perlver script wasn't getting installed, because it's in
63 a script/ directory. RT#95023, fix from ETHER.
64 - t/02_main.t was failing on older versions of perl, because
65 a min version is getting reported as '5.01301' on Perl 5.010 and later,
66 but as '5.013010' on earlier Perls. RT#95023. I need to understand this
67 better, but want to get a passing release out.
68
69 1.33 2014-04-24
70 - Internals::SvREADONLY requires perl 5.8.0
71 - handle features upto lexical_subs, which requires 5.18.0
72 state, switch, unicode_strings, unicode_eval, evalbytes,
73 current_sub, array_base, fc, lexical_subs
74 - deprecate.pm requires perl 5.12 (Alexandr Ciornii)
75 - require new version of PPIx::Regexp
76 - detect while(readdir $dh) (Alexandr Ciornii)
77 - Switched to Dist::Zilla
78 - Added required versions of modules when use'ing them
79 - Reformatted Changes as per CPAN::Changes::Spec
80
81 1.32 2013-01-16
82 - require new version of PPIx::Regexp
83 - skip sub named keys/each/values in _each_argument() (Pedro Melo, RT#82718)
84 - detect open with reference to scalar (Alexandr Ciornii)
85
86 1.31 2012-12-04
87 - sort $subref requires perl 5.6 (Alexandr Ciornii)
88
89 1.30 2012-11-28
90 - 'each % { $foo }' incorrectly required perl 5.14 (RT#81505)
91 - 02_main.t fails in rare cases (RT#81487)
92
93 1.29 2012-11-27
94 - "Use of uninitialized value in null operation" fix.
95 - Adding test for "utf8::is_utf" 5.8.1 special case
96 - Recognize all versions in "use feature" bundle (Alexandr Ciornii)
97 - Support regexes (Alexandr Ciornii)
98 - detect changes in each/keys/values in 5.12 and 5.14 (Yasutaka ATARASHI, Alexandr Ciornii)
99 - 2-arg binmode (Alexandr Ciornii)
100 - postfix when (Alexandr Ciornii)
101 - exists(&sub) (Kevin Ryde, Alexandr Ciornii)
102 - _bugfix_magic_errno will return element (Alexandr Ciornii)
103 - add 'encoding' to 5.8 pragmas (Alexandr Ciornii)
104 - private methods _set_checks2skip and _set_collect_all_reasons for
105 Perl::Critic::Policy::Compatibility::PerlMinimumVersionAndWhy (Alexandr Ciornii)
106 - temp file with open requires 5.8 (Alexandr Ciornii)
107
108 1.28 2011-03-02
109 - The ->isa in the 5.10 operator and magic variable tests were
110 back the front, breaking both. Fixed (ADAMK)
111 - Magic variable rules now check using ->symbol method instead of
112 ->content so that $+{foo} are correctly treated like %+ (ADAMK)
113 - Removed -w from tests to allow testing with Tainting on (ADAMK)
114
115 1.27 2011-02-26
116 - Updating to Module::Install::DSL 1.00
117 - Updating copyright year
118 - Fix detection of binary numbers (Alexandr Ciornii)
119 - Add check for variables added in 5.5 (Alexandr Ciornii)
120 - Correct detection of different cases of '...' (Alexandr Ciornii)
121 - Detection of bareword that ends with double colon (Alexandr Ciornii)
122
123 1.26 2010-07-21
124 - Detect "package NAME VERSION" in 5.12. (Steffen Mueller)
125 - Detect "..." (yada yada yada) in 5.12. (Steffen Mueller)
126 - Detect "use feature ':5.12';" in 5.12. (Steffen Mueller)
127
128 1.25 2010-05-08
129 - Error in minimum_syntax_reason discovered by perl 5.12 (Alexandr Ciornii)
130
131 1.24 2010-01-21
132 - The previous changes seem to work well in practice now,
133 switching to prod release. (ADAMK)
134
135 1.23_03 2010-01-21
136 - The --blame output now prints actually shows which file (ADAMK)
137
138 1.23_02 2010-01-21
139 - The --blame option now works in the perlver script (ADAMK)
140
141 1.23_01 2010-01-14
142 - Reworked the internals to capture the version, rule and PPI
143 element responsible for each limitation as P:MV:Reason (ADAMK)
144 - Added first experimental version of the new _reason API (ADAMK)
145 - Adding 5.8 dependency for "use Carp version ()" (ADAMK)
146 - module Errno requires perl 5.5 (Alexandr Ciornii)
147 - PPI is no longer compatible with perl 5.5, so P::MV can also
148 depend on 5.6 (Alexandr Ciornii)
149 - Bumping File::Find::Rule dependency to 0.32 because we break with
150 0.31 (ADAMK)
151
152 1.22 2009-11-25
153 - Negative length in 'splice' requires perl 5.5 (Alexandr Ciornii)
154 - 'mkdir' with one argument requires perl 5.6 (Alexandr Ciornii)
155 - 'substr' will not be checked if it is a method name (Alexandr Ciornii)
156 - better tests and fix for 3-arg 'open' (Alexandr Ciornii)
157
158 1.21 2009-11-24
159 - Add 'bytes' to 5.6 pragma (Alexandr Ciornii)
160 - Add support for "version numbers" like "v1.1.1" (Alexandr Ciornii)
161 - Reimplement _three_argument_open, more tests (Alexandr Ciornii)
162 Now check for 3-arg open is working.
163 - Check 4-arg substr that requires perl 5.5 (Alexandr Ciornii)
164 - Postfix foreach requires perl 5.004.05 (Alexandr Ciornii)
165 - Scalar::Util::weaken requires perl 5.006 (Alexandr Ciornii)
166 - P::MV itself found incompatibility in 02_main.t with 5.5 (Alexandr Ciornii)
167
168 1.20 2009-04-03
169 - Change 5.005_03 to 5.005.05 (ADAMK)
170 - 5.8 and 5.6 pragmas (Alexandr Ciornii)
171 - Fixed error in perlver/find (Alexandr Ciornii)
172 - CPAN::Exception should not trigger dependency on 5.5 (Alexandr Ciornii)
173 - Added undocumented option 'explain' in perlver (Alexandr Ciornii)
174 - CHECK blocks (Alexandr Ciornii)
175 - First implementation of _three_argument_open and tests (Alexandr Ciornii)
176
177 1.19 2008-09-15
178 - Updating PPI and several other dependencies to get a more
179 accurate parse on which to run the analysis.
180 - Add a dependency on File::Find::Rule::Perl instead of using
181 a duplicate (worse) copy of the code for it.
182 - If perlver is run in a CPAN-style distribution don't parse
183 blib or _build directories (but DO parse inc)
184
185 1.18 2008-08-23
186 - Moving bin/perlver to more correct script/perlver
187 - Adding test for localising soft references (BDFOY)
188 - Updating to Module::Install 0.77
189
190 0.16 2008-05-10
191 - Adding rules for mro.pm and feature.pm (Alexandr Ciornii)
192 - Adding rules for 5.10.0 operators and magic variables (Adam Kennedy)
193 - Internal fixes for 5.10.0 (read: 5.010) support (Ricardo Signes)
194 - Add version_analysis for complete (slow) analysis (Ricardo Signes)
195 - Adding a 5.005_03 dependency on qr// (Adam Kennedy)
196
197 0.15 2007-07-17
198 - No functional changes
199 - Updating List::Util dependency to 1.19 to resolve Win32 memory leak
200 - Adding rule for "use base 'Exporter';" (some old versions don't export import)
201 - Correcting the behaviour of minimum_syntax_version when provided a filter
202
203 0.14 2007-03-05
204 - Adding support for checking the 5.8 dep "use constant { ... };"
205 - Moderning the tests a little
206 - Push the version.pm dependency again to 0.70 to avoid
207 a number of edge case and legacy API issues that bit us earlier.
208 - Upgraded to Module::Install 0.65_01
209
210 0.13 2006-04-22
211 - No functional changes
212 - Moved over from SourceForge CVS to new collaborative SVN repository
213 - Upgraded to Module::Install 0.62
214
215 0.12 2005-12-30
216 - Removed some Perl 5.8isms and coded one back in as a rule :)
217 - Upgraded to newer Module::Install
218 - Pushed version deps on some critical things
219
220 0.11 2005-11-09
221 - Added missing File::Find::Rule dependency
222
223 0.10 2005-10-06
224 - Fixed utf8 pragma
225 - Switched from qv() to version->new() due to bugs
226 - Please ignore perlver for now :)
227 - Updated dependencies to cover recent bugs and changes
228
229 0.09_01 2005-09-11
230 - Added the perlver application
231 - Added some more minor optimisation
232
233 0.05 2005-09-03
234 - Added support for explicit versions
235 - Added minimum_syntax_version method
236 - Added minimum_explicit_version method
237 - Updated PPI dependency to 1.000
238
239 0.04 2005-05-31
240 - Added another chunk of checking methods
241
242 0.03 2005-06-08
243 - Updated to handle API change at PPI 0.990
244
245 0.02 2005-04-25
246 - Added tests for attributes, utf8 and a few other pragmas
247
248 0.01 2005-04-20
249 - Created the initial implementation
250