File: Changes

package info (click to toggle)
libcontextual-return-perl 0.004003-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 332 kB
  • sloc: perl: 1,367; makefile: 2
file content (117 lines) | stat: -rw-r--r-- 2,898 bytes parent folder | download
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
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!)