Skip to content

Commit 8a7f2ef

Browse files
committed
release version 2.0.53
1 parent c704847 commit 8a7f2ef

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

framework/BaseYii.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class BaseYii
9393
*/
9494
public static function getVersion()
9595
{
96-
return '2.0.53-dev';
96+
return '2.0.53';
9797
}
9898

9999
/**

framework/CHANGELOG.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
Yii Framework 2 Change Log
22
==========================
33

4-
2.0.53 under development
5-
------------------------
4+
2.0.53 June 27, 2025
5+
--------------------
66

7-
- Enh #20385: Fixed the memory leak issue when using `Query::exists()` with MySQL (snewer)
8-
- Bug #20387: Fixed the command generated to use router.php file in php built-in server (eseperio)
9-
- Enh #20309: Add custom attributes support to style tags (nzwz)
10-
- Bug #20329: pgsql: Column Schema doesn't recognize PG type cast (arkhamvm)
117
- Bug #8298: Loading fixtures does not update table sequence for Postgresql database (mtangoo)
8+
- Bug #20329: pgsql: Column Schema doesn't recognize PG type cast (arkhamvm)
129
- Bug #20347: Fix compatibility with PHP 8.4: remove usage of `session.use_trans_sid` and `session.use_only_cookies` (tehmaestro)
10+
- Bug #20348: `ErrorHandler::convertExceptionToError()` Passing `E_USER_ERROR` to `trigger_error()` is deprecated since PHP `8.4` (terabytesoftw)
1311
- Bug #20351: Fix behavior for `yii\web\Controller::bindActionParams` around union types (chriscpty)
1412
- Bug #20355: Fix SQL syntax for resetting sequence in `QueryBuilder` for `MSSQL` (terabytesoftw)
1513
- Bug #20371: Fix "Typed property must not be accessed before initialization" when calling `toArray()` on a model with typed properties without default value (uaoleg)
14+
- Bug #20373: Fixed the type of the first parameter `yii\base\Controller::bindInjectedParams()` (max-s-lab)
15+
- Bug #20387: Fixed the command generated to use router.php file in php built-in server (eseperio)
16+
- Bug #20423: `strcmp()` Passing `null` to parameter `2` ($string2) of type string is deprecated (terabytesoftw)
17+
- Enh #20309: Add custom attributes support to style tags (nzwz)
1618
- Enh #20354: Add PHPStan/Psalm annotations for `Container` and `Instance` (max-s-lab)
1719
- Enh #20361: Add PHPStan/Psalm annotations for `ActiveQuery` (max-s-lab)
1820
- Enh #20363: Add PHPStan/Psalm annotations for `ActiveRecord` and `ActiveQuery` (max-s-lab)
1921
- Enh #20372: Add PHPStan/Psalm annotations for `AssetBundle`, `AssetManager` and `View` (max-s-lab)
20-
- Bug #20373: Fixed the type of the first parameter `yii\base\Controller::bindInjectedParams()` (max-s-lab)
2122
- Enh #20374: Add PHPStan/Psalm annotations for `BaseYii`, `BaseObject`, `Component`, `Model`, `Module` and `yii\base\Controller` (max-s-lab)
23+
- Enh #20385: Fixed the memory leak issue when using `Query::exists()` with MySQL (snewer)
2224
- Enh #20394: Add PHPStan/Psalm annotations for `Yii::getAlias` (max-s-lab)
23-
- Enh #20400: Add PHPStan/Psalm annotations for `yii\web\User` (samuelrajan747)
2425
- Enh #20395: Add PHPStan/Psalm annotations for `ActiveForm::validate` (samuelrajan747)
2526
- Enh #20397: Add PHPStan/Psalm annotations for `ArrayHelper::merge` (samuelrajan747)
27+
- Enh #20400: Add PHPStan/Psalm annotations for `yii\web\User` (samuelrajan747)
2628
- Enh #20413: Add PHPStan/Psalm annotations for `Action`, `ActionEvent`, `Application`, `DynamicModel` and `InlineAction` (max-s-lab)
2729
- Enh #20416: Add `PHPStan`/`PSalm` annotation for `owner` property in `Behavior` class (terabytesoftw)
28-
- Bug #20423: `strcmp()` Passing `null` to parameter `2` ($string2) of type string is deprecated (terabytesoftw)
2930
- Enh #20426: Add `PHPStan`/`Psalm` annotation for `controller` property in `Action` class (terabytesoftw)
3031
- Enh #20430: Update PHPStan/Psalm annotations for `ArrayHelper::merge` to handle array-key (samuelrajan747)
31-
- Bug #20348: `ErrorHandler::convertExceptionToError()` Passing `E_USER_ERROR` to `trigger_error()` is deprecated since PHP `8.4` (terabytesoftw)
3232

3333

3434
2.0.52 February 13, 2025

framework/helpers/mimeExtensions.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* If there are multiple extensions for a singe MIME type
77
* they are ordered from most to least common.
88
* Its content is generated from the apache http mime.types file.
9-
* https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
9+
* https://raw.githubusercontent.com/apache/httpd/refs/heads/trunk/docs/conf/mime.types
1010
* This file has been placed in the public domain for unlimited redistribution.
1111
*
1212
* All extra changes made to this file must be comitted to /build/controllers/MimeTypeController.php
@@ -947,7 +947,10 @@
947947
'font/woff' => 'woff',
948948
'font/woff2' => 'woff2',
949949
'image/apng' => 'apng',
950-
'image/avif' => 'avif',
950+
'image/avif' => [
951+
'avif',
952+
'avif',
953+
],
951954
'image/bmp' => 'bmp',
952955
'image/cgm' => 'cgm',
953956
'image/g3fax' => 'g3',

framework/helpers/mimeTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* This file contains most commonly used MIME types
66
* according to file extension names.
77
* Its content is generated from the apache http mime.types file.
8-
* https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
8+
* https://raw.githubusercontent.com/apache/httpd/refs/heads/trunk/docs/conf/mime.types
99
* This file has been placed in the public domain for unlimited redistribution.
1010
*
1111
* All extra changes made to this file must be comitted to /build/controllers/MimeTypeController.php

framework/test/ActiveFixture.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
/**
43
* @link https://www.yiiframework.com/
54
* @copyright Copyright (c) 2008 Yii Software LLC

framework/web/View.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,11 @@ class View extends \yii\base\View
142142
* @see registerCssFile()
143143
*/
144144
public $cssFiles = [];
145-
146145
/**
147146
* @since 2.0.53
148147
* @var array the style tag options.
149148
*/
150149
public $styleOptions = [];
151-
152150
/**
153151
* @var array the registered JS code blocks
154152
* @see registerJs()

0 commit comments

Comments
 (0)