Releases: phpMv/ubiquity
Releases · phpMv/ubiquity
2.3.9 release
2.3.8 release
Added
- Add csrf functions to twig templates
Updated
- Update client libraries for new projects (Fomantic 2.8.4, jQuery 3.5.1)
- Update to Twig 3.0
2.3.7 release
Added
- add
password_hashto URequest - add
existsmethod in DAO - Add Csrf protection to session
Updated
- AuthController simplification
- remove unnecessary "No route found log"
2.3.6 release
2.3.5 release
Fixed
- Fix persistent
/_default/for default url (twig path) (no open issue) - Fix redirectToRoute pb (with
_defaultroute) (no open issue)
2.3.4 release
2.3.3 release
Added
- mailer module see https://github.com/phpMv/ubiquity-mailer
SimpleViewController,SimpleViewAsyncControllerfor php views (without template engine)- PHP 7.4 preloading see #88
ObjectCachecache systemSDAOclass for simple objects loading (popo with public members)- Prepared DAO queries for getOne, getById & getAll (async)
Improved
- Add warmup methods for controllers & models metas
StartupAsyncfor asynchronous platforms (Swoole, Workerman)- unpack replace cufa in
Startup::runAction
2.3.2 release
Added
- bulk queries in
DAOclassDAO::toAdd($instance)DAO::toUpdate($instance)DAO::toDelete($instance)DAO::flush()
- Composer create-project
composer create-project phpmv/ubiquity-project {projectName}
Changed
MicroTemplateEngineoptimization (cache)
2.3.1 release
Added
workermanserver
Usage:
Ubiquity serve -t=workerman -p=8091
Memcachedsupport- multi db types support (Db Wrapper)
Updated
PhpFastCacheto ^7.0
Fixed
- UQuery multi models fatal error (see #63)
2.3.0 release
Added
Changed
Startupclass optimization
Breaking change possible
Induced by multi database functionality:
- Database startup with
DAO::startDatabase($config)inservices.phpfile is useless, no need to start the database, the connection is made automatically at the first request. - Use
DAO::start()inservices.phpfile when using several databases (withmulti dbfeature)
For optimization reasons:
- the classes used only in development (common to devtools and webtools) have been relocated in the phpmv/ubiquity-dev package.
Migration
For new projects:
- Update devtools:
composer global update
For existing projects:
composer updatein project folder- Remove
DAO::startDatabase($config)line inservices.php
Fixed
- route caching pb for routes with variables (no open issue)