All Versions
100
Latest Version
Avg Release Cycle
58 days
Latest Release
1266 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v2.0.13 Changes
May 19, 2016- โช Restored
Phalcon\Text::camelize
behavior #11767 - ๐ Used Zephir v0.9.2
- โช Restored
-
v2.0.12 Changes
May 16, 2016 -
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 callingcall_user_func_array
instead ofcall_user_func
- ๐ Fixed undefined method call
Phalcon\Mvc\Collection\Manager::getConnectionService
. NowPhalcon\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
andtotal_pages
inPaginator
when the query builder has setgroupBy()
- ๐ 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
forPhalcon\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
andPhalcon\Db\Dialect\Postgresql
classes - Now
Phalcon\Mvc\Model::__call
invokes finders as in__callStatic
- ๐ Fixed
Phalcon\Db\Dialect\Postgresql::getColumnDefinition
forBIGINT
andBOOLEAN
data types - ๐ Fixed
BOOLEAN
default value inPhalcon\Db\Dialect\Postgresql
- โ Added
Phalcon\Validation\Validator\CreditCard
- validation credit card number using luhn algorithm
- โ Added
-
v2.0.7 Changes
August 17, 2015Image\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 ๐ thanMvc\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
, updateCookie
andCookies
to use this interface - DecouplingCookies
andCookie
- CheckSession
state before using it inCookie
. #10789 - ๐ Fixed merge of
Phalcon\Config
instances containing objects different thanPhalcon\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 whenphqlLiterals
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 inMvc\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 bothPhalcon\Mvc\Model
andPhalcon\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
andPhalcon\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
toPhalcon\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()
inPhalcon\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 ofMvc\Router\Annotations
- โ Added groupBy/getGroupBy/having/getHaving to
Mvc\Model\Criteria
Phalcon\Mvc\Model::count()
now return values as integer- โ Removed
__construct
fromPhalcon\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
inPhalcon\Mvc\Model\Validator::getOption()
- ๐ Fixed in
Phalcon\Validation\Validator\Identical
the name of parametervalue
toaccepted
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
- ๐ Fixed bug in