Skip to content

Commit

Permalink
release version 2.0.50
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed May 30, 2024
1 parent 56c0079 commit 52e4a3e
Show file tree
Hide file tree
Showing 440 changed files with 35 additions and 468 deletions.
3 changes: 1 addition & 2 deletions framework/BaseYii.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down Expand Up @@ -94,7 +93,7 @@ class BaseYii
*/
public static function getVersion()
{
return '2.0.50-dev';
return '2.0.50';
}

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

2.0.50 under development
------------------------
2.0.50 May 30, 2024
-------------------

- Bug #13920: Fixed erroneous validation for specific cases (tim-fischer-maschinensucher)
- Bug #17181: Improved `BaseUrl::isRelative($url)` performance (sammousa, bizley, rob006)
- Bug #17191: Fixed `BaseUrl::isRelative($url)` method in `yii\helpers\BaseUrl` (ggh2e3)
- Bug #18469: Fixed `Link::serialize(array $links)` method in `yii\web\Link` (ggh2e3)
- Bug #19691: Allow using custom class to style error summary (skepticspriggan)
- Bug #20040: Fix type `boolean` in `MSSQL` (terabytesoftw)
- Bug #20055: Fix Response header X-Pagination-Total-Count is always 0 (lav45, xicond)
- Bug #20005: Fix `yii\console\controllers\ServeController` to specify the router script (terabytesoftw)
- Bug #19060: Fix `yii\widgets\Menu` bug when using Closure for active item and adding additional tests in `tests\framework\widgets\MenuTest` (atrandafir)
- Bug #13920: Fixed erroneous validation for specific cases (tim-fischer-maschinensucher)
- Bug #19691: Allow using custom class to style error summary (skepticspriggan)
- Bug #19817: Add MySQL Query `addCheck()` and `dropCheck()` (@bobonov)
- Bug #19855: Fixed `yii\validators\FileValidator` to not limit some of its rules only to array attribute (bizley)
- Bug #19927: Fixed `console\controllers\MessageController` when saving translations to database: fixed FK error when adding new string and language at the same time, checking/regenerating all missing messages and dropping messages for unused languages (atrandafir)
- Bug #20002: Fixed superfluous query on HEAD request in serializer (xicond)
- Bug #20005: Fix `yii\console\controllers\ServeController` to specify the router script (terabytesoftw)
- Bug #20040: Fix type `boolean` in `MSSQL` (terabytesoftw)
- Bug #20055: Fix Response header X-Pagination-Total-Count is always 0 (lav45, xicond)
- Bug #20083: Fix deprecated warning implicit conversion from float (skepticspriggan)
- Bug #20122: Fixed parsing of boolean keywords (e.g. used in SQLite) in `\yii\db\ColumnSchema::typecast()` (rhertogh)
- Bug #20141: Update `ezyang/htmlpurifier` dependency to version `4.17` (@terabytesoftw)
- Bug #20165: Adjust pretty name of closures for PHP 8.4 compatibility (@staabm)
- Bug: CVE-2024-32877, Fix Reflected XSS in Debug mode (Antiphishing)
- Bug: CVE-2024-4990, Fix Unsafe Reflection in base Component class (@mtangoo)
- Enh #12743: Added new methods `BaseActiveRecord::loadRelations()` and `BaseActiveRecord::loadRelationsFor()` to eager load related models for existing primary model instances (PowerGamer1)
- Enh #20030: Improve performance of handling `ErrorHandler::$memoryReserveSize` (antonshevelev, rob006)
- Enh #20042: Add empty array check to `ActiveQueryTrait::findWith()` (renkas)
- Enh #20032: Added `yii\helpers\BaseStringHelper::mask()` method for string masking with multibyte support (salehhashemi1992)
- Enh #20034: Added `yii\helpers\BaseStringHelper::findBetween()` to retrieve a substring that lies between two strings (salehhashemi1992)
- Bug #20083: Fix deprecated warning implicit conversion from float (skepticspriggan)
- Enh #20042: Add empty array check to `ActiveQueryTrait::findWith()` (renkas)
- Enh #20087: Add custom attributes to script tags (skepticspriggan)
- Enh #20121: Added `yiisoft/yii2-coding-standards` to composer `require-dev` and lint code to comply with PSR12 (razvanphp)
- New #20137: Added `yii\caching\CallbackDependency` to allow using a callback to determine if a cache dependency is still valid (laxity7)
- Enh #20134: Raise minimum `PHP` version to `7.3` (@terabytesoftw)
- Bug #20141: Update `ezyang/htmlpurifier` dependency to version `4.17` (@terabytesoftw)
- Bug: CVE-2024-32877, Fix Reflected XSS in Debug mode (Antiphishing)
- Bug: CVE-2024-4990, Fix Unsafe Reflection in base Component class (@mtangoo)
- Bug #19817: Add MySQL Query `addCheck()` and `dropCheck()` (@bobonov)
- Bug #20165: Adjust pretty name of closures for PHP 8.4 compatibility (@staabm)
- Bug #19855: Fixed `yii\validators\FileValidator` to not limit some of its rules only to array attribute (bizley)
- Enh #20171: Support JSON columns for MariaDB 10.4 or higher (@terabytesoftw)
- New #20137: Added `yii\caching\CallbackDependency` to allow using a callback to determine if a cache dependency is still valid (laxity7)


2.0.49.2 October 12, 2023
Expand Down
1 change: 0 additions & 1 deletion framework/base/Action.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ActionEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ActionFilter.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Application.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ArrayAccessTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Arrayable.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ArrayableTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/BaseObject.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Behavior.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/BootstrapInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Component.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Configurable.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Controller.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/DynamicContentAwareInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/DynamicContentAwareTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/DynamicModel.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ErrorException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ErrorHandler.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Event.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Exception.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ExitException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InlineAction.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InvalidCallException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InvalidConfigException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InvalidParamException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InvalidRouteException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/InvalidValueException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Model.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ModelEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Module.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/NotSupportedException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Request.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Response.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Security.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/StaticInstanceInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/StaticInstanceTrait.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Theme.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/UnknownClassException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/UnknownMethodException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/UnknownPropertyException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/UserException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
2 changes: 1 addition & 1 deletion framework/base/View.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand All @@ -21,6 +20,7 @@
*
* For more details and usage information on View, see the [guide article on views](guide:structure-views).
*
* @property-read DynamicContentAwareInterface[] $dynamicContents Class instances supporting dynamic contents.
* @property-read string|bool $viewFile The view file currently being rendered. False if no view file is being
* rendered.
*
Expand Down
1 change: 0 additions & 1 deletion framework/base/ViewContextInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ViewEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ViewNotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/ViewRenderer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/Widget.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/base/WidgetEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/behaviors/AttributeBehavior.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/behaviors/AttributeTypecastBehavior.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/behaviors/AttributesBehavior.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
1 change: 0 additions & 1 deletion framework/behaviors/BlameableBehavior.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand Down
Loading

0 comments on commit 52e4a3e

Please sign in to comment.