| 1 |
Revision history for Perl extension Readonly. |
| 2 |
|
| 3 |
2.05 2016-06-10T17:03:28Z |
| 4 |
- Fix deref when using the stupid and utterly unnecessary Readonly::Clone |
| 5 |
|
| 6 |
2.04 2016-05-07T15:38:37Z |
| 7 |
- Quiet compile time warnings about function prototypes and vars being |
| 8 |
used only once |
| 9 |
|
| 10 |
2.03 2016-05-06T22:27:44Z |
| 11 |
- Rewording some documentation |
| 12 |
- No longer require an explicit version of perl in META.json or cpanfile |
| 13 |
|
| 14 |
2.02 2016-05-06T21:56:10Z |
| 15 |
- Create mutable clones of readonly structures with Readonly::Clone |
| 16 |
- Still not convinced this is useful but... fixes #13 |
| 17 |
- Minor typo patch from Gregor Herrmann <[email protected]> fixes #21 |
| 18 |
|
| 19 |
2.01 2016-02-24T16:01:12Z |
| 20 |
- Disallow initialization of Readonly variables by assignment |
| 21 |
allowed by Perl prototype changes in v5.16. Assignment initialization |
| 22 |
of scalars sets scalar variables to undef and lists and hashes |
| 23 |
initialized by assignment are not read only. |
| 24 |
|
| 25 |
2.00 2014-06-30T11:15:05Z |
| 26 |
- Deprecation of Readonly::XS as a requirement for fast, readonly |
| 27 |
scalars is complete. Report any lingering issues on the tracker |
| 28 |
ASAP. |
| 29 |
|
| 30 |
1.61 2014-06-28T11:22:13Z |
| 31 |
- Normal constants (strings, numbers) do not appear to be read only to |
| 32 |
Internals::SvREADONLY($) but perl itself doesn't miss a beat when you |
| 33 |
attempt to assign a value to them. Fixing test regression in |
| 34 |
t/general/reassign.t |
| 35 |
|
| 36 |
1.60 2014-06-27T15:59:27Z |
| 37 |
- Fix array and hash tie() while in XS mode (exposed by Params::Validate tests) |
| 38 |
- Fix implicit undef value regression resolves #8 |
| 39 |
- Minor documentation fixes (spell check, etc.) |
| 40 |
- Patch from Gregor Herrmann <[email protected]> resolves #7 |
| 41 |
|
| 42 |
v1.500.0 2014-06-25T19:56:18Z |
| 43 |
- PLEASE NOTE: Readonly::XS is no longer needed! |
| 44 |
- Again, Readonly::XS is no longer needed. |
| 45 |
- Merged typo fix from David Steinbrunner RT#86350/#2 |
| 46 |
- Merged patch (w/ tests, yay!) from Daniel P. Risse RT#37864 |
| 47 |
- Upstream magic related bugs were reported to p5p and fixed in perl |
| 48 |
itself so we can resolve the following local issues: RT#70167, RT#57382, |
| 49 |
RT#29487, RT#36653, RT#24216. |
| 50 |
- Reported RT#120122 (tie + smartmatch bug) upstream to p5p. Will |
| 51 |
eventually resolve local [RT#59256]. |
| 52 |
- Note: Resolved RT#16167 (benchmark.pl being installed) in 1.04. |
| 53 |
- Use readonly support exposed in Internals on perl >=5.8.x |
| 54 |
- Have I mentioned you don't need to install Readonly::XS anymore? |
| 55 |
- Checking $Readonly::XSokay is no longer suggested. ...never should have been |
| 56 |
|
| 57 |
1.04 2013-11-26T01:20:38Z |
| 58 |
- Module now maintained by Sanko Robinson. Please see TODO for a possible |
| 59 |
set of changes to this module that may effect code written for old, pre- |
| 60 |
perl 5.14.0 platforms!!! |
| 61 |
|
| 62 |
1.03 2004 April 20 |
| 63 |
- Changed the prototype for Readonly, to make the usage cleaner. |
| 64 |
Unfortunately, this breaks backwards-compatability for this |
| 65 |
function. Users of this function who have Perl 5.8 or later |
| 66 |
will have to change their source code. Also, users of this |
| 67 |
function who upgrade to perl 5.8+ will have to change their |
| 68 |
usage. Having discussed this feature change with a number of |
| 69 |
people, I felt that breaking compatability was worth the gain |
| 70 |
in simplicity of usage. |
| 71 |
(Thanks to Damian Conway for the suggestion). |
| 72 |
- Removed "use warnings" so the module will work in perl 5.005. |
| 73 |
|
| 74 |
1.02 2003 May 13 |
| 75 |
- If Readonly::XS is installed, Readonly will use it for |
| 76 |
making scalars read-only. |
| 77 |
- Callers are now forbidden to tie variables directly. This |
| 78 |
prevents sneaky callers from reassigning a variable via |
| 79 |
tie. |
| 80 |
- Error messages have been changed to be more like Perl's |
| 81 |
own "Modification of a read-only value attempted at..." |
| 82 |
- Catch and return an error if user tries to pass a constant |
| 83 |
to Readonly::Scalar (eg Readonly::Scalar 'hello', 'goodbye') |
| 84 |
- Include a simple benchmark script. |
| 85 |
- Add a few more test cases. You can never have too many. |
| 86 |
- Add a simple benchmark program. |
| 87 |
|
| 88 |
1.01 2003 February 14 |
| 89 |
- Add some checking to prevent reassignment of Readonly variables. |
| 90 |
- Changed my email address in the docs. |
| 91 |
|
| 92 |
1.00 2003 January 7 |
| 93 |
- No code changes. No bugs or suggestions have been reported |
| 94 |
for six months, so the version number is changing to 1.00. |
| 95 |
|
| 96 |
0.07 2002 June 25 |
| 97 |
- Clean up the code somewhat; remove redundancies; delay |
| 98 |
loading Carp.pm until it's needed. |
| 99 |
- Fixed the list of EXPORT_OK symbols. |
| 100 |
|
| 101 |
0.06 2002 June 16 |
| 102 |
- Add Readonly function, to provide a unified (and shorter) way to |
| 103 |
create readonly variables. (Thanks to Slaven Rezic for the idea). |
| 104 |
- Scalar, Array, and Hash now mark entire data structures as Readonly. |
| 105 |
Added Scalar1, Array1, and Hash1 for shallow Readonly protection. |
| 106 |
(Thanks to Ernest Lergon for the idea). |
| 107 |
- Switch to Test::More and Test::Harness. 134 tests now! |
| 108 |
|
| 109 |
0.05 2002 March 15 |
| 110 |
- Change name from Constant.pm to Readonly.pm, due to file |
| 111 |
naming conflict under Windows. |
| 112 |
- Changed docs to match. |
| 113 |
- Allow Readonly::Hash to accept a hash reference parameter. |
| 114 |
- Works better with older versions of Perl. |
| 115 |
- Add many, many test cases to test.pl. |
| 116 |
|
| 117 |
0.04 2002 March 7 |
| 118 |
- Add top-level Scalar, Array, and Hash functions, so callers |
| 119 |
don't have to tie the variables themselves. |
| 120 |
|
| 121 |
0.03 2001 September 9 |
| 122 |
- documentation changes only. |
| 123 |
|
| 124 |
0.02 2001 September 9 |
| 125 |
- documentation changes only. |
| 126 |
|
| 127 |
0.01 2001 August 30 |
| 128 |
- Constant.pm, original version. |