From 942bee46430fe06e17200a9f5a649768081d6eae Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Mon, 19 Mar 2012 11:19:44 +0000 Subject: 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) --- UPGRADE | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'UPGRADE') 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 ---------------------- -- cgit v1.2.3