use a hash rather than array for finalizers to fix segfault
[p5sagit/Try-Tiny.git] / Changes
CommitLineData
12b7dc6c 1Revision history for Try-Tiny
2531688c 2
40375a96 3{{$NEXT}}
4
a3769675 50.25 2016-02-22 20:16:51Z (TRIAL RELEASE)
32d7db43 6 - "finally" blocks are now run for all methods of leaving the try block
7 (including via exit, goto) (mauke, RT#112099)
381a9eef 8
08068486 90.24 2015-12-11 05:20:09Z
5ee27f1f 10 - fix prereq errors in 0.23
b8d74909 11
cb57845a 120.23 2015-12-11 04:04:35Z
e4f2f28b 13 - fix syntax of example code (Rudolf Leermakers, PR#22)
14 - 'perl' removed from prerequisite recommendations, to avoid tripping up
15 CPAN clients (Graham Knop)
16 - Sub::Util is used preferentially to Sub::Name in most cases (Graham Knop,
17 PR#27)
760fffd7 18
190.22 2014-04-29
77f6c1e7 20 - add optional test deps as recommended prereqs (Karen Etheridge, #18)
5e9efef3 21
220.21 2014-04-15
afd462ce 23 - also skip the test if Capture::Tiny is too old (Martin Popel, #17)
4845abfc 24
250.20 2014-03-21
b44c2ad3 26 - documentation updates (Flimm, #15)
c6f46650 27
280.19 2014-01-22
5e091a19 29 - fix an obscure issue with loading modules during global destruction
30 (ilmari, #11)
31 - documentation updates (anaxagoras, #12)
3c1bebcd 32
330.18 2013-08-17
5a44c226 34 - fix tests for pre-Test-More-0.88 (Paul Howarth, #10)
1d0db44a 35
360.17 2013-08-16
570821c3 37 - work around [rt.perl #119311] which was causing incorrect error messages in
38 some cases during global destruction (Graham Knop, #9)
2c468649 39
400.16 2013-07-10
6c790cdb 41 - remove accidental Sub::Name test dep
af5d3402 42
430.15 2013-07-08
3efbb4f9 44 - optionally use Sub::Name to name the try/catch/finally blocks, if available
45 (Mark Fowler)
02dd706a 46
470.14 2013-07-05
d2ae14ad 48 - also throw an exception for catch/finally in scalar context (RT#81070)
0ab368f3 49
500.13 2013-07-04
2531688c 51 - fix tests failing on 5.6.x due to differing DESTROY semantics
2b0d579d 52 - excise superfluous local($@) call - 7% speedup
2245f1ae 53 - fix (fsvo) broken URLs (RT#55659)
9d0e0466 54 - proper exception on erroneous usage of bare catch/finally (RT#81070)
55 - proper exception on erroneous use of multiple catch{} blocks
4c5b99d6 56 - clarify exception occuring on unterminated try block (RT#75712)
ae5ed1be 57 - fix the prototypes shown in docs to match code (RT#79590; thanks, Pushtaev
58 Vadim)
5f5e92c0 59 - warn loudly on exceptions in finally() blocks
12b7dc6c 60 - dzilify
2531688c 61
027bdf22 620.12 2013-01-02
881bf512 63 - doc fixes
64
027bdf22 650.11 2011-08-30
ddb04203 66 - fix broken dist
67
027bdf22 680.10 2011-04-27
98904c59 69 - clarify some docs
70
027bdf22 710.09 2010-11-28
308df09e 72 - don't index Try::Tiny::ScopeGuard
73
027bdf22 740.08 2010-11-28
b637afa1 75 - fix require vs use issue in blead (RT63410)
76
027bdf22 770.07 2010-10-21
69cb48b1 78 - allow multiple finally blocks
79 - pass the error, if any, to finally blocks when called
80
027bdf22 810.06 2010-05-27
8d2ee831 82 - in t/given_when.t use a plan instead of done_testing for more backwards
83 compatibility
c361fb52 84
027bdf22 850.05 2010-05-26
8d2ee831 86 - Documentation fixes and clarifications
f00a529e 87
027bdf22 880.04 2010-01-22
8d2ee831 89 - Restore list context propagation for catch blocks
90 - Fix a bug where finally blocks weren't always invoked
f6e42d81 91
027bdf22 920.03 2010-01-22
8d2ee831 93 - Support for 'finally' blocks (Andy Yates)
94 - More documentation and tests (many people)
95 - Sets $@ to the previous value at the beginning of the eval, to allow
96 the capture of an error stack when calling die.
faecd5a0 97
027bdf22 980.02 2009-09-02
8d2ee831 99 - Doc fixes from chromatic
100 - Various minor fixes from Adam Kennedy
101 - Additional documentation and code clarifications
102 - 5.005_04 compatibility
0e8fea40 103
027bdf22 1040.01 2009-08-31
8d2ee831 105 - Initial release