summaryrefslogtreecommitdiff
path: root/UPGRADE
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2012-03-19 11:19:44 +0000
committerctrlaltca@gmail.com <>2012-03-19 11:19:44 +0000
commit942bee46430fe06e17200a9f5a649768081d6eae (patch)
treeef90db9f203ead2695a8fda3c31c12a88e303e67 /UPGRADE
parentf99ef429874fc6ba4bc644ac8d2cf2a378f6f6f4 (diff)
Droppped php 5.2 support, require 5.3.3 (rc1 was breaking php 5.2 support because of a broken change in TJavaScript::jsonEncode(), but nobody noticed in a month; previous php 5.3 version are broken)
Droppped TJSON, not needed anymore Name this 3.2-rc2 (to distinguish problems from users caused by this change)
Diffstat (limited to 'UPGRADE')
-rw-r--r--UPGRADE8
1 files changed, 5 insertions, 3 deletions
diff --git a/UPGRADE b/UPGRADE
index c8e33929..c05ff8ab 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -11,7 +11,7 @@ for both A and B.
Upgrading from v3.1.x
---------------------
-- Prado 3.2 requires PHP >= 5.2
+- Prado 3.2 requires PHP >= 5.3.3
- Prado 3.2 doesn't use anymore a separate clientscripts.php script to publish minified javascript files.
If you were relying (linking directly) to that script to get some js file, you'll need to re-adapt your
scripts. Remember, linking directly a file in the assets/ directory is always a bad idea, let Prado do
@@ -45,8 +45,10 @@ Upgrading from v3.1.x
- Some TJavaScript methods have been modified to clear their use and provide better xss protection:
the undocumented quoteUTF8() was removed, since it didn't provide any real protection;
quoteString() now safely adds quotes around a string: previously it only added escape characters;
- the json* family of methods actually checks for errors and generate exceptions on fail (requires
- at least php 5.3.3).
+ the json* family of methods actually checks for errors and generate exceptions on fail.
+- The php JSON extension is required; it ships by default with php 5.3 and is a lot faster that the old
+ TJSON-based implementation. TJSON has been removed, if you were calling it directly to encode/decode
+ you can switch to TJavaScript::jsonEncode(), TJavaScript::jsonDecode().
Upgrading from v3.1.10
----------------------