Skip to content

Commit

Permalink
release version 2.0.49.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bizley committed Oct 5, 2023
1 parent 48d754c commit 4a1f2c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion framework/BaseYii.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class BaseYii
*/
public static function getVersion()
{
return '2.0.50-dev';
return '2.0.49.1';
}

/**
Expand Down
9 changes: 5 additions & 4 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
Yii Framework 2 Change Log
==========================

2.0.49.1 under development
------------------------
2.0.49.1 October 05, 2023
-------------------------

- Bug #19984: Do not duplicate log messages in memory (lubosdz)
- Bug #19925: Improved PHP version check when handling MIME types (schmunk42)
- Bug #19940: File Log writer without newline (terabytesoftw)
- Bug #19951: Removed unneeded MIME file tests (schmunk42)
- 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)
- Bug #19951: Removed unneeded MIME file tests (schmunk42)
- Bug #19984: Do not duplicate log messages in memory (lubosdz)
- Enh #19780: added pcntl to requirements check (schmunk42)


2.0.49 August 29, 2023
----------------------

Expand Down
3 changes: 1 addition & 2 deletions framework/helpers/mimeTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,7 @@
'zmm' => 'application/vnd.handheld-entertainment+xml',
];

# fix for bundled libmagic bug, see also https://github.com/yiisoft/yii2/issues/19925
if ((PHP_VERSION_ID >= 80100 && PHP_VERSION_ID < 80122) || (PHP_VERSION_ID >= 80200 && PHP_VERSION_ID < 80209)) {

This comment has been minimized.

Copy link
@rob006

rob006 Oct 6, 2023

Contributor

@bizley Why this change was reverted?

This comment has been minimized.

Copy link
@bizley

bizley Oct 6, 2023

Author Member

Oh, hm, it was done automatically, I missed that. Could you put it back with PR? Also, do we need another hotfix with this released?

This comment has been minimized.

Copy link
@rob006

rob006 Oct 6, 2023

Contributor

#19992

Personally I would release this as another patch release. I'm not really sure how important this is, but I don't like the fact, that now changelog is lying :P

/cc @schmunk42

This comment has been minimized.

Copy link
@bizley

bizley Oct 6, 2023

Author Member

WDYT @schmunk42 ?

This comment has been minimized.

Copy link
@schmunk42

schmunk42 Oct 6, 2023

Contributor

It's needed for tests to pass, see also #19925

This comment has been minimized.

Copy link
@bizley

bizley Oct 6, 2023

Author Member

Yes, but do we need to release 2.0.49.2 with it? It's merged back to master now.

if (PHP_VERSION_ID >= 80100) {
$mimeTypes = array_replace($mimeTypes, array('xz' => 'application/octet-stream'));
}

Expand Down

0 comments on commit 4a1f2c6

Please sign in to comment.