a45382c10a
Merge branch 'yiisoft:master' into master
2023-07-17 10:25:25 +02:00
76d6345e85
Add test resetSequence() for SQLite. ( #19895 )
...
* Add test `resetSequence()`.
* add more test.
2023-07-17 09:53:21 +02: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
b9e5a87f54
Fix tests, clean workflows, separate db tests, use codecov for code coverage ( #19883 )
2023-07-10 07:12:07 +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
94a1cc5019
Fix #19863 : Fix link to auth clients security in ES guide
2023-06-14 15:23:37 +03:00
3cebbdad2e
Fix #19853 : Added support for default value for \yii\helpers\Console::select()
2023-06-09 19:36:21 +03:00
643d45a454
Add docs about default cache ( #19861 )
2023-06-09 19:34:38 +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
48617d54fc
Fix #19843 : Enable memcache/memcached tests ( #19850 )
2023-05-25 21:15:10 +03:00
2db470cd75
Translate tutorial-docker.md to pt-BR ( #19820 )
...
* Translate tutorial-docker.md to pt-BR
* Update translators.json
* Update tutorial-docker.md
2023-05-25 09:05:14 +02:00
1332eb98db
prepare for next release
2023-05-24 23:04:21 +04:00
c9f491b4f7
release version 2.0.48.1
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
e8f2ca727d
Update structure-models.md ( #19846 )
2023-05-24 09:36:23 +02: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
2.0.48
2023-05-22 10:32:53 +04:00
0f1699db8d
Fix build command for PHP 8.2
2023-05-21 16:23:05 +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
4e23de91aa
Removed copying of non-existing test files ( #19822 )
...
Tests patches are now loaded via URL (https://github.com/yiisoft/yii2/pull/18356 ).
2023-05-04 15:24:40 +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
1a07bb14d9
Cancel jobs in progress when PR is updated ( #19801 )
2023-03-31 15:43:39 +02: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
1260d4011b
Fixed \yiiunit\framework\helpers\JsonTest::testEncode() for PHP 5.4 ( #19798 )
...
* Fixed \yiiunit\framework\helpers\JsonTest::testEncode() for PHP 5.4
'\Generator' is only supported since PHP 5.5
* Actually fixed \yiiunit\framework\helpers\JsonTest::testEncode() for PHP 5.4
Turned out the test already failed during file parsing. Now using eval to "hide" the `yield`
2023-03-29 17:37:52 +02: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