Another doc note / fix, mo++
Tomas Doran [Tue, 16 Aug 2011 08:34:12 +0000 (09:34 +0100)]
Changes
lib/Catalyst/Upgrading.pod

diff --git a/Changes b/Changes
index 6ee8ca7..fb8e98d 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
 # This file documents the revision history for Perl extension Catalyst.
 
+  Documentation fixes:
+
+    - Fix incorrect example in Catalyst::PSGI.
+    - Add note that if you are using the PSGI engine, then $c->req->env
+      needs to become $c->engine->env when you upgrade.
+
 5.90001 - 2011-08-15 22:42
 
  Realise that we accidentally chopped a digit off the versioning scheme
index 510b61d..c1a2fcf 100644 (file)
@@ -156,6 +156,10 @@ any tests run via L<Catalyst::Test> will not be compatible with the new
 release, and will result in the development server starting, rather than
 the expected test running.
 
+B<NOTE:> If you are directly accessing C<< $c->req->env >> to get the PSGI
+environment then this accessor is moved to C<< $c->engine->env >>,
+you will need to update your code.
+
 =head2 Engines which are known to be broken
 
 The following engines B<DO NOT> work as of Catalyst version 5.9. The