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_hash
to URequest - add
exists
method 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
_default
route) (no open issue)
2.3.4 release
2.3.3 release
Added
- mailer module see https://github.com/phpMv/ubiquity-mailer
SimpleViewController
,SimpleViewAsyncController
for php views (without template engine)- PHP 7.4 preloading see #88
ObjectCache
cache systemSDAO
class for simple objects loading (popo with public members)- Prepared DAO queries for getOne, getById & getAll (async)
Improved
- Add warmup methods for controllers & models metas
StartupAsync
for asynchronous platforms (Swoole, Workerman)- unpack replace cufa in
Startup::runAction
2.3.2 release
Added
- bulk queries in
DAO
classDAO::toAdd($instance)
DAO::toUpdate($instance)
DAO::toDelete($instance)
DAO::flush()
- Composer create-project
composer create-project phpmv/ubiquity-project {projectName}
Changed
MicroTemplateEngine
optimization (cache)
2.3.1 release
Added
workerman
server
Usage:
Ubiquity serve -t=workerman -p=8091
Memcached
support- multi db types support (Db Wrapper)
Updated
PhpFastCache
to ^7.0
Fixed
- UQuery multi models fatal error (see #63)
2.3.0 release
Added
Changed
Startup
class optimization
Breaking change possible
Induced by multi database functionality:
- Database startup with
DAO::startDatabase($config)
inservices.php
file is useless, no need to start the database, the connection is made automatically at the first request. - Use
DAO::start()
inservices.php
file when using several databases (withmulti db
feature)
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 update
in project folder- Remove
DAO::startDatabase($config)
line inservices.php
Fixed
- route caching pb for routes with variables (no open issue)