You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed Phalcon\Translate\Adapter\Gettext::setLocale signature to allow the category and an array of locales #14764
Phalcon\Version is now moved to Phalcon\Support\Version
_getSpecialVersion and _getVersion have been removed (marked deprecated in v4)
The class is no longer static; it has to be instantiated first
References to Phalcon\Debug and the Volt compiler have been adjusted #15422
Phalcon\Debug is now moved to Phalcon\Support\Debug; CSS/JS references updated #14817
Changed the logging names types to uppercase #15375
Changes to the Phalcon\Logger:
Renamed Phalcon\Logger\Item::getName to Phalcon\Logger\Item::getLevelName
Renamed Phalcon\Logger\Item::getType to Phalcon\Logger\Item::getLevel
Changed the logger timestamp to be DateTimeImmutable on a per item basis - more accurate timing
Changed Phalcon\Logger to accept a DateTimeZone in the constructor
Changed placeholder %type% to %level% to align with the variables #15411
Changed Phalcon\Mvc\Model::getSchema(), Phalcon\Mvc\ModelInterface::getSchema(), Phalcon\Mvc\Model\Manager::getModelSchema()Phalcon\Mvc\Model\ManagerInterface::getModelSchema() to return string | null so as to abide with the latest Zephir #15411
Changed the interpolation for the formatters to use the Phalcon\Support\Helper\Str\Interpolate#15411
Changed the exceptions thrown from factories to be more specific to their namespaces vs. the Factory generic one #15411
Changed Phalcon\Mvc\Model\ManagerInterface:getRelationByAlias() return type from Relation|bool to RelationInterface|bool#15343
Changed Phalcon\Paginator\Repository:getItems() return type from array to ResultsetInterface#15074
Added
Added BINARY and VARBINARY support for Phalcon\Db\Adapter\Mysql #14927
Added Phalcon\Db\Profiler\Item::getTotalElapsedNanoseconds() and Phalcon\Db\Profiler\Item::getTotalElapsedMilliseconds() for more precision #15249
Added Phalcon\Http\Response\Cookies::isSent() and Phalcon\Http\Response\Headers::isSent(); Added logic to not send the headers or cookies twice. #15334
Added Phalcon\Validation\Validator\File\AbstractFile::checkIsUploadedFile() method to allow overriding when adding files to the $_FILES array directly (not uploading). #15051
Added Phalcon\Support\Helper\Str\Interpolate to be used throughout the code for interpolation (Logger/Translator) %type% to %level% to align with the variables #15411
Added Phalcon\Support\HelperFactory for an easier creation/access of helpers #15411
Fixed
Corrected the Phalcon\Db\Profiler\Item calculation for seconds #15249
Corrected Phalcon\Http\Message\ServerRequestFactory to populate with superglobals #15286
Corrected Phalcon\Mvc\Model\Query\BuilderInterface::orderBy to use var instead of string#15415
Corrected Phalcon\Db\Adapter\Pdo\AbstractPdo::connect to take into account the persistent option for relevant connections #15241
Corrected Phalcon\Image\Adapter\Gd::processText to correctly call imagettfbbox when a font is specified #15188
Corrected Phalcon\Cache to cast keys as strings before sending them to adapters #15249
Binding form values with specified whitelist #15070
This discussion was created from the release v5.0.0-alpha.2.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Supported PHP versions: 7.4, 8.0
Changed
Phalcon\Translate\Adapter\Gettext::setLocale
signature to allow the category and an array of locales #14764Phalcon\Version
is now moved toPhalcon\Support\Version
_getSpecialVersion
and_getVersion
have been removed (marked deprecated in v4)Phalcon\Debug
and the Volt compiler have been adjusted #15422Phalcon\Debug
is now moved toPhalcon\Support\Debug
; CSS/JS references updated #14817Phalcon\Logger
:Phalcon\Logger\Item::getName
toPhalcon\Logger\Item::getLevelName
Phalcon\Logger\Item::getType
toPhalcon\Logger\Item::getLevel
DateTimeImmutable
on a per item basis - more accurate timingPhalcon\Logger
to accept aDateTimeZone
in the constructor%type%
to%level%
to align with the variables #15411Phalcon\Mvc\Model::getSchema()
,Phalcon\Mvc\ModelInterface::getSchema()
,Phalcon\Mvc\Model\Manager::getModelSchema()
Phalcon\Mvc\Model\ManagerInterface::getModelSchema()
to returnstring | null
so as to abide with the latest Zephir #15411Phalcon\Support\Helper\Str\Interpolate
#15411Phalcon\Mvc\Model\ManagerInterface:getRelationByAlias()
return type fromRelation|bool
toRelationInterface|bool
#15343Phalcon\Paginator\Repository:getItems()
return type fromarray
toResultsetInterface
#15074Added
BINARY
andVARBINARY
support for Phalcon\Db\Adapter\Mysql #14927Phalcon\Db\Profiler\Item::getTotalElapsedNanoseconds()
andPhalcon\Db\Profiler\Item::getTotalElapsedMilliseconds()
for more precision #15249Phalcon\Http\Response\Cookies::isSent()
andPhalcon\Http\Response\Headers::isSent()
; Added logic to not send the headers or cookies twice. #15334Phalcon\Validation\Validator\File\AbstractFile::checkIsUploadedFile()
method to allow overriding when adding files to the$_FILES
array directly (not uploading). #15051Phalcon\Support\Helper\Str\Interpolate
to be used throughout the code for interpolation (Logger/Translator)%type%
to%level%
to align with the variables #15411Phalcon\Support\HelperFactory
for an easier creation/access of helpers #15411Fixed
Phalcon\Db\Profiler\Item
calculation for seconds #15249Phalcon\Http\Message\ServerRequestFactory
to populate with superglobals #15286Phalcon\Mvc\Model\Query\BuilderInterface::orderBy
to usevar
instead ofstring
#15415Phalcon\Db\Adapter\Pdo\AbstractPdo::connect
to take into account thepersistent
option for relevant connections #15241Phalcon\Image\Adapter\Gd::processText
to correctly callimagettfbbox
when a font is specified #15188Phalcon\Cache
to cast keys as strings before sending them to adapters #15249This discussion was created from the release v5.0.0-alpha.2.
Beta Was this translation helpful? Give feedback.
All reactions