All Versions
100
Latest Version
Avg Release Cycle
58 days
Latest Release
1266 days ago

Changelog History
Page 5

  • v2.0.13 Changes

    May 19, 2016
    • โช Restored Phalcon\Text::camelize behavior #11767
    • ๐Ÿ‘‰ Used Zephir v0.9.2
  • v2.0.12 Changes

    May 16, 2016
    • ๐Ÿ›  Fixed regression changes for Phalcon\Mvc\View\Engine\Volt::callMacro #11745
    • ๐Ÿ›  Fixed the argument type of Phalcon\Flash::success #11764
    • โช Restored Phalcon\Text::camelize behavior #11767
  • v2.0.11 Changes

    May 04, 2016
    • ๐Ÿ›  Fix Model magic set functionality to maintain variable visibility and utilize setter methods.#11286
    • โž• Added a prepareSave event to model saving
    • โž• Added support for OnUpdate and OnDelete foreign key events to the MySQL adapter
    • โž• Added ability to setLogLevel on multiple logs #10429
    • ๐Ÿ›  Fixed regression changes for Phalcon\Translate\Adapter\Gettext::prepareOptions #11429
    • ๐Ÿ‘‰ Fixed Phalcon\Mvc\View\Engine\Volt::callMacro bug. Now it's correctly calling call_user_func_array instead of call_user_func
    • ๐Ÿ›  Fixed undefined method call Phalcon\Mvc\Collection\Manager::getConnectionService. Now Phalcon\Mvc\Collection::getConnectionService works correctly in according to documentation
  • v2.0.10 Changes

    February 04, 2016
    • ๐Ÿ‘ ORM: Added support for DATE columns in Oracle
    • Fixed wrong total_items and total_pages in Paginator when the query builder has set groupBy()
    • ๐Ÿ›  Fixed Phalcon\Acl\Memory::allow bug#11210 related to the inconsistent behavior with access specified as string and array
    • โž• Added quoting column in Phalcon\Db\Dialect\MySQL::addColumn when define position of the column
    • โž• Added support to define position of the column in Phalcon\Db\Dialect\MySQL::modifyColumn
    • ๐Ÿ›  Fixed Phalcon\Mvc\Model\Query\Builder bug#11298 related to resetting limit to null
    • ๐Ÿ›  Fixed Phalcon\Tag::getTitle bug#11185. Now a title will be automatically escaped.
    • ๐Ÿ›  Fixed Phalcon\Translate\Adapter\Gettext::exists bug#11310 related to the wrong returned value (always true)
    • ๐Ÿ›  Fixed Phalcon\Translate\Adapter\Gettext::setLocale bug#11311 related to the incorrect setting locale
    • โž• Added ability to persistent connection in Phalcon\Queue\Beanstalk::connect
    • ๐Ÿ›  Fixed Phalcon\Http\Response::redirect bug#11324. Incorrect initialization local array of status codes
    • ๐Ÿ›  Fixed cache backends bug#11322 related to saving number 0
    • ๐Ÿ›  Fixed Phalcon\Db\Dialect::escape bug#11359. Added ability to use the database name with dots.
  • v2.0.9 Changes

    November 24, 2015
    • ๐Ÿ›  Fixed bug that double serializes data using Redis adapter
    • โž• Added console:boot event to allow the developer to perform initialization actions
    • โž• Added implementation options allowEmpty for Phalcon\Mvc\Model\Validator\Ip
    • ๐Ÿ›  Fixed SQLite bug#10997 related to setting of index type
    • โž• Added Phalcon\Db\Dialect\Sqlite::listIndexesSql - to generate the SQL to get query list of indexes
    • ๐Ÿ›  Fixed MySQL bug#11036 related to setting of index type
    • โž• Added missed RouteInterface::setHostname, RouteInterface::getHostname
    • โž• Added strict option for ExclusionIn validator
    • โž• Added Phalcon\Text::underscore - to make a phrase underscored instead of spaced
    • โž• Added Phalcon\Text::humanize - to make an underscored or dashed phrase human-readable
    • โž• Added ability to change document class to be returned in ODM through class option
  • v2.0.8 Changes

    September 19, 2015
    • โž• 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
  • v2.0.7 Changes

    August 17, 2015
    • 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
  • v2.0.6 Changes

    July 21, 2015
    • ๐Ÿ— Builds in TravisCI now uses Docker to perform faster builds
    • โž• Added Http\Response::setCache() to easily set cache headers.
    • When a beanstalkd connection is closed the adapter does not produce a notice anymore
    • 0๏ธโƒฃ Default separator in Text::increment is now _ (underscore)
    • Using tel_field in Volt now generates correct PHP code
    • SQL generated by PostgreSQL dialect in dropTable and dropView is now correct
    • Errors generated in Cache\Backend\Memcached now shows the result code to easily debug problems
    • ๐Ÿ›  Fixed LIMIT/OFFSET SQL generation in Mvc\Model\Query\Builder
    • ๐Ÿ›  Fixed Logger\Formatter\Line to match 1.3.x behavior
    • ๐Ÿ›  Fixed warning when castOnHydrate' is true #10648
    • โž• Added name before int/float/numeric/string/bool/null/other variables in Debug\Dump::output
    • Now Validation\Validator\Identical allows both 'accepted' and 'value' as value to keep backwards compatibility
    • โž• Added \Phalcon\Mvc\Model\MetaData\Redis adapter.
    • โž• Added Redis Session adapter
    • ๐Ÿ›  Fixed bug in Mvc\Model\Criteria::fromInput unallowing it to use renamed columns
    • ๐Ÿ›  Fixed bug in Http\Request getRawBody()/getPut() clears input buffer #10694
  • v2.0.5 Changes

    July 14, 2015
    • ๐Ÿ›  Fixed a bug that makes that attaching an events manager to an Mvc\Application causes view->render() not being called
    • ๐Ÿ›  Fixed bug that makes generated SQL statements using FOR UPDATE not being parsed correctly
    • ๐Ÿšš The email filter now no longer removes the ' character #10603
    • When an array is bound the cached representation in PHQL makes the SQL being incorrectly generated the second time.
    • โž• Added \Phalcon\Mvc\Model\MetaData\Memcache and \Phalcon\Mvc\Model\MetaData\Libmemcached adapters
  • v2.0.4 Changes

    July 07, 2015
    • ๐Ÿ›  Fixed bug in Phalcon\Mvc\Model::update() that throws an exception when the record does exist
    • ๐Ÿ“„ Now links in Phalcon\Debug point to https://api.phalconphp.com instead of http://docs.phalconphp.com
    • Implemented a more versatile way to assign variables in Volt allowing to assign properties and array indexes
    • ๐Ÿ‘Œ Improved generation of macros in Volt using anonymous functions instead of plain PHP functions This allow to bind the adapter object and inject services within them
    • ๐Ÿ›  Fixed generation and validation of default parameters in Volt's macros
    • โž• Added Phalcon\Assets\Manager::getCollections() to return all collections registered #2488
    • Now Phalcon\Mvc\Url::getStatic() generates URLs from routes
    • Introduced Phalcon\Mvc\EntityInterface to allow parameters receive both Phalcon\Mvc\Model and Phalcon\Mvc\Collection instances
    • โž• Added Phalcon\Session\Adapter::setName() to change the session name
    • โž• Added BIGINT support in Phalcon\Db
    • โž• Added new types Phalcon\Db\Column::BLOB and Phalcon\Db\Column::DOUBLE #10506
    • Automatic binding of Large Object data (LOB) in the ORM
    • ๐Ÿ‘Œ Support for BIT types in MySQL with binding as booleans
    • โž• Added Phalcon\Flash\Direct::output() allowing to place flash messages in a specific place of the view #629
    • โž• Added 'autoescape' option that allows to globally enable autoescape in any Volt template
    • โž• Added readAttribute/writeAttribute to Phalcon\Mvc\Collection\Document
    • โž• Added toArray to Phalcon\Mvc\Collection\Document
    • Global setting db.force_casting now forces casting bound parameters to specified bind types
    • Introduced new placeholders in PHQL enclosed in brackets that allow to set the type: {name:str} or {names:array}
    • Now you can bind arrays in bound parameters in PHQL
    • Global setting orm.cast_on_hydrate allow to cast hydrated attributes to the original types in the mapped tables instead of using strings
    • Values in LIMIT/OFFSET clause are now passed using bound parameters in PHQL
    • ๐Ÿ‘ Allowing late state binding in both Simple/Complex results to allow override Mvc\Model::cloneResultMap
    • โž• Added method distinct() in Phalcon\Mvc\Model\Criteria #10536
    • Added global setting orm.ignore_unknown_columns to ignore unexpected columns when hydrating instances in the ORM This fixes extra auxiliar columns used in Db\Adapter\Pdo\Oracle
    • โž• Added support for afterFetch in Mvc\Collection
    • โž• Added beforeMatch parameter in @Route annotation of Mvc\Router\Annotations
    • โž• Added groupBy/getGroupBy/having/getHaving to Mvc\Model\Criteria
    • Phalcon\Mvc\Model::count() now return values as integer
    • โœ‚ Removed __construct from Phalcon\Mvc\View\EngineInterface
    • โž• Added Phalcon\Debug\Dump::toJson() to return an JSON string of information about a single variable
    • โšก๏ธ Now instances in Phalcon\Di are built using internal optimizers instead of ReflectionClass (PHP 5.6)
    • โž• Added Phalcon\Mvc\Model\Validator\Ip from incubator
    • โž• Added parameter return defaultValue in Phalcon\Mvc\Model\Validator::getOption()
    • ๐Ÿ›  Fixed in Phalcon\Validation\Validator\Identical the name of parameter value to accepted according docs
    • โž• Added method Text:dynamic() generate random text in accordance with the template, see #10571
    • 0๏ธโƒฃ Now Mvc\Router has default routes with unicode support #10544