diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ec87e520..942ed9098 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Nothing -## [2.4.12] 2022-04-24 +## [2.4.12] 2022-04-25 ### Added - `count` method to `AbstractRepository` - app methods to Logger: `appLog`, `appInfo`, `appError`... @@ -21,6 +21,9 @@ Nothing - `data-target` bug in `MultiResourceCrudController` - `UCookie` pb with transformers +### Deleted +- `diSemantic` and `diBootstrap` in `Framework` => use `Ajax\php\ubiquity\JsUtils::diSemantic(...)` instead. + ## [2.4.11] 2022-02-22 ### Updated (breaking change) - AuthControllers refactoring diff --git a/src/Ubiquity/core/Framework.php b/src/Ubiquity/core/Framework.php index c9f2fcdaf..45e02e6a6 100644 --- a/src/Ubiquity/core/Framework.php +++ b/src/Ubiquity/core/Framework.php @@ -4,7 +4,7 @@ * Ubiquity\core * This class is part of Ubiquity * @author jc - * @version 1.0.1 + * @version 1.0.2 * */ namespace Ubiquity\core; @@ -21,7 +21,7 @@ use Ubiquity\cache\CacheManager; class Framework { - public const version = '2.4.11'; + public const version = '2.4.12'; public static function getVersion() { return self::version; @@ -82,35 +82,5 @@ public static function getCacheSystem() { public static function getAnnotationsEngine() { return \get_class ( CacheManager::getAnnotationsEngineInstance () ); } - - /** - * Returns an instance of JsUtils initialized with Semantic (for di injection) - * - * @param \Ubiquity\controllers\Controller $controller - * @param array $options - * @return \Ajax\php\ubiquity\JsUtils - * @deprecated use Ajax\php\ubiquity\JsUtils::diSemantic(...) instead. - */ - public static function diSemantic($controller, $options = [ 'defer' => true,'gc' => true ]) { - $jquery = new \Ajax\php\ubiquity\JsUtils ( $options, $controller ); - $jquery->semantic ( new \Ajax\Semantic () ); - $jquery->setAjaxLoader ( "