Ubiquity v2.4.12 Release Notes
Release Date: 2022-04-25 // almost 2 years ago-
โ Added
count
method toAbstractRepository
- app methods to Logger:
appLog
,appInfo
,appError
... - regenerateId for
USession
DataFormHelper
class for model form generationforward
method toUResponse
### ๐ Fixed- ๐ php 8.1 deprecation in
Validator
,UModel
,UArrayModel
classes checkConnection
inAuthController
data-target
bug inMultiResourceCrudController
UCookie
pb with transformers
โ Deleted
diSemantic
anddiBootstrap
inFramework
=> useAjax\php\ubiquity\JsUtils::diSemantic(...)
instead.
Previous changes from v2.4.11
-
โก๏ธ Updated (breaking change)
- ๐จ AuthControllers refactoring
- CRUDControllers (return types added on methods to override)
โก๏ธ With an update on an existing project, the following error may occur in derived classes of
AuthController
,AuthFiles
,CRUDController
,CRUDFiles
:Fatal error: Declaration of controllers\auth\files\MyAuthFiles::getViewIndex() must be compatible with Ubiquity\controllers\auth\AuthFiles::getViewIndex(): string
The signature of the methods of AuthController, AuthFiles, CRUDController, CRUDFiles has changed, by adding the return types:
It is therefore necessary to add this return types on the overridden methods
public function getViewIndex():string { return 'MyAuth/index.html'; }
โ Added
In Auth controllers:
- Account recovery (password reset)
AuthControllerConfig
,UASystem
,UConfigFile
classes