Debian Codegraph @

ChangeLog

raw
1
2 ==== version history of distribution Log::Report
3
4 Unless noted otherwise, these changes where initiated and applied by
5 Mark Overmeer.
6
7 TODO:
8 . connect to Message::Passing framework
9
10 version 1.46: Tue 16 Jun 10:14:47 CEST 2026
11
12 Fixes:
13 - select specific dispatcher try.
14 [Andy Berverley] github issue #21
15
16 Improvements:
17 - add Log::Report::default_dispatcher_mode()
18
19 version 1.45: Fri 10 Apr 11:17:51 CEST 2026
20
21 Fixes:
22 - fix clone() with _class
23 [Sam Kington] github issue #18
24 - import with multiple dispatchers
25 [Andy Berverley] github issue #19
26
27 Improvements:
28 - ::Message::addTags() and ::Message::hasTag()
29 - section Accessors -> Attributes
30 - ::Message::freeze() and ::thaw()
31 [Andy Beverley] github issue #20
32
33 version 1.44: Mon 22 Dec 16:56:48 CET 2025
34
35 Changes:
36 - rename exception 'classes' into exception 'tags'. Backwards compatible.
37
38 Fixes:
39 - converted die message get a 'die' tag, as the docs promissed.
40
41 Improvements:
42 - move documentation about format strings to ::Message.
43 - minimize LR imports.
44
45 version 1.43: Fri 5 Dec 11:32:36 CET 2025
46
47 Improvements:
48 - add bugtracker to meta
49 - add github Funding references
50 - explain formats better
51
52 version 1.42: Tue 4 Nov 10:24:16 CET 2025
53
54 Changes:
55 - the Dancer* modules moved to separate distribution Dancer2-Plugin-LogReport
56
57 Fixes:
58 - report to multiple dispatchers
59 [Sam Kington] github issue #17
60
61 version 1.41: Thu 11 Sep 13:01:50 CEST 2025
62
63 Changes:
64 - require Perl 5.16 (2012)
65
66 Fixes:
67 - remember message 'to' within try
68 [Andy Beverley] github issue #9
69
70 Improvements:
71 - reorder docs in ::Domain
72 - remove unused fromTemplateToolkit()
73 - convert to OODoc 3.03
74 - protect original exception from before throw()
75
76 version 1.40: Fri 18 Apr 17:05:09 CEST 2025
77
78 Fixes:
79 - own translation tables contained stuff moved to Lexicon
80
81 Improvements:
82 - reduce number of textdomain lookups at import.
83 - refer to Dancer2::Template::TTLogReport
84 - show version of XML::LibXML for tests 42/43
85 - fix test for libxml2 use [cpantesters]
86
87 version 1.39: Mon 9 Sep 19:57:06 CEST 2024
88
89 Fixes:
90 - fix output of error [Andy Beverley]
91
92 version 1.38: Mon 9 Sep 11:00:15 CEST 2024
93
94 Fixes:
95 - Require Dancer2 >= 0.207 for test [cpantesters], GitHub issue #13
96 - error code must be set when the script exists with error or panic
97 [Any Beverley]
98
99 Improvements:
100 - add _errno attribute to messages
101
102 version 1.37: Fri 28 Jun 11:08:19 CEST 2024
103
104 Fixes:
105 - Work with Dancer2 change to send_as [Andy Beverley]
106
107 version 1.36: Fri 27 Oct 15:05:13 CEST 2023
108
109 Fixes:
110 - Adapt test to new Dancer2 numbering scheme. [Petr Pisar]
111
112 version 1.35: Fri 27 Oct 08:27:54 CEST 2023
113
114 Fixes:
115 - Try blocks will always capture fatal messages, even when not
116 in the 'accept'-set. [Andy Beverley]
117 - Adapt to new Dancer2 numbering scheme. [Tom Hukins]
118
119 Improvements:
120 - Dancer2 process() will warn when used incorrectly. [Andy Beverley]
121
122 version 1.34: Thu 15 Sep 09:43:40 CEST 2022
123
124 Fixes:
125 - ::Exception::isFatal() did not respect the is_fatal overrule.
126 Spotted by [Andy Berverley]
127
128 version 1.33: Sat Jul 17 10:56:52 CEST 2021
129
130 Changes:
131 - the $@->died with always return the original die causing object or
132 string. In most cases, you want to use $@->wasFatal, which is the
133 translated (hence compatible) ::Exception object. [Andy Beverley]
134
135 version 1.32: Tue 26 Jan 09:13:31 CET 2021
136
137 Fixes:
138 - ::Dancer2, use correct VERSION, github issue#3
139 - ::Dancer2, fix stacktrace sent to browser with show_errors disabled
140 by [Andy Beverley], github issue#7
141
142 version 1.31: Fri 15 Jan 16:35:39 CET 2021
143
144 Fixes:
145 - another attempt on issue #6, exceptions with specific destination
146 are not caught by ::Try
147 - previous release broke ::Try::hide() [Andy Beverley]
148
149 version 1.30: Fri 15 Jan 12:46:14 CET 2021
150
151 Fixes:
152 - recursive errors when file cannot be written for ::File dispatcher
153 github issue#4 [Tom Hukins]
154 - exceptions with specific destination are not caught by ::Try
155 github issue#6 [Andy Beverley]
156 - redirected exception messages forget their explicit dispatcher
157 destination. Github issue#6
158
159 Improvements:
160 - use ::Util::expand_reasons() for ::Try::hide()
161 - require Log::Report::Options 1.07 for more expand_reasons options
162
163 version 1.29: Fri 8 Nov 09:18:01 CET 2019
164
165 Fixes:
166 - error code changed from libxml2 2.9.9 to 2.9.10
167 rt.cpan.org#130934 [Petr Pisar]
168
169 Improvements:
170 - skip tests with error messages for Haiku, because they are quite
171 different. [cpantesters]
172
173 version 1.28: Tue 14 May 09:27:50 CEST 2019
174
175 Fixes:
176 - Dancer2 version 0.166001 is too old as well. [cpantesters]
177 - call to wasFatal($class)/reportFatal($class) without exception
178 autovivified an 'undef' in the exception list. [Andrew Beverley]
179 - fatal exception not always the last in try() block.
180
181 version 1.27: Fri 1 Jun 10:00:10 CEST 2018
182
183 Fixes:
184 - fix metadata [Mohammad S Anwar]
185
186 Improvements:
187 - Dancer2 add custom fatal handlers [Andrew Beverley]
188
189 version 1.26: Tue Jan 23 23:45:55 CET 2018
190
191 Improvements:
192 - convert to GIT
193 - publish via GitHUB
194
195 version 1.25: Fri 8 Dec 09:18:23 CET 2017
196
197 Fixes:
198 - $msg->tostring on append/prepend object lost $locale.
199
200 version 1.24: Fri 8 Dec 09:10:18 CET 2017
201
202 Fixes:
203 - $msg->toString should stringify when append/prepend are objects.
204 rt.cpan.org#123835 [Andy Beverley]
205
206 Improvements:
207 - Log4perl dispatcher: do accept init of Log::Log4perl outside the
208 dispatcher [Abe Timmerman]
209
210 version 1.23: Thu 2 Nov 10:40:24 CET 2017
211
212 Improvements:
213 - understand objects in report() rt.cpan.org #123241 [Andy Beverley]
214 - understand DBIx::Class::Exception in try{}
215 - understand XML::LibXML::Error in try{}
216
217 version 1.22: Thu 12 Oct 12:18:54 CEST 2017
218
219 Improvements:
220 - try() also collects DEBUG info when one of the dispatches wants it.
221 - document that ::Translator::POT does not require charset anymore.
222 - support __p, __px, etc from Locale::TextDomain
223
224 version 1.21: Mon 3 Jul 15:31:19 CEST 2017
225
226 Fixes:
227 - _prepend and _append texts doubled.
228 rt.cpan.org#122304 [Andreas Koenig]
229 - accidental stringification of exceptions
230 rt.cpan.org#122324 [Slaven Rezic]
231
232 Improvements:
233 - also \n of msgid moves to _prepend or _append
234
235 version 1.20: Tue 27 Jun 16:41:36 CEST 2017
236
237 Fixes:
238 - Dancer2 sporadic missing request. [Andrew Beverley]
239 - attribute _lang overrules default locale in translation
240 - remove Log::Report::Lexicon dependency from ::Translator
241 - formatter PRINTP cannot be used, remove docs which tell that
242 - exceptions triggered translation too often
243
244 Improvements:
245 - add textdomain($name, 'EXISTS')
246 - add textdomain($domain_object);
247 - short-cut when translating without context
248 - use String::Print::printi() to interpolate: that code was forked-off
249 earlier, and now mature.
250
251 version 1.19: Thu 9 Feb 17:35:43 CET 2017
252
253 Fixes:
254 - Dancer2 change when a stack-level needs to be skipped for
255 reporting the location of the exception [Andrew Beverley]
256 - more modules optional during Dancer2 tests
257
258 Improvements:
259 - Dancer2 interface changes [Andrew Beverley]
260 - spell fixes. rt.cpan.org#118561 [Gregor Herrmann, Debian]
261 - spell fixes. rt.cpan.org#118562 [Gregor Herrmann, Debian]
262 - free format calls in ::File and ::Syslog get additional info, which
263 can be used in line formatting.
264 - Use Dancer2::Logger::LogReport without Dancer2::Plugin::LogReport
265 [Andrew Beverley]
266
267 version 1.18: Fri 21 Oct 09:50:51 CEST 2016
268
269 Fixes:
270 - die_decode() should not return an 'ALERT' reason, because that is
271 not deadly. Dies are always deadly.
272
273 Improvements:
274 - ::Try has new attribute on_die, to specify whether a die in the
275 code should produce PANICs or ERRORs. Request by [Andrew Beverley]
276 - ::Die::die_decode() got on_die parameter.
277 - the Dancer2 logger will always PANIC on dies.
278
279 version 1.17: Mon Sep 19 23:42:56 CEST 2016
280
281 Improvements:
282 - typo rt.cpan.org#114072, second attempt [Gregor Herrmann, Debian]
283 - include examples in manual pages.
284
285 version 1.16: Fri 27 May 08:54:01 CEST 2016
286
287 Fixes:
288 - ::Dancer2: support for Dancer2 >v0.166001 [Russell Jenkins]
289
290 Improvements:
291 - typo rt.cpan.org#114072 [Gregor Herrmann, Debian]
292
293 version 1.15: Mon 18 Apr 13:54:12 CEST 2016
294
295 Improvements:
296 - dancer2: test import parameters [Andrew Beverley]
297 https://github.com/PerlDancer/Dancer2/issues/1156
298
299 version 1.14: Tue 12 Apr 15:10:27 CEST 2016
300
301 Fixes:
302 - dancer2: regression test only for recent Dancer2 [cpantesters]
303 rt.cpan.org#111770 [Riba Sushi]
304
305 Improvements:
306 - typo rt.cpan.org#111985 [Gregor Herrmann, Debian]
307 - dancer2: treat all exceptions equal [Andrew Beverley]
308
309 version 1.13: Wed 3 Feb 11:34:18 CET 2016
310
311 Fixes:
312 - init of lexicon with HASH
313 rt.cpan.org#111420 [Paulo A Ferreira]
314
315 Improvements:
316 - skip Log::Report wrappers from stacktrace and location.
317 - added ::Dispatcher::addSkipStack() and ::skipStack()
318 - add forward_url to Dancer2 plugin example [Andrew Beverley]
319 - ignore $SIG{__DIE__} within try blocks [Milos Lazarevic]
320 - dancer2: add regression test for plugin [Andrew Beverley]
321 - dancer2: add forward_template option [Raj Barath]
322
323 version 1.12: Mon Jan 18 21:55:35 CET 2016
324
325 Fixes:
326 - reopen default dispatcher creates a double. [Andrew Beverley]
327
328 Improvements:
329 - remove mode=DEBUG from Dancer2::*
330
331 version 1.11: Mon 18 Jan 17:07:43 CET 2016
332
333 Fixes:
334 - warning when log outside sub [Andrew Beverley]
335 - missing register of fault and failure [Andrew Beverley]
336 - some module is textdomain logreport, should be log-report.
337 [Andrew Beverley]
338 - Dancer2::Logger::LogReport should not set the mode
339
340 Improvements:
341 - dispatcher 'do-not-reopen' does not protect the default
342 dispatcher [Andrew Beverley]
343 - produce error when setContext is used while context_rules
344 are not provided.
345 - added ::Exception::toHTML() and ::Message::toHTML()
346
347 version 1.10: Sat Nov 28 17:39:16 CET 2015
348
349 Fixes:
350 - Dancer2 object build [Andrew Beverley]
351 - ::Domain::setContext with PAIRS as parameter
352 - collect stack for exceptions inside try block. [Andrew Beverley]
353
354 Improvements:
355 - keep dispatchers ordered.
356 - interpolate context setting inside msg_id's as well
357 - add ::Domain::updateContext()
358 - new option dispatcher 'do-not-reopen'
359 - ::Dispatcher::File option format() with CODE, now calls with
360 additional parameter $msg.
361 - ::Dispatcher::File option output() now with CODE, to dynamically
362 return the logfile name.
363 - added t/55throw.t
364 - new method ::Try::hide()
365 - renamed internal fields of ::Dispatcher::File, to lead with LRDF_
366 - new option ::Dispatcher::Syslog::new(format)
367
368 version 1.09: Tue 20 Oct 09:26:00 CEST 2015
369
370 Fixes:
371 - try: do not ignore is_fatal parameter
372
373 Improvements:
374 - dispatcher() new action 'active-try'
375 - many, many improvements to Dancer2::* [Andrew Beverley]
376
377 version 1.08: Thu 8 Oct 17:55:39 CEST 2015
378
379 Fixes:
380 - tests on Windows [cpantesters]
381
382 Improvements:
383 - avoid use of 'package Dancer::Logger' to circumvent complaints
384 of Pause.
385 - Log::Report configure message_class [Andrew Beverley]
386 - Dancer2 plugin improved a lot [Andrew Beverley]
387
388 version 1.07: Tue Jul 21 17:38:01 CEST 2015
389
390 Fixes:
391 - remove superfluous blank lines, when (translated) message
392 ends on \n. Reported by [Andrew Beverley]
393 - Dancer2::Plugin:: deep recursion in ERROR handler [Andrew Beverley]
394
395 Improvements:
396 - document HASH for ::Syslog::new(logsocket).
397 Idea of [Andrew Beverley]
398 - add Log::Report::DBIC::Profiler [Andrew Beverley]
399 - loads of documentation on using Log::Report in Dancer2,
400 written by [Andrew Beverley]
401 - protect against two instances of ::Syslog at the same time: its
402 impossible.
403
404 version 1.06: Mon Jun 15 17:30:33 CEST 2015
405
406 Fixes:
407 - t/60mojo.t will not run on old mojo's: requires 2.16 (2011)
408 [cpantesters]
409 - ::Dispatcher::File do not use %F/%T in strfime, which is not
410 supported by Windows.
411 - make ::Die understand multiline 'die()' messages.
412 rt.cpan.org#101389 [Ken Neighbors]
413
414 Improvements:
415 - add Dancer::Log::Report and examples/dancer/
416 - add Dancer2::*, contributed by [Andrew Beverly]
417
418 version 1.05: Tue Jun 24 09:38:15 CEST 2014
419
420 Fixes:
421 - test in t/10interp.t failed for Perl 5.20, caused by a
422 bugfix or change in overload::Overloaded [cpantesters]
423
424 version 1.04: Tue Jun 3 10:42:11 CEST 2014
425
426 Fixes:
427 - float serialization under locale in test [cpantesters]
428
429 version 1.03: Thu May 22 11:54:24 CEST 2014
430
431 Fixes:
432 - float serialization under locale in test [cpantesters]
433 - non-errors and ::Dispatcher::Perl
434
435 Improvements:
436 - shorted display of string parameters in stack-trace to max 80 chars
437 - Log4perl log-lines sometimes show dispatcher as source, skip them.
438 - disable 'mode switch' trace for try()
439
440 version 1.02: Mon Mar 10 16:03:13 CET 2014
441
442 Fixes:
443 - add overload fallback to ::Exception and ::Dispatcher
444 rt.cpan.org#92970 [Lukas Mai]
445 - ::Domain::new(translator) with HASH did not initialize
446 - warn better with ::Optional modules are used before Log::Report
447 is used.
448
449 Improvements:
450 - changed documentation style
451 - ::Lexicon::Index dir-scan immediately, hopefully before fork()
452
453 version 1.01: Mon Jan 6 23:21:37 CET 2014
454
455 Fixes:
456 - LC_MESSAGE missing on Windows [Michael Long]
457
458 version 1.00: Sun Jan 5 17:23:44 CET 2014
459
460 Split into four components, adding
461 - String::Print for formatting, permits positionals now
462 - Log::Report::Optional as base, super lightweight
463 - Log::Report::Lexicon when you need translations
464
465 Changes:
466 - configuration from ::translator() into ::Domain::configure()
467 - domains are package bound, not line based.
468 - removed isValidReason() and isFatal(), there are function in ::Util
469 - dispatchers(list) inside try() also lists outside dispatchers
470 - ::Dispatcher::Log4perl::new(accept) defaults to 'ALL', because the
471 log4perl configuration will select what to log.
472 - exceptions which get re-thrown with an other reason get rewritten.
473 - alert and failure messages will always show their location
474 - "switching to mode" message from level info to trace
475
476 Fixes:
477 - do not complain when N__w ends on \n
478 - incorrect initialization of log4perl dispatcher
479 - try inside BEGIN did not catch but died.
480 rt.cpan.org#91671 [Kenney Westerhof]
481
482 Improvements:
483 - ::Dispatcher::File uses locking to permit parallel writes
484 - ::Dispatcher::File::new(format)
485 - ::Dispatcher::File::rotate()
486 - ::Dispatcher::Log4perl more docs
487 - explain why Log::Log4perl::caller_depth concept is broken
488 - ::Dispatcher::Log4perl support for categories
489 - ::Dispatcher::Syslog::new(include_domain)
490 - ::Dispatcher::Syslog::new(charset)
491 - ::Dispatcher::*::log() knows about textdomain of msg
492 - ::Message::new(_lang) overrides language to be used in translation
493 - add MojoX::Log::Report
494 - new ::Domain, move all domain specific config from ::import() into
495 that module (and/or ::Minimal::Domain)
496 - ::textdomain()
497 - ::Message overload fallback
498 - remove "syntax => 'SHORT'" from examples: is the default
499 - export level on Log::Report::import()
500
501 version 0.999:
502 Not (yet) released
503
504 version 0.998: Tue Oct 22 09:55:06 CEST 2013
505 Fixes:
506 - xgettext-perl: actually use the provided template pattern
507 - xgettext-perl: only take template from .tt and .tt2 files
508 - xgettext-perl: accept '-' (STDIN) for --from
509
510 Improvements:
511 - more documentation about the PPI extraction process, and how
512 to use ::Message::new(_domain)
513 - Log::Report import option 'import'
514
515 version 0.997: Fri Sep 27 17:37:11 CEST 2013
516 Fixes:
517 - error about double definedness of settings, dependent on the
518 order of inclusion of modules.
519 - setlocale does not return the old locale, but the new.
520
521 Improvements:
522 - xgettext-perl: do not PPI files unless they are Perl
523 - xgettext-perl: do warn when ' (single quotes) are used, needs
524 " (double quote) with __x
525 - __x() now can have a _domain parameter
526
527 version 0.996: Wed Sep 4 17:23:11 CEST 2013
528 Fixes:
529 - you could not share one ::Translator::POT over two domains.
530 discovered by [Richard Still]
531 - third attempt to fix errors in t/53log4perl.t on Windows
532 [cpantesters]
533 - remove double reporting of errors which exceptions are caught
534 with eval(). But better use try().
535
536 version 0.995: Thu Aug 29 09:19:13 CEST 2013
537
538 Fixes:
539 - twice path '\' in t/53log4perl.t in Windows [cpantesters]
540
541 Fixes:
542 - link to paper [Richard Still]
543 - chicken-egg problem with error on illegal mode setting.
544
545 Improvements:
546 - try to build new translation table at each 'make'
547
548 version 0.993: Thu Mar 28 10:59:27 CET 2013
549
550 Fixes:
551 - filename/linenumber caller-depth in Log4Perl.
552 rt.cpan.org#83736 [Dominik Jarmulowicz]
553 - actually try to use existing mo files.
554
555 Improvements:
556 - use Devel::GlobalDestruction
557 rt.cpan.org#80612 [Riba Sushi]
558 - ::Template extractor of translatable strings now understands
559 [%|loc%]$msgid[%END%] and [%'$msgid'| loc %]
560 - improvements on documentation.
561 - move t/30index.t towards xt/30index.t, because the test is
562 too sensitive for the actual environment.
563
564 version 0.992: Fri Dec 21 11:59:55 CET 2012
565
566 Improvements:
567 - add support for msgctxt in po-files to Log::Report::Lexicon::POT*
568 - new option Log::Report::Lexicon::PO::new(plural_forms)
569 - new generic base-class Log::Report::Lexicon::Table for
570 Log::Report::Lexicon::POT*
571 - ::POT.pm ignores any index when the msgid has no plural form. This
572 results in a smaller memory foot-print.
573 - support for MO files, in Log::Report::Lexicon::MOTcompact
574
575 version 0.991: Mon Nov 26 09:27:08 CET 2012
576
577 Fixes:
578
579 - t/50file.t test failed on HASH order [cpantesters]
580
581 version 0.99: Wed Oct 3 09:13:58 CEST 2012
582
583 Changes:
584
585 - do not call overloaded stringification in stack-trace.
586
587 Fixes:
588
589 - do only include .po files in the index which are not
590 in a directory which starts with a dot (for instance,
591 not in /.svn/) or do not start with a dot.
592 [Richard Still]
593
594 Improvements:
595
596 - remove \r from the end of comment lines in PO files.
597
598 version 0.98: Thu Sep 6 14:46:52 CEST 2012
599
600 Changes:
601
602 - rewrote message-id extractor in ::Extract::Template to
603 support more TemplateToolkit features.
604
605 - print __x("who am i\n") is now interpreted as
606 print __x("who am i"), "\n";
607 So: no trailing newlines in the PO-tables.
608
609 Fixes:
610
611 - PO file parse errors reported on the wrong location.
612
613 - ::Message::toString() uses $" when an ARRAY of elements gets
614 inlined. This should be the $" on the moment of message's
615 definition, not the $" when it gets stringified.
616
617 Improvements:
618
619 - new option ::Message::new(_join)
620
621 version 0.97: Mon Sep 3 15:54:04 CEST 2012
622
623 Changes:
624
625 - repair mistake of 0.96: Log::Report::Translate::TemplateToolkit()
626 must have been Log::Report::Message::fromTemplateToolkit()
627
628 Improvements:
629
630 - count for message with plural can be ARRAY or HASH, which
631 get numified automatically.
632
633 version 0.96: Fri Aug 31 16:43:31 CEST 2012
634
635 Fixes:
636
637 - scan templates for msgid containing white-space.
638
639 - ::Translate::translate() was documented to accept a language
640 parameter. Fixed the docs and implemented it ;-)
641
642 Improvements:
643
644 - support for plural forms in templates.
645
646 - explanation/support method how to integrate the translations
647 with Template::Toolkit.
648
649 version 0.95: Thu Aug 30 23:15:50 CEST 2012
650
651 Changes:
652
653 - new parameters for xgettext-perl, now also able to handle
654 extracting from templates. Script needs man-page.
655
656 Fixes:
657
658 - xgettext-perl showed counts twice.
659
660 - text-domain specified as "qw/domain/" now gets recognized by PerlPPI.
661
662 Improvements:
663
664 - some spelling corrections by rt.cpan.org#70959 [Fabrizio Regalli]
665
666 - synopsis fix in ::Dispatcher::Callback by [gbjk]
667
668 - cleaned-up the synopsis of Log::Report a bit.
669
670 - split base-class Log::Report::Extract from ::Extract::PerlPPI
671
672 - remove dependency to Test::Pod
673
674 - add Log::Report::Extract::Template and t/42templ.t
675
676 version 0.94: Tue Aug 23 11:14:59 CEST 2011
677
678 Changes:
679
680 - when an exception get throw()n again, but with a different
681 "reason", the fatality "is_fatal" will automatically adapt.
682
683 Improvements:
684
685 - add Log::Report::Exception::isFatal()
686
687 version 0.93: Thu Jun 30 09:45:24 CEST 2011
688
689 Fixes:
690
691 - faults caused by $? should not exit with 0
692 rt.cpan.org #68496 [Zephaniah E. Hull]
693
694 - die's in try blocks did not produce a Log::Report::Message
695 reported by [Patrick Powell]
696
697 - fix use for non-admin Windows users
698 rt.cpan.org#67935 [unknown]
699
700 Improvements:
701
702 - ability to change message and reason of an ::Exception
703
704 - lazy-load Log::Report::Die
705
706 version 0.92: Fri Apr 15 10:26:33 CEST 2011
707
708 Fixes:
709
710 - another attempt to silence test for Windows bug.
711
712 Improvements:
713
714 - additional doc to dispatcher(), triggered by [Patrick Powell]
715
716 - add error 'xx', _to => $disp;
717 as alternative to report {to => $disp}, ERROR => 'xx';
718
719 version 0.91: Wed Jan 26 16:24:25 CET 2011
720
721 Fixes:
722
723 - enabling and disabling dispatchers did not work
724 [Patrick Powell]
725
726 Improvements:
727
728 - produce nice error when __x received even length list.
729
730 - added Log::Report::Dispatcher::Callback
731
732 - typos in new Callback.pm [Patrick Powell]
733
734 - disable test which fails on bug in confess on Windows
735 http://rt.perl.org/rt3/Ticket/Display.html?id=81586
736
737 - improved output with new OODoc
738
739 version 0.90: Wed Dec 22 16:29:51 CET 2010
740
741 Changes:
742
743 - ::Exception stringifies with lowercase reason, was uppercase
744
745 Fixes:
746
747 - repair Log::Report::report(is_fatal) option.
748
749 - reimplementation of totalDigits and fractionDigits facets,
750 triggered by rt.cpan.org#63464 [mimon-cz]
751
752 - fix handling results of filters
753
754 Improvements:
755
756 - reorder checks in report() to be faster when the message
757 is ignored (for instance trace)
758
759 version 0.28: Mon May 31 16:00:12 CEST 2010
760
761 Fixes:
762
763 - ::Exception::toString() should produce a string, sometimes it
764 was an overloaded ::Message object.
765
766 - More test fixes to repair Test::More changes.
767
768 - Avoid call to close on undef in END
769 rt.cpan.org#57955 [Jan Henning Thorsen]
770
771 version 0.27: Fri May 28 15:37:44 CEST 2010
772
773 Fixes:
774
775 - turn autoflush on for FILE dispatcher. Found by [Robin V.]
776
777 - Test::More 0.95_01 changes is() w.r.t. overloading... broken
778 tests. rt.cpan.org#57703 [Slaven Rezic]
779
780 version 0.26: Mon Feb 15 10:08:23 CET 2010
781
782 Changes:
783
784 - default of 'syntax' changed from 'REPORT' to 'SHORT'.
785
786 Improvements:
787
788 - fixes in dispatcher doc "mode" table.
789
790 - document use of ::Exception::throw a bit better.
791
792 - more useful error when parameter list has odd length.
793
794 version 0.25: Thu Jul 16 12:18:51 CEST 2009
795
796 Improvements:
797
798 - new method Log::Report::Exception::toString(), also overloaded
799 for stringification.
800
801 version 0.24: Mon Apr 27 10:02:12 CEST 2009
802
803 Fixes:
804
805 - default language switching broken.
806
807 - fix t/50file.t in Dutch environment [Peter de Vos]
808
809 version 0.23: Fri Apr 24 16:18:12 CEST 2009
810
811 Fixes:
812
813 - remember global mode, for dispatchers started later.
814
815 - let try() use dispatcher mode, not to loose trace etc.
816
817 - resolve complaint on exit.
818
819 Improvements:
820
821 - when an empty list has to be expanded, it will show '(none)'
822
823 - require Sys::Syslog 0.27
824
825 version 0.22: Mon Jan 26 09:05:55 CET 2009
826
827 Fixes:
828
829 - do not use /bin/pwd in t/pod.t, because it fails on Windows
830 [Serguei Trouchelle]
831
832 - translate long Windows locales into short
833 rt.cpan.org#41943 [Serguei Trouchelle]
834
835 version 0.21: Wed Jan 21 10:31:48 CET 2009
836
837 Fixes:
838
839 - avoid recursion when locale setting is not understood.
840 rt.cpan.org#41943 [Serguei Trouchelle]
841
842 Improvements:
843
844 - add Log::Report::needs() for convenience
845
846 version 0.20: Thu Dec 11 14:18:15 CET 2008
847
848 Fixes:
849
850 - dispatcher does not convert output to a default charset, because
851 the optimal default cannot be established on most platforms.
852
853 version 0.19: Mon Nov 24 12:52:34 CET 2008
854
855 Fixes:
856
857 - fix for Test::More interface change in 0.86.
858
859 - be strict on the character-set of the messages which are
860 written, by default in UTF-8. (LC_CTYPE for the File
861 dispatcher if available)
862
863 Improvements:
864
865 - work around missing LC_MESSAGES on old perls [Toby Corkindale]
866
867 - few improvements in main SYNOPSIS
868
869 - removed ::Dispatcher::File setting of encoding in binmode,
870 in favor of explicit (internal) encoding for all dispatched
871 messages.
872
873 - require Encode 2.00+
874
875 - test do not say 'ERROR' but 'WARNING' in t/04setlocale.t
876 when the setlocale() call does not return the old value as
877 it should, according to the standards. Less confusion to
878 the end-user, hopefully.
879
880 version 0.18: Fri May 9 15:36:06 CEST 2008
881
882 Fixes:
883
884 - few fixes to Win32Locale and parse_locale() [Ari Jolma]
885
886 - Require Sys::Syslog 0.24
887
888 version 0.17: Fri Apr 18 18:20:51 CEST 2008
889
890 Fixes:
891
892 - strackTrace error with isa() when parameter string contains
893 a '::' and when a parameter is undefined.
894
895 Changes:
896
897 - changing the run-mode will change the accepted reasons as
898 well, because it was too complex to understand.
899
900 Improvements:
901
902 - complain if syntax option has an invalid value.
903
904 - use warnings and strict in Win32Locale [cpants]
905
906 - dispatcher command on "ALL" defined dispatchers.
907
908 - use Log::Report mode => 'something'
909
910 version 0.16: Thu Mar 27 11:32:08 CET 2008
911
912 Fixes:
913
914 - assert, error, and such are functions, but where documented
915 as being methods.
916
917 - xgettext-perl -h did not exit.
918
919 - complaints on Windows about prototype mistake when redefining
920 LC_MESSAGES [Adam Kennedy]
921
922 Improvements:
923
924 - ::Lexicon::Index::list() got second optional argument, to
925 filter filenames.
926
927 - Silence symlink recursion errors in ::Lexicon::Index
928
929 version 0.15: Mon Feb 25 15:36:37 CET 2008
930
931 Changes:
932
933 - ::Dispatcher::Syslog::new(format_reason) change default to
934 'IGNORE'.
935
936 - warning does not get a line-number/filename. Use alert if
937 you need those.
938
939 Improvements:
940
941 - added logsocket option to SYSLOG dispatcher.
942
943 - exception can be re-throw-n with a different reason.
944
945 - stop parse_locale() from complaining about locale==undef
946
947 - ::Util::parse_locale() does a better job trying to conform
948 to various standards. In SCALAR context, it now returns
949 more information.
950
951 - avoid calling ::Dispatcher::DESTROY during global destruction,
952 because Perl produces horrible complaints for some releases of
953 Perl.
954
955 - link manual-pages with Text::Catalog (renamed from
956 Log::Report::View)
957
958 version 0.14: Fri Nov 2 15:00:49 CET 2007
959
960 Fixes:
961
962 - Another syntax error, now using Win32Locale.
963 via cpantesters [mmusgrove]
964
965 - Close DATA handle after reading Win32 locale table.
966 via cpantesters [mmusgrove]
967
968 version 0.13: Mon Oct 29 09:20:04 CET 2007
969
970 Fixes:
971
972 - Stupid syntax error in the new Win32Locale.
973 via cpantesters [mmusgrove]
974
975 Improvements:
976
977 - Log::Report::Dispatchers should now be able to handle
978 situations where locale_h is not exported by POSIX.
979
980 version 0.12: Tue Oct 23 15:26:07 CEST 2007
981
982 Improvements:
983
984 - t/04locale.t also tries charset eq ''
985
986 - t/04locale.t will produce a warning, not an error, when the
987 setlocale() does not work
988
989 - t/*.t will use the 'C' locale, not the less often supported
990 'POSIX'.
991
992 - added Log::Report::Win32Locale, with experimental application
993 in Log::Report::Lexicon::Index
994
995 - on some platforms, LC_MESSAGES is not defined. Work-around
996 in Log::Report::Translator::POT.
997
998 version 0.11: Thu Oct 18 09:34:18 CEST 2007
999
1000 Fixes:
1001
1002 - Running tests, a temporary directory remained in /tmp.
1003 [Andreas Koenig]
1004
1005 Improvements:
1006
1007 - Makefile.PL use 5.008 i.s.o. 5.8.2, otherwise not understood
1008 by perl 5.5. [Slaven Rezic]
1009
1010 - Added versions of optional modules to test output
1011
1012 version 0.10: Mon Oct 15 17:55:44 CEST 2007
1013
1014 Changes:
1015
1016 - WARNINGs should not included $!... use alert if you are
1017 tempted.
1018
1019 Improvements:
1020
1021 - few doc fixes.
1022
1023 version 0.09: Thu Aug 9 22:46:56 CEST 2007
1024
1025 Changes:
1026
1027 - a try{} block executes eval in the correct context, and
1028 returns its results. Just like eval() does.
1029
1030 - a non-translated message MUST be only one string to be
1031 passed to report(), because other parameters are passed
1032 to the message constructor.
1033
1034 Fixes:
1035
1036 - stack-trace did not remove the trace of the Log::Report
1037 internal helpers.
1038
1039 - if try died indirectly from a nested died try, then that
1040 object is not captured in died() itself.
1041
1042 Improvements:
1043
1044 - try() catches Perl die/croak/warn as well, and translates them
1045 using Log::Report::Die.
1046
1047 - try() dies if parameter list has odd length (semi-colon forgotten)
1048
1049 - implementation of exception classes.
1050 See Log::Report::(Message|Exception)::inClass
1051
1052 version 0.08: Wed Jul 11 14:09:32 CEST 2007
1053
1054 Changes:
1055 - default dispatcher is now named 'default', type PERL
1056
1057 Improvements:
1058 - added comments by [Guido Flohr] about use of Locale::gettext
1059 - NetBSD has locale C and POSIX in lower-case. [cpan-testers]
1060 - improve handling of undef values during expand
1061 - added PERL=Log::Report::Dispatcher::Perl
1062
1063 version 0.07: Wed Jun 20 14:01:18 CEST 2007
1064 Improvements:
1065 - another attempt to find-out why some platforms report a
1066 deep recursion.
1067
1068 version 0.06: Sat Jun 9 10:33:23 CEST 2007
1069 Improvements:
1070 - t/51syslog.t compares required version via UNIVERSAL::VERSION
1071 (cpan-tester David Cantrell) Other version checks adapted as well.
1072 - add t/pod.t, which tests produced pods
1073 - t/01locale.t even smarter, with help of Andreas Koenig
1074
1075 version 0.05: Thu Jun 7 13:18:13 CEST 2007
1076 Changes:
1077 - the stderr dispatcher will be opened when there is any
1078 file at STDERR, not only a tty.
1079
1080 Improvements:
1081 - simplified t/50files.t
1082 - another attempt to get t/01locale.t correct on all platforms
1083 - ::Util; locale parser must accept C and POSIX
1084 - ::Dispatcher; make message output format translatable
1085 - ::Extract::PPI; report mistake when msgid ends with new-line
1086 - ::Extract::PPI; mistake when a variable is interpolated in msgid
1087 - ::Extract::PPI; qq{} msgids will now be detected as well
1088 - ::Extract::PPI; special characters the "" and qq{} strings with
1089 get interpreted (PPI does not do that automatically)
1090 - ::Extract::PPI: only report the nessecary
1091 - after a long discussion within Amsterdam.pm about concatenation
1092 of translated fragments, it was decided to permit it but put
1093 some extra warnings in the docs.
1094 - also warn about __'xx' meaning __::xx '
1095 - updated log-report/nl_NL.po translations
1096 - configure native_language for a domain
1097 - untranslated messages will still be formatted according to the
1098 rules of the native_language
1099 - translator table setting per domain now integrated with
1100 other settings for the domain.
1101 - ran ispell on the man-pages
1102
1103 version 0.04: Mon Jun 4 11:05:10 CEST 2007
1104 - removed incorrect doc about "mode TRY", which does not exist.
1105 - included syslog in "reason" comparison table
1106 - have Makefile.PL install xgettext-perl
1107 - t/50file.t needed more work-arounds to pass automated module
1108 tests (which go without -t STDERR)
1109 - attempts to make test-scripts run on various platforms.
1110
1111 version 0.03: Mon May 28 20:16:26 CEST 2007
1112 - Log::Report::Message without msgid forgot _append.
1113 - Log::Report::Message must clone at concatenation.
1114 - remove translations from POT when not referenced anymore, and
1115 not translated either.
1116 - $@ after try will not show the message, because we want people
1117 to use reportAll() or reportFatal().
1118 - dispatchers now have a format_reason, defaulting to LOWERCASE
1119 which looks nicer than uppercase.
1120 - added docs to ::Try
1121 - reorganized some docs.
1122 - Log::Report::Util lacked the trailing "1;"
1123 - fall-back to no translation in case of unknown locale in ::POT
1124 - test functionality of setlocale, and hopefully fixed things
1125
1126 version 0.02: Mon May 28 00:49:52 CEST 2007
1127 - added HTML documentation to http://perl.overmeer.net/log-report/
1128 - added README and Changelog to MANIFEST
1129 - filters are not defined on the dispatcher object, but under
1130 control of Log::Report::report().
1131 - Log::Report::Message new methods append(), msgid(), and prepend()
1132 - added Log::Report::Exception and Log::Report::Dispatcher::Try
1133 - added isValidReason() and isFatal() to Log::Report
1134 - added Log::Report::Message::untranslated();
1135 - Log::Report::report() will convert untranslated strings into
1136 Log::Report::Message objects internally too.
1137
1138 - by David Cantrell via cpan-testers:
1139 . require at least perl 5.8.2, for POSIX :local_h and because
1140 unique was broken before that release.
1141 . t/00use.t cannot test LogDispatch and Gettext, because they
1142 depend on optional module
1143 . t/50file.t failed because no -t STDERR
1144
1145 version 0.01: Fri May 25 12:13:13 CEST 2007
1146 - initial (quite complete) implementation.