Ubiquity v2.1.0 Release Notes

Release Date: 2019-04-01 // about 5 years ago
  • โž• Added

    • ๐Ÿ’ป Themes manager with bootstrap, Semantic-ui and foundation
      • AssetsManager for css,js, fonts and images integration
      • ThemesManager for css framework integration
      • Themes part in webtools interface
    • Dependency injection annotations
      • @injected inject a member in a controller defined by a dependency in config
      • @autowired inject an instance of class defined by type with @var annotation

    ๐Ÿ”„ Changed

    • dependency injection mecanism
      • controller cache for di
      • @execkey in config[di] for injections at runtime

    ๐Ÿ’ฅ Breaking change possible:

    use "di"=>["@exec"=>[your injections]]instead of "di"=>[your injections]

    ๐Ÿ›  Fixed

    • ๐Ÿ‘€ An exception is thrown In case of problem with the Database connection (in DataBase::connect method) see https://github.com/phpMv/ubiquity/issues/12 >The connection to the database must be protected by a try/catch in app/config/services.php try{ \Ubiquity\orm\DAO::startDatabase($config); }catch(Exception $e){ echo $e->getMessage(); } ### ๐Ÿ“š Documentation
    • โšก๏ธ Dependency injection updates di doc
    • ๐Ÿฑ Themes managment Assets and themes doc