resources/CHANGELOG-4.1.md
Logger\Log::log() log to recognize all log levels #15214setClaims to be protected so that the Phalcon\Security\JWT\Builder class can be properly extended. #15322Phalcon\Security\JWT. Offers support for:
Phalcon\Html\Helper: Anchor, Base, Body, Button, Close, Element, Form, Img, Input\Color, Input\Date, Input\DateTime, Input\DateTimeLocal, Input\Email, Input\File, Input\Hidden, Input\Image, Input\Input, Input\Month, Input\Numeric, Input\Password, Input\Range, Input\Select, Input\Search, Input\Submit, Input\Tel, Input\Text, Input\Textarea, Input\Time, Input\Url, Input\Week, Label, Link, Meta, Ol, Script, Style, Title, Ul
#14696Phalcon\Http\Request::getPreferredIsoLocaleVariant() to return the base language if this is a specific one (en vs en-US) #3135preload for Volt, which will send a HTTP/2 preload header #13128Phalcon\Helper\Arr::blackList() to exclude elements of an array by the keys obtained from the elements of a blacklist #14801 @TimurFlushPhalcon\Debug::renderHtml() to get a HTML representation of the exception #14794 @TimurFlushPhalcon\Mvc\Router\Annotations->setActionPreformatCallback($callback) to set a callback which pre-formats actions to custom pattern #14819Phalcon\DataMapper\Pdo\ConnectionPhalcon\DataMapper\Pdo\Connection\DecoratedPhalcon\DataMapper\Pdo\Profiler\ProfilerPhalcon\DataMapper\Pdo\Profiler\MemoryLoggerPhalcon\DataMapper\Pdo\ConnectionLocator
This component will be used in the Data Mapper implementation but can be used as a stand alone component for PDO connections. #14733Phalcon\DataMapper\Query\BindPhalcon\DataMapper\Query\DeletePhalcon\DataMapper\Query\InsertPhalcon\DataMapper\Query\SelectPhalcon\DataMapper\Query\UpdatePhalcon\DataMapper\Query\QueryFactory
This component can be used to create SQL statements using a fluent interface. Optionally the statements can be executed from the builder itself using the DataMapper\Pdo connection. #14734Phalcon\Mvc\Micro\LazyLoader::getHandler() to return real handler when using lazy loaded controllers for Phalcon\Mvc\Micro #14871 @JurigagPhalcon\Collection\CollectionInterface and Phalcon\Config\ConfigInterface to use as typehints when extending or implementing custom classes #15106 @BeMySlaveDarlinPhalcon\Db\Adapter\AdapterInterface::getDefaultValue() and supportsDefaultValue() methods to properly support the DEFAULT keyword #15180Phalcon\Db\Adapter\AbstractAdapter::supportsDefaultValue() method to properly support the DEFAULT keyword #15180session service is defined #11770, #14649Phalcon\Db\Adapter\*::getRawSQLStatement() to return the full SQL query with parameters #12196Phalcon\Filter::sanitize to throw a E_USER_NOTICE when a filter does not exist. #14679[ and ]. To use [ and ] escape they (\[, \]) #14535Phalcon\Http\Response::setJsonContent to apply with rfc7159Phalcon\Http\Message\Uri to work with clone. #15040Phalcon\Validation\AbstractValidator::__construct. Save custom validator message in options. #15053 @ivan-zolotavin_ prefix in methods names: getRelatedRecords(), groupResult(), exists(), preSaveRelatedRecords(), preSave(), doLowUpdate(), postSaveRelatedRecords(), postSave(), cancelOperation(), doLowInsert(), getConnection(), getConnectionService(), getVersion(), getSpecial() #14971Phalcon\Mvc\Model\Relation to accept callable params for model relations. #15158Phalcon\Db\Dialect\Mysql::getColumnDefinition to recognize size for DATETIME, TIME and TIMESTAMP columns #13297Phalcon\Events\Manager to provide callable support #13322, #15045Phalcon\Validation\Validator\Uniqueness fixed except query #15084Phalcon\Mvc\Model to also check the params option in cascade relations when deleting #15098Phalcon\Mvc\Model to also check the params option in restricted relations when deleting #15172Phalcon\Mvc\Model::findFirst() to return correct value #15077Phalcon\Mvc\Model\CriteriaInterface::where() parameters #15144Phalcon\Http\Response\Cookies::set() to utilize the options parameter correctly #15129Phalcon\Http\Cookie::send() to define options parameter #15142Phalcon\Crypt performance issues. #15118Phalcon\Mvc\Router\Route unicode support in patterns #15102Phalcon\Mvc\Model::cloneResultMap() when column map is used with orm.cast_on_hydrate turned on. #14617Phalcon\Mvc\Model::sum(), average(), minimum(), maxmium(), count() to utilize the transaction parameter. #15113Phalcon\Mvc\Model::__set() to clear dirtyRelated when empty array is set. #14822Phalcon\Mvc\Model to skip columns with default values when the DEFAULT keyword is not supported by the database adapter (SQLite) #15180Phalcon\Mvc\Router to handle numeric routes properly #14926Phalcon\Session\Adapter\Redis and Phalcon\Session\Adapter\Libmemcached to utilize the prefix option #15184Phalcon\Mvc\Model to save the modified properties of previously queried single related records. #15148Phalcon\Http\Cookie binding to session #11770
Phalcon\Http\Cookie no longer depends on the session service and data will not be duplicated in the session. This made it difficult to use cookies in stateless applications (SPA).Phalcon\Mvc\Router::uriSource. #15123`