9576 Commits

Author SHA1 Message Date
c8c0ea97c4 Fix #19899: Fixed GridView in some cases calling Model::generateAttributeLabel() to generate label values that are never used 2023-07-24 11:52:38 +03:00
79c83ba7db Fix #9899: Fix caching a MSSQL query with BLOB data type 2023-07-24 10:03:18 +03:00
7d2e2b9e70 Fix #16208: Fix yii\log\FileTarget to not export empty messages 2023-07-24 10:01:24 +03:00
1a0e91e912 Fix #19906: Fixed multiline strings in the \yii\console\widgets\Table widget 2023-07-24 09:56:04 +03:00
fbf48be33e Merge branch 'master' into master 2023-07-11 10:07:02 +02:00
4352b8744b Fix #19884: Added support Enums in Query Builder 2023-07-10 18:07:10 +03:00
d135996c64 Fix #19857: Fix AttributeTypecastBehavior::resetOldAttributes() causes "class has no attribute named" InvalidArgumentException 2023-07-10 17:30:32 +03:00
d94fd0f56c Removed (for Mysql QueryBuilder) NotSupportedException() when executing addheck() and dropCheck(), resolve #19819 2023-07-05 11:54:24 +02:00
3615134d3d Added method for addCheck() and dropCheck(), resolve #19817 2023-07-05 11:50:57 +02:00
b073daa8f0 Fix typo in description codesnippet (#19873) 2023-06-30 15:58:04 +02:00
85171844cf Fix #19868: Added whitespace sanitation for tests, due to updates in ICU 72 2023-06-21 18:28:12 +03:00
6c511d99fb Fix #19759: Update docs for Command::createTable(), Migration::createTable() and QueryBuilder::createTable() 2023-06-16 07:02:22 +03:00
3cebbdad2e Fix #19853: Added support for default value for \yii\helpers\Console::select() 2023-06-09 19:36:21 +03:00
80a18ad6ba Fix #18859: Fix yii\web\Controller::bindInjectedParams() to not throw error when argument of ReflectionUnionType type is passed 2023-05-31 21:30:45 +03:00
f6bb12091b Fix #19841: Allow jQuery 3.7 to be installed 2023-05-28 13:50:15 +03:00
1332eb98db prepare for next release 2023-05-24 23:04:21 +04:00
c9f491b4f7 release version 2.0.48.1 2023-05-24 23:04:02 +04:00
109871f839 Adjust version in CHANGELOG 2023-05-24 23:02:09 +04:00
37cd13e9c7 Fix #19847: Fix regression introduced in #15376 that caused DbManager::getRolesByUser() to return stale data 2023-05-24 20:21:37 +03:00
5bbf90148a Update CHANGELOG.md
trigger subsplit?
2023-05-22 18:00:48 +02:00
75ca241ac9 prepare for next release 2023-05-22 10:33:26 +04:00
8228d81b25 release version 2.0.48 2023-05-22 10:32:53 +04:00
bfca9e33d9 Fix #19749: Add PHP 8.2 support
Co-authored-by: Tobias Munk <schmunk@usrbin.de>
Co-authored-by: Aldo Karendra <akarendra835@gmail.com>
Co-authored-by: Dana Luther <dana.luther@gmail.com>
Co-authored-by: Oleg Poludnenko <ua.oleg@gmail.com>
2023-05-21 15:17:59 +03:00
477a439a62 Fix minor changelog issues 2023-05-21 13:14:13 +04:00
a8e83abd8f Fix #19743: Non-associative array values in AR weren't considered dirty when reordered 2023-05-21 12:06:16 +03:00
301a1cf0e3 Fix #19807: Fix REST serializer not using serializeModel() when working with array of models 2023-05-21 11:16:22 +03:00
0fcd434c97 Fix #19838: Added yii\helpers\BaseFileHelper::getExtensionByMimeType() to get the most common extension for a given MIME type 2023-05-19 22:56:47 +03:00
0a811cbd0d Fix #19837: Fixed processing of numeric file extensions in yii\build\controllers\MimeTypeController::generateMimeTypesFile()
Fixed processing of nummeric file extensions in `\yii\build\controllers\MimeTypeController::generateMimeTypesFile()` and added common image file types (https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#common_image_file_types)
2023-05-19 00:28:48 +03:00
821f72dd9a Fix #19736: Fix StringHelper::truncate(null, 10) causes error Deprecated: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated 2023-05-12 19:55:36 +03:00
a81a0d6b53 Fix #19720: Fix "zh-HK" locale causing [error][yii\i18n\PhpMessageSource::loadFallbackMessages] The message file for category 'yii' does not exist 2023-05-11 21:34:51 +03:00
400df717e4 Update LikeCondition::setEscapingReplacements() phpdoc (#19830) 2023-05-09 08:52:41 +02:00
4e7aac710f Fix #19813: Fix yii\base\DynamicModel validation with validators that reference missing attributes 2023-05-04 15:37:45 +03:00
6e7d0fbff4 Fix #19816: Explicitly pass $fallbackToMaster as true to getSlavePdo() to ensure it is not affected by child class with changed defaults 2023-05-04 15:36:33 +03:00
b77caaa0b2 BC break: Calling a method unnecessarily (#19810)
* BC: Calling a method unnecessarily

Making an indirect call to the `$this->getOldAttributes()` method caused my code to break. I understand that the correct thing would be to reference `$this->_oldAttributes`.

* Null check

* Update CHANGELOG.md

* Change isAttributeDirty() method to isValueDifferent()

* Update CHANGELOG.md
2023-04-21 11:24:54 +02:00
a6ff298964 Revert "Fix #19804: Change $this->oldAttributes to $this->_oldAttributes to avoid calling a method unnecessarily"
This reverts commit 246a58163768f0b322ae28fc15200e6c33bef73f.
2023-04-18 19:57:09 +04:00
246a581637 Fix #19804: Change $this->oldAttributes to $this->_oldAttributes to avoid calling a method unnecessarily 2023-04-18 18:54:54 +03:00
87f05afb8a Prevent redirection with new line character in the route (#19800)
* Prevent redirection with new line character in the route

* Remove escape

* Remove import

* Changelog

* Remove \
2023-03-31 14:40:31 +02:00
aa1e4432f1 Fix #19794: Add caching in yii\web\Request for getUserIP() and getSecureForwardedHeaderTrustedParts() 2023-03-30 11:51:09 +03:00
60d0cbd123 added pcntl to requirements check 2023-02-27 13:36:45 +01:00
5406e5dad3 Fix #19766: Add support for PHP generators to JSON helper 2023-02-27 14:48:22 +03:00
51208fcb99 Fix #19770: Fix yii\mutex\MysqlMutex keyPrefix expression param binding 2023-02-27 14:45:33 +03:00
f388ca71b0 Fix #18867: Check-all checkbox should be unchecked on page load when GridView have no rows (#19764) 2023-02-20 18:21:00 +03:00
e8bf240c80 Small update in language (#19769)
* Use correct English terms

* Use a better word
2023-02-20 08:07:38 +01:00
95b0e6010e Fix #19683: Updated framework\mimeType.php to the actual value. Fix typo in build/controllers/MimeTypeController.php 2023-02-11 19:21:51 +03:00
5d0d6f4a18 Fix #19705: Add binary and other data type to $typeMap list for MySQL 2023-02-09 22:05:52 +03:00
7c07885375 Feature/dependency fixes for PHP 8.2 (#19746) 2023-01-24 00:01:18 +03:00
8f7fb576cb Remove array syntax in #19741 (#19745) 2023-01-22 11:26:27 +03:00
17955140d5 Fix #19741: Added option to use a closure for $variations definition in yii\filters\PageCache 2023-01-21 00:26:40 +03:00
ff2d004c35 Fix #19734: PHP 8.1 compatibility fix for $query->orderBy(null) 2023-01-13 10:59:54 +04:00
581a7b2543 Fix #19735: Fix yii\validators\NumberValidator to use programmable message for the value validation 2023-01-13 10:57:03 +04:00