From 83f6247f3b2281f6d67e7944d46061d7480aeb3b Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 9 Apr 2019 17:26:28 +0530 Subject: [PATCH] Add info about DecimalType changes. Refs cakephp/cakephp#13086. --- en/appendices/4-0-migration-guide.rst | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/en/appendices/4-0-migration-guide.rst b/en/appendices/4-0-migration-guide.rst index 21706e0d06..29dc76fe00 100644 --- a/en/appendices/4-0-migration-guide.rst +++ b/en/appendices/4-0-migration-guide.rst @@ -51,13 +51,6 @@ Controller For example if your controller method is ``forgetPassword()`` then using string ``forgotpassword`` in URL will not match as action name. -Database --------- - -* ``BoolType`` no longer marshalls non-empty string values to ``true``. Instead - non-boolean string values are converted to ``null``. - - Http ---- @@ -94,6 +87,10 @@ Database ``Type::getMap()`` to inspect type instances. * Date, Time, Timestamp, and Datetime column types now return immutable time objects by default now. +* ``BoolType`` no longer marshalls non-empty string values to ``true``. Instead + non-boolean string values are converted to ``null``. +* ``DecimalType`` now uses strings to represent decimal values instead of floats. + Using floats caused loss in precision. View ----