Phalcon v2.0.8 Release Notes

Release Date: 2015-09-19 // over 8 years ago
    • ➕ Added Phalcon\Security\Random::base58 - to generate a random base58 string
    • ➕ Added Phalcon\Logger\Adapter::isTransaction() to check whether the logger is currently in transaction mode or not (Phalcon 1.3 behavior)
    • Phalcon\Session\Adapter now closes the session when the adapter is destroyed (Phalcon 1.3 behavior)
    • Fixed fetching of data in modes FETCH_CLASS, FETCH_INTO and FETCH_FUNC in Phalcon\Db
    • ➕ Added missing code property in Phalcon\Validation\Message available in Phalcon 1.3.x
    • ➕ Added Phalcon\Db\Column::TYPE_TIMESTAMP to allow migrations on these kind of columns
    • ➕ Added Phalcon\Db\ColumnInterface::hasDefault to check if a column has a default value declared in its database column definition
    • 🛠 Fixed determining of default value for column in Phalcon\Db\Dialect\MySQL, Phalcon\Db\Dialect\Sqlite and Phalcon\Db\Dialect\Postgresql classes
    • Now Phalcon\Mvc\Model::__call invokes finders as in __callStatic
    • 🛠 Fixed Phalcon\Db\Dialect\Postgresql::getColumnDefinition for BIGINT and BOOLEAN data types
    • 🛠 Fixed BOOLEAN default value in Phalcon\Db\Dialect\Postgresql
    • ➕ Added Phalcon\Validation\Validator\CreditCard - validation credit card number using luhn algorithm