Long TRAN
71e810c89d
Fix #19130 : Fix DbSession breaks in some case
3 years ago
Sartor
7a2689e761
Fix #19004 : Container::resolveCallableDependencies() unable to handle union and intersection types
...
Co-authored-by: Sartor <sartor@syneforge.com>
3 years ago
Long TRAN
6a36fa82c7
Fix #19047 , fix #19118 : Fix deprecated preg_match() passing null parameters #2 in db\mysql\Schema.php
3 years ago
Long TRAN
cf1600411c
Fix #19204 : Support numbers in Inflector::camel2words
3 years ago
Bizley
dbb157fd32
Fix #19187 : Fix `yii\filters\PageCache` to store original headers names instead of normalized ones
3 years ago
Dmitrijlin
0eaa71d46c
Fix #19191 : Change `\Exception` to `\Throwable` in `BadRequestHttpException` and `HttpException`
3 years ago
rhertogh
e691713ed7
Fix #19171 : Added `$pagination` and `$sort` to `\yii\rest\IndexAction` for easy configuration
3 years ago
Roman
437b0d51aa
Fix #19182 : RBAC Migration failed when use oracle with oci8
3 years ago
stevekr
67ea4cf968
Fix #19148 : Fix undefined array key errors in `yii\db\ActiveRelationTrait`
3 years ago
Alexander Makarov
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
3 years ago
ntesic
e68b7ae162
Fix #19138 : Allow digits in language code
...
Co-authored-by: ntesic <nikolatesic@gmail.com>
3 years ago
Alexander Makarov
d7aec6b8e7
prepare for next release
3 years ago
Alexander Makarov
655786b7ed
release version 2.0.44
3 years ago
Alexander Makarov
214746c737
Adjust CHANGELOG messages
3 years ago
Anton
6fb16bc30f
Fix #19098 : Add `yii\helper\BaseHtml::$normalizeClassAttribute` to fix duplicate classes
3 years ago
irice
02fe7f42c8
Fix #18660 : Check name if backslash appears
3 years ago
Anton
cccb65a70d
Fix #19108 : Optimize `Component::hasEventHandlers()` and `Component::trigger()`
3 years ago
Anton
8e0e5ad814
Fix #19096 : Fix `Request::getIsConsoleRequest()` may return erroneously when testing a Web application in Codeception
3 years ago
Anton
6067608321
Fix #19005 : Add `yii\base\Module::setControllerPath()`
3 years ago
Anton
766cf701e5
Fix #19031 : Fix displaying console help for parameters with declared types
3 years ago
Papp Péter
0d899fa18b
Fix #19030 : Add DI container usage to `yii\base\Widget::end()`
3 years ago
ptolomaues
17aa0e40c1
Fix #13105 : Add yiiActiveForm validate_only property for skipping form auto-submission
3 years ago
AnkIF
6aa5bd8d46
Fix #18967 : Use proper attribute names for tabular data in `yii\widgets\ActiveField::addAriaAttributes()`
3 years ago
rhertogh
81a3b83995
Fix #19021 : Fix return type in PhpDoc `yii\db\Migration` functions `up()`, `down()`, `safeUp()` and `safeDown()`
...
* Fixed PhpDoc in Migration.php (revert #18886 )
Fixed the return type of `up()`, `down()`, `safeUp()` and `safeDown()` functions to match the described behavior.
The current implementation checks for `false`, "all other return values mean the migration succeeds".
This PR also reverts #18886 since it was a code fix for what was documentation error.
Allow all possible values for `yii\db\Migration` functions `up()`, `down()`, `safeUp()` and `safeDown()`
3 years ago
Anton
c8d027f649
Fix #18993 : Load defaults by `attributes()` in `yii\db\ActiveRecord::loadDefaultValues()`
3 years ago
Anton
03235e6c12
Fix #18988 : Fix default value of `yii\console\controllers\MessageController::$translator`
3 years ago
Anton
97f9fba7e9
Fix #18962 : Extend ignore list in `yii\console\MessageController::$except`
3 years ago
Aleksandr Bogatikov
e294c23102
Fix#18328: Yii::warning() raised on file register after View::endBody() has been moved to View::endPage() ( #18975 )
...
Co-authored-by: Mehdi Achour <machour@gmail.com>
3 years ago
Aleksandr Bogatikov
d27fb96409
StringHelper::dirname() fixed for trailing slash ( #18965 )
...
* StringHelper::dirname() fixed for trailing slash
* StringHelper::dirname() fix for PHP <7 versions
* Update CHANGELOG.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Aleksandr Bogatikov
b757d25c4b
Fix #18328 : Raise warning when trying to register a file after `View::endBody()` has been called
3 years ago
Anton
d80974da30
Fix #18955 : Check `yiisoft/yii2-swiftmailer` before using as default mailer in `yii\base\Application`
3 years ago
Bizley
ae82b58d85
Fix #18909 : Fix bug with binding default action parameters for controllers
3 years ago
Oleg Poludnenko
01b6b2a5d1
Fix #18913 : Add filename validation for `MessageSource::getMessageFilePath()`
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
3 years ago
Alexander Gubarev
e3028c524d
Fix #18899 : Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values`
3 years ago
hexkir
f2caf02164
Fix #18904 : Improve Captcha client-side validation
3 years ago
Michaël Arnauts
1d7f9d8d2d
Fix #18898 : Fix `yii\helpers\Inflector::camel2words()` to work with words ending with 0
3 years ago
Anton
fdbdbb51fb
Fix #18886 : Fix default return of `yii\db\Migration::safeUp()` and `yii\db\Migration::safeDown()`
3 years ago
rhertogh
f3956a4eec
Fix header collection from array ( #18883 )
...
* Fixed HeaderCollection::fromArray() key case
* Added CHANGELOG.md line for #18883 (Fixed HeaderCollection::fromArray() key case)
3 years ago
Leo
9ed87a0ad6
Fix #18858 : Reduce memory usage in `yii\base\View::afterRender` method
3 years ago
rhertogh
59eb9a3395
Fixed ArrayHelper::toArray for DateTime ( #18880 )
...
* Fixed ArrayHelper::toArray() for DateTime object
* Updated README.md for #18880 (Fixed ArrayHelper::toArray() for DateTime object)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
3 years ago
Bizley
ea60fba0ae
Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of `ReflectionUnionType` type is passed ( #18869 )
3 years ago
Anton
932806b97d
Fix #18812 : Added error messages and optimized "error" methods in `yii\helpers\BaseJson`
3 years ago
Anton
ac373c06fe
Fix #18845 : Fix duplicating `id` in `MigrateController::addDefaultPrimaryKey()`
3 years ago
Oscar Barrett
4f387d05c1
Fix #17119 : Fix `yii\caching\Cache::multiSet()` to use `yii\caching\Cache::$defaultDuration` when no duration is passed
3 years ago
Jaak Tamre
0b29ba870e
Fix #18762 : Added `yii\helpers\Json::$keepObjectType` and `yii\web\JsonResponseFormatter::$keepObjectType` in order to avoid changing zero-indexed objects to array in `yii\helpers\Json::encode()`
3 years ago
Anton
ec07ad9ff9
Fix #18783 : Add support for URI namespaced tags in `XmlResponseFormatter`, add `XmlResponseFormatter::$objectTagToLowercase` option to lowercase object tags
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
3 years ago
Bizley
44388e2cf9
Revert changes in dispatcher 18841 ( #18843 )
3 years ago
lexizz
383241f65c
Fix #18840 : Fix `yii2/log/Logger` to set logger globally
3 years ago
Anton
b7943c6732
Fix #18823 : Rollback changes #18806 in `yii\validators\ExistValidator::checkTargetRelationExistence()`
3 years ago
Brandon Kelly
63e93ba243
Fix #18832 - Inflector::camel2words() adding extra spaces ( #18833 )
3 years ago