Perl-MinimumVersion
view release on metacpan or search on metacpan
Revision history for Perl module Perl::MinimumVersion
1.44 2025-05-04
- Update LICENSE text (for real this time)
1.43 2025-05-04
- Update LICENSE text
- Promoting trial changes to stable release
1.42 2023-09-30 (TRIAL RELEASE)
- Restore detection for Perl version 5.008, which means that 5.006 is now the minimum
required version that will be reported.
- Recognize the minimum required Perl versions for:
- the "use re '/flags'" pragma (GH#29)
- postfix dereferences (GH#30)
- the <<>> operator (GH#31)
1.41 2023-05-17 (TRIAL RELEASE)
- Remove detection for Perl versions 5.008 and older. This means that 5.008 is now the
minimum required version that will be reported. (GH#7)
- Fix formatting of the summary printed by the perlver script (GH#14)
- Recognize the minimum required version for the tr///r flag (GH#25)
and indented heredocs (GH#27)
1.40 2021-04-21
- No changes from 1.39
1.39 2021-04-11 (TRIAL RELEASE)
- Features enabled via the 'experimental' pragma are now recognized (GH#5)
- Depend on PPIx::Utils instead of Perl::Critic::Utils (GH#6)
- Recognize several new features and their minimum required Perl versions (GH#10, GH#20)
- 'say', 'smartmatch', 'postderef', 'postderef_qq', 'signatures',
'refaliasing', 'bitwise', 'declared_refs', 'isa', 'indirect'
1.38 2014-08-22
- The doc for Perl::MinimumVersion now mentions perlver in both
the DESCRIPTION and SEE ALSO sections. RT#98262 from pagenyon++.
- Added mention of Perl::MinimumVersion::Fast to SEE ALSO.
1.37 2014-05-11
- Removed the check for "stacked labels" that I added in 1.36, as it appears
that I misinterpreted what the 5.14 change was, and broke at least one dist.
Commented out the check in MinimumVersion.pm, and the specific subtests.
Apologies to HMBRAND and all others affected
- The way I was comparing versions in one of the new tests in 1.36 wasn't portable
across old versions of Perl. Thanks to Paul Howarth for RT#95528.
1.36 2014-05-09
- CHECK block requires 5.6.2
- UNITCHECK block requires 5.10.0
- Stacked labels on the same statement requires 5.14.0
1.35 2014-05-02
- 'state' requires perl 5.10.0, even if you don't also see
"use feature 'state'", because you can also write "use 5.010" to
enable 'state'. RT#67626
- Dropped the rule that said "use base 'Exporter'" should make a
dependency on Perl 5.008+ RT#89173
- Improved the fix for RT#95023. Thanks again to Paul Howarth.
1.34 2014-04-24
- The perlver script wasn't getting installed, because it's in
a script/ directory. RT#95023, fix from ETHER.
- t/02_main.t was failing on older versions of perl, because
a min version is getting reported as '5.01301' on Perl 5.010 and later,
but as '5.013010' on earlier Perls. RT#95023. I need to understand this
better, but want to get a passing release out.
1.33 2014-04-24
- Internals::SvREADONLY requires perl 5.8.0
- handle features upto lexical_subs, which requires 5.18.0
state, switch, unicode_strings, unicode_eval, evalbytes,
current_sub, array_base, fc, lexical_subs
- deprecate.pm requires perl 5.12 (Alexandr Ciornii)
- require new version of PPIx::Regexp
- detect while(readdir $dh) (Alexandr Ciornii)
- Switched to Dist::Zilla
- Added required versions of modules when use'ing them
- Reformatted Changes as per CPAN::Changes::Spec
1.32 2013-01-16
- require new version of PPIx::Regexp
- skip sub named keys/each/values in _each_argument() (Pedro Melo, RT#82718)
- detect open with reference to scalar (Alexandr Ciornii)
1.31 2012-12-04
- sort $subref requires perl 5.6 (Alexandr Ciornii)
1.30 2012-11-28
- 'each % { $foo }' incorrectly required perl 5.14 (RT#81505)
- 02_main.t fails in rare cases (RT#81487)
1.29 2012-11-27
- "Use of uninitialized value in null operation" fix.
- Adding test for "utf8::is_utf" 5.8.1 special case
- Recognize all versions in "use feature" bundle (Alexandr Ciornii)
- Support regexes (Alexandr Ciornii)
- detect changes in each/keys/values in 5.12 and 5.14 (Yasutaka ATARASHI, Alexandr Ciornii)
- 2-arg binmode (Alexandr Ciornii)
- postfix when (Alexandr Ciornii)
- exists(&sub) (Kevin Ryde, Alexandr Ciornii)
- _bugfix_magic_errno will return element (Alexandr Ciornii)
- add 'encoding' to 5.8 pragmas (Alexandr Ciornii)
- private methods _set_checks2skip and _set_collect_all_reasons for
Perl::Critic::Policy::Compatibility::PerlMinimumVersionAndWhy (Alexandr Ciornii)
- temp file with open requires 5.8 (Alexandr Ciornii)
1.28 2011-03-02
- The ->isa in the 5.10 operator and magic variable tests were
back the front, breaking both. Fixed (ADAMK)
( run in 0.391 second using v1.01-cache-2.11-cpan-39bf76dae61 )