Skip to content

Commit e8bd077

Browse files
committed
[skip ci] update for 2.4.12
1 parent 51c2943 commit e8bd077

File tree

2 files changed

+6
-33
lines changed

2 files changed

+6
-33
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
Nothing
1010

11-
## [2.4.12] 2022-04-24
11+
## [2.4.12] 2022-04-25
1212
### Added
1313
- `count` method to `AbstractRepository`
1414
- app methods to Logger: `appLog`, `appInfo`, `appError`...
@@ -21,6 +21,9 @@ Nothing
2121
- `data-target` bug in `MultiResourceCrudController`
2222
- `UCookie` pb with transformers
2323

24+
### Deleted
25+
- `diSemantic` and `diBootstrap` in `Framework` => use `Ajax\php\ubiquity\JsUtils::diSemantic(...)` instead.
26+
2427
## [2.4.11] 2022-02-22
2528
### Updated (breaking change)
2629
- AuthControllers refactoring

src/Ubiquity/core/Framework.php

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Ubiquity\core
55
* This class is part of Ubiquity
66
* @author jc
7-
* @version 1.0.1
7+
* @version 1.0.2
88
*
99
*/
1010
namespace Ubiquity\core;
@@ -21,7 +21,7 @@
2121
use Ubiquity\cache\CacheManager;
2222

2323
class Framework {
24-
public const version = '2.4.11';
24+
public const version = '2.4.12';
2525

2626
public static function getVersion() {
2727
return self::version;
@@ -82,35 +82,5 @@ public static function getCacheSystem() {
8282
public static function getAnnotationsEngine() {
8383
return \get_class ( CacheManager::getAnnotationsEngineInstance () );
8484
}
85-
86-
/**
87-
* Returns an instance of JsUtils initialized with Semantic (for di injection)
88-
*
89-
* @param \Ubiquity\controllers\Controller $controller
90-
* @param array $options
91-
* @return \Ajax\php\ubiquity\JsUtils
92-
* @deprecated use Ajax\php\ubiquity\JsUtils::diSemantic(...) instead.
93-
*/
94-
public static function diSemantic($controller, $options = [ 'defer' => true,'gc' => true ]) {
95-
$jquery = new \Ajax\php\ubiquity\JsUtils ( $options, $controller );
96-
$jquery->semantic ( new \Ajax\Semantic () );
97-
$jquery->setAjaxLoader ( "<div class=\"ui active centered inline text loader\">Loading</div>" );
98-
return $jquery;
99-
}
100-
101-
/**
102-
* Returns an instance of JsUtils initialized with Bootstrap (for di injection)
103-
*
104-
* @param \Ubiquity\controllers\Controller $controller
105-
* @param array $options
106-
* @return \Ajax\php\ubiquity\JsUtils
107-
* @deprecated use Ajax\php\ubiquity\JsUtils::diBootstrap(...) instead.
108-
*/
109-
public static function diBootstrap($controller, $options = [ 'defer' => true,'gc' => true ]) {
110-
$jquery = new \Ajax\php\ubiquity\JsUtils ( $options, $controller );
111-
$jquery->bootstrap ( new \Ajax\Bootstrap () );
112-
$jquery->setAjaxLoader ( "<div class=\"ui active centered inline text loader\">Loading</div>" );
113-
return $jquery;
114-
}
11585
}
11686

0 commit comments

Comments
 (0)