All Versions
100
Latest Version
Avg Release Cycle
58 days
Latest Release
1267 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