File: Changes

package info (click to toggle)
libcontextual-return-perl 0.004014-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 348 kB
  • sloc: perl: 1,453; makefile: 2
file content (197 lines) | stat: -rw-r--r-- 4,600 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
Revision history for Contextual-Return

0.0.1  Mon Mar 14 22:53:00 2005
       Initial release.


0.0.2  Sun May 22 05:48:19 2005

    - added dependency on version.pm



0.1.0  Fri Feb 17 12:15:18 2006

    - added LAZY {...} block for better self-documentation

    - fixed propagation of exceptions from methods called on returned object

    - Added proxying of can() and isa(). (Should VERSION() be done as well?)
      (thanks, Rob)

    - Added FIXED() to support morphing of scalar return values (thanks, Rob)

    - BACKWARDS INCOMPATIBLE CHANGE:
      Added fallback to scalar returns for list context
      To get the old behavior, add:
        LIST { croak "Can't call this sub in list context" } 

    - Made return values under ${} and @{} remain fully lazy (unless FIXED)

    - Added LVALUE, RVALUE, and NVALUE blocks for implementing lvalue returns

    - Added FAIL block for smart failure

    - Added Contextual::Return::FAIL_WITH to configure FAIL


0.2.0  Tue Mar  6 16:34:54 2007

    - Fixed doc nit (thanks BrowserUK)

    - Fixed test suite under Windows (thanks Nigel and Doug)

    - Fixed doc bugs for FAIL_WITH

    - Removed dependency on Carp internals (now replaces them!)

    - Fixed VOID handling (now correctly falls back to DEFAULT)

    - Fixed caller semantics within handler blocks (thanks Schwern)

    - Fixed edge case of C::R::V metainformation requests (thanks Andrew)

    - Rejigged FIXED/LAZY/ACTIVE

    - Added RESULT and RECOVER blocks (thanks Aaron)


0.2.1  Thu Mar 29 17:59:40 2007

    - Removed spurious Smart::Comments dependency (thanks Dave!)


0.003001  Tue Jun 22 17:20:36 2010

    - Added Contextual::Return::FREEZE and Contextual::Return::DUMP
      to facilitate debugging

    - General clean-and-tighten of documentation

    - Added CLEANUP blocks

    - Added PUREBOOL context

    - [BACKWARDS INCOMPATIBLE CHANGE] Changed export interface

    - Added warning about (mis)behaviour of LVALUE, RVALUE, NVALUE
      under the debugger (thanks Steven)

    - Documented METHOD handlers


0.003002  Thu Jan 19 09:27:29 2012

    - Updated version number of Contextual::Return::Failure
      to placate CPAN indexer

    - Improved error messages for bare handlers in bad contexts (thanks Mathew)

    - Work around problems with Test::More and caller


0.004000  Thu Feb 16 14:30:56 2012

    - Fixed context propagation bugs in FIXED and ACTIVE modifiers

    - Added STRICT modifier to prevent fallbacks
      (i.e. impose strict typing on return values)


0.004001  Thu Feb 16 19:01:05 2012

    - Fixed annoying POD nit (thanks Salvatore)


0.004002  Fri Mar  2 06:18:38 2012

    - Fixed significant typo (Carp:carp -> Carp::carp)
      (thanks everyone who reported it)


0.004003  Wed Apr 11 07:55:49 2012

    - Doc patch (thanks Fabrizio)

    - Patched failures.t to account from bleadperl changes
      (thanks Zefram!)


0.004004  Sun Aug  5 17:46:56 2012

    - Further patch to failures.t

    - Added redefinition of Scalar::Util::blessed() to avoid nasty
      surprises (thanks Andrew!)

    - Added confess() and cluck() overrides
      and fixed caller() override to set @DB::args when appropriate


0.004005  Mon Aug 20 10:44:35 2012

    - Further patch for t/confess.t
      (Thanks, David!)


0.004006  Thu Oct  4 16:49:47 2012

    - Circumvented annoying undef-as-key warnings in Perl 5.17+

    - Honour @CARP_NOT's when reporting context


0.004007  Fri Oct  5 23:05:05 2012

    - Added BLESSED handler for better control over how blessed() lies

    - Upgraded reimplementation of blessed() to make more sense


0.004008  Sat Sep 12 13:16:30 2015

    - Promoted $VERSION variable to earlier in source to
      attempt to placate cpanminus (thanks, Karen!)

    - Added prototype to overridden caller()

    - Changed way caller() is overridden, hopefully will no longer
      clash with Sub::Uplevel


0.004009  Fri Nov 18 08:34:19 2016

    - Improved behaviour of FREEZE (Thanks, Mathew!)

    - Improved output of DUMP


0.004010  Thu Dec  1 17:41:14 2016

    - Spelling fix in POD (thanks, Salvatore)

    - Improved DUMP behaviour when passed a non-CRV argument
      (thanks, Mathew)


0.004011  Sat Apr  8 15:23:14 2017

    - Patched memory leak from use of @DB::args
      (thanks, Jay!)


0.004012  Thu Apr 13 01:06:09 2017

    - Optimized previous patch for memory leak
      (thanks, Jay and Father C.)

    - Added missing test plan to t/fail.t



0.004014  Fri Apr 14 18:46:16 2017

    - Reverted to 0.004011 due to segfaults under
      optimized memory leak patch (thanks, Slavin!)