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

Changelog History
Page 7

  • v1.2.5 Changes

    January 13, 2014
    • Http\Cookie::__toString() will not throw exceptions (#1427)
    • Phalcon\Http\Cookie::__toString() will return a string value (#1428)
    • Camelize does not ignore the last character of a string anymore (#1436)
    • APC tests do not run under CLI when apc.enable_cli is 0 (#1449)
    • Phalcon\Debug::uri now supports both http and https (#987)
    • Fixed inconsistency in Tag::stylesheetLink/javascriptInclude w.r.t. local URLs (#1486)
    • Fixed bug in Phalcon\Queue\Beanstalk::read() (#1348, #1612)
    • Phalcon\Flash\Session::getMessages() incorrectly removed all messages (#1575)
    • Fixed bug in phalcon_fix_path() (#1601)
    • Added Phalcon\Mvc\Model\Row::toArray() method (#1506)
    • Added support for POINT type in MySQL (#1536)
    • Phalcon\Mvc\Model\Validator::getOption() returns NULL if the option does not exist (#1530)
    • Fixed parsing of annotations containing / (#1480)
    • Make sure that 'persistent' is resolved only when accessed for the first time (#1637)
    • Fix Phalcon\Session\Bag::remove() (#1637)
    • Bug fixes in beanstalkd protocol implementation
    • Phalcon\Paginator\Adapter\Model returns correct results even when page number is incorrect (#1654)
    • Bug fix: no arguments were passed to beforeMatch handler in Phalcon\Mvc\Router (#1556)
    • Phalcon\Logger\Adapter::setLogLevel() is honored by transactions (#1716)
    • Bug fixes in Phalcon\Db\Adapter\Pdo::describeColumns() (#1562)
    • Phalcon\Session\Adapter::__destruct() now calls session_write_close() (#1624)
    • Volt: fixed bug in email_filed() (#1723)
    • Fixed PHP Notices in Phalcon\Debug::onUncaughtException() (#1683)
    • Phalcon\Logger\Adapter::commit() clears the queue (#1748)
    • Constant-time string comparison in Phalcon\Security::checkHash() (#1755)
    • Fix phalcon_escape_multi() to generate valid UTF-8 (#1681)
  • v1.2.4 Changes

    October 23, 2013
    • Fixed broken ACL inheritance (#905)
    • Fixed crash while rendering element's label (#1210)
    • Fixed XSS vulnerabilities (#1216, #1190)
    • Added support for APCu 4.0.2+ (#1234)
    • Fixed chaining of CSS/JS filters (#1198)
    • Fixed notices and warnings with complex PHQL queries (#1222)
    • Memory allocation optimizations (#1220)
    • Fixed regular expression in \Phalcon\Mvc\Model\Validator\Email (#1243)
    • Documentation bug fixes
    • Phalcon\Mvc\Model::hasOne/hasMany/belongsTo/hasManyToMany/addBehavior() are now public methods (#1166)
    • Added support for MySQL DOUBLE type (#1128)
    • Added support for UTF-8 characters in jsmin
    • Added support for UTF-8 to \Phalcon\Debug (#1099)
    • Fixed regression in \Phalcon\Http\Request::getRawBody() (#1091)
    • Implemented \Phalcon\Cache\Backend\Memory::queryKeys() (#1093)
    • Redirects use status descriptions from RFC 2616 (#1175)
    • \Phalcon\Config::merge now works with derived classes (#1024)
    • \Phalcon\Security::checkHash() allows to restrict the length of the password to avoid attacks like https://www.djangoproject.com/weblog/2013/sep/15/security/
    • \Phalcon\Config can now be cloned (#1277)
    • \Phalcon\Mvc\Query\Builder::__construct() ignores joins (#1327)
    • Bug with a custom Events Manager in Phalcon\Mvc\Models (#1314)
    • Micro Collections return Phalcon\Mvc\Micro\CollectionInterface (#1130)
    • \Phalcon\Forms\Form::getMessages() does not generate a fatal error if the form is valid (#1349)
    • Fixed memory leaks (#1345)
    • Fixed invalid memory reads/writes across the code (#1340)
    • Fixed HAVING handling in Phalcon\Mvc\QueryBuilder (#1396)
    • Bug fixes in \Phalcon\Logger{Adapter,Formatter}\FirePhp (#1333)
    • Bug fixes in Phalcon\Cache\Backend\Xcache (#1406)
    • Phalcon\Forms\Element::__toString() does not throw exceptions anymore (#1413)
    • Other bug fixes (#947, #1131, #1040, #1275, #1392, #1396, #1399, backported patches from 1.3.0 etc)
  • v1.2.3 Changes

    August 16, 2013
  • v1.2.2 Changes

    August 06, 2013
    • Phalcon\Mvc\Model\Query\Builder may now use both integer and string placeholders (#701)
    • Fixed invalid memory reads when GC is on (#469, #927)
    • Phalcon\Flash\Session::getMessage('key') returns now an empty array if the key is not found (#908, #920)
    • Fixed bugs in Phalcon\Escaper (#917)
    • Fixed memory leaks for PHP < 5.4 (#910, #914, #916)
    • Fixed memory access violations (#911, #918, #927, #928)
    • Memory allocation optimizations (#912)
  • v1.2.1 Changes

    July 25, 2013
    • Reduced overall memory usage (#834, #891, #893)
    • Faster internal array and string manipulation (#830, #833, #837)
    • Fixed PHP 5.5 compilation on Windows
    • Dispatching parameters now can be modified in 'beforeExecuteRoute' events
    • 'beforeException' events can now handle exceptions occurred when executing actions (#140)
    • Added Phalcon\Dispatcher::getHandlerClass and Phalcon\Dispatch::getActionMethod
    • Phalcon\Form\Element* classes now implement Phalcon\Form\ElementInterface
    • Phalcon\Config\Adapter\Ini correctly handles empty sections and INI files without any sections (#829, #837)
    • Phalcon\Http\Request fully supports file arrays (#884, #888)
    • Added support for various padding schemes (PKCS7, ANSI X.923, ISO 10126, ISO/IEC 7816-4, zero padding, space padding) to Phalcon\Crypt (#864, #887)
    • Added getKey(), getError(), isUploadedFile() methods to Phalcon\Http\Request\File (#878, #888)
    • Dot-delimited directives in INI-files are now prsed correctly (#872)
    • Fixed memory leaks in cache backends (#860)
    • Fixed various memory corruption issues (#849, #852, #858, #860, #861)
    • Fixed broken Phalcon\Http\Response::setFileToSend() method (#831, #832)
    • Phalcon\Http\Response::setFileToSend() can now show the file in the browser instead of offering to download it (#853)
    • Added Phalcon\Adapter\Config\Json class to read JSON configs (#844)
    • Added FirePHP Log Adapter and Formatter (#845)
    • Faster Phalcon\Config implementation (#837)
    • Phalcon\Config now support numeric properties as well (#837)
    • Database dialects now support BOOLEAN data type (#816)
    • Phalcon\Mvc\Application::handle() now checks whether the class exists before include()'ing its file (#812, #818)
  • v1.2.0 Changes

    July 10, 2013
    • Now 'compiledPath' option accept a closure to dynamically create the compilation path in Volt
    • Volt now supports user extensions, these can be used to extend better Volt
    • Now Phalcon\Mvc\Url provides an internal separation for uris for static resources and uris to rewrite resources
    • Added Mvc\Model\Criteria::inWhere to append an IN expression to the criteria
    • Added Mvc\Model\Criteria::notInWhere to append a NOT IN expression to the criteria
    • Added Mvc\Model\Criteria::notBetweenWhere to append a NOT BETWEEN expression to the criteria
    • Added Mvc\Model\Criteria::betweenWhere to append a BETWEEN expression to the criteria
    • Phalcon\Tag::image accepts a second parameter to allow external URLs
    • Added Phalcon\Mvc\View\Simple as an alternative view component, this only have a single level of rendering and works better with Volt's inheritance
    • Better escaping of reserved words in internal PHQL generation
    • Added Phalcon\Http\Request::getJsonRawBody() to return the request body as a decoded JSON
    • Added Phalcon\Http\Request::getHeaders()
    • Support for many to many relations in the ORM
    • Added Phalcon\Assets\Filters\Jsmin to provide on-the-fly javascript minification
    • Added Phalcon\Assets\Filters\Cssmin to provide on-the-fly CSS minification
    • Support for real nested transactions in Phalcon\Db using database savepoints
    • Support for create/list/drop views in Phalcon\Db
    • Added event application:viewRender to Phalcon\Mvc\Application allowing the developer to call the $view->render method as he/she needs
    • Added option to disable literals in PHQL statements, this highly reduces the possibility to be attacked using SQL injections
    • Now you can pass an array of variables with virtual local scope in Phalcon\Mvc\View::partial()
    • Syntax CAST(expr AS datatype) is now supported by PHQL
    • Support for CONVERT(expr USING charset) in PHQL
    • Support for {% include "hello" with [var1, var2] %}
    • Phalcon\Mvc\Collection::find receives a parameter 'fields' to specify a list of fields
    • Added Phalcon\Forms\Element\Email and Phalcon\Tag::emailField
    • Support to define arrays using curly braces in Volt {'a': 'b', 'c': 'd'} in Volt
    • Support to make multiple assigments in a single set in Volt {% set a = b, c = d %} in Volt
    • Volt now support 'if'/'else' blocks with empty bodies
    • Support for 'cascade' action in addition to 'restrict' in Virtual Foreign Keys (ORM)
    • Added missing Phalcon\Http\Request\File::getType()
    • Phalcon\Tag is not abstract anymore allowing to create instances of it
    • Phalcon\Tag is now registered as 'tag' in Phalcon\DI\FactoryDefault
    • In a handler in Phalcon\Mvc\Micro returns an object that implements Phalcon\Http\ResponseInterface the response is automatically send()
    • Phalcon\Mvc\View now have a chaineable API
    • Phalcon\Mvc\Micro now can optionally receive the DI in its constructor
    • Now if a method receives an incorrect number of parameters an exception BadMethodCallException is thrown instead of a warning
    • Phalcon\Mvc\Model/Phalcon\Mvc\Collection now checks for a method 'onConstruct' allowing the developer to execute initialization stuff every time a model/collection instance is created
    • Phalcon\Mvc\Model/Phalcon\Mvc\Collection now checks for a method 'afterFetch' allowing the developer to execute initialization stuff every time a model/collection instance is created in a findFirst/find operation is created
    • Added Phalcon\Mvc\Collection::summatory easing the generation of this type of aggregation
    • Support for boolean literals in PHQL
    • Support for complex expressions in GROUP BY clauses in PHQL
    • Now PHQL exceptions include the PHQL statement itself
    • Aliases for namespaces are now supported in PHQL
    • Acl\Memory was rewritten to make it simpler and faster, you may regenerate your serialized ACLs
    • Support for assigment operators +=, -=, *=, /= in Volt
    • Support for Profile-Guided optimization installation scripts (See blog)
    • Added Phalcon\Annotations\Adapter\Xcache to store annotations in Xcache
    • Added Phalcon\Mvc\Model\Metadata\Xcache to store models meta-data in Xcache
    • Added
    • Now if a controller implements 'initialize' it only is called if 'beforeExecuteRoute' is not stopped
    • Listeners implementing 'beforeExecuteRoute'/'afterExecuteRoute' are executed first than the ones implemented as methods in the controller/task
  • v1.1.0 Changes

    May 08, 2013
    • Improvements to the query builder allowing to define bound parameters in the "where" methods
    • Added Mvc\Model\Query\Builder::inWhere to append an IN expression to the query
    • Added Mvc\Model\Query\Builder::notInWhere to append a NOT IN expression to the query
    • Added Mvc\Model\Query\Builder::betweenWhere to append a BETWEEN expression to the query
    • Now Phalcon\Session\Bag injects automatically the default DI if one hasn't beed manually assigned
    • Added Phalcon\Forms\Manager to reference forms and retrieve them from any part of the application
    • If an element in Phalcon\Forms doesn't have a label defined now returns the element's name as label
    • Now if a validator in Phalcon\Validator has defined the option 'cancelOnFail' => true the validation will be aborted if the validator fails
    • Added Phalcon\Validation\Validator\Between to check a value between a range of two values
    • Added Phalcon\Validation\Validator\Confirmation to check that a value match its confirmation value (another attribute in the data to validate)
    • Phalcon\Forms\Form now extends from Phalcon\DI\Injectable allowing developers to use application services in the form initialization
    • Now calls to Phalcon\Mvc\Router can be chained
    • Phalcon\Mvc\Router::getRewriteUri is now public
    • Added Phalcon\Mvc\Router\Route::beforeMatch to implement arbitrary conditions to unmatch a matched route
    • Phalcon\Mvc\Model can be now set up to throw an exception when the saving process fails
    • Added Phalcon\Assets component to manage CSS/Javascripts resources in an application
    • Added Phalcon\Annotations\Collection::getAll to return all the annotations in a collection that matches a name
    • Added Phalcon\Crypt component to provide encryption facilities to phalcon applications
    • Now Phalcon\Http\Request: get, getQuery y getPost returns the respective superglobals in case of no parameters
    • Now Phalcon\Mvc\Router supports simple/regex hostname restrictions
    • Added support for filtering/sanitizing in Phalcon\Validation
    • Added events beforeValidation/afterValidation to Phalcon\Validation and Phalcon\Forms\Form
    • Added ability to register user-options in Phalcon\Forms\Form elements
    • Fixed Phalcon\Mvc\Micro\Collections to register a controllers in Phalcon\Mvc\Micro
    • Added Phalcon\Tag::dateField and Phalcon\Tag::numericField
    • Added Phalcon\Forms\Element\Date and Phalcon\Forms\Element\Numeric
    • Added Phalcon\Cache\Frontend\Json to cache data as JSON
    • Added Phalcon\Tag::tagHtml and Phalcon\Tag::tagHtmlClose to generate any kind of HTML tags
    • Phalcon\Http\Response\Cookies is now fixed
    • Added support for automatic crypting of cookies in Phalcon\Http\Response\Cookies
    • Phalcon\DI\FactoryDefault now provides the 'crypt' service
    • Volt's paths are now automatically normalized to realpaths
    • Fixed bug in convert_encoding in Volt
    • Added Phalcon\Filter\UserFilterInterface to be used in custom filters
    • Added support for filters in Phalcon\Forms\Form elements
    • Added maximum recursion depth exceeded control in Phalcon\Kernel
    • Performance: Now Phalcon makes use of interned strings if PHP 5.4 to reduce memory usage
    • Performance: Implemented cache of visibility for all intern properties in 5.3/5.4 increasing performance
    • Performance: All hash keys are now pre-calculated in compilation time to read/write internal properties faster
    • Performance: Now all functions are static allowing the compiler to inline functions or remove those that aren't used by the framework
    • Performance: Now Phalcon provides specific optimizations when the extension is compiled for NTS modules
    • Performance: Implemented function to fetch parameters from the VM stack with minimum overhead
    • Performance: Implemented a global PHQL parser cache to avoid that a same statement be parsed more than one time
    • Performance: Events by priority are now disabled by default. A user must explicitly define that Phalcon\Events\Manager must use a PriorityQueue instead of a FIFF (First In-First Fired)
    • !! Phalcon\CLI\Router API have been changed. Check the manual to update your bootstrap
  • v1.0.1 Changes

    April 08, 2013
    • Paths aren't correctly normalized in Phalcon\Mvc\Model\MetaData\Files
    • Added extra class prefix to schema.table in Phalcon\Mvc\Model\MetaData to avoid multiple-database collisions
    • Now Phalcon\Mvc\Router ignores numeric paths in controller, namespace, module and action, avoiding that those will be passed to the dispatcher
    • Added Phalcon\Forms\Form::remove to remove an element from the form and Phalcon\Forms\Form::has to check if a form has an element
  • v1.0.0 Changes

    March 22, 2013
    • Added Phalcon\Mvc\Router::setUriSource to set if the URI source must be $_GET['_url'] or $_SERVER['REQUEST_URI']
    • Added a white-list parameter to Phalcon\Mvc\Model::save(), Phalcon\Mvc\Model::create() and Phalcon\Mvc\Model::update() to avoid possible mass-assigment attacks
    • Added leftJoin/rightJoin to QueryBuilder
  • v1.0.0.b1 Changes

    • Fixed bug with missing blocks in multiple inheritance in Volt
    • Support for ternary operator in Volt
    • Support for 'forelse' in Volt
    • Added support for loop variable context in Volt
    • Added whitespace control delimiters {%- -%} and {{- -}} to Volt
    • Support for 'in' and 'not in' operators in Volt
    • Added Phalcon\Mvc\Model::assign to assign an array of values to a model instance
    • Added Phalcon\Mvc\Model::refresh to refresh the state of a model
    • Added Phalcon\Logger\Adapter::setLogLevel to filter messages with greater or less priority
    • Removed constructor from Phalcon\Cache\BackendInterface
    • Added Phalcon\Cache\Multiple, this backend writes to several backends, and reads data according to the order in which backends were registered.
    • Now a model can use a separate connection to read and another to write, this makes horizontal sharding easy
    • Now, a model could implement a method selectReadConnection to dynamically return the correct database according to the current query conditions
    • Added Phalcon\Cache\Backend\Memory to cache data in the current request
    • Added Phalcon\Validation, this component allows the validate a set of data based on pre-defined rules
    • Added Phalcon\Forms, this component acts as a forms builder binding request data to entities, aiding in the validation of data, helping in the errors/messages generated in the validation process
    • Phalcon\Db is now case-folding independent
    • Phalcon\Mvc\Model uses column names keeping the case-folding as they were defined
    • Added Phalcon\Mvc\Router::notFound to define the paths the router must use if any route is matched
    • Improved \Phalcon\Mvc\Router\Annotations to work better with controllers in namespaces and modules
    • A model can be marked to keep record snapshots allowing to check what fields have been changed
    • The _source and _schema properties have been moved from Phalcon\Mvc\Model to Phalcon\Mvc\Model\Manager. This allow set source/schema in the model initializer
    • Added Phalcon\Session\Bag::remove to remove an specific variable from a session bag
    • Added support for complex expressions in PHQL ORDER BY clause
    • Added support for complex expressions in PHQL GROUP BY clause
    • Added support for $_SERVER['REQUEST_URI'] if $_GET['_url'] is not available in Phalcon\Mvc\Router
    • Added an option to set up specific models with dynamic update instead of all-fields update, every field is checked if it was changed to dynamically create a UPDATE SQL column only with those fields that changed
    • Added a minimalist client for the Beanstalk queue server