From: Henry Van Styn Date: Wed, 4 Jun 2014 21:33:11 +0000 (-0400) Subject: version 5.90065 X-Git-Tag: 5.90065^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8f3c06765620fdc4546c6ebd40573c3fcd3e20ed version 5.90065 Fixed file modes... --- diff --git a/Changes b/Changes index fa58fa2..3fc0c2a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ # This file documents the revision history for Perl extension Catalyst. +5.90065 - 2014-06-04 + - The Catalyst::Log object now has 'autoflush' (which defaults to true) and + causes log messages to be written out in real-time. This is helpful for the + test/dev server to be able to see messages during startup as well as before + the end of the request when the log is flushed. - Fix spelling, grammar and structural errors in POD - Remove redundant ->setup call in t/head_middleware.t RT#95361 - Fix test failures when running under CATALYST_DEBUG. RT#95358 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index fef863b..13de00b 100755 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -126,7 +126,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90064'; +our $VERSION = '5.90065'; sub import { my ( $class, @arguments ) = @_; diff --git a/lib/Catalyst/Delta.pod b/lib/Catalyst/Delta.pod index 398649f..2d8c31d 100755 --- a/lib/Catalyst/Delta.pod +++ b/lib/Catalyst/Delta.pod @@ -9,6 +9,15 @@ Catalyst releases. =head2 VERSION 5.90060+ +=head3 Catalyst::Log object autoflush on by default + +Starting in 5.90065, the Catalyst::Log object has 'autoflush' which is on +by default. This causes all messages to be written to the log immediately +instead of at the end of startup and then at the end of each request. In +order to access the old behavior, you must now call: + + $c->log->autoflush(0); + =head3 Deprecate Catalyst::Utils::ensure_class_loaded Going forward we recommend you use L. In fact we will diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm old mode 100755 new mode 100644 diff --git a/lib/Catalyst/Runtime.pm b/lib/Catalyst/Runtime.pm index ea41e00..bbcb86e 100644 --- a/lib/Catalyst/Runtime.pm +++ b/lib/Catalyst/Runtime.pm @@ -7,7 +7,7 @@ BEGIN { require 5.008003; } # Remember to update this in Catalyst as well! -our $VERSION = '5.90064'; +our $VERSION = '5.90065'; =head1 NAME diff --git a/t/aggregate/unit_core_log.t b/t/aggregate/unit_core_log.t old mode 100755 new mode 100644