High performance, full-stack PHP framework delivered as a C extension.
BSD-3-CLAUSE License
Published by andresgutierrez about 8 years ago
Phalcon\Mvc\Model\Validation
is now deprecated in favor of Phalcon\Validation
Phalcon\Security
to CRYPT_BLOWFISH_Y
Phalcon\Mvc\Model
to allow pass an array of initialization dataPhalcon\Loader
Phalcon\Mvc\View
supports many views directories at the same timeMvc\View::setLayoutsDir
Phalcon\Di
is now bound to services closures allowing use Phalcon\Di
as $this to access services within thembeforeServiceResolve
in Phalcon\Di
this overrides the:controller
and :action
in Mvc\Router
now defaults to /([\\w0-9\\_\\-]+)
instead of /([\\a-zA-Z0-9\\_\\-]+)
#u
(PCRE_UTF8) is now default in regex based routes in Mvc\Router
$this->view->disable()
)$this->response->setContent('Hello world')
)Mvc\Micro
handler takes it as the body of the responseMvc\Router\Route
now escapes characters such as . or + to avoid unexpected behaviorsMvc\Micro
are now bound to the $app instancePhalcon\Mvc\Model
now implements JsonSerializable
making easy serialize model instancesMvc\Model\Manager
PHQL cache is cleanisSetOption
in Phalcon\Validation\ValidatorInterface
marked as deprecated, please use hasOption
Content-Type: "application/json; charset=UTF-8"
in method Phalcon\Http\Response::setJsonContent
Phalcon\Events\Event
implements Phalcon\Events\EventInterface
Phalcon\Events\Event::getCancelable
renamed to Phalcon\Events\Event::isCancelable
Phalcon\Events\Manager::dettachAll
in favor of Phalcon\Events\Manager::detachAll
Phalcon\Mvc\Model\Criteria::getOrder
renamed to Phalcon\Mvc\Model\Criteria::getOrderBy
getOption()
in Phalcon\Mvc\Model\RelationInterface
Phalcon\Db\Adapter\Pdo\Mysql
Phalcon\Acl\RoleAware
and Phalcon\Acl\ResourceAware
Interfaces, Now you can pass objects to Phalcon\Acl\AdapterInterface::isAllowed
as roleName
and resourceName
, also they will be automatically passed to function defined in Phalcon\Acl\AdapterInterface::allow
or Phalcon\Acl\AdapterInterface::deny
by typePhalcon\Acl\AdapterInterface::allow
and Phalcon\Acl\AdapterInterface::deny
have 4th argument - function, which will be called when using Phalcon\Acl\AdapterInterface::isAllowed
Phalcon\Acl\AdapterInterface::isAllowed
have 4th argument - parameters, you can pass arguments for function defined in Phalcon\Acl\AdapterInterface:allow
or Phalcon\Acl\AdapterInterface::deny
as associative array where key is argument namegetActionSuffix()
in Phalcon\DispatcherInterface
Phalcon\Mvc\Controller\BindModelInterface
and associated model type hint loading through dispatcher.Phalcon\Dispatcher::hasParam()
.Phalcon\Cli\Console
and Phalcon\Mvc\Application
now inherit Phalcon\Application
.afterFetch
event not being sent to behaviorsModel::__set
that was bypassing setters #11286
Model::__set
that was setting hidden attributes directly when setters are not declared #11286
Phalcon\Cli\DispatcherInterface
, Phalcon\Cli\TaskInterface
, Phalcon\Cli\RouterInterface
and Phalcon\Cli\Router\RouteInterface
.Phalcon\Mvc\Collection::update
, Phalcon\Mvc\Collection::create
and Phalcon\Mvc\Collection::createIfNotExist
__construct
from all interfaces #11410
dispatch:beforeException
event when there is any exception during dispatching #11458
OR
operator for Phalcon\Mvc\Model\Query\Builder
methods: betweenWhere
, notBetweenWhere
, inWhere
and notInWhere
destroy
method of Phalcon\Session\Adapter\Libmemcached
Phalcon\Cache\Backend\Memcache::addServers
to enable pool of servers for memcachesetLastModified
method to Phalcon\Http\Response
Phalcon\Validation\Validator\Date
\Phalcon\Queue\Beanstalk::ignore()
It removes the named tube from the watch list for the current connection.\Phalcon\Queue\Beanstalk::pauseTube()
Can delay any new job being reserved for a given time.\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.\Phalcon\Queue\Beanstalk::listTubeUsed()
Returns the tube currently being used by the client.\Phalcon\Queue\Beanstalk::listTubesWatched()
Returns a list tubes currently being watched by the client.\Phalcon\Queue\Beanstalk::peekDelayed()
Return the delayed job with the shortest delay left.\Phalcon\Queue\Beanstalk::jobPeek()
Return job.Phalcon\Crypt
Phalcon\Crypt
is now changed to AES-256-CFB
Phalcon\CryptInterface
Phalcon\Assets\Manager::exists()
to check if collection existsPhalcon\Mvc\Model\Manager::load()
now can load models from aliased namespacesPhalcon\Mvc\Model\Transaction\Manager
now correctly keeps account of transactions #11554
Phalcon\Db\Dialect\Sqlite
now maps additional column types to SQLite columns equivalents.Phalcon\Security
is using now Phalcon\Security\Random
Phalcon\Security::getToken()
and Phalcon\Security::getTokenKey()
return a random value per request not per callPhalcon\Security::getToken()
and Phalcon\Security::getTokenKey()
are using now Phalcon\Security::_numberBytes
instead of passed as a argument or hardcoded valuePhalcon\Security::hash()
corrected not working CRYPT_STD_DES, CRYPT_EXT_DES, MD5, CRYPT_SHA256Phalcon\Security::hash()
CRYPT_SHA512 fixed wrong salt lengthPhalcon\Security
Filter::add
method handler #11581
Phalcon\Session
#11340
Phalcon\Mvc\Model\Query\Builder::getJoins()
- to get join parts from query builderPhalcon\Db\Dialect\Oracle::prepareTable()
to correctly generate SQL for table aliases #11799
Phalcon\Mvc\Model\Resultset::update()
- removed endless loop queriesPhalcon\Cache\BackendInterface::save
Phalcon\Security::hasLibreSsl
and Phalcon\Security::getSslVersionNumber
Phalcon\Escaper::setDoubleEncode()
- to allow setting/disabling double encodingPhalcon\Cache\Frontend\Msgpack
- Added Msgpack Support for Frontend CachePhalcon\Debug\Dump
skip debugging di, fix detecting private/protected propertiesmodel => $this
in Phalcon\Validation\Validator\Uniqueness
.Phalcon\Validation\Validator\Alpha
now correctly validates non-ASCII characters #11386
Phalcon\Validation\Validator\Digit
now correctly validates digits #11374
Phalcon\Validation\CombinedFieldsValidator
, validation will pass array of fields to this validator if neededPhalcon\Config::merge
for working with php7Phalcon\Text::camelize
and Phalcon\Text::uncamelize
#10396
CONNECT
, TRACE
and PURGE
HTTP methodsPhalcon\Http\Request::getHttpHost
. Now it always return host name or empty string. Optionally validates and clean host name #2573
Phalcon\Http\Request::getPort
. To get information about the port on which the request is made.Phalcon\Http\Request::setStrictHostCheck
and Phalcon\Http\Request::isStrictHostCheck
to manage strict validation of host name.Phalcon\Mvc\Route::handle
when using port on current host name #2573
Phalcon\Text:dynamic()
to allow custom separator #11215
Phalcon\Validation::appendMessage
to allow append message to the empty stack #10405
Phalcon\Session\Flash::getMessages
. Now it returns an empty array in case of non existent message type request #11941
Phalcon\Mvc\RouterInterface
and Phalcon\Mvc\Router
. Added missed addPurge
, addTrace
and addConnect
methodsPhalcon\Validation\Validator\Uniqueness
Phalcon\Forms\Form::getValue
. Now Elements can have names that match with the internal Form getters #10398
setContentLength()
method to Phalcon\Http\Response
Phalcon\Mvc\Model\Manager::_mergeFindParameters
- Merging conditions #11987
Phalcon\Http\Request::isSoapRequest
to Phalcon\Http\Request::isSoap
and Phalcon\Http\Request::isSecureRequest
to Phalcon\Http\Request::isSecure
. Left the originals functions as aliases and marked them deprecated.Phalcon\Acl\Adapter\Memory
#12004
Phalcon\Mvc\Collection::findById
. Added check if a id
in a valid format #12010
convert
option to Phalcon\Validation\Validator\Uniqueness
to convert values to do the database lookup #12005
Published by sergeyklay over 8 years ago
Phalcon\Text::camelize
behavior #11767
Published by sergeyklay over 8 years ago
Published by andresgutierrez over 8 years ago
prepareSave
event to model savingPhalcon\Translate\Adapter\Gettext::prepareOptions
#11429
Phalcon\Mvc\View\Engine\Volt::callMacro
bug. Now it's correctly calling call_user_func_array
instead of call_user_func
Phalcon\Mvc\Collection\Manager::getConnectionService
. Now Phalcon\Mvc\Collection::getConnectionService
works correctly in according to documentationPublished by andresgutierrez over 8 years ago
total_items
and total_pages
in Paginator
when the query builder has set groupBy()
Phalcon\Acl\Memory::allow
bug#11210 related to the inconsistent behavior with access specified as string and arrayPhalcon\Db\Dialect\MySQL::addColumn
when define position of the columnPhalcon\Db\Dialect\MySQL::modifyColumn
Phalcon\Mvc\Model\Query\Builder
bug#11298 related to resetting limit to nullPhalcon\Tag::getTitle
bug#11185. Now a title will be automatically escaped.Phalcon\Translate\Adapter\Gettext::exists
bug#11310 related to the wrong returned value (always true)Phalcon\Translate\Adapter\Gettext::setLocale
bug#11311 related to the incorrect setting localePhalcon\Queue\Beanstalk::connect
Phalcon\Http\Response::redirect
bug#11324. Incorrect initialization local array of status codesPhalcon\Db\Dialect::escape
bug#11359. Added ability to use the database name with dots.Published by andresgutierrez almost 9 years ago
Published by andresgutierrez about 9 years ago
Phalcon\Security\Random::base58
- to generate a random base58 stringPhalcon\Logger\Adapter::isTransaction()
to check whether the logger is currently in transactionPhalcon\Session\Adapter
now closes the session when the adapter is destroyed (Phalcon 1.3 behavior)Phalcon\Db
Phalcon\Validation\Message
available in Phalcon 1.3.xPhalcon\Db\Column::TYPE_TIMESTAMP
to allow migrations on these kind of columnsPhalcon\Db\ColumnInterface::hasDefault
to check if a column has a default value declared in its databasePhalcon\Db\Dialect\MySQL
, Phalcon\Db\Dialect\Sqlite
andPhalcon\Db\Dialect\Postgresql
classesPhalcon\Db\Dialect\Postgresql::getColumnDefinition
for BIGINT
and BOOLEAN
data typesBOOLEAN
default value in Phalcon\Db\Dialect\Postgresql
Phalcon\Validation\Validator\CreditCard
- validation credit card number using luhn algorithmPublished by andresgutierrez about 9 years ago
Image\Adapter\Gd::save()
no longer fails if the method or the instance is created with a filename without an extensionImage\Adapter\Imagick::text()
Phalcon\Mvc\View\Engine\Exception
{% include "file.volt" %}
Mvc\Model\Criteria
now uses a different prefixMvc\Model\Query\Builder
to avoid collisionsCache\Multiple::flush()
to flush the cache backends added to the multiple systemSession\Bag::remove()
Session\Bag::destroy()
eliminates any temporary data in the variables bagafterCreate
/afterUpdate
are only called if saving related records was successfulSession\Adapter::remove()
to remove any data in $_SESSION
that belongs to the uniqueId or the whole session data#
as internal separatorMvc\Model\Criteria::fromImput()
#10749
\Phalcon\Queue\Beanstalk::listTubes()
to get list of a tubesCookieInterface
, update Cookie
and Cookies
to use this interface - Decoupling Cookies
and Cookie
- Check Session
state before using it in Cookie
. #10789
Phalcon\Config
instances that contains object values different than Phalcon\Config
compatible instancesSELECT COUNT(*)
causing unexpected exceptions when phqlLiterals
is disabledPhalcon\Security\Random
- secure random number generator class. Provides secure random number generator which is suitable for generating session key in HTTP cookies, etcPublished by andresgutierrez over 9 years ago
Http\Response::setCache()
to easily set cache headers.Text::increment
is now _ (underscore)Cache\Backend\Memcached
now shows the result code to easily debug problemsLIMIT/OFFSET
SQL generation in Mvc\Model\Query\Builder
Validation\Validator\Identical
allows both 'accepted' and 'value' as value to keep backwards compatibility\Phalcon\Mvc\Model\MetaData\Redis
adapter.Http\Request
getRawBody()/getPut() clears input buffer #10694
Published by andresgutierrez over 9 years ago
Published by andresgutierrez over 9 years ago
Phalcon\Mvc\Model::update()
that mistakenly throws an exception when the record does existPhalcon\Debug
point to https://api.phalconphp.com instead of http://docs.phalconphp.com
Phalcon\Assets\Manager::getCollections()
to return all collections registered #2488
Phalcon\Mvc\Url::getStatic()
generates URLs from routesPhalcon\Mvc\EntityInterface
to allow parameters receive both Phalcon\Mvc\Model and Phalcon\Mvc\Collection
instances. This interface allow Mvc\Model\Validators being used in Mvc\CollectionPhalcon\Session\Adapter::setName()
to change the session namePhalcon\Db\Column::BLOB
and Phalcon\Db\Column::DOUBLE
#10506
Phalcon\Flash\Direct::output()
allowing to place flash messages in a specific place of the view #629
Phalcon\Mvc\Collection\Document
Phalcon\Mvc\Collection\Document
Mvc\Model::cloneResultMap
distinct()
in Phalcon\Mvc\Model\Criteria
#10536
Db\Adapter\Pdo\Oracle
Mvc\Collection
Mvc\Router\Annotations
Mvc\Model\Criteria
Phalcon\Mvc\Model::count()
now return values as integer__construct
from Phalcon\Mvc\View\EngineInterface
Phalcon\Debug\Dump::toJson()
to return an JSON string of information about a single variablePhalcon\Mvc\Model\Validator\IP
from incubatordefaultValue
in Phalcon\Mvc\Model\Validator::getOption()
Published by andresgutierrez over 9 years ago
Phalcon\Db\Dialect::select()
see #10439
Published by niden over 9 years ago
stats()
methods to BeanstalkPublished by niden over 9 years ago
2.0.1
Published by niden over 9 years ago
Published by niden almost 10 years ago
Published by niden about 10 years ago
1.3.3
Published by niden over 10 years ago
Model::_postSaveRelatedRecords
add check whether value is object\Phalcon\Logger\Formatter\Json
Wrong number of parametersPhalcon\Mvc\Model\Manager::getRelationRecords
allowEmpty
option to \Phalcon\Mvc\Model\Validator*allowEmpty
option to \Phalcon\Mvc\Model\Validator*Published by niden over 10 years ago
has()
+ set()
getRaw()
because it is getService()
+ $service->getDefinition()
setService($name, $raw_definition)
to setService($raw_definition)
because service name can be retrieved from the definitionPublished by niden over 10 years ago