High performance, full-stack PHP framework delivered as a C extension.
BSD-3-CLAUSE License
Published by niden over 4 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Volt::convertEncoding
to no longer using iconv
for a fallback since it causes issues with macOS #14912
Phalcon\Db\Dialect\Mysql
- unquote numerical defaults #14888, #14974
FALSE
to Enum::DENY
#14974
Phalcon\Http\Response::__construct
checks content
data type. Now a TypeError
will be thrown if incompatible data type was passed #14983
Phalcon\Flash\FlashInterface
's methods: error
, message
, notice
, success
and warning
#14994
Phalcon\Mvc\ModelInterface::sum
#15000
Phalcon\Mvc\Model\Criteria::getLimit
so that integer, NULL or array will be returned #15004
Phalcon\Mvc\Model\Manager::getCustomEventsManager
to return NULL instead of boolean FALSE if there is no special events manager #15008
Phalcon\Mvc\Model\MetaData::getDI
so that now it will throw a Phalcon\Mvc\Model\Exception
if there is no DiInterface
instance #15011
Phalcon\Http\Request::getJsonRawBody
to use json_decode
instead of Phalcon\Json::decode
#14936
Phalcon\Factory\AbstractFactory
to expose getService
which will throw an exception if it does not exist. Removed checkService
and adjusted all references in newInstance()
calls. #15038
Phalcon\Http\Message\Response
, Phalcon\Http\Message\ServerRequest
and Phalcon\Http\Message\Uri
to work with clone
. #15040
Phalcon\Mvc\Model\Query\Builder::getPhql
to add single quote between string value on a simple condition #14874
{{ ... }}
) #14476
Tag::friendlyTitle
to correctly convert titles under MacOS and Windows #14866
cache
fragments and thus searching for the viewCache
service (deprecated for v4) #14907
IN
operator precedence in Volt #14816
Phalcon\Acl\AbstractAdapter
's methods: getActiveAccess
, getActiveRole
and getActiveComponent
#14974
Phalcon\Annotations\Annotation
's properties: $arguments
and $exprArguments
#14977
Phalcon\Annotations\Annotation
's methods: getArgument
, getName
and getNamedArgument
#14977
Phalcon\Http\Response\Cookies::setSignKey
#14982
Phalcon\Config\ConfigFactory::load
and Phalcon\Config\ConfigFactory::newInstance
to explicitly indicate the return type as Phalcon\Config
instance #14978
Phalcon\Dispatcher\AbstractDispatcher::dispatch
Phalcon\Dispatcher\DispatcherInterface::dispatch
Phalcon\Filter::get
Phalcon\Http\Message\AbstractCommon::cloneInstance
Phalcon\Http\Message\AbstractCommon::processWith
Phalcon\Http\Message\AbstractMessage::withAddedHeader
Phalcon\Http\Message\AbstractMessage::withBody
Phalcon\Http\Message\AbstractMessage::withHeader
Phalcon\Http\Message\AbstractMessage::withProtocolVersion
Phalcon\Http\Message\AbstractMessage::withoutHeader
Phalcon\Http\Message\AbstractRequest::withMethod
Phalcon\Http\Message\AbstractRequest::withRequestTarget
Phalcon\Http\Message\AbstractRequest::withUri
Phalcon\Mvc\Model\Binder::findBoundModel
Phalcon\Validation::getEntity
Phalcon\Validation\ValidationInterface::getEntity
Phalcon\Crypt::$key
to satisfy the interface #14989
Phalcon\Di::getInternalEventsManager
#14992
Phalcon\Flash\AbstractFlash
's methods: error
, notice
, success
and warning
#14994
Phalcon\Translate\InterpolatorFactory::newInstance
#14996
Phalcon\Mvc\Model::sum
#15000
Phalcon\Mvc\Model\CriteriaInterface::getLimit
and Phalcon\Mvc\Model\Criteria::getLimit
to follow documentation and original purpose #15004
Phalcon\Mvc\Model::count
and Phalcon\Mvc\ModelInterface::count
to reflect original behavior #15006
Phalcon\Mvc\Model::getEventsManager
to reflect original behavior #15008
Phalcon\Mvc\Model::average
and Phalcon\Mvc\ModelInterface::average
to reflect original behavior #15013
Phalcon\Mvc\Model\MetaData::getColumnMap
and Phalcon\Mvc\Model\MetaData::getReverseColumnMap
to reflect original behavior #15015
Phalcon\Mvc\Model\MetaDataInterface::getColumnMap
and Phalcon\Mvc\Model\MetaDataInterface::getReverseColumnMap
to reflect original behavior #15015
Phalcon\Mvc\Model\CriteriaInterface::getColumns
and Phalcon\Mvc\Model\Criteria::getColumns
to reflect original behavior #15017
Phalcon\Db\Column::getSize
and Phalcon\Db\ColumnInterface::getSize
to reflect original behavior #15019
Phalcon\Db\Column::getAfterPosition
and Phalcon\Db\ColumnInterface::getAfterPosition
to reflect original behavior #15021
Phalcon\Mvc\Model\Manager::executeQuery
and Phalcon\Mvc\Model\Manager::ManagerInterface
to reflect original behavior #15024
Phalcon\Mvc\Model\Resultset::getFirst
and Phalcon\Mvc\Model\ResultsetInterface::getFirst
to reflect original behavior #15027
Phalcon\Mvc\Model\Query::_prepareSelect
to properly prepare a SQL SELECT
statement from a PHQL one #14657
SerializerInterface
usage for Phalcon\Mvc\Model\Resultset\Complex::unserialize
as well as Phalcon\Mvc\Model\Resultset\Complex::unserialize
#14942
Phalcon\Translate\InterpolatorFactory::$mapper
as well as Phalcon\Translate\InterpolatorFactory::$services
in favor of Phalcon\Factory\AbstractFactory
ones #15036
Published by niden over 4 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Phalcon\Db::fetchAll
to correctly return data when Enum::FETCH_COLUMN
is supplied. #13321
Str::dirFromFile()
to replace .
with -
to avoid issues with Windows environments #14858
Published by niden over 4 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Phalcon\Db\Adapter\Pdo\Postgresql
to correctly identify bool
fields instead of treating them as tinyint
#14722 @tidytrax
Phalcon\Cli\Console
to pass current container to the Phalcon\Mvc\ModuleDefinitionInterface::registerAutoloaders()
#14787 @TimurFlush
Phalcon\Db\Dialect\Mysql::createTable()
to create default value with CURRENT_TIMESTAMP ON UPDATE/DELETE [#14797]Phalcon\Storage\Adapter\*
to no longer accept the serializer
option as it was clashing with the factory #14828
Phalcon\Http\Request
to return the correct host on an UnexpectedValueException
#14763
Phalcon\Assets\Collection
to initialize position
to 0 #14848
Published by niden over 4 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Phalcon\Db\Adapter\Pdo\Mysql
Tinyint(1) is handled as boolean under MySql #14708
Phalcon\Mvc\View\Engine\Volt
to produce the correct order of variables for the join
filter #14771
Phalcon\Storage\Adapter\Stream::getKeys()
bug in the absence of a directory with a prefix name #14725, #14721
Phalcon\Debug::onUncaughtException
Should accept \Throwable
instead of \Exception
as an argument #14738
Phalcon\Validation\ValidatorFactory
Should return Phalcon\Validation\ValidatorInterface 14749
Phalcon\Mvc\Model\Binder
to now correctly call has
and set
on the cache object #14743
Phalcon\Session\Adapter\Stream
and Phalcon\Storage\Adapter\Stream
to correctly handle simultaneous read/write #14694
Phalcon\Config\ConfigFactory
to always add the correct extension #14756
Published by ruudboon almost 5 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Published by sergeyklay almost 5 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Phalcon\Logger
to use DateTimeImmutable
so as to handle microseconds if necessary. #2893
Phalcon\Http\Cookie::send
and Phalcon\Http\Cookie::delete
to allow for samesite
to be passed in the options
when using PHP > 7.3 #14627
Phalcon\Mvc\Model\Criteria
Di isn't set when using Criteria::fromInput()
#14538
Phalcon\Db\Dialect\Mysql
removing unnecessary parentheses for double
and float
#14645 @pfz
Phalcon\Http\Cookie::delete
to parse the correct parameters - cannot use alternative syntax until PHP 7.3 #14643
Phalcon\Mvc\Model::__isset
to take into account non visible properties by checking the getter if it exists #13518 #13900
Phalcon\Mvc\Model::__set
to return a more informative message if we are tying to access a non visible property #13518 #13900
Phalcon\Mvc\Model\Resultset\Simple::toArray
to correctly process virtual fields #14669
Phalcon\Session\Manager::getUniqueKey
to prefix the key only if uniqueId
is present #14688
Phalcon\Db\Adapter\Pdo::describeColumns
to correctly detect ENUM columns #14691
Published by sergeyklay almost 5 years ago
Supported PHP Versions: 7.2, 7.3, 7.4
Phalcon\Model::findFirstBy*
and Phalcon\Model::findBy*
to process passed parameters (for order
etc.) #14573
Phalcon\Helper\Str::decrement
to remove a number from a string or decrements that number if it already is defined #14599
Phalcon\Domain\Payload\*
#14575
Phalcon\Http\Cookie
in the constructor as well as getOptions
and setOptions
(ref #14627 - future work) #14575
Phalcon\Http\Response\Cookies
in the set()
(ref #14627 - future work) #14575
Phalcon\Mvc\Router\Annotations
to use converters
instead of conversors
#14532
Phalcon\Di::setRaw
to Phalcon\Di::setService
to align more with the use of the method #14555
Phalcon\Http\CookieInterface
to Phalcon\Http\Cookie\CookieInterface
to avoid confusion #14602
Phalcon\Storage\Adapter\*::getKeys
to accept an optional $prefix
so as to filter the keys returned #14575
"c"
date mask for better sorting #14575
Phalcon\Storage\Adapter\*
constructors to require the Phalcon\Storage\SerializerFactory
object #14575
PhalconMvc\Model
to ignore internal setters if properties have the same name as the setter #14538
Phalcon\Logger\Formatter\Line
to not add PHP_EOL
at the end of the message and added it to the Phalcon\Logger\Adapter\Stream
#14547
Phalcon\Mvc\Model\MetaData\Apcu
and Phalcon\Mvc\Model\MetaData\Redis
to allow setting the prefix
and lifetime
using the options or use the default. #14549
Phalcon\Storage\Adapter\AbstractAdapter
, Phalcon\Storage\Adapter\AbstractInterface
getters to contain a default valuePhalcon\Storage\Adapter\Memory
initializing the array store correctly #14551
Phalcon\Storage\Adapter\Stream
to capture notice if the stream is not opened properly #14551
Phalcon\Security::getRandomBytes
to return int
#14551
Phalcon\Security
to use 10
as the default work factor #14551
Phalcon\Helper\Arr::validateAny
and Phalcon\Helper\Arr::validateAll
to use null
as default for the callback method #14551
Phalcon\Escaper::escapeHtml
and Phalcon\Escaper::escapeHtmlAttr
to allow null
values #14553
Phalcon\Mvc\Model::cloneResultMap
to correctly recognize aliased fields and include them in the resultset #14488
Phalcon\Http\Request::getQuery
,Phalcon\Http\Request::getPut
,Phalcon\Http\Request::getPost
to treat 0
as non empty for allowNoEmpty
#14556
Phalcon\Router::handle()
to use the /
route on empty string #14559
Phalcon\Storage\Adapter\Libmemcached::getKeys
and Phalcon\Storage\Adapter\Redis::getKeys
to return the keys that are prefixed only for that adapter #14575
newInstance
and not a cached one from the internal mapper #14584
Phalcon/Annotations/AnnotationsFactory
Phalcon/Cache/AdapterFactory
Phalcon/Config/ConfigFactory
Phalcon/Db/Adapter/PdoFactory
Phalcon/Image/ImageFactory
Phalcon/Logger/AdapterFactory
Phalcon/Paginator/PaginatorFactory
Phalcon/Storage/AdapterFactory
Phalcon/Storage/SerializerFactory
Phalcon/Translate/InterpolatorFactory
Phalcon/Translate/TranslateFactory
Phalcon/Validation/ValidatorFactory
Phalcon\Mvc\Model::cloneResultMap
to cast integers when fields are TYPE_BIGINTEGER
, TYPE_INTEGER
, TYPE_MEDIUMINTEGER
, TYPE_SMALLINTEGER
, TYPE_TINYINTEGER
#14584
Phalcon\Http\Response::setCookies
to use the correct interface #14602
Phalcon\Test\Unit\Image\Adapter\Gd::processBackground
to correctly calculate the alpha value #14609
Phalcon\Logger\Adapter\AdapterInterface
adding missing inTransaction()
#14575
Phalcon\Mvc\Model::cloneResultsetMap
to remove fatal error when looking up the columnMap. #14619
Phalcon\Http\Request\FileInterface
by adding getError
that was missing. #14633
Published by sergeyklay almost 5 years ago
Phalcon\Html\Link\Link
Phalcon\Html\Link\LinkProvider
Phalcon\Html\Link\EvolvableLink
Phalcon\Html\Link\EvolvableLinkProvider
Phalcon\Html\Link\Serializer\Header
Phalcon\Html\Link\Serializer\SerializerInterface
Phalcon\Collection:getKeys
and Phalcon\Collection\getValues
for getting data from the collection #14507
Phalcon\Mvc\Model
and Phalcon\Mvc\Model\Manager
#14511
Phalcon\Mvc\Model::hasOneThrough()
Phalcon\Mvc\Model\Manager::addHasOneThrough()
Phalcon\Mvc\Model\Manager::existsHasOneThrough()
Phalcon\Mvc\Model\Manager::getHasOneThrough()
Phalcon\Mvc\Model\ManagerInterface::addHasOneThrough()
Phalcon\Mvc\Model\ManagerInterface::existsHasOneThrough()
Phalcon\Mvc\Model\ManagerInterface::getHasOneThrough()
Phalcon\Http\Request::numFiles
to return the number of files in the request #14519
Phalcon\Paginator\Adapter\Model
data
parametermodel
parameter to pass model classparameters
which is used as the parameter Model::find()
Phalcon\Annotations\AnnotationsFactory:newInstance
to return the correct object back #14494
Phalcon\Db\Adapter\PdoFactory::load()
now returns Phalcon\Db\Adapter\AdapterInterface
Phalcon\Db\Adapter\PdoFactory::newInstance()
now returns Phalcon\Db\Adapter\AdapterInterface
Phalcon\Logger\LoggerFactory::load()
now returns Phalcon\Logger
Phalcon\Validation\ValidatorFactory::newInstance
now returns Phalcon\Factory\ValidatorInterface
Phalcon\Container:get
to use getShared
transparently #14502
Phalcon\Mvc\Model
to include correct model instances in messages metadata #14510
Phalcon\Di\Injectable::__get()
to return shared instance by default #14491
Phalcon\Mvc\View::loadTemplateEngines()
to not share engine with other views by default #14491
Phalcon\Mvc\Model\Manager::getRelations()
and getRelationsBetween()
to return many-to-many relations correctly #14509
Phalcon\Logger
to correctly allow transactional logging #14514
Phalcon\Annotations\Adapter\Stream::read
and Phalcon\Annotations\Adapter\Stream::write
to use serialize
/unserialize
vs. var_export
#14515
Phalcon\Http\Request::hasFiles
to return boolean and true
if files are present #14519
Phalcon\Logger\Adapter\Syslog
to correctly log Syslog messages #14522
Phalcon\Mvc\Model\MetaDataInterface::getIdentityField
and Phalcon\Mvc\Model\MetaData::getIdentityField
to also return null
if the identity field is not present #14523
Phalcon\Storage\Serializer\Json
to serialize objects that implement the JsonSerializable
interface #14528
Phalcon\Collection
to correctly return one level nested objects that implement JsonSerializable
#14528
Phalcon\Mvc\View
to only include first found instance of view when using multiple view directories #12977
Phalcon\Logger\Formatter\Syslog
- really did not do much #14523
Published by sergeyklay almost 5 years ago
Published by sergeyklay almost 5 years ago
cast
parameter to Phalcon\Collection::get
and Phalcon\Helper\Arr::get
allowing developers to cast the result returned to the type they want to. #14465
Phalcon\Paginator\Repository::jsonSerialize()
implementing JsonSerializable
#14475
Phalcon\Logger::getLogLevel()
and Phalcon\Logger::setLogLevel()
setting the minimum log level for the logger #14480
new <object>
to use the create_instance
or create_instance_params
for better performance. #14419
Phalcon\Mvc\Model::getChangedFields
and Phalcon\Mvc\Model::getUpdatedFields
when there is no snapshot setup #14468
Phalcon\Mvc\Model::__callStatic()
to throw an exception if the called method is unknown. #14467
Phalcon\Mvc\Model
to accept 0
, null
and ""
as valid parameter for findByField()
, findFirstByField()
and countByField()
. #14467
Phalcon\Mvc\View\Engine\Volt\Compiler::parse()
Corrected syntax recognize for "set" keyword. #14288
Phalcon\Mvc\View\Engine\Volt\Compiler::parse()
Corrected syntax recognize for "is" keyword. #11683
Phalcon\Cache\Adapter\AbstractAdapter
use AdapterInterface
instead of non existing AbstractAdapter
#14414
Phalcon\Cache\CacheFactory
use Psr\SimpleCache\CacheInterface
instead of non existing Phalcon\Cache\CacheInterface
#14414
Phalcon\Cache\CacheFactory
use Psr\SimpleCache\CacheInterface
instead of non existing Phalcon\Cache\CacheInterface
#14414
Phalcon\Cli\Router
add missing Phalcon\Cli\Router\RouteInterface
#14414
Phalcon\Dispatcher\AbstractDispatcher::setModelBinder()
to return DispatcherInterface instead of non existing Dispatcher: #14414
Phalcon\Firewall\Adapter\Acl
Phalcon\Firewall\Adapter\Annotations
Phalcon\Filter\FilterFactory::newInstance()
to return FilterInterface
instead of non existing LocatorInterface
#14414
Phalcon\Forms\Element\Select::addOption()
and Phalcon\Forms\Element\Select::setOption()
to return ElementInterface
instead of non existing Element #14414
Phalcon\Forms\Manager::set()
to return Manager
instead of non existing FormManager
#14414
Phalcon\Paginator\Adapter\AbstractAdapter::setCurrentPage()
Phalcon\Paginator\Adapter\AbstractAdapter::setLimit()
Phalcon\Paginator\Adapter\AbstractAdapter::setRepository()
to return AdapterInterface
instead of non existing Adapter
#14414
Phalcon\Translate\TranslateFactory::set()
to return AdapterInterface
instead of non existing AbstractAdapter
#14414
Phalcon\Filter
to properly work with closures #14417
Phalcon\Form::setAction()
throwing error when called in Form::initialize()
#14421
Phalcon\Mvc\Model\Query\Lang::parsePHQL
return type hint from string
to array
NOT BETWEEN
support in PHQL #14253
Phalcon\Storage\Adapter\Stream
to correctly serialize and unserialize data #14408
Phalcon\Storage\Serializer\Json
to throw an exception if storing an object #14408
Phalcon\Http\Message\ServerRequestFactory::load
to correctly handle superglobals that have not been defined #14426
Phalcon\Forms\Form
to initialize attributes object if not initialized #14430
Phalcon\Http\Message\ServerRequestFactory::load
to correctly detect the protocol passed from $_SERVER
#14432
Phalcon\Cli\Router\Route
added missing Phalcon\Cli\Router\RouteInterface
Phalcon\Mvc\View\Engine\AbstractEngine::partial
and Phalcon\Mvc\View\Engine\EngineInterface::partial
#14429
Phalcon\Firewall\Adapter\AbstractAdapter::getRoleCallback
and Phalcon\Firewall\Adapter\AbstractAdapter::setRoleCallback
to correctly accept and return a Closure
#14450
Phalcon\Firewall\Adapter\AdapterInterface::getRoleCallback
and Phalcon\Firewall\Adapter\AbstractAdapter::setRoleCallback
to correctly accept and return a Closure
#14450
Phalcon\Events\Event::__constructor
to correctly accept an object
as the source
parameter #14449
Phalcon\Cache::checkKey()
added .
to key characters pattern #14457
Phalcon\Mvc\Model\Manager
to store reusable related records correctly. #14444
Phalcon\Mvc\Model::__call()
not to throw an exception when the return value is null
for related records. #14444
Phalcon\Logger\Adapter\Syslog::__construct()
incorrect receipt of the option
from the options
parameter. #14470
Phalcon\Events\Manager::fire
and Phalcon\Events\ManagerInterface::fire
correctly aligning parameters and types. #14477
Phalcon\Translate\*
aligning parameters
as array
with the interpolator calls. #14477
Phalcon\Storage\AdapterFactory:newInstance
to return the correct interface #14481
Phalcon\Mvc\Dispatcher:forward
to accept an array vs a mixed variable #14481
Phalcon\Mvc\Model::_doLowUpdate
and Phalcon\Mvc\Model::_doLowInsert
throwing errors about column mapping when phalcon.orm.ignore_unknown_columns
is set On
#14485
Published by sergeyklay about 5 years ago
Phalcon\Http\Request::getURI()
(as well as its interface) which indicates whether or not the method should return only the path without the query stringPhalcon\Url::get
to use implementation behind Phalcon\Helper\Str::reduceSlashes
to reduce slashes #14331
Phalcon\Http\Headers\set()
to return self for a more fluent interfacePhalcon\Assets\Manager
, Phalcon\Cli\Router
, Phalcon\Dispatcher\AbstractDispatcher
, Phalcon\Html\Tag
, Phalcon\Http\Cookie
, Phalcon\Http\Request
, Phalcon\Http\Response\Cookies
, Phalcon\Mvc\Model
, Phalcon\Mvc\Router
, Phalcon\Security
, Phalcon\Session\Manager
to use Phalcon\Di\AbstractDiAware
for container functionality #14351
Phalcon\Security
to allow session
and request
in the constructor #14351
Phalcon\Session\Manager
to allow router
in the constructor #14351
Phalcon\Flash\Direct
to allow escaper
in the constructor #14349
Phalcon\Flash\Session
to allow escaper
in the constructor #14349
Phalcon\Di\AbstractDIAware
to Phalcon\Di\AbstractInjectionAware
#14359
Phalcon\Di\Service
to use DI to initialize string
based services when possible #14342
Phalcon\Mvc\Router\Annotations
to be able to handle patterns az prefixes #14259
Phalcon\Mvc\Router\Group::routes
to an array as default #14259
Phalcon\Mvc\Model::assign
changed order of parameters to $data, $whiteList, $dataColumnMap #14386
Phalcon\Helper\Arr::arrayToObject
to toObject
#14389
Phalcon\Events\EventsAwareInterface::getEventsManager
and Phalcon\Di\Injectable::getEventsManager
to return also null
#14404
Phalcon\Logger\Adapter\AbstractAdapter::add
to now return this
#14404
Phalcon\Mvc\RouterInterface
methods signature to return RouteInterface
instead of void
:
Phalcon\Mvc\RouterInterface::setDefaultAction
Phalcon\Mvc\RouterInterface::setDefaultAction
Phalcon\Mvc\RouterInterface::setDefaultController
Phalcon\Mvc\RouterInterface::setDefaultModule
Phalcon\Mvc\RouterInterface::setDefaults
Phalcon\Mvc\Router\RouteInterface::setName
from void
to RouteInterface
Phalcon\Mvc\Router\RouteInterface::via
from void
to RouteInterface
Phalcon\Session\ManagerInterface::__get
from void
to var
Phalcon\Helper\Str::includes
to return correct result #14301
Phalcon\Logger
moved to correct namespace #14263
Phalcon\Session\Adapter\AbstractAdapter::read()
to return ""(empty string) when Session/Adapter/*::get()
returns null #14314
Phalcon\Cache\Exception
to extend Phalcon\ExceptionPhalcon\Cache\InvalidArgumentException
to extend Phalcon\ExceptionPhalcon\Collection\Exception
to extend Phalcon\ExceptionPhalcon\Storage\Adapter\AbstractAdapter::initSerializer
to throw exception if null === $this->serializerFactory && null === $this->serializer
#14324
Phalcon\Storage\Adapter\Redis::getAdapter()
to provide a persistent id for redis persistent connection #14334
Phalcon\Session\Adapter\Stream
to not override configured save path #14265
Phalcon\Http\Response::setFileToSend
to properly handle non-ASCII filenames #13919
Phalcon\Security::getSessionToken
return value #14346
Phalcon\Flash\*
interfaces for message()
to return string/null
#14349
Phalcon\Paginator\Adapter\AbstractAdapter
throw exception if limit <= 0
#14303
Phalcon\Mvc\Model\Query\Builder
Empty table alias in query #14366
Phalcon\Db\Adapter\PdoFactory
to reference the correct interface #14381
Phalcon\Db\Dialect\Mysql
Fixed missing schema in constraint for create table #14378
Phalcon\Mvc\Model::hasChanged()
and getChangedFields()
returning false values when castOnHydrate
option is on. #14376
Phalcon\Mvc\Model::create()
Using write connection to prevent replica lag #14256
Phalcon\Acl\Adapter\AbstractAdapter::setDefaultAction
Phalcon\Application\AbstractApplication::setEventsManager
Phalcon\Firewall\Adapter\AbstractAdapter::setAlwaysResolvingRole
Phalcon\Firewall\Adapter\AbstractAdapter::setEventsManager
Phalcon\Mvc\Router::handle
Phalcon\Storage\Serializer\AbstractSerializer::getData
Phalcon\Storage\Serializer\AbstractSerializer::setData
Phalcon\Mvc\Dispatcher::forward
Phalcon\Mvc\Model::setConnectionService
Phalcon\Mvc\Model::setReadConnectionService
Phalcon\Mvc\Model::setWriteConnectionService
Phalcon\Mvc\Model\Query\Builder::setDI
Phalcon\Mvc\Router\Annotations::handle
Phalcon\Session\Bag::set
Phalcon\Session\Manager::remove
Phalcon\Di::remove()
to remove service. #14396
Phalcon\Plugin
- duplicate of Phalcon\DI\Injectable
#14359
Phalcon\Mvc\Collection
and all related references. 4.0 will not support mongo as it is being re-implemented to take advantage of the latest Mongo driver (see #13697) #14361
Phalcon\Session\Manager::registerHandler
- duplicate functionality #14381
Phalcon\Html\Tag
- duplicate functionality #14381
void
return type for all constructors #14401
Published by sergeyklay about 5 years ago
Phalcon\Db\Adapter\AbstractAdapter
, Phalcon\Db\Adapter\AdapterInterface
, Phalcon\Db\Result\Pdo
, Phalcon\Html\Tag
and Phalcon\Tag\Select
. #14249
isSerializable
in Phalcon\Storage\Serializer\AbstractSerializer
to return true when the data is seriazable and false when it's not.Phalcon\Storage\Adapter\Redis::delete()
and Phalcon\Storage\Adapter\Redis::getKeys()
deprecated warning from php-redis #14281
Phalcon\Mvc\Model\ResultSet::Update()
to return correct status #14291
Phalcon\Mvc\Collection::cancelOperation()
now returns true
on success.Phalcon\Application\AbstractApplication
interfaces for registerModules()
, setDefaultModule()
and setEventsManager()
#14293
Phalcon\Paginator\Adapter\QueryBuilder
to throw exception on incorrect parameter #14299
Published by sergeyklay over 5 years ago
Phalcon\Factory\Exception
for factory exceptions. #13672
Phalcon\Filter\FilterInterface
for custom filter implementations. #13672
Phalcon\Db\Adapter\PdoFactory
: Factory to create PDO adapters. #13672
Phalcon\Image\ImageFactory
: Factory to create image adapters. #13672
Phalcon\Logger\LoggerFactory
: Factory to create logger objects. #13672
Phalcon\Translate\InterpolatorFactory
: Factory to create interpolator objects. #13672
Phalcon\Translate\TranslateFactory
: Factory to create translate objects. #13672
Phalcon\Domain\Payload
to help in transferring messages between layers of the application. #14123
Phalcon\Domain\PayloadFactory
: Factory to create payload objects. #14123
Phalcon\Http\Message\ServerRequestFactory::load
: Method to create a ServerRequest
object from globals. #14154
saslAuthData
as option to Phalcon\Storage\Adapter\Libmemcached
to authenticate using SASL #13394
Phalcon\Collection\ReadOnly
: Read only collection. #14154
whiteList()
to Phalcon\Helper\Arr
#13954
Phalcon\Config\ConfigFactory::newInstance()
: Factory to create config objects. #13201, #13768
Phalcon\Db\Enum
#14213
Phalcon\Dispatcher\Exception
#14213
Phalcon\Annotations\Adapter\Files
to Phalcon\Annotations\Adapter\Stream
. #13672
Phalcon\Annotations\Adapter
to Phalcon\Annotations\Adapter\AbstractAdapter
. #13672
Phalcon\Annotations\AdapterInterface
to Phalcon\Annotations\Adapter\AdapterInterface
. #13672
Phalcon\Annotations\Factory
to Phalcon\Annotations\AnnotationsFactory
. #13672
Phalcon\Config\Factory
to Phalcon\Config\ConfigFactory
. #13672
Phalcon\Filter\FilterLocator
to Phalcon\Filter
. #13672
Phalcon\Filter\FilterLocatorFactory
to Phalcon\Filter\FilterFactory
. #13672
Phalcon\Image\Adapter
to Phalcon\Image\Adapter\AbstractAdapter
. #13672
Phalcon\Image\AdapterInterface
to Phalcon\Image\Adapter\AdapterInterface
. #13672
Phalcon\Paginator\Adapter
to Phalcon\Paginator\Adapter\AbstractAdapter
. #13672
Phalcon\Paginator\AdapterInterface
to Phalcon\Paginator\Adapter\AdapterInterface
. #13672
Phalcon\Paginator\Factory
to Phalcon\Paginator\PaginatorFactory
. #13672
Phalcon\Translate\Adapter
to Phalcon\Translate\Adapter\AbstractAdapter
. #13672
Phalcon\Translate\AdapterInterface
to Phalcon\Translate\Adapter\AdapterInterface
. #13672
Phalcon\Plugin
is now abstract.method
parameter in Phalcon\Mvc\Model\Manager::getRelationRecords()
to the last position. #14115
method
parameter in Phalcon\Mvc\Model\Manager::getBelongsToRecords()
to the last position. #14115
method
parameter in Phalcon\Mvc\Model\Manager::getHasOneRecords()
to the last position. #14115
method
parameter in Phalcon\Mvc\Model\Manager::getHasManyRecords()
to the last position. #14115
Phalcon\Paginator\Repository::getProperty()
now uses Phalcon\Helper\Arr::get()
.Phalcon\Collection
to allow conditional key case sensitivity. #14154
Phalcon\Registry
to align with the Phalcon\Collection
interface. #14154
Phalcon\Mvc\Micro::setModelBinder()
now uses the Factory Default DI if none is set. #14171
Phalcon\Mvc\Model\ValidationFailed
now works with ModelInterface
.Phalcon\Config
to extend Phalcon\Collection
#13201, #13768
Phalcon\Config
to extend Phalcon\Config\Config
#13201, #13768
Phalcon\Acl
to Phalcon\Acl\Enum
#14213
Phalcon\Acl\Adapter
to Phalcon\Acl\Adapter\AbstractAdapter
#14213
Phalcon\Acl\AdapterInterface
to Phalcon\Acl\Adapter\AdapterInterface
#14213
Phalcon\Application
to Phalcon\Application\AbstractApplication
#14213
Phalcon\CryptInterface
to Phalcon\Crypt\CryptInterface
#14213
Phalcon\Db\Adapter
to Phalcon\Db\Adapter\AbstractAdapter
#14213
Phalcon\Db\AdapterInterface
to Phalcon\Db\Adapter\AdapterInterface
#14213
Phalcon\Db
to Phalcon\Db\AdapterDb
#14213
Phalcon\Db\Adapter\Pdo
to Phalcon\Db\Adapter\Pdo\AbstractPdo
#14213
Phalcon\Dispatcher
to Phalcon\Dispatcher\AbstractDispatcher
#14213
Phalcon\DispatcherInterface
to Phalcon\Dispatcher\DispatcherInterface
#14213
Phalcon\EscaperInterface
to Phalcon\Escaper\EscaperInterface
#14213
Phalcon\Firewall\Adapter
to Phalcon\Firewall\Adapter\AbstractAdapter
#14213
Phalcon\Firewall\AdapterInterface
to Phalcon\Firewall\Adapter\AdapterInterface
#14213
Phalcon\Flash
to Phalcon\Flash\AbstractFlash
#14213
Phalcon\FlashInterface
to Phalcon\Flash\FlashInterface
#14213
Phalcon\Forms\Element
to Phalcon\Forms\Element\AbstractElement
#14213
Phalcon\Forms\ElementInterface
to Phalcon\Forms\Element\ElementInterface
#14213
Phalcon\Image
to Phalcon\Image\Enum
#14213
Phalcon\Mvc\View\Engine
to Phalcon\Mvc\View\Engine\AbstractEngine
#14213
Phalcon\Mvc\View\EngineInterface
to Phalcon\Mvc\View\Engine\EngineInterface
#14213
Phalcon\UrlInterface
to Phalcon\Url\UrlInterface
Phalcon\Validator
to Phalcon\Validator\Validator
#14213
Phalcon\Validator\Validator
to Phalcon\Validator\AbstractValidator
#14213
Phalcon\Validator\ValidatorComposite
to Phalcon\Validator\AbstractValidatorComposite
#14213
Phalcon\Validator\CombinedFieldsValidator
to Phalcon\Validator\AbstractCombinedFields
#14213
Phalcon\Validator\Validator\File\FileAbstract
to Phalcon\Validator\Validator\File\AbstractFile
#14213
Phalcon\Mvc\View::getRender()
to call view->finish()
instead of ob_end_clean()
. #14095
Phalcon\Cache\Adapter\Libmemcached
failing to set values when Phalcon\Mvc\Model\MetaData\Libmemcached
was in use. #14100
Phalcon\Db\Column
to recognize tinyint
, smallint
, mediumint
, integer
as valid autoIncrement columns. #14102
method
parameter in Phalcon\Mvc\Model\Manager::getRelationRecords()
, it's not always a string, null by default. #14115
method
parameter in Phalcon\Mvc\Model\Manager::getBelongsToRecords()
, it's not always a string, null by default. #14115
method
parameter in Phalcon\Mvc\Model\Manager::getHasOneRecords()
, it's not always a string, null by default. #14115
method
parameter in Phalcon\Mvc\Model\Manager::getHasManyRecords()
, it's not always a string, null by default. #14115
handlers
property in Phalcon\Mvc\Micro\Collection
to now always an array.Phalcon\Mvc\Model::save()
when saving a circular model relation. #13354
Phalcon\Db\Dialect\Postgresql::truncateTable()
to now escape table names. #14125
Phalcon\Mvc\Model\MetaData::write()
to throw an exception if orm.exception_on_failed_metadata_save
is set to true. #13433
Phalcon\Image\Adapter\Gd
to throw an error with imagecolorat
. #14139
Phalcon\Mvc\Model\Criteria::limit()
now corrects negative offsets.Phalcon\Di\FactoryDefault\Cli
can now use the new Filter system.Phalcon\Mvc\Router
now parses and uses path. #14087
Phalcon\Acl\Adapter
and Phalcon\Acl\Adapter\Memory
including comments, logic, denyComponentAccess
and AdapterInterface
. Added tests. #13870
Phalcon\Config::merge()
not merging numeric values properly #13201, #13768
Phalcon\Validation\Validator\File\AbstractFile
missing the resolution of the value
property #14198
Phalcon\Storage\Adapter\Stream
#14190
Phalcon\Form\Form::clear()
now correctly clears single fields. #14217
Phalcon\Form\Form::getValue()
not to call getAttributes()
when an element is named "attributes" #14226
Phalcon\Model::delete()
array to string conversion #14080
Phalcon\Mvc\Micro\LazyLoader::callMethod()
when handler contains syntax error.Phalcon\Session\Factory
. #13672
Phalcon\Factory
and Phalcon\FactoryInterface
. #13672
Phalcon\Translate
. #13672
Phalcon\Db\Column::getSchemaName()
as its not relevant or settable.Phalcon\Config::__set_state()
as it does not serve any purpose and skipped the constructor. #13201, #13768
Phalcon\Annotations\Reflection::__set_state()
, Phalcon\Db\ColumnInterface::__set_state()
, Phalcon\Db\Column::__set_state()
, Phalcon\Db\IndexInterface::__set_state()
, Phalcon\Db\Index::__set_state()
, Phalcon\Db\ReferenceInterface::__set_state()
, Phalcon\Db\Reference::__set_state()
, Phalcon\Di\ServiceInterface::__set_state()
, Phalcon\Di\Service::__set_state()
, Phalcon\Http\Response\HeadersInterface::__set_state()
, Phalcon\Http\Response\Headers::__set_state()
, Phalcon\Http\Request::__set_state()
, Phalcon\Messages\Message::__set_state()
#14212
Published by sergeyklay over 5 years ago
Phalcon\Forms\Form::clear()
now correctly clears single fields. #14217
Published by sergeyklay over 5 years ago
Phalcon\Cli\Router\Route::setDescription()
to sets the route's description #13936
Phalcon\Cli\Router\Route::getDescription()
returns the route's description #13936
Phalcon\Image\Adapter\Gd::getVersion()
.chunk()
, first()
, firstKey()
, flatten()
, group()
, isUnique()
, last()
, lastKey()
, order()
, pluck()
, sliceLeft()
, sliceRight()
, split()
, tail()
, validateAll()
, validateAny()
to Phalcon\Helper\Arr
#13954
camelize()
, concat()
, countVowels()
, decapitalize()
, dynamic()
, endsWith()
, firstStringBetween()
, includes()
, increment()
, isAnagram()
, isLower()
, isPalindrome()
, isUpper()
, lower()
, random()
, reduceSlashes()
, startsWith()
, uncamelize()
, underscore()
, upper()
to Phalcon\Helper\Str
#13954
Phalcon\Mvc\Model\Query\BuilderInterface::getModels()
returns the models involved in the queryaddConnect()
, addPurge()
and addTrace()
to Phalcon\Mvc\Router\Group
and its interface. #14001
Phalcon\Mvc\Model\Transaction::throwRollbackException()
which allows a transaction to throw an exception or not on a rollback. #13949
Phalcon\Cache\Cache
class implementing PSR-16. Introducing:
Phalcon\Cache\Adapter
Phalcon\Cache\Adapter\Apcu
Phalcon\Cache\Adapter\Libmemcached
Phalcon\Cache\Adapter\Memory
Phalcon\Cache\Adapter\Redis
Phalcon\Cache\Adapter\Stream
Phalcon\Cache\AdapterFactory
: Factory to create adaptersPhalcon\Cache\CacheFactory
: Factory to create cache objectsStr::dirSeparator()
to ensure a path has a trailing slash #13439
Phalcon\Assets\Manager:addCss
, Phalcon\Assets\Manager::addJs
, Phalcon\Assets\Collection:addCss
, Phalcon\Assets\Collection:addJs
accepts two additional parameters - version
and autoVersion
#12591
orm.resultset_prefetch_records
instructing the ORM (resultset) to prefetch the rows if the rows returned are less or equal to the setting. #13387
Phalcon\Mvc\View::toString()
to return the rendered view as a string #13825
Phalcon\Helper\Arr::arrayToObject()
to convert arrays to objects.Phalcon\Firewall
component #13648
orm.cast_last_insert_id_to_int
option for Phalcon\Mvc\Model::setup()
(castLastInsertIdToInt
) to cast the lastInsertId
on save()
to int
#13002
Attributes
collection class like a new Html component #13646
Attributes
into Phalcon\Forms\Form
#13646
Phalcon\Events\Manager
to only use SplPriorityQueue
to store events. #13924
Phalcon\Translate\InterpolatorInterface
now only accepts placeholder arrays. #13939
Phalcon\Dispatcher::forward()
and Phalcon\Dispatcher::setParams()
now require an array as a parameter. #13935
MyApp\\Tasks\\
) now throw an exception instead of suppressing the error. #13936
Phalcon\Mvc\Collection\Behavior\SoftDelete
and Phalcon\Mvc\Model\Behavior\SoftDelete
. #13930
final
. #13950
Phalcon\Text
to call methods from Phalcon\Helper\Str
#13954
Phalcon\Mvc\View\Simple::viewParams
is now always an array.Phalcon\Mvc\View\Simple::render()
params
property is now always an array.Phalcon\Mvc\Model\CriteriaInterface::limit()
now takes offset
as an integer. #13977
Phalcon\Mvc\Model\Manager::getModelSource()
to use setModelSource()
internally instead of setting the source manually #13987
options
is always an array in Phalcon\Mvc\Model\Relation
. #13989
Phalcon\Logger\Adapter\AbstractAdapter::process()
is now actually abstract. #14012
Phalcon\Mvc\ModelInterface::getRelated()
return type declaration has changed (not always ResultsetInterface
) #14035
Phalcon\Mvc\Model
, relations fetched using magic methods are now handled by Phalcon\Mvc\Model::getRelated()
internally. #14035
Phalcon\Mvc\Model\Transaction::rollback()
to not throw a transaction by default. #13949
Phalcon\Cache
namespace and relevant classes to handle storing data to different stores. Introducing:
Phalcon\Storage\Serializer
offering classes that implement the \Serializable
interface.
Phalcon\Storage\Serializer\Base64
Phalcon\Storage\Serializer\Igbinary
Phalcon\Storage\Serializer\Json
Phalcon\Storage\Serializer\Msgpack
Phalcon\Storage\Serializer\None
Phalcon\Storage\Serializer\Php
Phalcon\Storage\Serializer\SerializerInterface
Phalcon\Storage\SerializerFactory
: Factory to create serializersPhalcon\Storage\Adapter
offering classes that implement the Phalcon\Storage\Adapter\AdapterInterface
interface.
Phalcon\Storage\Adapter\Apcu
Phalcon\Storage\Adapter\Libmemcached
Phalcon\Storage\Adapter\Memory
Phalcon\Storage\Adapter\Redis
Phalcon\Storage\Adapter\Stream
Phalcon\Storage\AdapterFactory
: Factory to create adaptersPhalcon\Mvc\Model\Query
to not call numRows
when selecting data #13387
Phalcon\Mvc\Model\Query
.Phalcon\Validation\Validator\Url
to work with passed options. (FILTER_FLAG_PATH_REQUIRED
, FILTER_FLAG_QUERY_REQUIRED
) #13548
Phalcon\Mvc\Model\Query\Builder
will now omit offsets if they are set as 0.Phalcon\Mvc\Model\Transaction::__construct()
service parameter must be a string or omitted.Phalcon\Logger\Formatter\Line::__construct()
service parameters must be a string or omitted.Phalcon\Logger\Formatter\Json::__construct()
service parameters must be a string or omitted.Phalcon\Forms\Form::getMessages()
.Phalcon\Crypt
to accept auth tag, tag length and data for "gcm" and "ccm" modes. Removed insecure algorithms with modes: des*
, rc2*
, rc4*
, des*
, *ecb
#13869
Phalcon\Mvc\Model
to copy the unset default values from the MetaData
to the Model
after a successful insert. #13781
Phalcon\Mvc\Model::findFirst()
now returns null
. Phalcon\Mvc\Model::getRelated()
for one to one relationships returns null
#14044
Mvc\Collection::isInitialized()
now works as intended. #13931
save()
in models (as per #12317). #13945
Mvc\Model
and Mvc\ModelInterface
findFirst
to return ModelInterface
or bool
#13947
Phalcon\Acl\Adapter\Memory::dropComponentAccess()
now properly unsets values.GROUP BY
field is now always an array. #13962
Phalcon\Paginator\Adapter::getPaginate()
to paginate()
in documentation/tests (originally renamed in 4.0.0-alpha.1). #13973
Phalcon\Security::computeHmac()
by removing "%s"
from output.Phalcon\Mvc\Model\Relation::isForeignKey()
now returns false if the foreignKey
option is set to false
.Phalcon\Flash\Session::output()
not to throw an exception when there are no messages stored in session. #14023
Phalcon\Config\Adapter\Ini()
to handle arrays correctly in .ini files. #14025
Phalcon\Mvc\Model
, now returning fresh records. #13531
Phalcon\Mvc\Model::isRelationshipLoaded()
is now working for every type of relations. #14035
Phalcon\Mvc\Model::writeAttribute()
to handle associative arrays correctly. #14021
Phalcon\Html\Tag::appendTitle()
and Phalcon\Html\Tag::prependTitle()
to mirror Phalcon\Tag
. #14039
Phalcon\Validation::validate()
with cancelOnFail
. The validator will validate all elements and will stop processing validators on a per element basis if cancelOnFail
is present. #13149
Phalcon\Mvc\Models\Manager::getRelations()
to return the many-to-many relationships also. #10839
Phalcon\Validation\Validator\Numericality::validate()
to parse non en
locale numbers. #13843
Phalcon\Mvc\Model::save()
failing after a successful insert when default database fields are not updated. #13781
arrayHelpers
property from the Volt compiler. #13925
Mvc\Model\MetaData\Session
adapter (no longer supported) #13439
Phalcon\Cache
, Phalcon\Cache\Backend
, Phalcon\Cache\BackendInterface
, Phalcon\Cache\Backend\Apcu
, Phalcon\Cache\Backend\Factory
, Phalcon\Cache\Backend\File
, Phalcon\Cache\Backend\Libmemcached
, Phalcon\Cache\Backend\Memory
, Phalcon\Cache\Backend\Mongo
, Phalcon\Cache\Backend\Redis
, Phalcon\Cache\Frontend
, Phalcon\Cache\Frontend\Base64
, Phalcon\Cache\Frontend\Data
, Phalcon\Cache\Frontend\Factory
, Phalcon\Cache\Frontend\Igbinary
, Phalcon\Cache\Frontend\Json
, Phalcon\Cache\Frontend\Msgpack
, Phalcon\Cache\Frontend\None
, Phalcon\Cache\Frontend\Output
, Phalcon\Cache\FrontendInterface
, Phalcon\Cache\Multiple
#13439
Phalcon\Mvc\View::cache()
Phalcon\Mvc\View::getCache()
Phalcon\Mvc\View\Simple::cache()
Phalcon\Mvc\View\Simple::getCache()
Phalcon\Cache\Multiple
#13439
Phalcon\Cache\Backend
Phalcon\Cache\BackendInterface
Phalcon\Cache\Backend\Apcu
Phalcon\Cache\Backend\Factory
Phalcon\Cache\Backend\File
Phalcon\Cache\Backend\Libmemcached
Phalcon\Cache\Backend\Memory
Phalcon\Cache\Backend\Mongo
Phalcon\Cache\Backend\Redis
Phalcon\Cache\Frontend
Phalcon\Cache\FrontendInterface
Phalcon\Cache\Frontend\Base64
Phalcon\Cache\Frontend\Data
Phalcon\Cache\Frontend\Factory
Phalcon\Cache\Frontend\Igbinary
Phalcon\Cache\Frontend\Json
Phalcon\Cache\Frontend\Msgpack
Phalcon\Cache\Frontend\None
Phalcon\Cache\Frontend\Output
Published by niden over 5 years ago
delimiter
and enclosure
options to Phalcon\Translate\Adapter\Csv
constructorPhalcon\Http\Message\*
namespace implementing PSR-7 and PSR-17. Introducing:
Phalcon\Http\Message\Request
Phalcon\Http\Message\RequestFactory
Phalcon\Http\Message\Response
Phalcon\Http\Message\ResponseFactory
Phalcon\Http\Message\ServerRequest
Phalcon\Http\Message\ServerRequestFactory
Phalcon\Http\Message\Stream
Phalcon\Http\Message\StreamFactory
Phalcon\Http\Message\UploadedFile
Phalcon\Http\Message\UploadedFileFactory
Phalcon\Http\Message\Uri
Phalcon\Http\Message\UriFactory
Phalcon\Http\Message\Stream\Input
Phalcon\Http\Message\Stream\Memory
Phalcon\Http\Message\Stream\Temp
Request
and Response
implementations for this version. #11789
Phalcon\Helper\*
namespace, offering easy manipulations for arrays, numbers etc..
Phalcon\Helper\Arr
Phalcon\Helper\Number
Phalcon\Collection
, an object implementing ArrayAccess
, Countable
, IteratorAggregate
, JsonSerializable
, Serializable
, offering an easy way to handle collections of data such as arrays, superglobals etc. #13886
Phalcon\Collection
, in Phalcon\Http\Message\Request
and Phalcon\Http\Message\ServerRequest
to handle the headers #13907
Phalcon\Image\Adapter\Imagick::_watermark
, setImageAlpha()
fills the alpha channel with black before execution (replaced by evaluateImage()
). Improved imagick compatibility. #13911
Phalcon\Registry
to use the Phalcon\Collection
class #13893
Phalcon\Session\Bag
to use the Phalcon\Collection
class #13893
Phalcon\Session\BagInterface
#13893
Published by sergeyklay over 5 years ago
view:afterCompile
and view:beforeCompile
events for the Volt compiler #2182
Phalcon\Config::merge
setBlacklist
in Phalcon\Debug
to allow the developer to "blacklist" certain variables from the $_REQUEST
or $_SERVER
superglobals being displayed on screen #13687
$this
for the DI. #11926
invalid opcode
in phalcon.so
when using docker #13143
Phalcon\Messages\Message
. The method is now setMetadata
and can be used to store any metadata from any component that emits messages #13811
Phalcon\Mvc\Model:findFirst
to throw an exception when the passed parameter for a primary key is not an array, string or numeric #13336
Phalcon\Http\ResponseInterface::isSent
, that was already used. #13836
Phalcon\Acl\Subject
to Phalcon\Acl\Component
#13808
Phalcon\Acl\SubjectInterface
to Phalcon\Acl\ComponentInterface
#13808
Phalcon\Acl\SubjectAware
to Phalcon\Acl\ComponentAware
#13808
Phalcon\Acl\Operation
to Phalcon\Acl\Role
#13808
Phalcon\Acl\OperationInterface
to Phalcon\Acl\RoleInterface
#13808
Phalcon\Acl\OperationAware
to Phalcon\Acl\RoleAware
#13808
Phalcon\Acl\AdapterInterface::addOperation
to Phalcon\Acl\AdapterInterface::addRole
#13808
Phalcon\Acl\AdapterInterface::isOperation
to Phalcon\Acl\AdapterInterface::isRole
#13808
Phalcon\Acl\AdapterInterface::isSubject
to Phalcon\Acl\AdapterInterface::isComponent
#13808
Phalcon\Acl\AdapterInterface::addSubject
to Phalcon\Acl\AdapterInterface::addComponent
#13808
Phalcon\Acl\AdapterInterface::addSubjectAccess
to Phalcon\Acl\AdapterInterface::addComponentAccess
#13808
Phalcon\Acl\AdapterInterface::dropSubjectAccess
to Phalcon\Acl\AdapterInterface::dropComponentAccess
#13808
Phalcon\Acl\AdapterInterface::getActiveOperation
to Phalcon\Acl\AdapterInterface::getActiveRole
#13808
Phalcon\Acl\AdapterInterface::getActiveSubject
to Phalcon\Acl\AdapterInterface::getActiveComponent
#13808
Phalcon\Acl\AdapterInterface::getOperationss
to Phalcon\Acl\AdapterInterface::getRoles
#13808
Phalcon\Acl\AdapterInterface::getSubjects
to Phalcon\Acl\AdapterInterface::getComponents
#13808
Phalcon\Acl\Adapter::getActiveOperation
to Phalcon\Acl\AdapterInterface::getActiveRole
#13808
Phalcon\Acl\Adapter::getActiveSubject
to Phalcon\Acl\AdapterInterface::getActiveComponent
#13808
Phalcon\Acl\Adapter\Memory::addOperation
to Phalcon\Acl\Adapter\Memory::addRole
#13808
Phalcon\Acl\Adapter\Memory::isOperation
to Phalcon\Acl\Adapter\Memory::isRole
#13808
Phalcon\Acl\Adapter\Memory::isSubject
to Phalcon\Acl\Adapter\Memory::isComponent
#13808
Phalcon\Acl\Adapter\Memory::addSubject
to Phalcon\Acl\Adapter\Memory::addComponent
#13808
Phalcon\Acl\Adapter\Memory::addSubjectAccess
to Phalcon\Acl\Adapter\Memory::addComponentAccess
#13808
Phalcon\Acl\Adapter\Memory::dropSubjectAccess
to Phalcon\Acl\Adapter\Memory::dropComponentAccess
#13808
Phalcon\Acl\Adapter\Memory::getOperationss
to Phalcon\Acl\Adapter\Memory::getRoles
#13808
Phalcon\Acl\Adapter\Memory::getSubjects
to Phalcon\Acl\Adapter\Memory::getComponents
#13808
Phalcon\Mvc\Url
to Phalcon\Url
#13742
Phalcon\Mvc\UrlInterface
to Phalcon\UrlInterface
#13742
Phalcon\Mvc\Url\Exception
to Phalcon\Url\Exception
#13742
Phalcon\Queue
namespace and tests. Beanstalkd is near being abandoned. A new Queue component/adapter will be implemented for queueing needs of the community. #13364
Published by sergeyklay over 5 years ago
notFound()
method in Phalcon\Translate\Adapter\NativeArray
which returns the key requested if not found. The method can be overriden when extending the class, returning what the developer needs #13007
Phalcon\Service\Locator
, Phalcon\Service\LocatorInterface
and Phalcon\Service\LocatorFactoryInterface
to allow for the creation of service locators and factories throughout the application #13771
Phalcon\Http\Request::setParameterFilters
. It allows you to preset filters for specific input (i.e. id
, name
etc.). You can then retrieve the automatcally sanitized values using Phalcon\Http\Request::getFilteredQuery
, Phalcon\Http\Request::getFilteredPost
and Phalcon\Http\Request::getFilteredPut
#13488
Phalcon\Mvc\Micro::handle
to properly return a response object #13712
Phalcon\Cache\Backend\Libmemcached
returning "empty" values being as null
when they could be 0
, false
or empty string
. #13497
SessionHandlerInterface::write
Phalcon\Session\Manager
to not interact with $_SESSION
variable if the session has not been started #13718, #13520
Phalcon\Cli\Console
class not found error if handling the same module twice #13724
Phalcon\Cache\Backend\Libmemcached
returning "empty" values being as null
when they could be 0
, false
or empty string
. #13497
Phalcon\Mvc\View\Engine\Volt\Compiler::functionCall
building the incorrect code for the following tags; select
, and select_static
#13459
Phalcon\Tag\Select
not rendering without any options.Phalcon\Tag::renderTitle()
parameters such as Phalcon\Tag::getTitle()
#13706
Phalcon\Html\Tag::renderTitle()
parameters such as Phalcon\Html\Tag::getTitle()
#13706
Phalcon\Version::get()
to follow semantic versioning #13720
Phalcon\Translate\Adapter\NativeArray
to accept a new parameter in the constructor triggerError
. This will trigger an error if the key is not found #13007
Phalcon\Acl\Memory
to be Acl::DENY
instead of Acl::ALLOW
#13758
Phalcon\Mvc\User\Plugin
to Phalcon\Plugin
#13749
Phalcon\Exception
to implement \Throwable
interface.#13750
Phalcon\Http\Cookie
. The httpOnly
property is no longer initialised with a value #13464
Phalcon\Acl\Memory
to be Acl::DENY
instead of Acl::ALLOW
#13769
Phalcon\Filter
. It uses a service locator and a service locator factory now. It has more sanitizers now. #13060
Published by niden almost 6 years ago
THIS RELEASE IS NOT BACKWARDS COMPATIBLE
Phalcon\Db\Adapter\Pdo\Postgresql::describeReferences
to implement custom Postgresql rules 438
Phalcon\Mvc\Router\RouteInterface::convert
so that calling Phalcon\Mvc\Router\Group::add
will return an instance that has convert
method #13380
Phalcon\Mvc\ModelInterface::getModelsMetaData
#13070
Phalcon\Validation\Validator\Ip
, class used to validate ip address fields. It allows to validate a field selecting IPv4 or IPv6, allowing private or reserved ranges and empty values if necessary. #13574
Phalcon\Messages\MessageInterface
, Phalcon\Messages\Message
, Phalcon\Messages\Exception
and Phalcon\Messages\Messages
to handle all messages for the application (model/validation) #13114
getHandlerSuffix()
, setHandlerSuffix()
in Dispatcher, getTaskSuffix()
, setTaskSuffix()
in the CLI Dispatcher #13468
forUpdate
in the Sqlite dialect to override the method from the base dialect. #13539
TYPE_ENUM
in the Mysql adapter. #11368
TYPE_BIGINTEGER
, TYPE_BIT
, TYPE_BLOB
, TYPE_BOOLEAN
, TYPE_CHAR
, TYPE_DATE
, TYPE_DATETIME
, TYPE_DECIMAL
, TYPE_DOUBLE
, TYPE_ENUM
, TYPE_FLOAT
, TYPE_INTEGER
, TYPE_JSON
, TYPE_JSONB
, TYPE_LONGBLOB
, TYPE_LONGTEXT
, TYPE_MEDIUMBLOB
, TYPE_MEDIUMINTEGER
, TYPE_MEDIUMTEXT
, TYPE_SMALLINTEGER
, TYPE_TEXT
, TYPE_TIME
, TYPE_TIMESTAMP
, TYPE_TINYBLOB
, TYPE_TINYINTEGER
, TYPE_TINYTEXT
, TYPE_VARCHAR
#13151, #12223, #524, #13225 @zGaron, #12523 @Studentsov, #12471 @ruudboon
Phalcon\Acl\Adapter\Memory::addRole
support multiple inherited #13557
Phalcon\Tag::renderTitle()
that renders the title enclosed in <title>
tags. #13547
hasHeader()
method to Phalcon\Http\Response
to provide the ability to check if a header exists. #12189
orm.case_insensitive_column_map
to attempt to find value in the column map case-insensitively. Can be also enabled by setting caseInsensitiveColumnMap
key in \Phalcon\Mvc\Model::setup()
. #11802
serializer
object which implements FrontendInterface
in DI to use it. #12808
Phalcon\Mvc\Model\Query\BuilderInterface::offset
#13599
Phalcon\Http\Response\Cookies::getCookies
#13591
Phalcon\Mvc\Model::isRelationshipLoaded
to check if relationship is loaded #12772
Phalcon\Mvc\Micro
, Phalcon\Mvc\Micro::setResponseHandler
, to allow use of a custom response handler. #12452
response::beforeSendHeaders
and response::afterSendHeaders
to Phalcon\Http\Response
#10689
Phalcon\Security::getToken
is called the token used for checkings don't change. #12392
Phalcon\Html\Tag
, a component that creates HTML elements. It will replace Phalcon\Tag
in a future version. This component does not use static method calls. #12392
Phalcon\Paginator\RepositoryInterface
for repository the current state of paginator
and also optional sets the aliases for properties repository #10985, #10957
Phalcon\Mvc\Model\Query\Builder
. The Query Builder has the same methods as Phalcon\Mvc\Model\Query
; getBindParams
, setBindParams
, getBindTypes
and setBindTypes
. #13368
Phalcon\Html\Breadcrumbs
, a component that creates HTML code for breadcrumbs. #13680
Phalcon\Cli\Router\RouteInterface
- delimiter
, getDelimiter
Phalcon\Cli\DispatcherInterface
- setOptions
, getOptions
Phalcon\Db\AdapterInterface
- fetchColumn
, insertAsDict
, updateAsDict
Phalcon\Db\DialectInterface
- registerCustomFunction
, getCustomFunctions
, getSqlExpression
Phalcon\Di\ServiceInterface
- getParameter
, isResolved
Phalcon\Events\ManagerInterface
- hasListeners
Phalcon\Mvc\Model\Query\BuilderInterface
- distinct
, getDistinct
, forUpdate
, offset
, getOffset
Phalcon\Mvc\Model\Transaction\ManagerInterface
- setDbService
, getDbService
, setRollbackPendent
, getRollbackPendent
Phalcon\Mvc\Model\CriteriaInterface
- distinct
, leftJoin
, innerJoin
, rightJoin
, groupBy
, having
, cache
, getColumns
, getGroupBy
, getHaving
,Phalcon\Mvc\Model\ManagerInterface
- isVisibleModelProperty
, keepSnapshots
, isKeepingSnapshots
, useDynamicUpdate
, isUsingDynamicUpdate
, addHasManyToMany
, existsHasManyToMany
, getRelationRecords
, getHasManyToMany
, registerNamespaceAlias
, getNamespaceAlias
Phalcon\Mvc\Model\MessageInterface
- setModel
, getModel
, setCode
, getCode
Phalcon\Mvc\Model\QueryInterface
- getSingleResult
, setBindParams
, getBindParams
, setBindTypes
, setSharedLock
, getBindTypes
, getSql
Phalcon\Mvc\Model\RelationInterface
- getParams
Phalcon\Mvc\Model\ResultsetInterface
- setHydrateMode
, getHydrateMode
, getMessages
, update
, delete
, filter
Phalcon\Mvc\ModelInterface
- getModelsMetaData
Phalcon\Session\AdapterInterface
- setId
, status
Phalcon\Validation\MessageInteraface
- getCode
, setCode
Phalcon\CryptInterface
- setPadding
Phalcon\Mvc\RouterInterface
- attach
#12676
Phalcon\Container
, a proxy container class to the Phalcon\DI
implementing PSR-11 #12295
Phalcon\Acl\Adapter\Memory::getActiveKey
, Phalcon\Acl\Adapter\Memory::activeFunctionCustomArgumentsCount
and Phalcon\Acl\Adapter\Memory::getActiveFunction
to get latest key, number of custom arguments, and function used to acquire access #12547
prefix
and statsKey
the Phalcon\Cache\Backend\Redis::queryKeys
no longer returns prefixed keys, now it returns original keys without prefix. #13656
Phalcon\Mvc\Application
, Phalcon\Mvc\Micro
and Phalcon\Mvc\Router
now must have a URI to process #12380
Phalcon\Mvc\Model\Manager::load
no longer reuses already initialized models #12317
Phalcon\Db\Dialect\Postgresql::describeReferences
to generate correct SQL, added "on update" and "on delete" constraints 438
Exception
to Throwable
#12288
Phalcon\Mvc\Model\Query\Builder::addFrom
to remove third parameter $with
#13109
Phalcon\Forms\Form::clear
will no longer call Phalcon\Forms\Element::clear
, instead it will clear/set default value itself, and Phalcon\Forms\Element::clear
will now call Phalcon\Forms\Form::clear
if it's assigned to the form, otherwise it will just clear itself. #13500
Phalcon\Forms\Form::getValue
will now also try to get the value by calling Tag::getValue
or element's getDefault
method before returning null
, and Phalcon\Forms\Element::getValue
calls Tag::getDefault
only if it's not added to the form. #13500
Phalcon\Mvc\Model
to use the Phalcon\Messages\Message
object for its messages #13114
Phalcon\Validation\*
to use the Phalcon\Messages\Message
object for its messages #13114
specialKey
(_PHCR
) optional for the Phalcon\Cache\Backend\Redis
adapter #10905, #11608
Phalcon\Db\Adapter\Pdo::query
to use PDO's prepare and execute. Phalcon\Db\Adapter::fetchAll
to use PDO's fetchAll #13515
\Phalcon\Http\Response::setFileToSend
filename last much _ #13496
Phalcon\Tag::getTitle
. It returns only the text. It accepts prepend
, append
booleans to prepend or append the relevant text to the title. #13547
Phalcon\Di\Service
constructor to no longer takes the name of the service. #13590
Phalon\Tag::textArea
to use htmlspecialchars
to prevent XSS injection. #12428
Phalon\Cache\Backend\*::get
to use only positive numbers for lifetime
11759
Phalcon\Logger
to comply with PSR-3. The component has been rewritten to use adapters that alllow logging to different areas. The #13438
Phalcon\Assets\Resource
namespace to Phalcon\Assets\Asset
#12082
Phalcon\Assets\Resource
to Phalcon\Assets\Asset
#12082
Phalcon\Assets\ResourceInterface
to Phalcon\Assets\AssetInterface
#12082
Phalcon\Assets\Manager::addResource
to Phalcon\Assets\Manager::addAsset
#12082
Phalcon\Assets\Manager::addResourceByType
to Phalcon\Assets\Manager::addAssetByType
#12082
Phalcon\Assets\Manager::collectionResourcesByType
to Phalcon\Assets\Manager::collectionAssetsByType
#12082
paginate
in the place of getPaginate
. Added previous
in the place of before
. #13492
Phalcon\Mvc\Model\Query
, to prevent overwrite root query's _sqlColumnAliases
by sub-queries. #13006, #12548 and #1731
Phalcon\Db\Dialect\Postgresql::addPrimaryKey
to make primary key constraints names unique by prefixing them with the table name. #12629
Phalcon\Mvc\Model\Query::_prepareSelect
overwriting columns with the same alias #13552
Phalcon\Http\RequestInterface
to align with Phalcon\Http\Request
#13061
Phalcon\Acl\Resource
to Phalcon\Acl\Subject
#13639
Phalcon\Acl\ResourceInterface
to Phalcon\Acl\SubjectInterface
#13639
Phalcon\Acl\ResourceAware
to Phalcon\Acl\SubjectAware
#13639
Phalcon\Acl\Role
to Phalcon\Acl\Operation
#13639
Phalcon\Acl\RoleInterface
to Phalcon\Acl\OperationInterface
#13639
Phalcon\Acl\RoleAware
to Phalcon\Acl\OperationAware
#13639
Phalcon\Acl\AdapterInterface::addRole
to Phalcon\Acl\AdapterInterface::addOperation
#13639
Phalcon\Acl\AdapterInterface::isRole
to Phalcon\Acl\AdapterInterface::isOperation
#13639
Phalcon\Acl\AdapterInterface::isResource
to Phalcon\Acl\AdapterInterface::isSubject
#13639
Phalcon\Acl\AdapterInterface::addResource
to Phalcon\Acl\AdapterInterface::addSubject
#13639
Phalcon\Acl\AdapterInterface::addResourceAccess
to Phalcon\Acl\AdapterInterface::addSubjectAccess
#13639
Phalcon\Acl\AdapterInterface::dropResourceAccess
to Phalcon\Acl\AdapterInterface::dropSubjectAccess
#13639
Phalcon\Acl\AdapterInterface::getActiveRole
to Phalcon\Acl\AdapterInterface::getActiveOperation
#13639
Phalcon\Acl\AdapterInterface::getActiveResource
to Phalcon\Acl\AdapterInterface::getActiveSubject
#13639
Phalcon\Acl\AdapterInterface::getRoless
to Phalcon\Acl\AdapterInterface::getOperations
#13639
Phalcon\Acl\AdapterInterface::getResources
to Phalcon\Acl\AdapterInterface::getSubjects
#13639
Phalcon\Acl\Adapter::getActiveRole
to Phalcon\Acl\AdapterInterface::getActiveOperation
#13639
Phalcon\Acl\Adapter::getActiveResource
to Phalcon\Acl\AdapterInterface::getActiveSubject
#13639
Phalcon\Acl\Adapter\Memory::addRole
to Phalcon\Acl\Adapter\Memory::addOperation
#13639
Phalcon\Acl\Adapter\Memory::isRole
to Phalcon\Acl\Adapter\Memory::isOperation
#13639
Phalcon\Acl\Adapter\Memory::isResource
to Phalcon\Acl\Adapter\Memory::isSubject
#13639
Phalcon\Acl\Adapter\Memory::addResource
to Phalcon\Acl\Adapter\Memory::addSubject
#13639
Phalcon\Acl\Adapter\Memory::addResourceAccess
to Phalcon\Acl\Adapter\Memory::addSubjectAccess
#13639
Phalcon\Acl\Adapter\Memory::dropResourceAccess
to Phalcon\Acl\Adapter\Memory::dropSubjectAccess
#13639
Phalcon\Acl\Adapter\Memory::getRoless
to Phalcon\Acl\Adapter\Memory::getOperations
#13639
Phalcon\Acl\Adapter\Memory::getResources
to Phalcon\Acl\Adapter\Memory::getSubjects
#13639
Phalcon\Http\Response::setHeaders
now merges the headers with any pre-existing ones in the internal collection #12836
Phalcon\DI\FactoryDefault
to not load by default
Phalcon\Session
namespace by refactoring the component. Phalcon\Session\Manager
is now the single component offering session manipulation by using adapters. Each adapter implements PHP's SessionHandlerInterface
. Available adapters are Phalcon\Session\Files
, Phalcon\Session\Libmemcached
, Phalcon\Session\Noop
and Phalcon\Session\Redis
. #12921, #11341, #13535
Phalcon\Mvc\Models
magic method (setter) is fixed for arrays #13661
Phalcon\Mvc\Model::skipAttributes
and Phalcon\Mvc\Model::allowEmptyColumns
allowEmptyStrings & skipAttributes repsect the column mapping. #12975, #13477
xcache
support from adapters #13628
apc
support from adapters (use apcu
) #13628
memcache
support from adapters (use libmemcached
) #13628
Phalcon\Annotations\Adapter\Apc
Phalcon\Annotations\Adapter\Xcache
Phalcon\Cache\Backend\Apc
Phalcon\Cache\Backend\Memcache
Phalcon\Cache\Backend\Xcache
Phalcon\Cli\Console::addModules
Phalcon\Debug::getMajorVersion
Phalcon\Mvc\Model\Criteria::addWhere
Phalcon\Mvc\Model\Criteria::order
Phalcon\Mvc\Model\Metadata\Apc
Phalcon\Mvc\Model\Metadata\Memcache
Phalcon\Mvc\Model\Metadata\Xcache
Phalcon\Mvc\View::getParams
Phalcon\Mvc\ViewInterface::getParams
Phalcon\Paginator\Adapter\Model::getPaginate
Phalcon\Paginator\Adapter\Model - $before
Phalcon\Paginator\Adapter\Model - $total_pages
Phalcon\Paginator\Adapter\NativeArray::getPaginate
Phalcon\Paginator\Adapter\NativeArray - $before
Phalcon\Paginator\Adapter\NativeArray - $total_pages
Phalcon\Paginator\Adapter\QueryBuilder::getPaginate
Phalcon\Paginator\Adapter\QueryBuilder - $before
Phalcon\Paginator\Adapter\QueryBuilder - $total_pages
Phalcon\Security::hasLibreSsl
Phalcon\Security::getSslVersionNumber
Phalcon\Validation\Validator::isSetOption
Phalcon\Cli\Console::addModules
in favor of Phalcon\Cli\Console::registerModules
Phalcon\Debug::getMajorVersion
due to the fact that we never use this methodPhalcon\Dispatcher::setModelBinding
in favor of Phalcon\Dispatcher::setModelBinder
Phalcon\Http\RequestInterface::isSecureRequest
in favor of Phalcon\Http\RequestInterface::isSecure
Phalcon\Http\RequestInterface::isSoapRequested
in favor of Phalcon\Http\Request::isSoap
Phalcon\Logger\Multiple
Phalcon\Mvc\Collection::validationHasFailed
Phalcon\Mvc\Model\Criteria::order
in favor of Phalcon\Mvc\Model\Criteria::orderBy
Phalcon\Mvc\Model\Validator\*
in favor of Phalcon\Validation\Validator\*
Phalcon\Mvc\Micro\Lazyloader::__call
in favor of Phalcon\Mvc\Micro\Lazyloader::callMethod
Phalcon\Model::reset
#12317
Phalcon\Validation\Message
and Phalcon\Mvc\Model\Message
in favor of Phalcon\Messages\Message
Phalcon\Validation\MessageInterface
and Phalcon\Mvc\Model\MessageInterface
in favor of Phalcon\Messages\MessageInterface
Phalcon\Validation\Message
and Phalcon\Mvc\Model\Message
in favor of Phalcon\Messages\Message
Phalcon\Validation\Message\Group
in favor of Phalcon\Messages\Messages
Phalcon\Mvc\Collection::validate
with object of type Phalcon\Mvc\Model\ValidatorInterface