Sergei Predvoditelev
f450760449
Fix typo
4 years ago
mrblc
c46d209b56
Fix Croatian message translation
4 years ago
Brandon Kelly
cafe8e315c
Fix #18406 : Fix PDO exception when committing or rolling back an autocommitted transaction in PHP 8
4 years ago
Aleksandr Bogatikov
e208a5aa0d
Fix #18383 : RBAC's generated file made PSR-12 compliant
4 years ago
hooman-mirghasemi
b647c87e98
Fix #18393 : Fix ` framework/db/ActiveRecord.php ` to load data from db id cache is enabled
4 years ago
stevekr
e77fee2482
Fix phpdoc types
4 years ago
Dmitry Brusensky
47446a5a99
Fix #18386 : Fix `assets/yii.activeForm.js` incorrect target selector for `validatingCssClass`
4 years ago
Basil
890df1c867
Fix #18381 : The `yii\web\AssetManager` `$basePath` readable and writeable check has been moved to the `checkBasePathPermission()`. This check will run once before `publishFile()` and `publishDirectory()`
4 years ago
Rober Díaz
6b33ddf441
Fix #18199 : Fix content body response on 304 HTTP status code, according to RFC 7232
4 years ago
Brandon Kelly
279f59a3d4
Fix #18394 : Add support for setting `yii\web\Response::$stream` to a callable
4 years ago
Alexander Makarov
f72718ebbe
prepare for next release
4 years ago
Alexander Makarov
939b188382
release version 2.0.39.3
4 years ago
Alexander Makarov
b7a3e17d1d
Adjust version in changelog
4 years ago
Sergei Predvoditelev
22d3255890
Fix #18396 : Fix not throw `InvalidConfigException` when failed to instantiate class via DI container in some cases
4 years ago
stevekr
51c72b582b
Fix types in Controller and View classes ( #18397 )
...
* Set yii\base\Controller::actions() return type
* Change yii\base\View::$params type to array
4 years ago
Vikas Yadav
9ed1b4c94a
Add inheritdoc to generate proper docblock in API docs
4 years ago
Rober Díaz
763a2b04ea
Fix #18200 : Add `maxlength` attribute by default to the input text when it is an active field within a `yii\grid\DataColumn`
4 years ago
Alexander Makarov
b4723c9f49
prepare for next release
4 years ago
Alexander Makarov
a7879df969
release version 2.0.39.2
4 years ago
Sergei Predvoditelev
d633a9188e
Fix #18378 : Fix not taking default value when unable to resolve abstract class via DI container
4 years ago
Alexander Makarov
59a9c81ce5
Fix typo
4 years ago
Alexander Makarov
c6a8b307e1
prepare for next release
4 years ago
Alexander Makarov
ca0c31f4a7
release version 2.0.39.1
4 years ago
Sergei Predvoditelev
bbd9a267d6
Fix #18373 : Fix not taking default value when unable to resolve non-exing class via DI container
4 years ago
Bizley
ee0fe97a45
Fix #18370 : Add option to provide a string replacement for `null` value in `yii\data\DataFilter`
4 years ago
Alexander Makarov
d60252f051
prepare for next release
4 years ago
Alexander Makarov
ccb14ff667
release version 2.0.39
4 years ago
Alexander Makarov
09d9600b44
Fix changelog lines
4 years ago
stevekr
bdc29982fa
Fix @method signatures in ActiveRelationTrait ( #18369 )
4 years ago
Sergei Predvoditelev
50d5fb2bd9
Fix #18304 : Added support of constructor parameters with default values to DI container
4 years ago
Alexander Makarov
835971c6f6
Fix Controller phpdoc annotations
4 years ago
Sergei Predvoditelev
306171b582
Add phpdoc for properties "request" and "response" in web and console controllers ( #18361 )
4 years ago
rhertogh
7e4026cd62
Fixed UPGRADE.md for "Respect ini session use strict mode" ( #18362 )
4 years ago
Sergei Predvoditelev
23cfb38cea
Fix #18285 : Enhanced DI container to allow passing parameters by name in constructor
4 years ago
Bizley
840083724e
Fix #18351 : Added option to change default timezone for parsing formats without time part in `yii\validators\DateValidator`
4 years ago
rhertogh
ce088e05df
Fix #18247 : Added support for the 'session.use_strict_mode' ini directive in `yii\web\Session`
4 years ago
Evgeniy Tkachenko
f8337a15c2
Fix #18263 : Fix writing `\yii\caching\FileCache` files to the same directory when `keyPrefix` is set
4 years ago
Ivan Sidorov
cd36f505b1
Fix #16831 : Fix console Table Widget does not render correctly in combination with ANSI formatting
4 years ago
Alexander Makarov
ed1c087784
Fix #18317 : Additional PHP 8 compatibility fixes
...
Co-authored-by: Bizley <pawel@positive.codes>
4 years ago
DarkDef
f94fd13228
Adjust types in ActiveRecordInterface::updateAll() phpdoc ( #18341 )
4 years ago
Toir427
251a3aaf23
Fix #18336 : typo in documentation
4 years ago
杨晶旭
7ff516063d
Fix #18160 , fix #18192 : Fixed `registerFile` with argument depends set does not use the position and appendTimestamp argument, also modify the unit view
4 years ago
Walid Said
3dabcdb6ab
Fix #18313 : Fix multipart form data parse with double quotes
4 years ago
Walid Said
3f3003d823
Fix #18303 : Fix creating migration issue for column methods used after defaultValues
4 years ago
DarkDef
7a50da5cf8
Fix #18287 : Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema
4 years ago
Tobias Munk
88e79d3f8e
Fix #18290 : Fix response with non-seekable streams
4 years ago
DrDeath72
0210999748
Fix #18308 : Fixed `\yii\base\Model::getErrorSummary()` reverse order
4 years ago
My6UoT9
03da5bb689
Updates to ErrorHandler, add missing type hint \Throwable ( #18302 )
...
* Updated phpdoc so it has \Throwable
- `abstract protected function renderException($exception);` is extended in web/ErrorHandler to also have `\Error`.
- `public static function convertExceptionToError($exception)` is called from widgets/ActiveField.php with
```
/**
* PHP magic method that returns the string representation of this object.
* @return string the string representation of this object.
*/
public function __toString()
{
// __toString cannot throw exception
// use trigger_error to bypass this limitation
try {
return $this->render();
} catch (\Exception $e) {
ErrorHandler::convertExceptionToError($e);
return '';
} catch (\Throwable $e) {
ErrorHandler::convertExceptionToError($e);
return '';
}
}
```
* Add \Throwable to phpdoc in response.php
The ErrorHandler has been updated in phpdoc to have throwable, this complets that change.
* Update ErrorHandler.php
fixed missing `|`
4 years ago
Alex
1d7baabab5
Fix #18297 : Replace usage of deprecated `ReflectionParameter::isArray()` method in PHP8
4 years ago
My6UoT9
affd796c5c
Updated phpdoc return type for getExceptionName ( #18296 )
...
`getExceptionName` can return null, as described in phpdoc.
4 years ago