| 1 |
Revision history for Class-Load |
| 2 |
|
| 3 |
0.25 2018-06-10 20:55:10Z |
| 4 |
- merged required and recommended Data::OptList version prerequisite, to |
| 5 |
work around CPAN.pm bug (RT#123447) |
| 6 |
|
| 7 |
0.24 2017-04-10 21:12:31Z |
| 8 |
- fix test to handle altered Test::Without::Module exception message |
| 9 |
(PR#2, Paul Howarth) |
| 10 |
|
| 11 |
0.23 2015-06-25 |
| 12 |
- remove use of namespace::clean |
| 13 |
|
| 14 |
0.22 2014-08-16 |
| 15 |
- document some of the caveats to using this module, and refer to |
| 16 |
Module::Runtime as an alternative |
| 17 |
|
| 18 |
0.21 2014-02-09 |
| 19 |
- repository moved to the github moose organization |
| 20 |
|
| 21 |
0.20 2012-07-15 |
| 22 |
|
| 23 |
- Same as the most recent 0.19, but with a new version number. |
| 24 |
|
| 25 |
0.19 2012-07-15 |
| 26 |
|
| 27 |
- Uploaded by Dave Rolsky, not realizing 0.19 was already used |
| 28 |
|
| 29 |
- The load_class() subroutine now returns the class name on success. Requested |
| 30 |
by Caleb Cushing. RT #76931. |
| 31 |
|
| 32 |
- Exceptions and errors from Class::Load no longer contain references to line |
| 33 |
numbers in Class::Load or Module::Runtime. This applies to exceptions thrown |
| 34 |
by load_class, load_first_existing_class, and load_optional_class, as well |
| 35 |
as the error returned by try_load_class. |
| 36 |
|
| 37 |
- Exceptions are now croaked properly so they appear to come from the calling |
| 38 |
code, not from an internal subroutine. This makes the exceptions look more |
| 39 |
like the ones thrown by Perl's require. RT #68663. |
| 40 |
|
| 41 |
0.19 2012-04-03 |
| 42 |
|
| 43 |
- Uploaded by doy (Jesse Luehrs) |
| 44 |
|
| 45 |
- No changes, reupload to fix indexing. |
| 46 |
|
| 47 |
0.18 2012-02-18 |
| 48 |
|
| 49 |
- Require Package::Stash 0.14+. Fixes RT #75095. Reported by Zefram. |
| 50 |
|
| 51 |
0.17 2012-02-12 |
| 52 |
|
| 53 |
- A bug in Class::Load caused test failures when Module::Runtime 0.012 was |
| 54 |
used with Perl 5.8.x. Reported by Zefram. RT #74897. ( Jesse Luehrs ) |
| 55 |
|
| 56 |
0.16 2012-02-12 |
| 57 |
|
| 58 |
- Require Module::Runtime 0.012, which has a number of useful bug fixes. |
| 59 |
|
| 60 |
0.15 2012-02-08 |
| 61 |
|
| 62 |
- Small test changes to accomodate latest version of |
| 63 |
Module::Implementation. There's no need to upgrade if you're already using |
| 64 |
0.14 |
| 65 |
|
| 66 |
0.14 2012-02-06 |
| 67 |
|
| 68 |
- Use Module::Implementation to handle loading the XS or PP versions of the |
| 69 |
code. Using this module fixes a few bugs. |
| 70 |
|
| 71 |
- Under taint mode, setting an implementation in the CLASS_LOAD_IMPLEMENTATION |
| 72 |
env var caused a taint error. |
| 73 |
|
| 74 |
- An invalid value in the CLASS_LOAD_IMPLEMENTATION env var is now detected |
| 75 |
and reported immediately. No attempt is made to load an invalid |
| 76 |
implementation. |
| 77 |
|
| 78 |
0.13 2011-12-22 |
| 79 |
|
| 80 |
- Fix some bugs with our use of Try::Tiny. This could cause warnings on some |
| 81 |
systems with Class::Load::XS wasn't installed. Fixes RT #72345. |
| 82 |
|
| 83 |
0.12 2011-10-25 |
| 84 |
|
| 85 |
- Depend on Module::Runtime 0.011+. This fixes problems with Catalyst under |
| 86 |
Perl 5.8 and 5.10. |
| 87 |
|
| 88 |
0.11 2011-10-04 |
| 89 |
|
| 90 |
- Don't accept package names that start with a digit. ( Jesse Luehrs ) |
| 91 |
|
| 92 |
- Rewrote some of the guts to use Module::Runtime, rather than reimplementing |
| 93 |
its functionality. ( Jesse Luehrs ) |
| 94 |
|
| 95 |
0.10 2011-09-06 |
| 96 |
|
| 97 |
- Make sure the $@ localization doesn't hide errors - invalid module name |
| 98 |
errors were being suppressed on perls before 5.14. ( Jesse Luehrs ) |
| 99 |
|
| 100 |
0.09 2011-09-05 |
| 101 |
|
| 102 |
- Fix is_class_loaded to ignore $ISA (but still look for @ISA) when trying to |
| 103 |
determine whether a class is loaded. ( Jesse Luehrs ) |
| 104 |
|
| 105 |
- Lots of internals cleanup. ( Jesse Luehrs ) |
| 106 |
|
| 107 |
0.08 2011-08-15 |
| 108 |
|
| 109 |
- The previous version was missing a prereq declaration for |
| 110 |
Data::OptList. Reported by Daisuke Maki and Mark Hedges. RT #70285. |
| 111 |
|
| 112 |
0.07 2011-08-15 |
| 113 |
|
| 114 |
- All this module's subroutines now accept optional parameters for a module so |
| 115 |
you can write something like - load_class( 'Foo', { -version => 42 } ) |
| 116 |
|
| 117 |
- There is now a Class::Load::XS distro available on CPAN which implements |
| 118 |
some of this module's code in XS for speed. This code was originally written |
| 119 |
by Goro Fuji and Florian Ragwitz for Class::MOP. You need to install this |
| 120 |
distro explicitly if you want the XS implementation. |
| 121 |
|
| 122 |
- Added a load_first_existing_class subroutine based, mostly borrowed from |
| 123 |
Class::MOP. |
| 124 |
|
| 125 |
- Fixed a bug where a package with a version object in its $VERSION would not |
| 126 |
be seen as loaded. Reported by Chris Prather. |
| 127 |
|
| 128 |
0.06 2010-11-15 |
| 129 |
|
| 130 |
- BACK COMPAT CHANGE: Remove $Class::Load::ERROR in favor of a contextual |
| 131 |
return value. ( Jesse Luehrs ) |
| 132 |
|
| 133 |
- Add load_optional_class($class) that fails only if there is a problem with |
| 134 |
the attempted-to-load $class. ( Kent Fredric ) |
| 135 |
|
| 136 |
- Force internal require to try-again if we are SURE the class is not |
| 137 |
there. This produces reliable errors. ( Kent Fredric ) |
| 138 |
|
| 139 |
- Replace Test::Exception with Test::Fatal ( Kent Fredric ) |
| 140 |
|
| 141 |
0.05 2009-09-02 |
| 142 |
|
| 143 |
- Cargo-cult Class::MOP's is_class_loaded so we work on 5.10 |
| 144 |
|
| 145 |
0.04 2008-11-09 |
| 146 |
|
| 147 |
- No changes |
| 148 |
|
| 149 |
0.03 2008-11-09 |
| 150 |
|
| 151 |
- Dist fix |
| 152 |
|
| 153 |
0.02 2008-11-09 |
| 154 |
|
| 155 |
- Declare dependency on Test::Exception |
| 156 |
|
| 157 |
0.01 2008-08-13 |
| 158 |
|
| 159 |
- First version, released on an unsuspecting world. |
| 160 |
|