9512 Commits

Author SHA1 Message Date
fee7a56f04 Merge branch 'master' into controller-array-fix 2025-05-19 12:22:15 +02:00
848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00
2b30ec1c9b array union in controllers
- remove needless class_exists call
2025-05-19 11:53:30 +02:00
47fb7fc78d Merge pull request #20378 from xepozz/cache-type 2025-05-06 20:12:51 +03:00
a2259d0c1d Fix #20373: Fixed the type of the first parameter yii\base\Controller::bindInjectedParams() 2025-05-05 08:27:07 +03:00
f66ee97a45 Fix #20374: Add PHPStan/Psalm annotations for BaseYii, BaseObject, Component, Model, Module and yii\base\Controller 2025-05-05 08:24:57 +03:00
87d960b85b Fix #20371: Fix "Typed property must not be accessed before initialization" when calling toArray() on a model with typed properties without default value 2025-05-04 12:42:46 +03:00
ab6fd4c9c4 Added PHPStan/Psalm annotations for AssetBundle, AssetManager and View (#20372) 2025-05-04 12:41:36 +03:00
0b5398707c Adds Maltese translations file and language option ('mt') to messages/config (#20369) 2025-05-01 09:57:25 +03:00
fbc86d8bb9 Adds Irish (Gaelic) translations file and language option ('ga') to messages/config (#20364) 2025-04-29 12:32:42 +03:00
2b6f0be715 Added and fixed Psalm/PHPStan annotations for ActiveRecord and ActiveQuery (#20363) 2025-04-28 22:27:06 +03:00
6dbdeb9091 save (#20361) 2025-04-27 12:12:12 +03:00
f046f242b7 Generic types for DI classes (#20354) 2025-04-24 12:20:41 +03:00
7037fd46ab Fix #20355: Fix SQL syntax for resetting sequence in QueryBuilder for MSSQL 2025-04-19 23:15:28 +03:00
d29998c564 array union in controllers
o cleanup, changelog
2025-04-10 10:39:29 +02:00
a67bfc1274 array union in controllers
! fix yii\web\Controller::bindActionParams behaviour for union types
o some refactoring in the process
2025-04-10 10:34:06 +02:00
03b0b8f299 Fix PHP 8.4 deprecations for setting session.use_trans_sid and session.use_only_cookies 2025-04-04 11:29:08 +03:00
2e8f686b98 Fix #8298: Loading fixtures does not update table sequence for Postgresql database 2025-04-02 12:22:20 +03:00
X
2db798ce04 Fix ArrayHelper::index function documentation 2025-03-20 18:42:28 +08:00
c447d95ba7 Correct docblock return type for DataReader::read() method (#20338)
The method's docblock incorrectly stated it always returned an array,
while in practice it can also return `false`.

This change updates the `@return` annotation to correctly specify `array|false`.
2025-03-14 14:40:21 +03:00
e38f62e55b Fix #20329: pgsql: Column Schema doesn't recognize PG type cast 2025-02-27 17:33:35 +03:00
dbb82a25a2 Fix #20332: Added support for the '__class' key in \yii\di\Instance:eunsure(['__class' => ...]) 2025-02-27 17:32:44 +03:00
53ce35423e MetaStorm definitions (#20326) 2025-02-21 19:01:31 +03:00
06bd683d21 Add generic types for ActiveRecord and Container (#20325)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2025-02-21 19:00:43 +03:00
1c191eac90 Update MetaStorm plugin config (#20324) 2025-02-18 09:28:18 +03:00
4859c8fcae Fix #20309: Add custom attributes support to style tags 2025-02-14 09:59:48 +03:00
8771c21c29 prepare for next release 2025-02-13 23:02:42 +03:00
40b1ec3799 release version 2.0.52 2025-02-13 23:02:28 +03:00
becf2b23e6 Fix CHANGELOG 2025-02-13 22:40:50 +03:00
d1463078a6 Fix #20313: Allow CompositeAuth auth methods to use their own request and response if defined
Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
2025-01-17 11:12:35 +03:00
a05f60beef Add tag case in controller.meta-storm.xml (#20312) 2025-01-16 17:26:30 +03:00
b0b7832235 Fix #20308: Allow CompositeAuth auth methods to use their own user if defined
Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
2025-01-14 14:07:19 +03:00
fd866da415 Basic setup for MetaStorm (#20307) 2025-01-13 00:44:34 +03:00
f94017ce4c Fix #20306: Add new yii\helpers\ArrayHelper::flatten() method 2025-01-06 17:53:58 +03:00
3fc7e71c67 Fix #20295: Add an ability to have wildcards in yii\log\Target::$maskVars array 2025-01-01 22:43:47 +03:00
a8586fc296 Fix #20300: Clear stat cache in FileCache::setValue() 2024-12-30 19:53:25 +03:00
b4efeb3185 Fix translation string (#20302) 2024-12-28 16:43:35 +03:00
b761bef439 Update changelog with pull request #20296 2024-12-10 12:45:50 +02:00
52ff9dbd48 Prefer classic if construct #20294 2024-12-09 17:59:51 +06:00
b3c23da52f Append additional (error) message only if error_get_last() returns non-null value #20294 2024-12-08 23:34:05 +06:00
0b3370eb36 Update changelog 2024-12-08 18:49:49 +06:00
10fa457f32 Fix "Trying to access array offset on null" warning, since the return value of error_get_last() can be null #17365 2024-12-08 13:46:32 +06:00
49cfd3b767 Merge pull request #20185 from briedis/master
Support BackedEnum attribute typecast behaviour.
2024-12-07 21:05:06 +03:00
dc05f31100 Fix #20292: Fix \yii\web\Session should not set cookie params, when useCookie is false 2024-12-07 10:19:25 +03:00
047d68c91a Update changelog 2024-12-06 19:11:07 +02:00
0acf0db753 Support BackedEnum attribute typecast behaviour. 2024-12-06 19:04:35 +02:00
65e3369e16 Fix #20140: Fix compatibility with PHP 8.4: calling session_set_save_handler() 2024-12-06 13:34:47 +03:00
5df412df2c Fix #20282: Fix compatibility with PHP 8.4: deprecated constant E_STRICT 2024-12-06 12:31:20 +03:00
80f2545cf1 Fixes CS (#20288) 2024-12-06 09:11:14 +03:00
9d5853de11 Merge branch 'master' into 20279-custom-csrf-header 2024-11-28 12:05:12 +07:00