Skip to content

Releases: phpMv/ubiquity

2.3.9 release

04 Jun 18:07
5033a0c
Compare
Choose a tag to compare

Added

  • put, patch, delete, options annotations added for router (see #108)

Fixed

  • Router cache Content-Type omited see #120
  • ORM: pbs on column annotation see #116 and #117

2.3.8 release

06 May 02:32
fc30e03
Compare
Choose a tag to compare

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

30 Apr 02:22
0e9031a
Compare
Choose a tag to compare

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

13 Apr 00:41
eed49f0
Compare
Choose a tag to compare

Fixed

  • Fix require php7.4 in composer.json file #111
  • Fix @transient annotation pb #113
  • Fix non autoinc pk not affected on insert #114

2.3.5 release

08 Apr 15:00
f3f2b9a
Compare
Choose a tag to compare

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

23 Mar 09:29
148ff25
Compare
Choose a tag to compare

Added

  • updateGroups method for batch updates (mysql bulks)
  • Aditional fields in queries Fixes #83
  • Composer part in webTools

Updated

  • PostgreSQL PDO Driver created for PostgreSQL Database Support Fixes #98
  • Sqlite PDO Driver created for SQLite Database Support Fixes #90

Fixed

  • @idcolumn name pb #107
  • [REST] with POST method returns 500 error, and 'controllers/rest' class not found #89

2.3.3 release

25 Jan 17:19
Compare
Choose a tag to compare

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 system
  • SDAO 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

28 Oct 15:10
3195185
Compare
Choose a tag to compare

Added

  • bulk queries in DAO class
    • DAO::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

25 Sep 17:46
9a7e346
Compare
Choose a tag to compare

Added

  • workerman server

Usage:

Ubiquity serve -t=workerman -p=8091
  • Memcached support
  • multi db types support (Db Wrapper)
    • Tarantool database support on a proposal from @zilveer
    • Swoole coroutine Mysql database support
    • Mysqli database support
    • PDO default wrapper (updated)

Updated

  • PhpFastCache to ^7.0

Fixed

  • UQuery multi models fatal error (see #63)

2.3.0 release

01 Aug 00:13
Compare
Choose a tag to compare

Added

Changed

  • Startup class optimization

Breaking change possible

Induced by multi database functionality:

  • Database startup with DAO::startDatabase($config) in services.php file is useless, no need to start the database, the connection is made automatically at the first request.
  • Use DAO::start() in services.php file when using several databases (with multi 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 in services.php

Fixed

  • route caching pb for routes with variables (no open issue)

Documentation