Permalink
Browse files

release version 2.0.7

  • Loading branch information...
1 parent 1ccea37 commit a74a2433ad1dfda30a253a92f6db52c131807432 @samdark samdark committed Nov 24, 2016
View
@@ -4,28 +4,29 @@ Yii Framework 2 debug extension Change Log
2.0.7 under development
-----------------------
-- Bug #168: Fixed wrong toggle button direction (fps01)
-- Enh: Mouse wheel click, or Ctrl+Click opens debugger in new tab (silverfire)
-- Enh: `yii\debug\Module::defaultVersion()` implemented to pick up 'yiisoft/yii2-debug' extension version (klimov-paul)
+- Bug #61: Fixed toolbar not to be cached by using renderDynamic (dynasource)
+- Bug #93: Fixed `AssetPanel` error when bundle `$js` or `$css` contained `jsOptions` overrides (Razzwan, samdark)
- Bug #99: Avoid serializing php7 errors (zuozp8)
- Bug #111: Fixed `LogTarget` to work properly when tests are ran via Codeception (samdark, nlmedina)
- Bug #120: Fixed toolbar height changing when opened/closed and when using bootstrap (nkovacs)
- Bug #148: Don't animate iframe needlessly when window is resized. (nkovacs)
-- Bug #93: Fixed `AssetPanel` error when bundle `$js` or `$css` contained `jsOptions` overrides (Razzwan, samdark)
+- Bug #150: Fixed "Cannot read property 'replaceChild' of null" error (BetsuNo)
+- Bug #152: Fixed log search to work with non-scalar values (samdark)
+- Bug #160: Remove height as it prevents the background from stretching, causing unreadable overlapping texts over background (dynasource)
+- Bug #168: Fixed wrong toggle button direction (fps01)
+- Enh #8: Added ability to configure default sorting and filtering for Database panel (laszlovl)
+- Enh #27: Adjusted sorting defaults, removed row numbers from database, log and profiling panels (samdark)
+- Enh #58: Added timeline panel (bashkarev)
+- Enh #97: Added AJAX requests handling (bashkarev)
- Enh #105: Enhanced `ConfigPanel` to detect and report memcached extension presence (samdark)
- Enh #115: Make the default panel configurable and set it to `log` (mikehaertl)
- Enh #117: Added ability to customize the logo with `Module::setYiiLogo()` (brandonkelly)
-- Enh #58: Added timeline panel (bashkarev)
- Enh #143: Added application version display at `ConfigPanel` (klimov-paul)
- Enh #145: The error and warning labels of the log section on the summary bar now link directly to the log page filtered by log level type (rhertogh)
-- Bug #150: Fixed "Cannot read property 'replaceChild' of null" error (BetsuNo)
-- Enh #97: Added AJAX requests handling (bashkarev)
-- Bug #61: Fixed toolbar not to be cached by using renderDynamic (dynasource)
-- Bug #160: Remove height as it prevents the background from stretching, causing unreadable overlapping texts over background (dynasource)
- Enh #162: Added ability to config the trace file and line number (thiagotalma)
-- Bug #152: Fixed log search to work with non-scalar values (samdark)
-- Enh #8: Added ability to configure default sorting and filtering for Database panel (laszlovl)
-- Enh #27: Adjusted sorting defaults, removed row numbers from database, log and profiling panels (samdark)
+- Enh: Mouse wheel click, or Ctrl+Click opens debugger in new tab (silverfire)
+- Enh: `yii\debug\Module::defaultVersion()` implemented to pick up 'yiisoft/yii2-debug' extension version (klimov-paul)
+
2.0.6 March 17, 2016
--------------------
View
@@ -109,7 +109,7 @@ private function updateIndexFile($indexFile, $summary)
* And if requested, it will also export the filtering result to specific medium (e.g. email).
* @param array $messages log messages to be processed. See [[\yii\log\Logger::messages]] for the structure
* of each message.
- * @param boolean $final whether this method is called at the end of the current application
+ * @param bool $final whether this method is called at the end of the current application
*/
public function collect($messages, $final)
{
@@ -167,7 +167,7 @@ protected function collectSummary()
/**
* Returns total sql count executed in current request. If database panel is not configured
* returns 0.
- * @return integer
+ * @return int
*/
protected function getSqlTotalCount()
{
View
@@ -295,7 +295,7 @@ public function renderToolbar($event)
/**
* Checks if current user is allowed to access the module
- * @return boolean if access is granted
+ * @return bool if access is granted
*/
protected function checkAccess()
{
View
@@ -17,13 +17,10 @@
*/
class TimelineAsset extends AssetBundle
{
-
public $sourcePath = '@yii/debug/assets';
-
public $css = [
'timeline.css',
];
-
public $js = [
'timeline.js',
];
@@ -13,6 +13,9 @@
/**
* ExplainAction provides EXPLAIN information for SQL queries
+ *
+ * @author Laszlo <github@lvlconsultancy.nl>
+ * @since 2.0.6
*/
class ExplainAction extends Action
{
@@ -12,6 +12,9 @@
/**
* TimelineDataProvider implements a data provider based on a data array.
+ *
+ * @property array $rulers This property is read-only.
+ *
* @author Dmitriy Bashkarev <dmitriy@bashkarev.com>
* @since 2.0.7
*/
@@ -60,7 +60,7 @@ public function filter(array $data)
* Checks if the given data satisfies filters.
*
* @param array $row data
- * @return boolean if data passed filtering
+ * @return bool if data passed filtering
*/
private function passesFilter(array $row)
{
@@ -19,7 +19,7 @@
* Checks if the value passed matches base value.
*
* @param mixed $value value to be matched
- * @return boolean if there is a match
+ * @return bool if there is a match
*/
public function match($value);
@@ -33,7 +33,7 @@ public function setValue($value);
/**
* Checks if base value is set
*
- * @return boolean if base value is set
+ * @return bool if base value is set
*/
public function hasValue();
}
@@ -24,7 +24,7 @@ class Base extends Model
*
* @param Filter $filter filter instance
* @param string $attribute attribute to filter
- * @param boolean $partial if partial match should be used
+ * @param bool $partial if partial match should be used
*/
public function addCondition(Filter $filter, $attribute, $partial = false)
{
@@ -123,8 +123,8 @@ public function search($params, $models)
/**
* Checks if code is critical.
*
- * @param integer $code
- * @return boolean
+ * @param int $code
+ * @return bool
*/
public function isCodeCritical($code)
{
View
@@ -34,7 +34,6 @@ class DbPanel extends Panel
* @var string the name of the database component to use for executing (explain) queries
*/
public $db = 'db';
-
/**
* @var array the default ordering of the database queries. In the format of
* [ property => sort direction ], for example: [ 'duration' => SORT_DESC ]
@@ -43,7 +42,6 @@ class DbPanel extends Panel
public $defaultOrder = [
'seq' => SORT_ASC
];
-
/**
* @var array the default filter to apply to the database queries. In the format
* of [ property => value ], for example: [ 'type' => 'SELECT' ]
@@ -165,7 +163,7 @@ public function getProfileLogs()
* Returns total query time.
*
* @param array $timings
- * @return integer total time
+ * @return int total time
*/
protected function getTotalQueryTime($timings)
{
@@ -221,8 +219,8 @@ protected function getQueryType($timing)
/**
* Check if given queries count is critical according settings.
*
- * @param integer $count queries count
- * @return boolean
+ * @param int $count queries count
+ * @return bool
*/
public function isQueryCountCritical($count)
{
@@ -248,7 +246,7 @@ function ($result, $item) {
}
/**
- * @return boolean Whether the DB component has support for EXPLAIN queries
+ * @return bool Whether the DB component has support for EXPLAIN queries
* @since 2.0.5
*/
protected function hasExplain()
@@ -272,7 +270,7 @@ protected function hasExplain()
* Check if given query type can be explained.
*
* @param string $type query type
- * @return boolean
+ * @return bool
*
* @since 2.0.5
*/
View
@@ -77,7 +77,7 @@ public function save()
* Returns an array of models that represents logs of the current request.
* Can be used with data providers, such as \yii\data\ArrayDataProvider.
*
- * @param boolean $refresh if need to build models from log messages and refresh them.
+ * @param bool $refresh if need to build models from log messages and refresh them.
* @return array models
*/
protected function getModels($refresh = false)
@@ -15,10 +15,9 @@
/**
* Debugger panel that collects and displays timeline data.
*
- * @property array $models Returns an array of models that represents logs of the current request. This property is read-only.
- * @property float $duration request duration, milliseconds. This property is read-only.
- * @property float $start timestamp start request. This property is read-only.
* @property array $colors color indicators
+ * @property float $duration request duration, milliseconds. This property is read-only.
+ * @property float $start timestamp of starting request. This property is read-only.
*
* @author Dmitriy Bashkarev <dmitriy@bashkarev.com>
* @since 2.0.7
@@ -168,7 +167,7 @@ public function getDuration()
* Returns an array of models that represents logs of the current request.
* Can be used with data providers, such as \yii\data\ArrayDataProvider.
*
- * @param boolean $refresh if need to build models from log messages and refresh them.
+ * @param bool $refresh if need to build models from log messages and refresh them.
* @return array models
*/
protected function getModels($refresh = false)

0 comments on commit a74a243

Please sign in to comment.