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
Uh oh!
There was an error while loading. Please reload this page.
-
Supported PHP versions: 7.4, 8.0
Changed
Phalcon\Translate\Adapter\Gettext::setLocalesignature to allow the category and an array of locales #14764Phalcon\Versionis now moved toPhalcon\Support\Version_getSpecialVersionand_getVersionhave been removed (marked deprecated in v4)Phalcon\Debugand the Volt compiler have been adjusted #15422Phalcon\Debugis now moved toPhalcon\Support\Debug; CSS/JS references updated #14817Phalcon\Logger:Phalcon\Logger\Item::getNametoPhalcon\Logger\Item::getLevelNamePhalcon\Logger\Item::getTypetoPhalcon\Logger\Item::getLevelDateTimeImmutableon a per item basis - more accurate timingPhalcon\Loggerto accept aDateTimeZonein 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 | nullso as to abide with the latest Zephir #15411Phalcon\Support\Helper\Str\Interpolate#15411Phalcon\Mvc\Model\ManagerInterface:getRelationByAlias()return type fromRelation|booltoRelationInterface|bool#15343Phalcon\Paginator\Repository:getItems()return type fromarraytoResultsetInterface#15074Added
BINARYandVARBINARYsupport 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$_FILESarray directly (not uploading). #15051Phalcon\Support\Helper\Str\Interpolateto be used throughout the code for interpolation (Logger/Translator)%type%to%level%to align with the variables #15411Phalcon\Support\HelperFactoryfor an easier creation/access of helpers #15411Fixed
Phalcon\Db\Profiler\Itemcalculation for seconds #15249Phalcon\Http\Message\ServerRequestFactoryto populate with superglobals #15286Phalcon\Mvc\Model\Query\BuilderInterface::orderByto usevarinstead ofstring#15415Phalcon\Db\Adapter\Pdo\AbstractPdo::connectto take into account thepersistentoption for relevant connections #15241Phalcon\Image\Adapter\Gd::processTextto correctly callimagettfbboxwhen a font is specified #15188Phalcon\Cacheto 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