All Versions
100
Latest Version
Avg Release Cycle
58 days
Latest Release
1273 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v3.2.1 Changes
July 10, 2017- โ Added
Phalcon\Db\Dialect\Mysql::getForeignKeyChecks
to generate a SQL to check the foreign key settings #2604, phalcon/phalcon-devtools#556 - ๐ Fixed inconsistent behaviour of
Phalcon\Config::merge
across minor version of PHP7 #12779 - Fixed visibility of
Phalcon\Mvc\Model\Query\Builder
methods:_conditionNotIn
,_conditionIn
,_conditionNotBetween
and_conditionBetween
to allow 3rd party libraries extend it - ๐ Fixed
Phalcon\Assets\Manager::output
, implemented missing resource type filtering for mixed resource collections #2408 - ๐ Fixed
Phalcon\Http\Response::getStatusCode
to return (int) HTTP code only, instead of full string #12895 - ๐ Fixed
Phalcon\Db\Dialect\Postgresql::addForeignKey
for proper creating the foreign key without a name - ๐ Fixed
Phalcon\Cache\Backend\Apcu::flush
to use APCu instead APC #12934 - ๐ Fixed
Phalcon\Db\Adapter\Pdo\Mysql::addForeignKey
for proper creating the foreign key with a desired key name #2604, phalcon/phalcon-devtools#556 - ๐ Fixed
Phalcon\Db\Dialect\Mysql::addForeignKey
to generate correct SQL #2604, phalcon/phalcon-devtools#556
- โ Added
-
v3.2.0 Changes
June 19, 2017- Phalcon will now trigger
E_DEPREACATED
by usingPhalcon\Mvc\Model\Criteria::addWhere
,Phalcon\Debug::getMajorVersion
,Phalcon\Dispatcher::setModelBinding
,Phalcon\Tag::resetInput
,Phalcon\Mvc\Model\Validator::__construct
- โ Added Factory Adapter loaders #11001
- โ Added ability to sanitize URL to
Phalcon\Filter
- โ Added missed
$type
argument to interfacePhalcon\Mvc\Model\Query\BuilderInterface::join()
to specify type join - โ Added
Phalcon\Mvc\Model::hasUpdated
andPhalcon\Mvc\Model:getUpdatedFields
, way to check if fields were updated after create/save/update - โ Added support for having option in
Phalcon\Paginator\Adapter\QueryBuilder
#12111 - โ Added
Phalcon\Config::path
to get a value using a dot separated path #12221 - โ Added service provider interface to configure services by context #12783
- โ Added the ability to load services from yaml (
Phalcon\Di::loadFromYaml
) and php array (Phalcon\Di::loadFromPhp
) files, so we can keep the references cleanly separated from code #12784 - โ Added
Phalcon\Cache\Backend\Apcu
to introduce pure support of APCu #12098, #11934 - โ Added
Phalcon\Annotations\Adapter\Apcu
to introduce pure support of APCu #12098 - Added option to disable snapshot update on create/save using
Phalcon\Mvc\Model::setup(['updateSnapshotOnSave' => false])
orphalcon.orm.update_snapshot_on_save = 0
inphp.ini
- โ Added
Phalcon\Mvc\Model\Manager::setModelPrefix
andPhalcon\Mvc\Model\Manager::getModelPrefix
to introduce tables prefixes #10328 - โ Added methods
Phalcon\Mvc\Model\Query\Builder::andHaving
,Phalcon\Mvc\Model\Query\Builder::orHaving
,Phalcon\Mvc\Model\Query\Builder::betweenHaving
,Phalcon\Mvc\Model\Query\Builder::notBetweenHaving
,Phalcon\Mvc\Model\Query\Builder::inHaving
,Phalcon\Mvc\Model\Query\Builder::notInHaving
- Added parameters
skip_on_insert
,skip_on_update
andallow_empty_string
and fixed a bug for renamed integer columns inPhalcon\Mvc\Model\MetaData\Strategy\Annotations::getMetaData
- โ Added way to disable setters in
Phalcon\Mvc\Model::assign
by usingPhalcon\Mvc\Model::setup
or ini option - โ Added ability to sanitize special characters to
Phalcon\Filter
- โ Added a new
Phalcon\Mvc\Model\Binder::findBoundModel
method. Params fetched from cache are being added tointernalCache
class property inPhalcon\Mvc\Model\Binder::getParamsFromCache
- โ Added
Phalcon\Mvc\Model\Criteria::createBuilder
to create a query builder from criteria - โ Added
dispatcher::beforeForward
event to allow forwarding request to the separated module #121, #12417 - โ Added
Phalcon\Security\Random:base62
to provide the largest value that can safely be used in URLs without needing to take extra characters into consideration #12105 - โ Added
Phalcon\Assets\ResourceInterface
. So nowPhalcon\Assets\Inline
andPhalcon\Assets\Resource
implementsResourceInterface
- โ Added
Phalcon\Assets\Collection::has
to checks whether the resource is added to the collection or not - โ Added
Phalcon\Cli\Dispatcher::getOption
,Phalcon\Cli\Dispatcher::hasOption
and the options as parameter to cli handlers - โ Added
Phalcon\Config\Adapter\Grouped
to allow usage of multiple configuration files/adapters in a simple format #12884 - โ Added
DISTINCT
type forPhalcon\Text::random
- โ Added autopadding feature for
Phalcon\Crypt::encryptBase64
andPhalcon\Crypt::decryptBase64
#12490 - ๐ Fixed Dispatcher forwarding when handling exception #11819, #12154
- ๐ Fixed params view scope for PHP 7 #12648
- ๐ Fixed
Phalcon\Mvc\Micro::handle
to prevent attemps to send response twice #12668 - ๐ Fixed
Di::set
,Di::setShared
to allow pass more than 10 arguments #12299 - ๐ Fixed
Phalcon\Mvc\Model\MetaData\Strategy\Annotations::getColumnMaps
where only renamed columns where returned if there was one - ๐ Fixed
Phalcon\Mvc\Micro:handle
to correctly handlebefore
handlers #10931 - ๐ Fixed
Phalcon\Mvc\Micro:handle
to correctly handleafterBinding
handlers - ๐ Fixed
Phalcon\Mvc\Model::hasChanged
to correctly use it with arrays #12669 - ๐ Fixed
Phalcon\Mvc\Model\Resultset::delete
to return result depending on success #11133 - ๐ Fixed
Phalcon\Session\Adapter::destroy
to correctly clear the$_SESSION
superglobal #12326, #12835 - ๐ Fixed
Phalcon\Assets\Collection:add
to avoid duplication of resources #10938, #2008 - ๐ Fixed
Phalcon\Mvc\View\Engine\Volt::compile
to not throw exception in case of absence the file andstat
option is true #12849 - ๐ Fixed
Phalcon\Mvc\Collection::getReservedAttributes
to workaround for PHP 7/7.1 bug with static null when extending class phalcon/incubator#762, phalcon/incubator#760 - Fixed
Phalcon\Cache\Backend\Redis::__construct
andPhalcon\Cache\Backend\Redis::_connect
to correctly handle the Redis auth option #12736 - ๐ Fixed
Phalcon\Mvc\Collection::getReservedAttributes
, added missing properties to reserved attributes phalcon/incubator#762, phalcon/incubator#760 - ๐ Fixed
Phalcon\Mvc\Router\Annotation::processActionAnnotation
to support PATCH request
- Phalcon will now trigger
-
v3.1.1 Changes
- ๐ Fixed undefined index warning on existing cached resultsets
- ๐ Fixed
Phalcon\Mvc\Model::_dowLowUpdate
warning first argument is not an array #12742
-
v3.1.0 Changes
- โ Added
Phalcon\Validation\Validator\Callback
,Phalcon\Validation::getData
- โ Added the ability to truncate database tables
- โ Added
Phalcon\Mvc\Model\Binder
, class used for binding models to parameters in dispatcher, micro, addedPhalcon\Dispatcher::getBoundModels
andPhalcon\Mvc\Micro::getBoundModels
to getting bound models, addedPhalcon\Mvc\Micro\Collection\LazyLoader::callMethod
- โ Added afterBinding event to
Phalcon\Dispatcher
andPhalcon\Mvc\Micro
, addedPhalcon\Mvc\Micro::afterBinding
- โ Added the ability to set custom Resultset class returned by find() #12166
- โ Added the ability to clear appended and prepended title elements (Phalcon\Tag::appendTitle, Phalcon\Tag::prependTitle). Now you can use array to add multiple titles. For more details check #12238.
- โ Added the ability to specify what empty means in the 'allowEmpty' option of the validators. Now it accepts as well an array specifying what's empty, for example ['', false]
- โ Added the ability to use
Phalcon\Validation
withPhalcon\Mvc\Collection
, deprecatedPhalcon\Mvc\Collection::validationHasFailed
- ๐ Fixes internal cache saving in
Phalcon\Mvc\Model\Binder
when no cache backend is used - โ Added
Phalcon\Acl\Adapter\Memory::getActiveKey
,Phalcon\Acl\Adapter\Memory::activeFunctionCustomArgumentsCount
andPhalcon\Acl\Adapter\Memory::getActiveFunction
to get latest key, number of custom arguments, and function used to acquire access - โ Added
Phalcon\Firewall
component
- โ Added
-
v3.0.4 Changes
- ๐ Fixed Isnull check is not correct when the model field defaults to an empty string. #12507
-
v3.0.3 Changes
December 24, 2016- ๐ Fixed implementation of Iterator interface in a
Phalcon\Forms\Form
that could cause a run-time warning - ๐ Fixed
Phalcon\Cache\Backend\Redis::get
,Phalcon\Cache\Frontend\Data::afterRetrieve
to allow get empty strings from the Redis database #12437 - ๐ Fixed
Phalcon\Cache\Backend\Redis::exists
to correct check if cache key exists for empty value in the Redis database #12434 - ๐ Fixed
Phalcon\Security::checkToken
to prevent possible timing attack #12418 - ๐ Fixed
Phalcon\Mvc\Model\Resultset\Simple
to save snapshot when caching - ๐ Fixed
Phalcon\Http\Request::getHeaders
to handle auth headers correctly #12480 - ๐ Fixed
Phalcon\Http\Request::getMethod
to handleX-HTTP-Method-Override
header correctly #12478 - ๐ Fixed
Phalcon\Mvc\Model\Criteria::limit
andPhalcon\Mvc\Model\Query\Builder::limit
to work withlimit
andoffset
properly #12419 - ๐ Fixed
Phalcon\Forms\Form
to correct form validation and set messages for elements #12465, #11500, #11135, #3167, #12395 - ๐ Fixed
Phalcon\Cache\Backend\Libmemcached::queryKeys
to correct query the existing cached keys #11024 - ๐ Fixed building extension for ImageMagick 7 mkoppanen/imagick#180
- ๐ Fixed
Phalcon\Cache\Backend\Redis::save
to allow save data termlessly #12327
- ๐ Fixed implementation of Iterator interface in a
-
v3.0.2 Changes
November 26, 2016- ๐ Fixed saving snapshot data while caching model #12170, #12000
- ๐ Fixed
Phalcon\Http\Response\Headers::send
to send correct status header #12179 - ๐ Fixed
Phalcon\Mvc\Model::setSnapshotData
,Phalcon\Mvc\Model\Resultset\Simple::toArray
by fixing an issue likefetch a, a[key]
using Zephir #11205, #12147 - ๐ Fixed
Phalcon\Cache\Backend\Memcache::flush
to remove all query keys after flush memcached #12182 - ๐ Fixed
Phalcon\Cache\Backend\Memory::delete
to correct remove items fromPhalcon\Cache\Backend\Memory::$_data
- ๐ Fixed
Phalcon\Cache\Frontend\Data::afterRetrieve
,Phalcon\Cache\Frontend\Igbinary::afterRetrieve
,Phalcon\Cache\Frontend\Msgpack::afterRetrieve
to unserialize only raw data #12186 - ๐ Fixed
Phalcon\Mvc\Model::cloneResultMapHydrate
to correct create array/objects from data by column map with types #12191 - ๐ Fixed
Phalcon\Validation\Validator\Confirmation::validate
to usefieldWith
instead offield
when looking up the value for labelWith. - ๐ Fixed
Phalcon\Cache\Backend\Redis::_connect
to useselect
redis internal function only when theindex
is greater than zero. - ๐ Fixed
Phalcon\Config\Adapter\Ini::_cast
to allow create extended config adapters #12230. - ๐ Fixed
Phalcon\Tag::appendTitle
,Phalcon\Tag::prependTitle
to stack title prepending and appending #12233. - ๐ Fixed
Phalcon\Debug::getVersion
to provide valid link to the latest Phalcon major version #12215 - Fixed
Phalcon\Session\Adapter\Libmemcached::read
,Phalcon\Session\Adapter\Libmemcached::destroy
,Phalcon\Session\Adapter\Memcache::read
,Phalcon\Session\Adapter\Memcache::destroy
,Phalcon\Session\Adapter\Redis::read
andPhalcon\Session\Adapter\Redis::destroy
in accordance with thesession_set_save_handler
API #12206 - ๐ Fixed
Phalcon\Validation::getValue()
to use filters when having entity - ๐ Fixed
Phalcon\Db\Dialect\Mysql::describeReferences()
andPhalcon\Db\Dialect\Postgresql::describeReferences()
to return proper sql - ๐ Fixed
Phalcon\Db\Column::hasDefault
to returnfalse
for autoincrement columns phalcon/phalcon-devtools#853 - ๐ Fixed
Phalcon\Db\Dialect\Postgresql::createTable
,Phalcon\Db\Dialect\Postgresql::addColumn
,Phalcon\Db\Dialect\Postgresql::modifyColumn
to correct escape default values #12267, phalcon/phalcon-devtools#859 - ๐ Fixed
Phalcon\Forms\Form::bind
to clean form elements #11978, #12165, #12099, #10044 - ๐ Fixed
Phalcon\Tag::resetInput
for proper use without attempts to clear$_POST
#12099 - ๐ Fixed
Phalcon\Db\Dialect\Mysql
andPhalcon\Db\Dialect\Postresql
to correctly check schema in missing methods - ๐ Fixed
Phalcon\Cache\Backend\Apc::flush
to remove only it's own keys by prefix #12153 - ๐ Fixed
Phalcon\Acl\Adapter\Memory::isAllowed
to call closures when using wildcard #12333 - ๐ Fixed
Phalcon\Validation\Validator\File
array to string conversion inminResolution
andmaxResolution
#12349 - ๐ Fixed
Phalcon\Cache\Backend\File::queryKeys()
to compare the filename against parsed prefix - Database identifiers are now properly escaped #12410
-
v3.0.1 Changes
August 24, 2016- ๐ Fixed
Phalcon\Cache\Backend\Redis::flush
in order to flush cache correctly - ๐ Fixed
Phalcon\Mvc\Model\Manager::getRelationRecords
to correct using multi relation column #12035 - ๐ Fixed
Phalcon\Acl\Resource
. Now it implementsPhalcon\Acl\ResourceInterface
#11959 - ๐ Fixed
save
method for all cache backends. Now it updates the_lastKey
property correctly #12050 - ๐ Fixed virtual foreign key check when having multiple keys #12071
Phalcon\Config\Adapter\Ini
constructor can now specifyparse_ini_file()
scanner mode #12079- ๐ Fixed
Phalcon\Cache\Backend\Apc::save
due to which theApc::increment
/Apc::decrement
could not be used properly #12109 - ๐ Fixed
Phalcon\Mvc\Model\Criteria::inWhere
so that now the second parameter can be an empty array #10676 - ๐ Fixed ORM related memory leak #12115, #11995, #12116
- ๐ Fixed incorrect
Phalcon\Mvc\View::getActiveRenderPath
behavior #12139 - ๐ Fixed
Phalcon\Security\Random::base64Safe
so that now the method returns correct safe string #12141 - ๐ Fixed the
Phalcon\Translate\Adapter\Gettext::getOptionsDefault
visibility #12157 - ๐ Enabled PHQL cache for PHP7 to improve performance and reuse plannings
- ๐ Fixed
-
v3.0.0 Changes
July 29, 2016- ๐ PHP 5.3 and 5.4 are now fully deprecated
- ๐
Phalcon\Mvc\Model\Validation
is now deprecated in favor ofPhalcon\Validation
- Changed default hash algorithm in
Phalcon\Security
toCRYPT_BLOWFISH_Y
- ๐ Changed constructor of
Phalcon\Mvc\Model
to allow pass an array of initialization data - โ Removed support for prefixes strategy in
Phalcon\Loader
- ๐ Now
Phalcon\Mvc\View
supports many views directories at the same time - An absolute path can now be used to
Mvc\View::setLayoutsDir
- ๐ Fixed odd view behavior#1933 related to setLayout() and pick()
Phalcon\Di
is now bound to services closures allowing usePhalcon\Di
as $this to access services within them- If an object is returned after firing the event
beforeServiceResolve
inPhalcon\Di
this overrides the default service localization process - Placeholders
:controller
and:action
inMvc\Router
now defaults to/([\\w0-9\\_\\-]+)
instead of/([\\a-zA-Z0-9\\_\\-]+)
- 0๏ธโฃ Modifier
#u
(PCRE_UTF8) is now default in regex based routes inMvc\Router
- Return 'false' from an action disables the view component (same as
$this->view->disable()
) - Return a string from an action takes it as the body of the response (same as return
$this->response->setContent('Hello world')
) - Return a string from an
Mvc\Micro
handler takes it as the body of the response Mvc\Router\Route
now escapes characters such as . or + to avoid unexpected behaviors- Closures used as handlers in
Mvc\Micro
are now bound to the $app instance - 0๏ธโฃ Routes now can have an associated callback that can override the default dispatcher + view behavior
Phalcon\Mvc\Model
now implementsJsonSerializable
making easy serialize model instances- When destructing a
Mvc\Model\Manager
PHQL cache is clean - ๐ Method
isSetOption
inPhalcon\Validation\ValidatorInterface
marked as deprecated, please usehasOption
- โ Added internal check "allowEmpty" before calling a validator. If it option is true and the value of empty, the validator is skipped
- โ Added default header:
Content-Type: "application/json; charset=UTF-8"
in methodPhalcon\Http\Response::setJsonContent
- Now
Phalcon\Events\Event
implementsPhalcon\Events\EventInterface
Phalcon\Events\Event::getCancelable
renamed toPhalcon\Events\Event::isCancelable
- โ Removed
Phalcon\Events\Manager::dettachAll
in favor ofPhalcon\Events\Manager::detachAll
Phalcon\Mvc\Model\Criteria::getOrder
renamed toPhalcon\Mvc\Model\Criteria::getOrderBy
- โ Added method
getOption()
inPhalcon\Mvc\Model\RelationInterface
- โ Added ability to spoof HTTP request method
- โ Added FULLTEXT index type to
Phalcon\Db\Adapter\Pdo\Mysql
- ๐ Fixed the use of the annotation router with namespaced controllers
- โ Added
Phalcon\Acl\RoleAware
andPhalcon\Acl\ResourceAware
Interfaces, Now you can pass objects toPhalcon\Acl\AdapterInterface::isAllowed
asroleName
andresourceName
, also they will be automatically passed to function defined inPhalcon\Acl\AdapterInterface::allow
orPhalcon\Acl\AdapterInterface::deny
by type Phalcon\Acl\AdapterInterface::allow
andPhalcon\Acl\AdapterInterface::deny
have 4th argument - function, which will be called when usingPhalcon\Acl\AdapterInterface::isAllowed
Phalcon\Acl\AdapterInterface::isAllowed
have 4th argument - parameters, you can pass arguments for function defined inPhalcon\Acl\AdapterInterface:allow
orPhalcon\Acl\AdapterInterface::deny
as associative array where key is argument name- โ Added method
getActionSuffix()
inPhalcon\DispatcherInterface
- CLI parameters are now handled consistently.
- โ Added
Phalcon\Mvc\Controller\BindModelInterface
and associated model type hint loading through dispatcher. - โ Added
Phalcon\Dispatcher::hasParam()
. Phalcon\Cli\Console
andPhalcon\Mvc\Application
now inheritPhalcon\Application
.- ๐ Fixed
afterFetch
event not being sent to behaviors - ๐ Fixed issue with radio not being checked when default value is 0 #11358
- ๐ Fixed issue with
Model::__set
that was bypassing setters #11286 - ๐ Fixed issue with
Model::__set
that was setting hidden attributes directly when setters are not declared #11286 - โ Added
Phalcon\Cli\DispatcherInterface
,Phalcon\Cli\TaskInterface
,Phalcon\Cli\RouterInterface
andPhalcon\Cli\Router\RouteInterface
. - โ Added
Phalcon\Mvc\Collection::update
,Phalcon\Mvc\Collection::create
andPhalcon\Mvc\Collection::createIfNotExist
- โ Removed
__construct
from all interfaces #11410 - ๐ป Fires the
dispatch:beforeException
event when there is any exception during dispatching #11458 - โ Added
OR
operator forPhalcon\Mvc\Model\Query\Builder
methods:betweenWhere
,notBetweenWhere
,inWhere
andnotInWhere
- ๐ Fixed bug of
destroy
method ofPhalcon\Session\Adapter\Libmemcached
- โ Added
Phalcon\Cache\Backend\Memcache::addServers
to enable pool of servers for memcache - โ Added
setLastModified
method toPhalcon\Http\Response
- โ Added
Phalcon\Validation\Validator\Date
- โ Added
\Phalcon\Queue\Beanstalk::ignore()
It removes the named tube from the watch list for the current connection. - โ Added
\Phalcon\Queue\Beanstalk::pauseTube()
Can delay any new job being reserved for a given time. - โ Added
\Phalcon\Queue\Beanstalk::kick()
It moves jobs into the ready queue. If there are any buried jobs, it will only kick buried jobs. Otherwise it will kick delayed jobs. - โ Added
\Phalcon\Queue\Beanstalk::listTubeUsed()
Returns the tube currently being used by the client. - โ Added
\Phalcon\Queue\Beanstalk::listTubesWatched()
Returns a list tubes currently being watched by the client. - โ Added
\Phalcon\Queue\Beanstalk::peekDelayed()
Return the delayed job with the shortest delay left. - โ Added
\Phalcon\Queue\Beanstalk::jobPeek()
Return job. - Mcrypt is replaced with openssl in
Phalcon\Crypt
- 0๏ธโฃ Default encrypt algorithm in
Phalcon\Crypt
is now changed toAES-256-CFB
- โ Removed methods setMode(), getMode(), getAvailableModes() in
Phalcon\CryptInterface
- โ Added
Phalcon\Assets\Manager::exists()
to check if collection exists Phalcon\Mvc\Model\Manager::load()
now can load models from aliased namespacesPhalcon\Mvc\Model\Transaction\Manager
now correctly keeps account of transactions #11554Phalcon\Db\Dialect\Sqlite
now maps additional column types to SQLite columns equivalents.- ๐
Phalcon\Security
is using nowPhalcon\Security\Random
- ๐ Enforced that
Phalcon\Security::getToken()
andPhalcon\Security::getTokenKey()
return a random value per request not per call - ๐
Phalcon\Security::getToken()
andPhalcon\Security::getTokenKey()
are using nowPhalcon\Security::_numberBytes
instead of passed as a argument or hardcoded value Phalcon\Security::hash()
corrected not working CRYPT_STD_DES, CRYPT_EXT_DES, MD5, CRYPT_SHA256- ๐
Phalcon\Security::hash()
CRYPT_SHA512 fixed wrong salt length - โ Added missing unit-tests for
Phalcon\Security
- ๐ Fixed
Filter::add
method handler #11581 - โ Removed
Phalcon\Session
#11340 - Phalcon\Tag::getTitle() shows a title depending on prependTitle and appendTitle
- Using a settable variable for the Mongo Connection Service name instead of a hard coded string #11725
- โ Added new getter
Phalcon\Mvc\Model\Query\Builder::getJoins()
- to get join parts from query builder - ๐ Fixed
Phalcon\Db\Dialect\Oracle::prepareTable()
to correctly generate SQL for table aliases #11799 - ๐ Fixed
Phalcon\Mvc\Model\Resultset::update()
- removed endless loop queries - The cache backend adapters now returns boolean on call
Phalcon\Cache\BackendInterface::save
- ๐ Fixed the Session write callback #11733
- โ Added '\Phalcon\Loader::registerFiles' & '\Phalcon\Loader::getFiles'. This allows you to add files to the autoloader
- โ Added
Phalcon\Security::hasLibreSsl
andPhalcon\Security::getSslVersionNumber
- โ Added new setter
Phalcon\Escaper::setDoubleEncode()
- to allow setting/disabling double encoding - โ Added
Phalcon\Cache\Frontend\Msgpack
- Added Msgpack Support for Frontend Cache Phalcon\Debug\Dump
skip debugging di, fix detecting private/protected properties- โ Added option to validate multiple fields with one validator(fix uniqueness validator as well), also removes unnecessary
model => $this
inPhalcon\Validation\Validator\Uniqueness
. Phalcon\Validation\Validator\Alpha
now correctly validates non-ASCII characters #11386Phalcon\Validation\Validator\Digit
now correctly validates digits #11374- โ Added
Phalcon\Validation\CombinedFieldsValidator
, validation will pass array of fields to this validator if needed - โ Added ability to autoescape Flash messages #11448
- ๐ Fixed
Phalcon\Config::merge
for working with php7 - โ Added ability to use custom delimiter for
Phalcon\Text::camelize
andPhalcon\Text::uncamelize
#10396 - โ Added support of
CONNECT
,TRACE
andPURGE
HTTP methods - ๐จ Refactored
Phalcon\Http\Request::getHttpHost
. Now it always return host name or empty string. Optionally validates and clean host name #2573 - โ Added
Phalcon\Http\Request::getPort
. To get information about the port on which the request is made. - โ Added
Phalcon\Http\Request::setStrictHostCheck
andPhalcon\Http\Request::isStrictHostCheck
to manage strict validation of host name. - ๐ Fixed matching host name by
Phalcon\Mvc\Route::handle
when using port on current host name #2573 - ๐ Fixed
Phalcon\Text:dynamic()
to allow custom separator #11215 - ๐ Fixed
Phalcon\Validation::appendMessage
to allow append message to the empty stack #10405 - ๐ Fixed
Phalcon\Session\Flash::getMessages
. Now it returns an empty array in case of non existent message type request #11941 - Amended
Phalcon\Mvc\RouterInterface
andPhalcon\Mvc\Router
. Added missedaddPurge
,addTrace
andaddConnect
methods - ๐ Fixed incorrect query when using NULL fields with
Phalcon\Validation\Validator\Uniqueness
- ๐ Fixed
Phalcon\Forms\Form::getValue
. Now Elements can have names that match with the internal Form getters #10398 - โ Add
setContentLength()
method toPhalcon\Http\Response
- ๐ Fixed
Phalcon\Mvc\Model\Manager::_mergeFindParameters
- Merging conditions #11987 - ๐ Renamed
Phalcon\Http\Request::isSoapRequest
toPhalcon\Http\Request::isSoap
andPhalcon\Http\Request::isSecureRequest
toPhalcon\Http\Request::isSecure
. Left the originals functions as aliases and marked them deprecated. - ๐ Fixed wildcard inheritance in
Phalcon\Acl\Adapter\Memory
#12004 - โฌ๏ธ Dropped support of Oracle #12008
- ๐ Improved
Phalcon\Mvc\Collection::findById
. Added check if aid
in a valid format #12010 - โ Added
convert
option toPhalcon\Validation\Validator\Uniqueness
to convert values to do the database lookup #12005