Phalcon v2.0.7 Release Notes

Release Date: 2015-08-17 // over 8 years ago
    • Image\Adapter\Gd::save() no longer fails if the method or the instance is created with a filename without an extension
    • ๐Ÿ›  Fixed segfault in Image\Adapter\Imagick::text()
    • ๐Ÿ‘ป Exceptions thrown in Volt compiler are now Phalcon\Mvc\View\Engine\Exception
    • Now you can import macros from other files using {% include "file.volt" %}
    • Undefined function calls fall back to macro calls in Volt
    • Automatic bound parameters in Mvc\Model\Criteria now uses a different prefix ๐Ÿ— than Mvc\Model\Query\Builder to avoid collisions
    • โž• Added Cache\Multiple::flush() to flush the cache backends added to the multiple system
    • ๐Ÿ›  Fixed Session\Bag::remove()
    • Session\Bag::destroy() eliminates any temporary data in the variables bag
    • โšก๏ธ afterCreate/afterUpdate are only called if saving related records was successful
    • โž• Added an optional parameter removeData to Session\Adapter::remove() to remove any data in $_SESSION that belongs to the uniqueId or the whole session data
    • ๐Ÿ›  Now session variables making use of unique prefixes use # as internal separator
    • โž• Added parameter the changing operator for conditions in method Mvc\Model\Criteria::fromImput() #10749
    • โž• Added \Phalcon\Queue\Beanstalk::listTubes() to get list of a tubes
    • โž• Added a fix to avoid that a table present in many sub-queries causes invalid SQL generation
    • โž• Add CookieInterface, update Cookie and Cookies to use this interface - Decoupling Cookies and Cookie - Check Session state before using it in Cookie. #10789
    • ๐Ÿ›  Fixed merge of Phalcon\Config instances containing objects different than Phalcon\Config compatible instances
    • When creating tables in Postgres, inline PRIMARY keys are now escaped properly#10797
    • ๐Ÿ›  Fixed incorrect generation of SELECT COUNT(\*) causing unexpected exceptions when phqlLiterals is disabled
    • โž• Added Phalcon\Security\Random - secure random number generator class. Provides secure random number generator which is suitable for generating session key in HTTP cookies, etc