Ubiquity v2.4.12 Release Notes

Release Date: 2022-04-25 // almost 2 years ago
  • โž• Added

    • count method to AbstractRepository
    • app methods to Logger: appLog, appInfo, appError...
    • regenerateId for USession
    • DataFormHelper class for model form generation
    • forward method to UResponse ### ๐Ÿ›  Fixed
    • ๐Ÿ—„ php 8.1 deprecation in Validator, UModel, UArrayModel classes
    • checkConnection in AuthController
    • data-target bug in MultiResourceCrudController
    • UCookie pb with transformers

    โœ‚ Deleted

    • diSemantic and diBootstrap in Framework => use Ajax\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