Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4a1f2c6

Browse files
committedOct 5, 2023
release version 2.0.49.1
1 parent 48d754c commit 4a1f2c6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
 

‎framework/BaseYii.php

+1-1
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.50-dev';
96+
return '2.0.49.1';
9797
}
9898

9999
/**

‎framework/CHANGELOG.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
Yii Framework 2 Change Log
22
==========================
33

4-
2.0.49.1 under development
5-
------------------------
4+
2.0.49.1 October 05, 2023
5+
-------------------------
66

7-
- Bug #19984: Do not duplicate log messages in memory (lubosdz)
87
- Bug #19925: Improved PHP version check when handling MIME types (schmunk42)
98
- Bug #19940: File Log writer without newline (terabytesoftw)
10-
- Bug #19951: Removed unneeded MIME file tests (schmunk42)
119
- Bug #19950: Fix `Query::groupBy(null)` causes error for PHP 8.1: `trim(): Passing null to parameter #1 ($string) of type string is deprecated` (uaoleg)
10+
- Bug #19951: Removed unneeded MIME file tests (schmunk42)
11+
- Bug #19984: Do not duplicate log messages in memory (lubosdz)
1212
- Enh #19780: added pcntl to requirements check (schmunk42)
1313

14+
1415
2.0.49 August 29, 2023
1516
----------------------
1617

‎framework/helpers/mimeTypes.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,7 @@
10031003
'zmm' => 'application/vnd.handheld-entertainment+xml',
10041004
];
10051005

1006-
# fix for bundled libmagic bug, see also https://github.com/yiisoft/yii2/issues/19925
1007-
if ((PHP_VERSION_ID >= 80100 && PHP_VERSION_ID < 80122) || (PHP_VERSION_ID >= 80200 && PHP_VERSION_ID < 80209)) {
1006+
if (PHP_VERSION_ID >= 80100) {
10081007
$mimeTypes = array_replace($mimeTypes, array('xz' => 'application/octet-stream'));
10091008
}
10101009

0 commit comments

Comments
 (0)
Failed to load comments.