Skip to content

Commit 5e3bc6c

Browse files
committed
release version 2.0.1
1 parent 718dc8e commit 5e3bc6c

34 files changed

+57
-29
lines changed

CHANGELOG.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
Yii2 Queue Extension Change Log
22
===============================
33

4-
## 2.0.1 under development
4+
## 2.0.1, November 13, 2017
55

6+
- Bug #98: Fixed timeout error handler (zhuravljov)
7+
- Bug #112: Queue command inside module (tsingsun)
8+
- Bug #118: Synchronized moving of delayed and reserved jobs to waiting list (zhuravljov)
9+
- Bug #155: Slave DB breaks listener (zhuravljov)
10+
- Enh #97: `Queue::status` is public method (zhuravljov)
11+
- Enh #116: Add Chinese Guide (kids-return)
12+
- Enh #122: Rename `Job` to `JobInterface` (zhuravljov)
13+
- Enh #137: All throwable errors caused by jobs are now caught (brandonkelly)
614
- Enh #141: Clear and remove commands for File, DB, Beanstalk and Redis drivers (zhuravljov)
7-
- Enh #151: Compatibility with Yii 2.0.13 and PHP 7.2 (zhuravljov)
15+
- Enh #147: Igbinary job serializer (xutl)
816
- Enh #148: Allow to change vhost setting for RabbitMQ (ischenko)
17+
- Enh #151: Compatibility with Yii 2.0.13 and PHP 7.2 (zhuravljov)
918
- Enh #160: Benchmark of job wait time (zhuravljov)
10-
- Bug #155: Slave DB breaks listener (zhuravljov)
1119
- Enh: Rename `cli\Verbose` behavior to `cli\VerboseBehavior` (zhuravljov)
12-
- Enh #147: Igbinary job serializer (xutl)
1320
- Enh: Rename `serializers\Serializer` interface to `serializers\SerializerInterface` (zhuravljov)
14-
- Enh #122: Rename `Job` to `JobInterface` (zhuravljov)
15-
- Bug #118: Synchronized moving of delayed and reserved jobs to waiting list (zhuravljov)
16-
- Bug #112: Queue command inside module (tsingsun)
17-
- Enh #116: Add Chinese Guide (kids-return)
18-
- Enh #97: `Queue::status` is public method (zhuravljov)
19-
- Bug #98: Fixed timeout error handler (zhuravljov)
20-
- Enh #137: All throwable errors caused by jobs are now caught (brandonkelly)
2121
- Enh: Added `Signal::setExitFlag()` to stop `Queue::run()` loop manually (silverfire)
2222

2323
## 2.0.0
@@ -96,3 +96,6 @@ Yii2 Queue Extension Change Log
9696
- Enh: Add exchange for AMQP driver (airani)
9797
- Enh: Beanstalk driver (zhuravljov)
9898
- Enh: Added English docs (samdark)
99+
100+
101+

src/LogBehavior.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class LogBehavior extends Behavior
2626
*/
2727
public $autoFlush = true;
2828

29+
2930
/**
3031
* @inheritdoc
3132
*/

src/Queue.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ abstract class Queue extends Component
7878
private $pushDelay;
7979
private $pushPriority;
8080

81+
8182
/**
8283
* @inheritdoc
8384
*/
@@ -173,7 +174,7 @@ abstract protected function pushMessage($message, $ttr, $delay, $priority);
173174
* @param string $message
174175
* @param int $ttr time to reserve
175176
* @param int $attempt number
176-
* @return boolean
177+
* @return bool
177178
*/
178179
protected function handleMessage($id, $message, $ttr, $attempt)
179180
{

src/cli/Action.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ abstract class Action extends BaseAction
2727
*/
2828
public $controller;
2929

30+
3031
/**
3132
* @inheritdoc
3233
*/

src/cli/Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ abstract class Command extends Controller
3333
*/
3434
public $isolate = true;
3535

36+
3637
/**
3738
* @inheritdoc
3839
*/

src/cli/Queue.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ abstract class Queue extends BaseQueue implements BootstrapInterface
3535
*/
3636
public $messageHandler;
3737

38+
3839
/**
3940
* @return string command id
4041
* @throws

src/cli/Signal.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class Signal
1616
{
1717
private static $exit = false;
1818

19+
1920
/**
2021
* Checks exit signals
2122
* Used mainly by [[yii\queue\Queue]] to check, whether job execution

src/cli/VerboseBehavior.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class VerboseBehavior extends Behavior
3131

3232
private $start;
3333

34+
3435
/**
3536
* @inheritdoc
3637
*/

src/closure/Behavior.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Behavior extends \yii\base\Behavior
3333
*/
3434
public $owner;
3535

36+
3637
/**
3738
* @inheritdoc
3839
*/

src/closure/Job.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class Job implements JobInterface
2222
*/
2323
public $serialized;
2424

25+
2526
/**
2627
* Unserializes and executes a closure
2728
* @inheritdoc

0 commit comments

Comments
 (0)