High performance, full-stack PHP framework delivered as a C extension.
BSD-3-CLAUSE License
Published by sergeyklay almost 6 years ago
Phalcon\Mvc\View\Engine\Volt\Compiler::functionCall
#13447
Phalcon\Db\Adapter\Pdo::query
to use PDO's prepare
and execute
and Phalcon\Db\Adapter::fetchAll
to use PDO's fetchAll
Phalcon\Validation\Validator\Numericality
to accept float numbers on locales with comma decimal point #13450
Phalcon\Tag
so it unsets parameters
before passing options array to self::renderAttributes
Phalcon\Http\Response::setFileToSend
filename; when file downloaded it had an extra _
Phalcon\Mvc\Model\Query::execute
to properly bind parameters to sub queries #11605
Phalcon\Http\Request::getJsonRawBody
#13501. It will now return false when the body content is empty, as well as when it encounters an error whilst decoding the JSON contentPhalcon\Validation::preChecking
to allow use Phalcon\Db\RawValue
as an empty container for isAllowEmpty
option #13549, #13573, #12519
Phalcon\Db\Adapter::insert
and Phalcon\Db\Adapter::update
#13058
Phalcon\Config\Adapter\Ini
not building config objects properly for numerical keys #12725, #13604
Phalcon\Config::_merge
not merging config with numeric properties properly #13351.Published by sergeyklay about 6 years ago
Phalcon\Cache\Backend\Redis
to support connection timeout parameterPhalcon\Validaiton\Validator\Uniqueness::isUniquenessModel
to properly get value of primary key when it has different name in column map #13398
Phalcon\Mvc\Router::getRouteByName
and Phalcon\Mvc\Router::getRouteById
calls for applications with many routesPhalcon\Db\Adapter\Pdo\Mysql::describeColumns
#13423
Phalcon\Http\Request::getPut
to provide json content-type support #12892, #13418
Published by sergeyklay over 6 years ago
Phalcon\Mvc\Router::attach
to add Route
object directly into Router
#13326
request:beforeAuthorizationResolve
and request:afterAuthorizationResolve
events. This ability enables using custom authorization resolvers #13327
afterFetch
in Phalcon\Mvc\Model:refresh
#12220
Phalcon\Http\Response::getReasonPhrase
to retrieve the reason phrase from the Status
header #13314
Phalcon\Loader::setFileCheckingCallback
to set internal file existence resolver #13360
Phalcon\Mvc\Collection::aggregate
#12302
Phalcon\Crypt::setHashAlgo
to set the name of hashing algorithm used to the calculating message digest #13379
Phalcon\Crypt::getHashAlgo
to get the name of hashing algorithm used to the calculating message digest #13379
Phalcon\Crypt::useSigning
to set if the calculating message digest must used (NOTE: This feature will be enabled by default in Phalcon 4.0.0) #13379
Phalcon\Crypt::getAvailableHashAlgos
to get a list of registered hashing algorithms suitable for calculating message digest #13379
Phalcon\Crypt::__construct
so now the cipher can be set at object construction and the calculating message digest can be enabled without the need to call setCipher
or useSigning
explicitly #13379
Phalcon\Crypt\Mismatch
. Exceptions thrown in Phalcon\Crypt
will use this class #13379
Phalcon\Http\Cookie::setSignKey
to set sign key used to generate a message authentication code (eg. message digest)Phalcon\Http\Response\Cookies::setSignKey
to set sign key used to generate a message authentication code (eg. message digest)Phalcon\Crypt::setCipher
so that IV length will be reconfigured during setting the cipher algorithmPhalcon\Crypt::setCipher
so that method will throw Phalcon\Crypt\Exception
if a cipher is unavailablePhalcon\Debug\Dump::output
to correctly work with detailed mode #13315
Phalcon\Mvc\Model\Query\Builder::having
and Phalcon\Mvc\Model\Query\Builder::where
to correctly merge the bind types #11487
Phalcon\Mvc\Model::setSnapshotData
to properly sets the old snapshotPublished by niden over 6 years ago
Phalcon\Db\Dialect\Mysql::modifyColumn
to produce valid SQL for renaming the column #13012
Phalcon\Forms\Form::getMessages
to return back previous behaviour: return array of messages with element name as key #13294
Phalcon\Mvc\Model\Behavior\SoftDelete::notify
to solve the exception that soft deletion renamed model #13302, #13306
E_DEPRECATED
error for each()
in Phalcon\Debug\Dump
#13253
Published by sergeyklay almost 7 years ago
switch/case
syntax to the Volt Engine #13107
Phalcon\Logger\Adapter\Blackhole
#13074
Phalcon\Http\Request::hasHeader
to check if certain header exists103 (Early Hint)
HTTP status coderouter:beforeMount
event to Router::mount
#13158
Phalcon\Mvc\Application::sendHeadersOnHandleRequest
to enable or disable sending headers by each request handling #13101
Phalcon\Mvc\Application::sendCookiesOnHandleRequest
to enable or disable sending cookies by each request handling #13101
Phalcon\Mvc\Model\MetaData\Apcu
#13078
Phalcon\Config\Factory::load()
Phalcon\Mvc\Mico\Collection::mapVia
to map routes via methodsPhalcon\Mvc\Model::setOldSnapshotData
to set old snapshot data separately to current snapshot dataPhalcon\Http\Response::removeHeader
to remove specific header from responsePhalcon\Mvc\Query::setTransaction
to enable an override transaction #13226
Phalcon\Mvc\Model\Query\Builder::getPhql
to correct generate PHQL in argument's array when using order DESC or ASC #11827
Phalcon\Db\Dialect\Postgresql::createTable
to produce valid SQL for table definition with BOOLEAN
types #13132
Phalcon\Db\Dialect\Postgresql::_castDefault
to return correct value for BOOLEAN
type #13132, phalcon/phalcon-devtools#1118
Phalcon\Mvc\Model::_doLowInsert
to correct save snapshot on creation/save identityless models #13166
Phalcon\Mvc\Model::_doLowUpdate
to correctly work with Phalcon\Db\RawValue
#13170
Phalcon\Mvc\Model::allowEmptyStringValues
to correct works with saving empty string values when DEFAULT not set in SQLPhalcon\Mvc\Model\Behavior\SoftDelete
to correctly update snapshots after deleting itemPhalcon\Mvc\Model
to set old snapshot when no fields are changed when dynamic update is enabledPhalcon\Acl\Adapter\Memory::isAllowed
to properly pass role and resource objects to custom function if they are objects of the same classPhalcon\Mvc\Model
to allow to pass a transaction within the query context #13226
Published by sergeyklay about 7 years ago
Phalcon\Mvc\Model\Query::_executeSelect
threw RuntimeException, if db:beforeQuery() returned falsePhalcon\Validation\Validator\File::validate
to work properly with parameter 'message' #12947
Phalcon\Mvc\View::render
to render a view with params #13046
Phalcon\Mvc\Model\Manager::getRelationRecords
to work properly with provided columns #12972
Phalcon\Mvc\Model\Query\Builder::$_with
parameter #13023
Phalcon\Dispatcher::dispatch
to ensure proper flow for all forward/exception/dispatch event hooks #12931
Published by sergeyklay about 7 years ago
Phalcon\Db\Adapter\Pdo\Postgresql::describeColumns
to work properly with DOUBLE PRECISION
and REAL
data types #12842
Phalcon\Paginator\Adapter\QueryBuilder::getPaginate
to use the db connection service of the model #12957
Phalcon\Paginator\Adapter\QueryBuilder::getPaginate
to escape reserved words #12950
Phalcon\Dispatcher::dispatch
to correct forward with the modified action suffix #12988
Phalcon\Forms\Element::_construct
to prevent create form element with empty name #12954
Published by sergeyklay over 7 years ago
Phalcon\Db\Dialect\Mysql::getForeignKeyChecks
to generate a SQL to check the foreign key settings #2604, phalcon/phalcon-devtools#556
Phalcon\Config::merge
across minor version of PHP7 #12779
Phalcon\Mvc\Model\Query\Builder
methods: _conditionNotIn
, _conditionIn
, _conditionNotBetween
and _conditionBetween
to allow 3rd party libraries extend itPhalcon\Assets\Manager::output
, implemented missing resource type filtering for mixed resource collections #2408
Phalcon\Http\Response::getStatusCode
to return (int) HTTP code only, instead of full string #12895
Phalcon\Db\Dialect\Postgresql::addForeignKey
for proper creating the foreign key without a namePhalcon\Cache\Backend\Apcu::flush
to use APCu instead APC #12934
Phalcon\Db\Adapter\Pdo\Mysql::addForeignKey
for proper creating the foreign key with a desired key name #2604, phalcon/phalcon-devtools#556
Phalcon\Db\Dialect\Mysql::addForeignKey
to generate correct SQL #2604, phalcon/phalcon-devtools#556
Published by sergeyklay over 7 years ago
E_DEPREACATED
by using Phalcon\Mvc\Model\Criteria::addWhere
, Phalcon\Debug::getMajorVersion
, Phalcon\Dispatcher::setModelBinding
, Phalcon\Tag::resetInput
, Phalcon\Mvc\Model\Validator::__construct
Phalcon\Filter
$type
argument to interface Phalcon\Mvc\Model\Query\BuilderInterface::join()
to specify type joinPhalcon\Mvc\Model::hasUpdated
and Phalcon\Mvc\Model:getUpdatedFields
, way to check if fields were updated after create/save/updatePhalcon\Paginator\Adapter\QueryBuilder
#12111
Phalcon\Config::path
to get a value using a dot separated path #12221
Phalcon\Di::loadFromYaml
) and php array (Phalcon\Di::loadFromPhp
) files, so we can keep the references cleanly separated from code #12784
Phalcon\Cache\Backend\Apcu
to introduce pure support of APCu #12098, #11934
Phalcon\Annotations\Adapter\Apcu
to introduce pure support of APCu #12098
Phalcon\Mvc\Model::setup(['updateSnapshotOnSave' => false])
or phalcon.orm.update_snapshot_on_save = 0
in php.ini
Phalcon\Mvc\Model\Manager::setModelPrefix
and Phalcon\Mvc\Model\Manager::getModelPrefix
to introduce tables prefixes #10328
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
skip_on_insert
, skip_on_update
and allow_empty_string
and fixed a bug for renamed integer columns in Phalcon\Mvc\Model\MetaData\Strategy\Annotations::getMetaData
Phalcon\Mvc\Model::assign
by using Phalcon\Mvc\Model::setup
or ini optionPhalcon\Filter
Phalcon\Mvc\Model\Binder::findBoundModel
method. Params fetched from cache are being added to internalCache
class property in Phalcon\Mvc\Model\Binder::getParamsFromCache
Phalcon\Mvc\Model\Criteria::createBuilder
to create a query builder from criteriadispatcher::beforeForward
event to allow forwarding request to the separated module #121, #12417
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
Phalcon\Assets\ResourceInterface
. So now Phalcon\Assets\Inline
and Phalcon\Assets\Resource
implements ResourceInterface
Phalcon\Assets\Collection::has
to checks whether the resource is added to the collection or notPhalcon\Cli\Dispatcher::getOption
, Phalcon\Cli\Dispatcher::hasOption
and the options as parameter to cli handlersPhalcon\Config\Adapter\Grouped
to allow usage of multiple configuration files/adapters in a simple format #12884
DISTINCT
type for Phalcon\Text::random
Phalcon\Crypt::encryptBase64
and Phalcon\Crypt::decryptBase64
#12490
Phalcon\Mvc\Micro::handle
to prevent attemps to send response twice #12668
Di::set
, Di::setShared
to allow pass more than 10 arguments #12299
Phalcon\Mvc\Model\MetaData\Strategy\Annotations::getColumnMaps
where only renamed columns where returned if there was onePhalcon\Mvc\Micro:handle
to correctly handle before
handlers #10931
Phalcon\Mvc\Micro:handle
to correctly handle afterBinding
handlersPhalcon\Mvc\Model::hasChanged
to correctly use it with arrays #12669
Phalcon\Mvc\Model\Resultset::delete
to return result depending on success #11133
Phalcon\Session\Adapter::destroy
to correctly clear the $_SESSION
superglobal #12326, #12835
Phalcon\Assets\Collection:add
to avoid duplication of resources #10938, #2008
Phalcon\Mvc\View\Engine\Volt::compile
to not throw exception in case of absence the file and stat
option is true #12849
Phalcon\Mvc\Collection::getReservedAttributes
to workaround for PHP 7/7.1 bug with static null when extending class phalcon/incubator#762, phalcon/incubator#760
Phalcon\Cache\Backend\Redis::__construct
and Phalcon\Cache\Backend\Redis::_connect
to correctly handle the Redis auth option #12736
Phalcon\Mvc\Collection::getReservedAttributes
, added missing properties to reserved attributes phalcon/incubator#762, phalcon/incubator#760
Phalcon\Mvc\Router\Annotation::processActionAnnotation
to support PATCH requestPublished by sergeyklay over 7 years ago
Phalcon\Validation\Validator\Callback
, Phalcon\Validation::getData
Phalcon\Mvc\Model\Binder
, class used for binding models to parameters in dispatcher, micro, added Phalcon\Dispatcher::getBoundModels
and Phalcon\Mvc\Micro::getBoundModels
to getting bound models, added Phalcon\Mvc\Micro\Collection\LazyLoader::callMethod
Phalcon\Dispatcher
and Phalcon\Mvc\Micro
, added Phalcon\Mvc\Micro::afterBinding
Phalcon\Validation
with Phalcon\Mvc\Collection
, deprecated Phalcon\Mvc\Model\Validator
classesPhalcon\Acl\Adapter\Memory
Phalcon\Mvc\Model\Binder
, added Phalcon\Mvc\Micro::getModelBinder
, Phalcon\Dispatcher::getModelBinder
prepend
parameter to Phalcon\Loader::register
to specify autoloader's loading order to top mostPhalcon\Mvc\Model\Binder
when no cache backend is usedPhalcon\Session\Bag::remove
to initialize the bag before removing a value #12647
Phalcon\Mvc\Model::getChangedFields
to correct detect changes from NULL to Zero #12628
Phalcon\Mvc\Model
to create/refresh snapshot after create/update/refresh operation #11007, #11818, #11424
Phalcon\Mvc\Model::validate
to correctly set code message #12645
Phalcon\Mvc\Model
to correctly add error when try to save empty string value to not null and not default column #12688
Phalcon\Validation\Validator\Uniqueness
collection persistent conditionPhalcon\Loader::autoLoad
to prevent PHP warning #12684
Phalcon\Mvc\Model\Query::_executeSelect
to correctly get the column map #12715
Published by sergeyklay over 7 years ago
Next public alpha for 3.1.x series
Published by sergeyklay over 7 years ago
First public alpha for 3.1.x series
Published by sergeyklay over 7 years ago
Phalcon\Forms\Element::label
to accept 0 as label instead of validating it as empty. #12148
Phalcon\Crypt::getAvailableCiphers
, Phalcon\Crypt::decrypt
, Phalcon\Crypt::encrypt
by getting missed aliases for ciphers #12539
Phalcon\Mvc\Model
by adding missed use
statement for ResultsetInterface
#12574
Phalcon\Validation\Validator\Uniquenss
to allow using except fields other than unique fieldsPhalcon\Translate\Adapter\Gettext::query
and removed ability to pass custom domain #12598, #12606
Phalcon\Validation\Message\Group::offsetUnset
to correct unsetting a message by index #12455
Phalcon\Acl\Role
and Phalcon\Acl\Resource
as parameters for Phalcon\Acl\Adapter\Memory::isAllowed
Published by sergeyklay almost 8 years ago
Phalcon\Forms\Form
that could cause a run-time warningPhalcon\Cache\Backend\Redis::get
, Phalcon\Cache\Frontend\Data::afterRetrieve
to allow get empty strings from the Redis database #12437
Phalcon\Cache\Backend\Redis::exists
to correct check if cache key exists for empty value in the Redis database #12434
Phalcon\Security::checkToken
to prevent possible timing attack #12418
Phalcon\Mvc\Model\Resultset\Simple
to save snapshot when cachingPhalcon\Http\Request::getHeaders
to handle auth headers correctly #12480
Phalcon\Http\Request::getMethod
to handle X-HTTP-Method-Override
header correctly #12478
Phalcon\Mvc\Model\Criteria::limit
and Phalcon\Mvc\Model\Query\Builder::limit
to work with limit
and offset
properly #12419
Phalcon\Forms\Form
to correct form validation and set messages for elements #12465, #11500, #11135, #3167, #12395
Phalcon\Cache\Backend\Libmemcached::queryKeys
to correct query the existing cached keys #11024
Phalcon\Cache\Backend\Redis::save
to allow save data termlessly #12327
Published by sergeyklay almost 8 years ago
Phalcon\Http\Response\Headers::send
to send correct status header #12179
Phalcon\Mvc\Model::setSnapshotData
, Phalcon\Mvc\Model\Resultset\Simple::toArray
by fixing an issue like fetch a, a[key]
using Zephir #11205, #12147
Phalcon\Cache\Backend\Memcache::flush
to remove all query keys after flush memcached #12182
Phalcon\Cache\Backend\Memory::delete
to correct remove items from Phalcon\Cache\Backend\Memory::$_data
Phalcon\Cache\Frontend\Data::afterRetrieve
, Phalcon\Cache\Frontend\Igbinary::afterRetrieve
, Phalcon\Cache\Frontend\Msgpack::afterRetrieve
to unserialize only raw data #12186
Phalcon\Mvc\Model::cloneResultMapHydrate
to correct create array/objects from data by column map with types #12191
Phalcon\Validation\Validator\Confirmation::validate
to use fieldWith
instead of field
when looking up the value for labelWith.Phalcon\Cache\Backend\Redis::_connect
to use select
redis internal function only when the index
is greater than zero.Phalcon\Config\Adapter\Ini::_cast
to allow create extended config adapters #12230.Phalcon\Tag::appendTitle
, Phalcon\Tag::prependTitle
to stack title prepending and appending #12233.Phalcon\Debug::getVersion
to provide valid link to the latest Phalcon major version #12215
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
and Phalcon\Session\Adapter\Redis::destroy
in accordance with the session_set_save_handler
API #12206
Phalcon\Validation::getValue()
to use filters when having entityPhalcon\Db\Dialect\Mysql::describeReferences()
and Phalcon\Db\Dialect\Postgresql::describeReferences()
to return proper sqlPhalcon\Db\Column::hasDefault
to return false
for autoincrement columns phalcon/phalcon-devtools#853
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
Phalcon\Forms\Form::bind
to clean form elements #11978, #12165, #12099, #10044
Phalcon\Tag::resetInput
for proper use without attempts to clear $_POST
#12099
Phalcon\Db\Dialect\Mysql
and Phalcon\Db\Dialect\Postresql
to correctly check schema in missing methodsPhalcon\Cache\Backend\Apc::flush
to remove only it's own keys by prefix #12153
Phalcon\Acl\Adapter\Memory::isAllowed
to call closures when using wildcard #12333
Phalcon\Validation\Validator\File
array to string conversion in minResolution
and maxResolution
#12349
Phalcon\Cache\Backend\File::queryKeys()
to compare the filename against parsed prefixPublished by sergeyklay about 8 years ago
Phalcon\Cache\Backend\Redis::flush
in order to flush cache correctlyPhalcon\Mvc\Model\Manager::getRelationRecords
to correct using multi relation column #12035
Phalcon\Acl\Resource
. Now it implements Phalcon\Acl\ResourceInterface
#11959
save
method for all cache backends. Now it updates the _lastKey
property correctly #12050
Phalcon\Config\Adapter\Ini
constructor can now specify parse_ini_file()
scanner mode #12079
Phalcon\Cache\Backend\Apc::save
due to which the Apc::increment
/Apc::decrement
could not be used properly #12109
Phalcon\Mvc\Model\Criteria::inWhere
so that now the second parameter can be an empty array #10676
Phalcon\Mvc\View::getActiveRenderPath
behavior #12139
Phalcon\Security\Random::base64Safe
so that now the method returns correct safe string #12141
Phalcon\Translate\Adapter\Gettext::getOptionsDefault
visibility #12157