Releases: phpMv/ubiquity
Releases · phpMv/ubiquity
2.2.0 release
Added
- Web-tools
- Maintenance mode (see #49)
- Updates checking for cache (modifications)
- Customization (tools)
Deleted/updated
- Webtools removed from Ubiquity main repository and are in there own repo
Use composer require phpmv/ubiquity-webtools
to install them.
Breaking change possible:
Classes relocation
Ubiquity\controllers\admin\utils\CodeUtils
->Ubiquity\utils\base\CodeUtils
Ubiquity\controllers\admin\interfaces\HasModelViewerInterface
->Ubiquity\controllers\crud\interfaces\HasModelViewerInterface
Ubiquity\controllers\admin\viewers\ModelViewer
->Ubiquity\controllers\crud\viewers\ModelViewer
Ubiquity\controllers\admin\popo\CacheFile
->Ubiquity\cache\CacheFile
Ubiquity\controllers\admin\popo\ControllerSeo
->Ubiquity\seo\ControllerSeo
Ubiquity\controllers\admin\traits\UrlsTrait
->Ubiquity\controllers\crud\traits\UrlsTrait
Migration
- Update devtools:
composer global update
- In existing projects:
composer require phpmv/ubiquity-webtools
for webtools installation.
Fixed
- Router: pb with route priority attribute see #54
2.1.4 release
Added
Translate
module in webtoolstransChoice
method for translations with pluralization (tc
in twig templates)- Transactions and nested transactions in
Database
andDAO
classes see #42 getById
method inDAO
class (optimization)Ubiquity-swoole
server (Ubiquity serve --type=swoole
)
Fixed
- Fatal error in startup (not 404) fix #43
- Version 2.1.3 displays the number of version 2.1.2
2.1.3 release
Added
- Support for Http methods customization (for URequest & Uresponse) via
Ubiquity\utils\http\foundation\AbstractHttp
class. - Support for session customization via
Ubiquity\utils\http\session\AbstractSession
- multisites session
Ubiquity\utils\http\session\MultisiteSession
(1.0.0-beta) ReactPHP
server available from the devtools withUbiquity serve -t=react
command
Fixed
- [ORM] model Table annotation : fix #39
Fixed
- [Logging] init logger fails if debug=false : fix #31
Documentation
- DAO querying, updates
- In doc for di : fix #41
2.1.2 release
2.1.1 release
Added
Transformer
module see in documentationSimpleRestController
+SimpleApiRestController
classes for Rest part
Changed
Translation
module use default cache system (ArrayCache) and no more APC (performances ++)
Fixed
- webtools Rest section
Authorization Bearer
pb in input field (no open issue)POST
request for adding an instance withRestController
(no open issue)
- webtools Models section, CRUDControllers
- Model adding or updating in modal form fail see #25
- JsonAPI finalization
Documentation
- REST module rest doc
- Transformers module Transformers doc
2.1.0 release
Added
- Themes manager with bootstrap, Semantic-ui and foundation, on a proposal from @gildonei, whom I thank for his help and his ideas.
AssetsManager
for css,js, fonts and images integrationThemesManager
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
@exec
key inconfig[di]
for injections at runtime
Fixed
- An exception is thrown In case of problem with the Database connection (in
DataBase::connect
method) see #12
The connection to the database must be protected by a
try/catch
inapp/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
2.0.11 release
Added
- Rest JsonAPI implementation
JsonApiRestController
class
- methods in
UCookie
exists
: Tests the existence of a cookiesetRaw
: Sends a raw cookie without urlencoding the cookie value
- method in
UResponse
enableCORS
: enables globaly CORS for a domain (this was possible before by usingsetAccessControl*
methods)
Changed
- method
set
inUCookie
(parameters$secure
&$httpOnly
added)
Fixed
- issue pb with config variable in Twig views
- deprecated ref to apcu in Translation
ArrayLoader
removed
2.0.10 release
Added
- Webtools
- validation info in models part
- Acceptance, functionnal and unit tests (70% coverage)
Changed
- Webtools
- models metadatas presentation
- Documentation
- Restoration of Translation class
- Compatibility with devtools 1.1.5
2.0.9 release
Remove
- usage of @
Restore
- Translator class
2.0.8 release
Optimizations
- ORM & relations oneToMany
- apc to apcu cache for Translations
- Router : routes array minification
- Scrutinizer debugging : 0 bug !
- Scrutinizer evaluation : 9.61 very good!
Modifications
- Translator=>TranslatorManager with static methods
Requires an update of index.php
<?php
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', __DIR__.DS.'app'.DS);
$config=include ROOT.'config/config.php';
require ROOT.'./../vendor/autoload.php';
require ROOT.'config/services.php';
\Ubiquity\controllers\Startup::run($config);
Starting the translatorManager in app/config/services.php
:
Ubiquity\translation\TranslatorManager::start('fr_FR','en');